:root {
  /* Light "Paper & Ink" palette */
  --ink: #1f1b16;            /* primary text */
  --paper: #f3ede0;          /* panel surface */
  --paper-soft: #ebe4d3;     /* slightly deeper panel */
  --paper-warm: #e2dac5;     /* warm accent panel */
  --charcoal: #faf6ec;       /* page background (almost white, warm) */
  --muted: #6b6256;          /* secondary text */
  --line: rgba(31, 27, 22, 0.12);
  --line-strong: rgba(31, 27, 22, 0.24);
  --gold: #a8771f;           /* deeper gold for contrast on light */
  --jade: #4f7a5f;
  --coral: #b25a2c;
  --sky: #44627d;
  --max: 1180px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--coral);
  color: #f5f0e3;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--charcoal);
  padding: 10px 14px;
  border-radius: 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 18px 28px;
  background: rgba(250, 246, 236, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 0.24s ease, border-color 0.24s ease, padding 0.24s ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(250, 246, 236, 0.94);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.brand-text {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(31, 27, 22, 0.78);
  font-size: 13px;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 96vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 120px 28px 34px;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(13, 13, 12, 0.86) 0%, rgba(13, 13, 12, 0.62) 38%, rgba(13, 13, 12, 0.14) 72%),
    linear-gradient(180deg, rgba(13, 13, 12, 0.2) 0%, rgba(13, 13, 12, 0.1) 52%, rgba(13, 13, 12, 0.86) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
  padding-bottom: 128px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 830px;
  margin-bottom: 26px;
  font-size: clamp(48px, 5.7vw, 86px);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(42px, 5.4vw, 82px);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.6vw, 42px);
  line-height: 1.03;
  font-weight: 750;
}

.hero-copy {
  max-width: 620px;
  color: rgba(31, 27, 22, 0.82);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 800;
}

.button-primary {
  background: var(--ink);
  color: var(--charcoal);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.hero-proof-strip {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100vw - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(31, 27, 22, 0.68);
  backdrop-filter: blur(24px);
}

.hero-proof-strip div {
  min-height: 118px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.hero-proof-strip div:last-child {
  border-right: 0;
}

.hero-proof-strip strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
  line-height: 1;
}

.hero-proof-strip span {
  display: block;
  max-width: 170px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.selected-work-strip {
  width: min(var(--max), calc(100vw - 44px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  background: rgba(31, 27, 22, 0.035);
}

.selected-work-strip .logo-strip-label {
  display: grid;
  place-items: center;
  padding: 16px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.selected-work-strip ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.selected-work-strip li {
  min-width: 0;
  border-right: 1px solid var(--line);
}

.selected-work-strip li:last-child {
  border-right: 0;
}

.selected-work-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.selected-work-strip a:hover,
.selected-work-strip a:focus-visible {
  background: rgba(168, 119, 31, 0.12);
}

.client-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 38px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.client-logo-sap {
  min-width: 74px;
  padding: 8px 18px 8px 14px;
  background: #0b76bc;
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 21px;
}

.client-logo-opella {
  flex-direction: column;
  gap: 3px;
  color: #5f3678;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.client-logo-opella span:last-child {
  color: #0d7f68;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.client-logo-wheel {
  gap: 9px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.client-logo-wheel span {
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 45%, var(--ink) 45% 55%, transparent 55%),
    linear-gradient(0deg, transparent 45%, var(--ink) 45% 55%, transparent 55%);
}

.client-logo-hipgnosis {
  min-width: 70px;
  border: 1px solid var(--line-strong);
  color: #5b4a35;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.client-logo-emie {
  color: #151515;
  font-family: var(--serif);
  font-size: 25px;
  font-style: italic;
  font-weight: 500;
}

.client-logo-bao {
  min-width: 64px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 18px;
}

.intro-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  width: min(var(--max), calc(100vw - 44px));
  margin: 0 auto;
  padding: 48px 0 26px;
  border-bottom: 1px solid var(--line);
}

.intro-line {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-self: start;
  align-content: start;
}

.intro-line span,
.language-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.intro-line span {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  line-height: 1.2;
  text-align: center;
}

.intro-band p {
  margin: 0;
  color: rgba(31, 27, 22, 0.78);
  font-size: 18px;
}

.section {
  width: min(var(--max), calc(100vw - 44px));
  margin: 0 auto;
  padding: 98px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.wide {
  max-width: 940px;
}

.section-heading p:not(.section-kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.proof-card {
  min-height: 285px;
  padding: 28px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-card.has-media {
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 0;
}

.proof-card-media {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #ebe4d3;
}

.proof-card.has-media .proof-label,
.proof-card.has-media strong,
.proof-card.has-media p {
  margin-right: 24px;
  margin-left: 24px;
}

.proof-card.has-media .proof-label {
  margin-top: 22px;
  margin-bottom: 18px;
}

.proof-card.has-media p {
  padding-bottom: 24px;
}

.proof-card:nth-child(3n) {
  border-right: 0;
}

.proof-card:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.proof-label {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.1;
}

.proof-card p {
  color: var(--muted);
}

.proof-card-portrait {
  padding: 0;
  background: #e2dac5;
}

.proof-card-portrait img {
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
  object-position: 50% 22%;
}

.homepage-evidence-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.homepage-evidence-rail a {
  display: grid;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.homepage-evidence-rail img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  object-position: top center;
  border-bottom: 1px solid var(--line);
  background: #f6f4ed;
}

.homepage-evidence-rail span {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.case-stack {
  display: grid;
  gap: 22px;
}

.case-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  gap: 28px;
  min-height: 460px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.case-copy {
  align-self: end;
}

.case-index {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
}

.case-copy p {
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.case-metrics li {
  min-height: 110px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(31, 27, 22, 0.025);
}

.case-metrics strong,
.case-metrics span {
  display: block;
}

.case-metrics strong {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.case-metrics span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.case-visual {
  min-height: 400px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  overflow: hidden;
}

.data-slab {
  display: grid;
  align-content: end;
  gap: 16px;
  padding: 26px;
}

.data-slab > span {
  color: var(--jade);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.data-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.data-row i {
  display: block;
  height: 12px;
  background: linear-gradient(90deg, var(--jade), rgba(143, 178, 154, 0.18));
}

.data-row:nth-of-type(2) i {
  width: 84%;
}

.data-row:nth-of-type(3) i {
  width: 68%;
}

.data-row:nth-of-type(4) i {
  width: 92%;
}

.data-row:nth-of-type(5) i {
  width: 76%;
}

.chart-slab {
  display: flex;
  align-items: end;
  gap: 18px;
  padding: 28px;
}

.bar {
  flex: 1;
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 120px;
  color: #f5f0e3;
  font-weight: 800;
}

.bar span {
  padding: 12px 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
}

.bar.market {
  height: 42%;
  background: var(--muted);
}

.bar.brand {
  height: 72%;
  background: var(--gold);
}

.bar.soft {
  height: 88%;
  background: var(--coral);
}

.venue-slab img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: 50% 22%;
}

.music-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
  align-items: center;
}

.music-stack img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.music-stack img:first-child {
  transform: translateY(-16px);
}

.music-stack img:last-child {
  transform: translateY(20px);
}

.rivo-room {
  width: 100%;
  max-width: none;
  padding-inline: max(22px, calc((100vw - var(--max)) / 2));
  background: #ebe4d3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rivo-gallery {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 14px;
}

.story-card {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.story-card img {
  width: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.story-card.tall {
  grid-row: span 2;
}

.story-card.tall img {
  aspect-ratio: 9 / 16;
}

.story-card figcaption {
  padding: 16px;
  color: var(--muted);
  font-size: 13px;
}

.story-card figcaption span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.method {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: start;
}

.method-copy {
  position: sticky;
  top: 100px;
}

.method-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.method-grid article {
  min-height: 245px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.method-grid article:nth-child(2n) {
  border-right: 0;
}

.method-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.method-grid span {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 34px;
}

.method-grid h3 {
  margin-top: 42px;
  font-size: 24px;
}

.method-grid p {
  color: var(--muted);
  font-size: 14px;
}

.identity {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.identity-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.identity-media img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.identity-media img:first-child {
  grid-row: span 2;
  height: 634px;
  object-position: 50% 30%;
}

.identity-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
}

.language-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.archive {
  padding-top: 56px;
}

.archive-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.archive-list a {
  min-height: 190px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 0.2s ease, color 0.2s ease;
}

.archive-list a:nth-child(4n),
.archive-list a:last-child {
  border-right: 0;
}

.archive-list a:hover,
.archive-list a:focus-visible {
  background: var(--ink);
  color: var(--charcoal);
}

.archive-list strong,
.archive-list span {
  display: block;
}

.archive-list strong {
  margin-bottom: 44px;
  font-size: 18px;
}

.archive-list span {
  color: var(--muted);
  font-size: 13px;
}

.archive-list a:hover span,
.archive-list a:focus-visible span {
  color: rgba(13, 13, 12, 0.72);
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  width: min(var(--max), calc(100vw - 44px));
  margin: 0 auto;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.contact h2 {
  margin: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 24px;
  color: var(--ink);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100vw - 44px));
  margin: 0 auto;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.text-link::after {
  content: " ->";
}

.page-main {
  padding-top: 104px;
}

.page-hero,
.case-hero,
.page-section {
  width: min(var(--max), calc(100vw - 44px));
  margin: 0 auto;
}

.page-hero,
.case-hero {
  padding: 78px 0 64px;
  border-bottom: 1px solid var(--line);
}

.page-hero.split,
.case-hero.visual,
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: end;
}

.page-hero h1,
.case-hero h1 {
  max-width: 940px;
  margin-bottom: 0;
  font-size: clamp(54px, 6.6vw, 104px);
}

.page-hero p:not(.section-kicker),
.case-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.about-hero img,
.case-hero.visual img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.case-hero.visual img.document-hero {
  padding: 18px;
  object-fit: contain;
  object-position: top center;
  background: #f6f4ed;
}

.case-hero-video {
  margin: 0;
}

.case-hero.opella-hero {
  padding-top: clamp(34px, 4.5vw, 52px);
  padding-bottom: clamp(30px, 4vw, 42px);
}

.case-hero-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 620px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #062a22;
}

.case-hero-video figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.lgrdm-hero {
  align-items: stretch;
}

.lgrdm-hero > div {
  align-self: end;
}

.lgrdm-hero-video {
  position: relative;
  min-height: clamp(420px, 48vw, 620px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050505;
}

.lgrdm-hero-video video {
  height: 100%;
  min-height: clamp(420px, 48vw, 620px);
  border: 0;
}

.lgrdm-hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 5, 5, 0.2));
}

.case-hero-photo {
  margin: 0;
}

.case-hero-photo img {
  aspect-ratio: 4 / 3;
}

.case-hero-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.about-hero img {
  object-position: 50% 20%;
}

.page-section {
  padding: 76px 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 54px;
  align-items: start;
}

.text-block {
  color: var(--muted);
  font-size: 18px;
}

.text-block p + p {
  margin-top: 22px;
}

.work-index {
  border: 1px solid var(--line);
}

.work-row {
  display: grid;
  grid-template-columns: 82px minmax(280px, 0.62fr) minmax(320px, 1fr) 44px;
  gap: 24px;
  align-items: center;
  min-height: 156px;
  padding: 28px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.work-row:last-child {
  border-bottom: 0;
}

.work-row:hover,
.work-row:focus-visible,
.proof-card:hover,
.proof-card:focus-visible {
  background: #211d18;
}

.work-row-number {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.work-row-title {
  display: grid;
  gap: 10px;
}

.work-row-title em {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.45;
  text-transform: uppercase;
}

.work-row strong {
  font-size: 23px;
  line-height: 1.1;
}

.work-row p {
  margin: 0;
  color: var(--muted);
}

.work-row-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  justify-self: end;
  border: 1px solid transparent;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.work-row:hover .work-row-arrow,
.work-row:focus-visible .work-row-arrow {
  transform: translate(3px, -3px);
  border-color: var(--line-strong);
  color: var(--gold);
}

.timeline,
.library-grid,
.supporting-grid,
.artifact-board,
.metric-story {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.timeline article,
.library-grid a,
.supporting-grid article,
.artifact-board article,
.metric-story article {
  min-height: 230px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.timeline article:last-child,
.library-grid a:nth-child(4n),
.supporting-grid article:last-child,
.artifact-board article:last-child,
.metric-story article:last-child {
  border-right: 0;
}

.timeline span,
.library-grid strong,
.supporting-grid span,
.artifact-board span,
.metric-story span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline p,
.library-grid span,
.supporting-grid p,
.artifact-board p,
.metric-story p {
  color: var(--muted);
}

.supporting-grid {
  grid-template-columns: repeat(4, 1fr);
}

.supporting-grid h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.supporting-grid h3 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.4vw, 34px);
}

.supporting-grid .text-link {
  margin-top: 20px;
}

.supporting-grid.visual-cards article {
  min-height: 430px;
  padding: 0;
  overflow: hidden;
}

.supporting-grid.visual-cards img {
  display: block;
  width: 100%;
  height: 178px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #ebe4d3;
}

.supporting-grid.visual-cards span,
.supporting-grid.visual-cards h3,
.supporting-grid.visual-cards p,
.supporting-grid.visual-cards .text-link {
  margin-right: 24px;
  margin-left: 24px;
}

.supporting-grid.visual-cards span {
  margin-top: 22px;
  margin-bottom: 18px;
}

.supporting-grid.visual-cards .text-link {
  margin-bottom: 24px;
}

.fit-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
}

.fit-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) 1.2fr;
  gap: 24px;
  padding: 22px 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.fit-list article:last-child {
  border-bottom: 0;
}

.fit-list strong {
  color: var(--ink);
  font-size: 17px;
}

.fit-list span {
  color: var(--muted);
}

.library-grid {
  grid-template-columns: repeat(3, 1fr);
}

.library-grid a {
  min-height: 210px;
  border-bottom: 1px solid var(--line);
}

.library-grid a:nth-child(3n) {
  border-right: 0;
}

.library-grid a:nth-child(4n) {
  border-right: 1px solid var(--line);
}

.library-grid a:nth-child(3n) {
  border-right: 0;
}

.library-grid strong {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: 0;
  text-transform: none;
}

.image-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 14px;
}

.image-band img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.case-facts {
  width: min(var(--max), calc(100vw - 44px));
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--paper);
}

.case-facts div {
  min-height: 150px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.case-facts div:last-child {
  border-right: 0;
}

.case-facts strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.case-facts span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.case-facts.metric-dashboard {
  overflow: hidden;
}

.metric-card {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 14px;
}

.case-facts .metric-eyebrow {
  margin-top: 0;
  color: var(--sky);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.case-facts .metric-track {
  display: block;
  height: 8px;
  margin-top: 4px;
  overflow: hidden;
  background: rgba(31, 27, 22, 0.09);
}

.case-facts .metric-track span {
  display: block;
  width: var(--metric-fill, 70%);
  height: 100%;
  margin: 0;
  background: linear-gradient(90deg, var(--sky), #2d94c8 58%, var(--gold));
}

.opella-metrics {
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 12px;
  border: 0;
  background: transparent;
}

.opella-metric-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.52), transparent 56%),
    var(--paper);
  display: grid;
  align-content: space-between;
  gap: 12px;
}

.opella-metric-card .metric-eyebrow {
  margin: 0;
  color: var(--gold) !important;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.opella-metric-card strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 520;
  letter-spacing: 0;
}

.case-facts.opella-metrics .opella-metric-card strong {
  color: var(--ink);
}

.opella-metric-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.opella-metric-card .metric-track {
  margin: 0;
}

.proof-logic .lgrdm-metrics {
  width: 100%;
  margin: 28px 0 0;
}

.lgrdm-metric-card {
  min-height: 210px;
  background:
    linear-gradient(135deg, rgba(80, 135, 168, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 60%),
    var(--paper);
}

.lgrdm-metric-card .metric-eyebrow {
  color: var(--sky) !important;
}

.lgrdm-metric-card strong {
  font-size: clamp(38px, 4vw, 56px);
}

.proof-logic .visual-evidence-header {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.proof-logic .visual-evidence-header h2 {
  max-width: 980px;
}

.case-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.case-narrative {
  display: grid;
  gap: 28px;
}

.case-narrative h2 {
  margin-bottom: 8px;
  font-size: clamp(34px, 4vw, 58px);
}

.case-narrative p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.evidence-panel {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 24px;
}

.evidence-panel h3 {
  font-size: 24px;
}

.evidence-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.evidence-panel li + li {
  margin-top: 10px;
}

.artifact-board,
.metric-story {
  grid-template-columns: repeat(3, 1fr);
}

.metric-story strong {
  display: block;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 400;
  line-height: 1;
}

.activation-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.activation-list a,
.activation-list span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.activation-list a:hover {
  border-color: var(--gold);
  background: #fff8e8;
  transform: translateY(-1px);
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.case-gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.case-gallery img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.case-gallery figcaption {
  padding: 14px;
  color: var(--muted);
  font-size: 13px;
}

.visual-evidence {
  display: grid;
  gap: 24px;
}

.visual-evidence-header {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(220px, 0.35fr);
  gap: 24px;
  align-items: end;
}

.visual-evidence-header h2 {
  max-width: 860px;
  font-size: clamp(34px, 4vw, 58px);
}

.visual-evidence-header p {
  color: var(--muted);
  font-size: 18px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.evidence-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.evidence-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.evidence-card img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #f4f0e8;
}

.evidence-card video {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.evidence-card.wide video {
  height: 430px;
}

.evidence-card.document img {
  object-fit: contain;
  object-position: top center;
  background: #f6f4ed;
}

.evidence-card.product img,
.evidence-card.logo img {
  padding: 24px;
  object-fit: contain;
  background: #f6f4ed;
}

.evidence-card.site img {
  object-fit: contain;
  object-position: top center;
  background: #f6f4ed;
}

.evidence-card.identity-deck img {
  padding: 10px;
  object-fit: contain;
  object-position: center;
  background: #f6f4ed;
}

.evidence-card.tall img {
  height: 430px;
}

.evidence-card.generated img {
  object-fit: cover;
}

.lgrdm-moment-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lgrdm-moment-grid .evidence-card img {
  height: 300px;
}

.tiktok-proof {
  display: grid;
  justify-items: center;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(168, 119, 31, 0.12), transparent 45%),
    var(--paper);
}

.tiktok-proof .tiktok-embed {
  width: min(100%, 605px) !important;
  min-width: min(100%, 325px) !important;
  margin: 0 !important;
}

.evidence-card.wide {
  grid-column: span 2;
}

.opella-evidence-grid .evidence-card.media {
  grid-column: span 2;
}

.evidence-card figcaption {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.visual-placeholder {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 330px;
  padding: 26px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(168, 119, 31, 0.18), transparent 42%),
    #17130f;
}

.visual-placeholder::before,
.visual-placeholder::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.visual-placeholder::before {
  inset: 26px;
  border: 1px solid rgba(231, 217, 178, 0.22);
}

.visual-placeholder::after {
  right: -90px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(231, 217, 178, 0.26);
  border-radius: 50%;
}

.visual-placeholder .placeholder-label {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-placeholder strong {
  position: relative;
  z-index: 1;
  max-width: 9ch;
  color: #fff7df;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  line-height: 0.9;
}

.visual-placeholder em {
  position: relative;
  z-index: 1;
  max-width: 230px;
  color: rgba(31, 27, 22, 0.74);
  font-style: normal;
  line-height: 1.45;
}

.visual-placeholder.luxury-context,
.luxury-context .visual-placeholder {
  background:
    radial-gradient(circle at 72% 22%, rgba(231, 217, 178, 0.18), transparent 32%),
    linear-gradient(140deg, #211914, #0f0e0c 62%, #4a3926);
}

.visual-placeholder.business-context,
.business-context .visual-placeholder {
  background:
    linear-gradient(135deg, rgba(80, 135, 168, 0.26), transparent 45%),
    #11181a;
}

.visual-placeholder.hospitality-context,
.hospitality-context .visual-placeholder {
  background:
    radial-gradient(circle at 78% 28%, rgba(204, 48, 40, 0.22), transparent 30%),
    linear-gradient(145deg, #181311, #302013 70%);
}

.visual-placeholder.culture-context,
.culture-context .visual-placeholder {
  background:
    linear-gradient(135deg, rgba(198, 174, 214, 0.22), transparent 45%),
    #151217;
}

.proof-library-page .evidence-card figcaption span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.proof-library-page .evidence-card .text-link {
  margin-top: 4px;
}

.evidence-card figcaption span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-card figcaption strong {
  color: var(--ink);
  font-size: 18px;
}

.evidence-card figcaption p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.story-board article h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(23px, 2.2vw, 32px);
  line-height: 1.08;
}

.story-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.metric-story.story-board {
  grid-template-columns: repeat(2, 1fr);
}

.metric-story.story-board article {
  border-bottom: 1px solid var(--line);
}

.metric-story.story-board article:nth-child(2n) {
  border-right: 0;
}

.metric-story.story-board article:nth-child(n + 3) {
  border-bottom: 0;
}

.artifact-board.media-board {
  grid-template-columns: repeat(3, 1fr);
}

.artifact-board.media-board article {
  min-height: 410px;
  padding: 0;
  overflow: hidden;
}

.artifact-board.media-board article:nth-child(3n) {
  border-right: 0;
}

.artifact-board.media-board img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #ebe4d3;
}

.artifact-board.media-board span,
.artifact-board.media-board p {
  margin-right: 24px;
  margin-left: 24px;
}

.artifact-board.media-board span {
  margin-top: 22px;
  margin-bottom: 18px;
}

.artifact-board.media-board p {
  padding-bottom: 24px;
}

.artifact-board.media-board.sap-proof-board {
  grid-template-columns: repeat(4, 1fr);
}

.artifact-board.media-board.sap-proof-board article:nth-child(3n) {
  border-right: 1px solid var(--line);
}

.artifact-board.media-board.sap-proof-board article:nth-child(4n) {
  border-right: 0;
}

.artifact-board.media-board.sap-proof-board img {
  object-fit: contain;
  object-position: top center;
  background: #f6f4ed;
}

.evidence-note {
  max-width: 900px;
  color: var(--muted);
  font-size: 14px;
}

.source-map-header {
  margin-bottom: 24px;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.logo-strip figure {
  display: grid;
  align-items: center;
  min-height: 170px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  background: #f6f4ed;
}

.logo-strip figure.logo-dark {
  background: #050505;
}

.logo-strip img {
  width: 100%;
  max-height: 110px;
  object-fit: contain;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 94vh;
  }

  .hero-content {
    padding-bottom: 94px;
  }

  .hero-proof-strip,
  .proof-grid,
  .case-panel,
  .method,
  .identity,
  .archive-list,
  .contact,
  .intro-band,
  .page-hero.split,
  .case-hero.visual,
  .about-hero,
  .two-column,
  .case-body,
  .work-row,
  .case-facts,
  .timeline,
  .library-grid,
  .supporting-grid,
  .artifact-board,
  .metric-story,
  .case-gallery,
  .visual-evidence-header,
  .evidence-grid,
  .evidence-grid.two,
  .logo-strip,
  .image-band,
  .homepage-evidence-rail {
    grid-template-columns: 1fr;
  }

  .evidence-card.wide {
    grid-column: auto;
  }

  .hero-proof-strip div,
  .proof-card,
  .archive-list a {
    border-right: 0;
  }

  .hero-proof-strip div:not(:last-child),
  .archive-list a:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .proof-card:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .proof-card:last-child {
    border-bottom: 0;
  }

  .case-panel {
    min-height: auto;
  }

  .case-metrics {
    grid-template-columns: 1fr;
  }

  .rivo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-copy {
    position: static;
  }

  .identity-media img:first-child {
    height: 520px;
  }

  .contact {
    align-items: start;
  }

  .contact-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .contact-actions a {
    width: 100%;
  }

  .fit-list article {
    grid-template-columns: 1fr;
  }

  .evidence-panel {
    position: static;
  }

  .timeline article,
  .library-grid a,
  .supporting-grid article,
  .artifact-board article,
  .metric-story article,
  .case-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline article:last-child,
  .library-grid a:last-child,
  .supporting-grid article:last-child,
  .artifact-board article:last-child,
  .metric-story article:last-child,
  .case-facts div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-text {
    display: none;
  }

  .header-cta {
    padding-inline: 13px;
  }

  .hero {
    padding: 92px 18px 24px;
  }

  .hero-media img {
    object-position: 58% 28%;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(13, 13, 12, 0.38) 0%, rgba(13, 13, 12, 0.56) 38%, rgba(13, 13, 12, 0.93) 100%);
  }

  .hero-content {
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  h3 {
    font-size: 28px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-proof-strip,
  .section,
  .intro-band,
  .contact,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  .section {
    padding: 72px 0;
  }

  .proof-card,
  .case-panel {
    padding: 20px;
  }

  .case-visual {
    min-height: 300px;
  }

  .music-stack {
    grid-template-columns: 1fr;
  }

  .music-stack img {
    height: 380px;
    transform: none !important;
  }

  .rivo-room {
    padding-inline: 16px;
  }

  .rivo-gallery,
  .method-grid,
  .identity-media {
    grid-template-columns: 1fr;
  }

  .method-grid article,
  .method-grid article:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-grid article:last-child {
    border-bottom: 0;
  }

  .identity-media img,
  .identity-media img:first-child {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .site-footer {
    flex-direction: column;
  }

  .page-main {
    padding-top: 82px;
  }

  .page-hero,
  .case-hero {
    padding: 54px 0 42px;
  }

  .page-hero h1,
  .case-hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .work-row,
  .case-facts div,
  .timeline article,
  .library-grid a,
  .supporting-grid article,
  .artifact-board article,
  .metric-story article {
    min-height: auto;
  }

  .image-band img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .evidence-card img,
  .evidence-card.tall img {
    height: auto;
    min-height: 260px;
    aspect-ratio: 4 / 5;
  }

  .evidence-card.product img,
  .evidence-card.logo img,
  .evidence-card.site img {
    aspect-ratio: 4 / 3;
  }

  .case-hero.visual > div,
  .case-hero-photo,
  .metric-card,
  .story-board article,
  .artifact-board.media-board article {
    min-width: 0;
  }

  .case-hero h1,
  .section-kicker,
  .metric-card p,
  .case-hero-photo figcaption {
    overflow-wrap: anywhere;
  }

  .case-facts.metric-dashboard {
    width: calc(100vw - 32px);
  }

  .case-facts.metric-dashboard strong {
    font-size: 42px;
  }
}

/* ============================================================
   ATMOSPHERE REFINEMENTS — quiet luxury / editorial pass
   Applied site-wide as a top-layer override of the base tokens.
   Goal: warmer paper, bronze (not yellow) accent, refined hero,
   hairline cards, source-line metric captions, tabular numerals,
   Fraunces as the display serif.
   ============================================================ */

:root {
  --ink: #ece6d8;                          /* warmer paper */
  --paper: #14130f;
  --paper-soft: #1a1814;
  --paper-warm: #221d16;
  --charcoal: #0b0a08;
  --muted: #a89d8a;
  --line: rgba(236, 230, 216, 0.13);
  --line-strong: rgba(236, 230, 216, 0.24);
  --gold: #b58a55;                         /* bronze, not yellow */
  --serif: "Fraunces", "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Display type: Fraunces with optical-size and softer weight */
h1, h2, h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.012em;
  line-height: 1.02;
  font-weight: 380;
}
h3 { font-weight: 500; letter-spacing: -0.005em; }

/* Tabular figures everywhere numbers matter */
.case-metrics, .case-facts, .hero-proof-strip, .case-index,
.library-grid, .proof-card strong, [class*="kpi"] {
  font-variant-numeric: tabular-nums;
}

/* Kickers + section labels → mono small caps for editorial rhythm */
.section-kicker, .proof-label, .case-index,
.case-facts strong, .evidence-card figcaption span {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  font-size: 11px;
  text-transform: uppercase;
}

/* Hero: softer scrim, daylight portrait sits beside the headline */
.hero {
  min-height: 88vh;
  padding-top: 132px;
}
.hero-media img {
  object-position: 78% 30%;
  filter: saturate(0.92) contrast(1.02);
}
.hero-scrim {
  background:
    linear-gradient(90deg,
      rgba(11,10,8,0.94) 0%,
      rgba(11,10,8,0.82) 38%,
      rgba(11,10,8,0.45) 62%,
      rgba(11,10,8,0.12) 86%),
    linear-gradient(180deg,
      rgba(11,10,8,0.15) 0%,
      rgba(11,10,8,0.05) 50%,
      rgba(11,10,8,0.78) 100%);
}
.hero h1 {
  max-width: 14ch;
  font-size: clamp(46px, 5.2vw, 78px);
}
.hero-copy { max-width: 46ch; }

/* Buttons: drop the SaaS pill — hairline editorial rectangles */
.button {
  border-radius: 2px;
  min-height: 44px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 13px;
  text-transform: none;
}
.button-primary { background: var(--ink); color: #0b0a08; }
.button-secondary {
  background: transparent;
  border: 1px solid var(--line-strong);
}

/* Header chrome: thinner, quieter */
.header-cta { border-radius: 2px; font-weight: 600; }
.brand-mark {
  border-radius: 2px;
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
}

/* Cards: 2px radius, hairline borders, calmer hover */
.proof-card, .evidence-card, .library-grid a,
.homepage-evidence-rail a, .case-panel {
  border-radius: 2px;
}
.proof-card { transition: background 0.25s ease; }
.proof-card:hover { background: var(--paper-soft); }

/* Image treatment: gentle desaturation, hover reveals full color */
.evidence-card img, .story-card img, .homepage-evidence-rail img,
.proof-card-portrait img {
  filter: saturate(0.88);
  transition: filter 0.35s ease;
}
.evidence-card:hover img, .story-card:hover img,
.homepage-evidence-rail a:hover img { filter: saturate(1); }

/* Source line for KPIs — adds inspectability under any metric */
.source-line, .case-metrics li span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.85;
}

/* Section rhythm: hairline rules instead of background shifts */
.section { padding: 112px 0; }
.section + .section { border-top: 1px solid var(--line); }

/* Links: editorial underline draw */
.text-link {
  position: relative;
  font-weight: 600;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.25s ease;
}
.text-link:hover { color: var(--gold); }

/* Proof strip — refine */
.hero-proof-strip {
  border-radius: 2px;
  background: rgba(14, 13, 11, 0.78);
}
.hero-proof-strip strong {
  font-weight: 380;
  font-variation-settings: "opsz" 144;
}

/* Reduce motion respectfully */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Mobile: tighten hero measure, hide secondary CTA noise */
@media (max-width: 720px) {
  .hero h1 { max-width: 12ch; font-size: clamp(40px, 9vw, 56px); }
  .hero { min-height: 78vh; padding-top: 108px; }
  .hero-proof-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-proof-strip div:nth-child(2) { border-right: 0; }
  .hero-proof-strip div:nth-child(1),
  .hero-proof-strip div:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* =============================================================
   LIGHT THEME REWORK — Paper & Ink + Space Grotesk / DM Sans
   Appended override: redefines tokens + adjusts dark-only rules.
   ============================================================= */

:root {
  --ink: #151515;
  --ink-soft: #3A3A36;
  --paper: #F7F3EC;
  --paper-soft: #EEE9DE;
  --paper-warm: #E4E8E1;
  --charcoal: #F7F3EC;            /* legacy: pages used this as body bg */
  --muted: #6b6a64;
  --line: rgba(21, 21, 21, 0.10);
  --line-strong: rgba(21, 21, 21, 0.22);
  --gold: #B86B3C;                /* terracotta/copper accent */
  --jade: #203F3A;                /* deep olive/teal */
  --coral: #B86B3C;
  --sky: #203F3A;
  --max: 1120px;
  --serif: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::selection { background: var(--ink); color: var(--paper); }

/* Headings — Space Grotesk, tighter, less display-y */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 600; line-height: 1.25; }

p { color: var(--ink-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  inset: 0 0 auto;
  background: rgba(245, 243, 238, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 14px 28px;
}
.site-header.is-scrolled {
  background: rgba(245, 243, 238, 0.96);
  border-bottom-color: var(--line-strong);
}
.brand-mark {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  background: transparent;
}
.brand-text { color: var(--ink); letter-spacing: -0.01em; }
.brand-text::after {
  content: "Portfolio";
  display: inline-block;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  vertical-align: 0.12em;
}

.site-nav { color: var(--ink-soft); font-size: 14px; font-weight: 500; gap: clamp(18px, 2vw, 32px); }
.site-nav a { color: var(--ink-soft); transition: color .15s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); }
.site-nav a::after { background: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta {
  background: var(--ink); color: var(--paper);
  border-color: var(--ink); font-weight: 600;
}
.header-cta:hover { background: var(--ink-soft); border-color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero {
  min-height: auto;
  padding: clamp(56px, 8vw, 104px) 28px clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  width: min(var(--max), calc(100vw - 44px));
  margin: 0 auto;
  overflow: visible;
}
.hero-scrim { display: none; }
.hero-content {
  grid-column: 1;
  grid-row: 1;
  position: static;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.hero h1 { color: var(--ink); max-width: 22ch; }
.hero-copy { color: var(--ink-soft); max-width: 60ch; font-size: clamp(1rem, 1.3vw, 1.18rem); }
.hero-media {
  grid-column: 2;
  grid-row: 1;
  position: static;
  width: 100%;
  margin-bottom: 0;
  border-radius: 6px;
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(31, 27, 22, 0.14);
  overflow: hidden;
}
.hero-proof-strip { order: 3; }
.hero-media img {
  width: 100%;
  height: clamp(520px, 68vh, 720px);
  object-fit: cover;
  object-position: 56% 0%;
  filter: saturate(0.82) contrast(1.06) brightness(0.98);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-media {
    grid-column: 1;
    grid-row: 2;
    max-width: 560px;
    justify-self: start;
  }

  .hero-media img {
    height: clamp(430px, 116vw, 620px);
    object-position: 50% 0%;
  }
}

@media (max-width: 640px) {
  .hero {
    width: min(100% - 32px, var(--max));
    padding-right: 0;
    padding-left: 0;
  }

  .hero-media img {
    height: clamp(410px, 132vw, 590px);
  }
}

.section-kicker {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

/* ---------- Buttons ---------- */
.button { font-weight: 600; font-size: 14px; letter-spacing: 0.01em; transition: transform .15s ease, background .15s ease, color .15s ease; }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--ink-soft); }
.button-secondary {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-strong);
}
.button-secondary:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Proof strip ---------- */
.hero-proof-strip {
  position: static;
  margin: clamp(24px, 4vw, 48px) auto 0;
  background: transparent;
  backdrop-filter: none;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.hero-proof-strip div { border-color: var(--line); padding: 20px; min-height: auto; }
.hero-proof-strip strong {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.02em;
}
.hero-proof-strip span { color: var(--muted); }

/* ---------- Intro band ---------- */
.intro-band {
  border-bottom-color: var(--line);
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(32px, 5vw, 56px);
}
.intro-band p { color: var(--ink-soft); }
.intro-line span, .language-strip span {
  color: var(--ink); background: var(--paper-warm); border-color: var(--line);
  font-weight: 500; font-size: 13px;
}

/* ---------- Generic sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-heading p:not(.section-kicker) { color: var(--ink-soft); font-size: 1.1rem; max-width: 60ch; }

/* ---------- Proof grid + cards ---------- */
.proof-grid { border-color: var(--line); border-radius: 4px; overflow: hidden; }
.proof-card {
  background: var(--paper);
  border-color: var(--line);
  transition: background .2s ease, transform .2s ease;
}
.proof-card:hover { background: var(--paper-warm); }
.proof-card strong { color: var(--ink); font-family: var(--serif); font-weight: 600; }
.proof-card p { color: var(--ink-soft); }
.proof-label { color: var(--muted); font-weight: 600; }
.proof-card-portrait { background: var(--paper-warm); }

.homepage-evidence-rail a { background: var(--paper); border-color: var(--line); border-radius: 4px; overflow: hidden; }
.homepage-evidence-rail img { background: var(--paper); border-bottom-color: var(--line); }
.homepage-evidence-rail span { color: var(--ink-soft); font-weight: 500; }

/* ---------- Case panels ---------- */
.case-panel { background: var(--paper); border-color: var(--line); border-radius: 6px; }
.case-copy p { color: var(--ink-soft); }
.case-index { color: var(--muted); font-family: var(--serif); font-weight: 500; font-size: 2rem; }
.case-metrics li { background: var(--paper-warm); border-color: var(--line); }
.case-metrics strong { color: var(--ink); font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; }
.case-metrics span { color: var(--muted); }
.case-visual { background: var(--paper-warm); border-color: var(--line); }

.data-slab > span { color: var(--ink); }
.data-row { color: var(--ink-soft); }
.data-row i { background: linear-gradient(90deg, var(--ink), rgba(31,27,22,0.12)); }

.bar { color: var(--paper); }
.bar.market { background: #b8b3a8; }
.bar.brand { background: var(--ink-soft); }
.bar.soft { background: var(--ink); }

/* ---------- Rivo room (was dark) ---------- */
.rivo-room { background: var(--paper-warm); border-color: var(--line); }
.story-card { background: var(--paper); border-color: var(--line); }
.story-card figcaption { color: var(--ink-soft); }
.story-card figcaption span { color: var(--muted); }

/* ---------- Method ---------- */
.method-grid { border-color: var(--line); border-radius: 4px; overflow: hidden; }
.method-grid article { background: var(--paper); border-color: var(--line); }
.method-grid article:hover { background: var(--paper-warm); }
.method-grid span { color: var(--muted); font-family: var(--serif); font-weight: 500; }
.method-grid p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Identity ---------- */
.identity-media img { border-color: var(--line); border-radius: 4px; }
.identity-copy p:not(.section-kicker) { color: var(--ink-soft); }

/* ---------- Archive ---------- */
.archive-list { border-color: var(--line); border-radius: 4px; overflow: hidden; }
.archive-list a {
  background: var(--paper); border-color: var(--line); color: var(--ink);
}
.archive-list a:hover, .archive-list a:focus-visible {
  background: var(--ink); color: var(--paper);
}
.archive-list a:hover span, .archive-list a:focus-visible span { color: rgba(245,243,238,0.78); }
.archive-list span { color: var(--ink-soft); }

/* ---------- Contact + footer ---------- */
.contact { border-top-color: var(--line); }
.contact-email {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.contact-email:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.site-footer { border-top-color: var(--line); color: var(--muted); }

/* ---------- Supporting grid (hiring paths) ---------- */
.supporting-grid { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.supporting-grid article { background: var(--paper); padding: 28px; }
.supporting-grid article:hover { background: var(--paper-warm); }
.supporting-grid span { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.supporting-grid h3 { margin-top: 16px; }
.supporting-grid p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Text link ---------- */
.text-link { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--ink-soft); padding-bottom: 2px; }
.text-link:hover { color: var(--muted); border-bottom-color: var(--muted); }

/* ---------- Interior page hero + sections ---------- */
.page-main { padding-top: clamp(40px, 6vw, 72px); }
.page-hero, .case-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 48px); }
.page-section { padding: clamp(40px, 6vw, 72px) 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  width: min(var(--max), calc(100vw - 44px));
  margin: 0 auto;
  padding: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.breadcrumb span[aria-current] { color: var(--ink); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ---------- Case prev/next nav ---------- */
.case-nav {
  width: min(var(--max), calc(100vw - 44px));
  margin: 0 auto;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.case-nav a {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  transition: background .2s ease, border-color .2s ease;
}
.case-nav a:hover { background: var(--paper-warm); border-color: var(--line-strong); }
.case-nav a span { display: block; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }
.case-nav a strong { color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.case-nav a.next { text-align: right; }
@media (max-width: 700px) {
  .case-nav { grid-template-columns: 1fr; }
  .case-nav a.next { text-align: left; }
}

/* ---------- Skip link ---------- */
.skip-link { background: var(--ink); color: var(--paper); }

/* ---------- Mobile polish ---------- */
@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; padding: 12px 18px; }
  .site-nav { display: none; }
  .hero-proof-strip { grid-template-columns: 1fr 1fr; }
  .hero-proof-strip div:nth-child(2) { border-right: 0; }
  .case-panel { grid-template-columns: 1fr; }
  .identity, .method, .intro-band { grid-template-columns: 1fr; gap: 28px; }
  .archive-list, .homepage-evidence-rail { grid-template-columns: 1fr 1fr; }
}

/* =================================================================
   REVIEW PASS — accent system, scale fixes, logo strip, real footer
   ================================================================= */

/* Accent: terracotta on labels, links, active nav */
.section-kicker,
.proof-label,
.case-index,
.supporting-grid span,
.evidence-card figcaption span:first-child,
.case-nav a span,
.work-row-number {
  color: var(--gold) !important;
}
.text-link { color: var(--ink); border-bottom-color: var(--gold); }
.text-link:hover { color: var(--gold); border-bottom-color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav a[aria-current="page"]::after { background: var(--gold); }
.site-nav a:hover { color: var(--gold); }

/* Olive reserved for stat blocks only */
.case-facts strong { color: var(--jade); }
.case-metrics strong { color: var(--jade); }
.case-facts.metric-dashboard strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 520;
  letter-spacing: 0;
  text-transform: none;
}

/* Reduce display headlines on interior pages so content fits the fold */
.page-hero h1,
.case-hero h1 {
  font-size: clamp(36px, 4.4vw, 64px) !important;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.page-hero p:not(.section-kicker),
.case-hero p { font-size: 17px; }

/* Case hero: keep image visible alongside headline */
.case-hero.visual { align-items: start; gap: 36px; }
.case-hero.visual img { max-height: 380px; }

/* ---------- Logo strip ---------- */
.logo-strip {
  width: min(var(--max), calc(100vw - 44px));
  margin: 0 auto;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-strip .logo-strip-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.logo-strip ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 40px;
}
.logo-strip li {
  color: var(--ink);
  font-family: var(--display, "Space Grotesk", sans-serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.005em;
  opacity: 0.72;
  transition: opacity .2s ease, color .2s ease;
}
.logo-strip li:hover { opacity: 1; color: var(--gold); }

/* ---------- Hero CTA: secondary becomes CV download ---------- */
.hero-actions .button-secondary {
  border-color: rgba(21,21,21,0.25);
}
.hero-actions .button-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- Real footer ---------- */
.site-footer {
  margin-top: clamp(64px, 8vw, 120px);
  background: var(--paper-soft, #EEE9DE);
  border-top: 1px solid var(--line);
  padding: 0;
  display: block !important;
}
.site-footer .footer-inner {
  width: min(var(--max), calc(100vw - 44px));
  margin: 0 auto;
  padding: 56px 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.site-footer .footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.site-footer .footer-brand .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  font-family: var(--display, "Space Grotesk", sans-serif);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  flex-shrink: 0;
}
.site-footer .footer-brand > div { display: flex; flex-direction: column; gap: 4px; }
.site-footer .footer-brand strong {
  font-family: var(--display, "Space Grotesk", sans-serif);
  font-size: 16px;
  color: var(--ink);
}
.site-footer .footer-brand span { color: var(--ink-soft); font-size: 14px; }
.site-footer .footer-nav,
.site-footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer .footer-nav a,
.site-footer .footer-contact a {
  color: var(--ink);
  font-size: 14px;
  border-bottom: 1px solid transparent;
  width: fit-content;
  padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
.site-footer .footer-nav a:hover,
.site-footer .footer-contact a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.site-footer .footer-meta {
  width: min(var(--max), calc(100vw - 44px));
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}
@media (max-width: 760px) {
  .site-footer .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 24px; }
  .site-footer .footer-meta { flex-direction: column; gap: 6px; }
  .case-hero.visual { grid-template-columns: 1fr; }
  .case-hero.visual img { max-height: 280px; }
  .logo-strip { flex-direction: column; align-items: flex-start; }
  .logo-strip ul { gap: 14px 28px; }
}

/* Targeted media/storytelling refinements */
@media (max-width: 980px) {
  .selected-work-strip {
    grid-template-columns: 1fr;
  }

  .selected-work-strip .logo-strip-label {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .selected-work-strip ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .selected-work-strip li:nth-child(2n) {
    border-right: 0;
  }

  .selected-work-strip li {
    border-bottom: 1px solid var(--line);
  }

  .selected-work-strip li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .intro-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artifact-board.media-board {
    grid-template-columns: 1fr;
  }

  .artifact-board.media-board article {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .selected-work-strip {
    width: min(100% - 32px, var(--max));
  }

  .selected-work-strip ul,
  .intro-line {
    grid-template-columns: 1fr;
  }

  .selected-work-strip li,
  .selected-work-strip li:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .selected-work-strip li:last-child {
    border-bottom: 0;
  }

  .evidence-card video,
  .evidence-card.wide video {
    height: auto;
    min-height: 240px;
    aspect-ratio: 16 / 9;
  }

  .evidence-card.identity-deck img {
    aspect-ratio: 4 / 3;
  }
}

/* Work index editorial table */
.work-index {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.work-row {
  grid-template-columns: 70px minmax(280px, 0.58fr) minmax(320px, 1fr) 48px;
  min-height: 150px;
  padding: 30px 0;
  background: transparent;
}

.work-row:hover,
.work-row:focus-visible {
  background: transparent;
}

.work-row-number {
  color: var(--ink-soft) !important;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.work-row-title strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.work-row-title em {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
}

.work-row p {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.45;
}

.work-row-arrow {
  color: var(--ink);
  font-size: 32px;
}

.work-row:hover .work-row-title strong,
.work-row:focus-visible .work-row-title strong,
.work-row:hover .work-row-arrow,
.work-row:focus-visible .work-row-arrow {
  color: var(--gold);
}

@media (max-width: 860px) {
  .brand-text::after {
    display: none;
  }

  .work-row {
    grid-template-columns: 54px 1fr 34px;
    gap: 16px;
  }

  .work-row p {
    grid-column: 2 / -1;
  }
}

@media (max-width: 640px) {
  .work-row {
    grid-template-columns: 1fr auto;
    padding: 24px 0;
  }

  .work-row-number {
    grid-column: 1 / -1;
  }

  .work-row-title,
  .work-row p {
    grid-column: 1 / 2;
  }

  .work-row-arrow {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    align-self: start;
  }
}

/* Hide proof-library placeholder cards (replaced by real evidence) */
.proof-library-page .evidence-card.placeholder-card { display: none; }

/* Hiring pointer (replaces hiring-paths section on home) */
.hiring-pointer {
  width: min(var(--max), calc(100vw - 44px));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hiring-pointer-line {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
}
.hiring-pointer-line a { margin-left: 6px; }

/* =================================================================
   POLISH PASS — palette lift, hero, method anchors, mobile chip
   ================================================================= */
:root {
  --gold: #B25A2C;   /* lifted terracotta for stronger contrast on ivory */
  --coral: #B25A2C;
}

/* Cap hero h1 a touch tighter on very wide screens */
.hero h1 { font-size: clamp(2.2rem, 3.6vw, 3.6rem); letter-spacing: -0.025em; }

/* New hero lede (the Brazil/Swiss/Montreal triptych promoted) */
.hero-lede {
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--jade);
  margin: 0 0 18px;
}
.hero-availability {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  background: var(--paper-warm);
}
.hero-hire-link { align-self: center; margin-left: 4px; }

/* Case page kickers use jade (reserve terracotta for kickers on home only) */
.case-hero .section-kicker { color: var(--jade) !important; }

/* Hide PORTFOLIO chip on mobile (declutter) */
@media (max-width: 760px) {
  .brand-text::after { display: none; }
}

/* Make method-grid links sit on their own line */
.method-grid p .text-link { display: inline-block; margin-top: 6px; }

/* Identity media: single image, hero-like */
.identity-media { display: block; }
.identity-media img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .case-hero,
  .page-section,
  .case-facts,
  .case-nav {
    width: calc(100vw - 32px) !important;
    max-width: 358px;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  .case-hero.visual {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px;
  }

  .case-hero.visual > *,
  .metric-card,
  .opella-metric-card {
    min-width: 0;
  }

  .case-hero h1 {
    max-width: 100%;
    font-size: 32px !important;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .case-hero .section-kicker {
    font-size: 10px;
    letter-spacing: 0.12em;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .case-hero p:not(.section-kicker) {
    font-size: 16px !important;
  }

  .case-hero-photo img {
    max-height: none !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .case-hero-video video {
    max-height: none;
  }

  .case-facts.metric-dashboard,
  .opella-metrics {
    grid-template-columns: 1fr !important;
  }

  .case-facts.metric-dashboard strong,
  .opella-metric-card strong {
    font-size: 40px !important;
    line-height: 1;
    white-space: normal;
  }

  .opella-metric-card {
    min-height: auto;
  }

  .case-facts .metric-track {
    width: 100%;
  }

  .opella-evidence-grid .evidence-card.media {
    grid-column: auto;
  }

  .metric-card p,
  .opella-metric-card p,
  .case-hero-video figcaption,
  .case-hero-photo figcaption {
    overflow-wrap: anywhere;
  }
}

/* Music-management story pass */
.hero-media video {
  display: block;
  width: 100%;
  height: clamp(520px, 68vh, 720px);
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.05) brightness(0.96);
}

.music-metrics {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  border: 0;
  background: transparent;
}

.music-metrics .metric-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0) 58%),
    var(--paper);
}

.music-metrics .metric-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.music-metrics .metric-eyebrow {
  margin: 0;
  color: var(--gold) !important;
}

.music-metrics .metric-track {
  margin-top: 10px;
}

.music-metrics .metric-track span {
  background: linear-gradient(90deg, var(--jade), #a3a07f 55%, var(--gold));
}

.music-ip-metrics .metric-card {
  background:
    linear-gradient(180deg, rgba(68, 98, 125, 0.11), rgba(255, 255, 255, 0) 56%),
    var(--paper);
}

.music-ip-metrics .metric-card strong {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 0.98;
}

.music-ip-metrics .metric-card p {
  max-width: 32ch;
}

.music-ip-metrics .metric-track {
  height: 10px;
  background:
    repeating-linear-gradient(90deg, rgba(31, 27, 22, 0.16) 0 1px, transparent 1px 25%),
    rgba(31, 27, 22, 0.08);
}

.music-ip-metrics .metric-track span {
  background: linear-gradient(90deg, var(--sky), var(--jade) 58%, var(--gold));
}

.music-ip-evidence .amy-backstage img {
  object-position: center 28%;
}

.music-ip-evidence .myob-class img {
  object-position: center 42%;
}

.music-ip-evidence .amy-stage img {
  object-position: center 18%;
}

.music-ip-evidence .shm-jacket img {
  object-position: center 34%;
}

.archive-system {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.system-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.archive-card img,
.archive-card video {
  height: 240px;
  object-fit: cover;
  background: var(--paper-warm);
}

.archive-card.document-card img {
  object-fit: contain;
  object-position: top center;
  padding: 10px;
  background: #f8f5ee;
}

.archive-card.video-card video {
  object-position: center top;
  background: #050505;
}

.archive-card figcaption p {
  min-height: 64px;
}

@media (max-width: 980px) {
  .system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    gap: 24px;
  }

  .hero-content {
    grid-row: 2;
  }

  .hero-media {
    grid-row: 1;
    max-width: 100%;
  }

  .hero-media video {
    height: clamp(220px, 58vw, 300px);
  }

  .music-metrics .metric-card {
    min-height: auto;
  }

  .system-grid {
    grid-template-columns: 1fr;
  }
}
