/* ============================================================
   KHELLO & PARTNERS — Editorial law-firm site
   Mood: Aman / Succession / Goldman Sachs editorial
   Foundation: warm-black + cream + JetBrains Mono data
   Accent: hairline gold ≤10% of surface
   ============================================================ */

/* ----- TOKENS ----- */
:root {
  --ink:        #0a0908;     /* warm off-black */
  --ink-2:      #14110e;     /* one step up */
  --ink-3:      #1d1814;     /* card surface */
  --cream:      #f4f1ec;     /* primary cream text on dark */
  --cream-2:    #c9c0b1;     /* secondary text */
  --cream-3:    #8a8175;     /* tertiary, captions */
  --ivory:      #f6efe1;     /* warmer ivory for inverted section bg */
  --ivory-2:    #ece4d2;     /* slightly deeper ivory — borders / surfaces */
  --ink-soft:   #2a261f;     /* body text on ivory */
  --ink-muted:  #6b6457;     /* muted ink on ivory */
  --hair:       rgba(244, 241, 236, 0.10);    /* hairline divider on dark */
  --hair-ink:   rgba(10, 9, 8, 0.14);          /* hairline on ivory */
  --hair-2:     rgba(244, 241, 236, 0.18);    /* hover hairline */
  --accent:     #f4f1ec;     /* cream — same as primary, no color shift */
  --accent-soft:#c9c0b1;     /* muted cream — for italics, secondary */
  --nav-h:      56px;

  --f-display: "Inter", "Inter Tight", "Helvetica Neue", -apple-system, sans-serif;
  --f-body:    "Inter Tight", "Inter", "Helvetica Neue", -apple-system, sans-serif;
  --f-mono:    "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  --pad-x:    clamp(20px, 4vw, 80px);
  --pad-y:    clamp(80px, 14vh, 180px);
  --pad-y-sm: clamp(48px, 8vh, 100px);

  --max-w:    1440px;
}

/* ----- RESET ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--ink); }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ----- TYPOGRAPHY UTILS ----- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.eyebrow-cream { color: var(--cream-3); }

.display {
  font-family: var(--f-display);
  font-weight: 300;
  font-style: normal;
  letter-spacing: -0.028em;
  line-height: 1;
  color: var(--cream);
}

.display strong, .display b {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.display em, .display i {
  font-style: normal;
  font-weight: 700;
  color: var(--cream);
}

.h-xxl { font-size: clamp(44px, 7vw, 108px); }
.h-xl  { font-size: clamp(36px, 5vw, 76px); }
.h-l   { font-size: clamp(28px, 3.8vw, 56px); }
.h-m   { font-size: clamp(22px, 2.6vw, 36px); }
.h-s   { font-size: clamp(18px, 1.8vw, 24px); }

.lede {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--cream-2);
  max-width: 60ch;
  text-wrap: pretty;
}

.lede strong, .lede b { font-weight: 600; color: var(--cream); }
.lede em { color: var(--cream); font-style: normal; font-weight: 600; }

.body-text {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.65;
  color: var(--cream-2);
  letter-spacing: -0.008em;
}
.body-text strong, .body-text b { font-weight: 600; color: var(--cream); }

/* Intro story — sleek editorial rhythm, Inter, tight */
.intro__story {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.intro__story-line {
  font-family: "Inter", var(--f-body);
  font-weight: 300;
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.55;
  letter-spacing: -0.008em;
  color: var(--cream-2);
  margin: 0;
  max-width: 62ch;
}
.intro__story-line strong {
  font-weight: 600;
  color: var(--cream);
}
.intro__story-line--data {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-2);
  font-weight: 400;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--hair);
  display: flex;
  gap: 20px;
  align-items: baseline;
  max-width: 62ch;
}
.intro__story-line--data span {
  color: var(--cream-3);
  font-size: 9.5px;
  letter-spacing: 0.32em;
}

.mono { font-family: var(--f-mono); letter-spacing: 0.02em; }

/* ----- NAV ----- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  padding: 0 var(--pad-x);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 320ms ease, backdrop-filter 320ms ease, border-color 320ms ease, height 280ms ease;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav.is-scrolled {
  background: rgba(10, 9, 8, 0.50);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--hair);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.88;
  transition: opacity 280ms ease;
}
.nav__brand:hover { opacity: 1; }
.nav__brand img {
  height: 20px;
  width: auto;
  filter: brightness(1) contrast(1) drop-shadow(0 1px 4px rgba(0,0,0,0.6));
}
.nav__brand-text {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--cream);
}
.nav__brand-text em { font-style: normal; color: var(--cream); font-weight: 700; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 40px);
  list-style: none;
  padding: 0; margin: 0;
}
.nav__links a {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-2);
  padding: 6px 0;
  position: relative;
  transition: color 200ms ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms cubic-bezier(.22,.61,.36,1);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--cream);
  padding: 12px 22px;
  border-radius: 999px;
  transition: background 220ms ease, transform 220ms ease;
}
.nav__cta:hover { background: var(--accent-soft); transform: translateY(-1px); }

.nav__burger { display: none; }
.nav__mobile { display: none; }

/* ----- HERO ----- */
.hero {
  position: relative;
  height: 320svh;
  background: #000;
}
.hero__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  width: 100%;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  filter: brightness(0.94) contrast(1.10);
}
@media (max-width: 1024px) {
  .hero__video { object-fit: cover; }
}
.hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
}
/* Black fade-in is baked into hero1.mp4 itself (tpad + fade filter) — no CSS overlay needed */

/* Centered title card — shown during the black/fade-in opening, fades out as the man appears */
.hero__title-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  text-align: center;
  pointer-events: none;
  opacity: var(--title-op, 1);
  transition: opacity 60ms linear;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  width: 100%;
  padding: 0 24px;
}
.hero__title-eyebrow {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream-2);
  margin-bottom: 22px;
}
.hero__title-name {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--cream);
}
.hero__title-name strong {
  font-family: var(--f-display);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  margin: 0 0.05em;
}
.hero__title-sub {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-top: 22px;
}
.hero__corner {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-3);
  z-index: 4;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  line-height: 1.6;
}
.hero__corner--tl { top: calc(var(--nav-h) + 20px); left: var(--pad-x); }
.hero__corner--tr { top: calc(var(--nav-h) + 20px); right: var(--pad-x); text-align: right; }
.hero__corner-stack { display: block; color: var(--cream-3); opacity: 0.7; font-size: 9px; }

/* Beats — tiny, quiet, anchored bottom-left rail */
.hero__beats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.hero__beat {
  position: absolute;
  left: var(--pad-x);
  bottom: 28px;
  max-width: 260px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 420ms cubic-bezier(.22,.61,.36,1), transform 520ms cubic-bezier(.22,.61,.36,1);
}
.hero__beat.is-active {
  opacity: 1;
  transform: translateY(0);
}
.hero__beat-eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cream-2);
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.75);
}
.hero__beat-headline {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--cream);
  text-shadow: 0 2px 14px rgba(0,0,0,0.75);
  margin: 0;
}
.hero__beat-headline strong, .hero__beat-headline em {
  font-style: normal;
  font-weight: 700;
  color: var(--cream);
}
.hero__beat-sub { display: none; }

.hero__scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cream-3);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: cue 2.4s ease-in-out infinite;
}
.hero__scroll-cue::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--accent), transparent);
}
@keyframes cue {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50%     { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ----- SECTION WRAPPER ----- */
.section {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.section--tight  { padding: var(--pad-y-sm) var(--pad-x); }
.section--top    { padding-top: var(--pad-y-sm); }
.section--bottom { padding-bottom: var(--pad-y-sm); }
.divider {
  height: 1px;
  background: var(--hair);
  margin: 0 var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ----- INTRO (after hero) ----- */
.intro {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}
.intro__label {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.intro__label .mono { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--cream-3); }
.intro__label .mono span { color: var(--accent); }

.intro__body { display: flex; flex-direction: column; gap: 22px; }

/* ----- PILLARS — ivory header band + dark cards below ----- */
.pillars__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 80px);
  align-items: end;
}
.pillars__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.pillars__intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pillars__intro .display { max-width: 18ch; }
.pillars__decoration {
  height: clamp(280px, 44vh, 460px);
  overflow: hidden;
  position: relative;
  border-radius: 0;
}
.pillars__decoration img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.92);
}
.pillars__decoration::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0) 60%, rgba(10,9,8,0.6) 100%);
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--hair);
  position: relative;
}
.pillar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 1px;
  background: var(--accent);
}
.pillar__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--accent);
}
.pillar__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.024em;
  color: var(--cream);
}
.pillar__title em, .pillar__title strong { font-style: normal; color: var(--cream); font-weight: 700; }
.pillar__body {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.7;
  color: var(--cream-2);
}

/* ----- PARALLAX INTERLUDE ----- */
.interlude {
  position: relative;
  height: 260svh;
  background: #000;
}
.interlude--short { height: 220svh; }
.interlude__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  width: 100%;
  overflow: hidden;
}
.interlude__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.84) contrast(1.06) grayscale(0.05);
}
/* Scroll-driven darkening — video fades to black as you scroll deeper */
.interlude__darken {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--darken, 0);
  pointer-events: none;
  z-index: 2;
  transition: opacity 60ms linear;
}
.interlude__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 75%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
  z-index: 1;
}
.interlude__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--pad-x);
  z-index: 3;
}
.interlude__inner {
  text-align: center;
  max-width: 640px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 800ms cubic-bezier(.22,.61,.36,1), transform 1000ms cubic-bezier(.22,.61,.36,1);
}
.interlude__inner.is-active { opacity: 1; transform: translateY(0); }
.interlude__eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}
.interlude__quote {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--cream);
  text-shadow: 0 4px 32px rgba(0,0,0,0.6);
}
.interlude__quote strong, .interlude__quote em {
  font-style: normal;
  font-weight: 700;
  color: var(--cream);
}
.interlude__attribution {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-top: 24px;
}

/* ----- SERVICES ----- */
.services {
  display: flex;
  flex-direction: column;
  gap: 0;          /* divider lines handle separation */
}
.services__header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(28px, 4vw, 80px);
  align-items: end;
  margin-bottom: clamp(56px, 8vh, 96px);
}

/* Service — strict 50/50 photo + text, compact directory feel.
   Every photo locked to the same aspect-ratio so all 5 services
   render identical-sized rows — tidy, proportional, symmetric. */
.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  position: relative;
  padding: clamp(28px, 4vh, 56px) 0;
  border-top: 1px solid var(--hair-ink);
}
.service:first-child { border-top: 0; }
.service:nth-child(odd) .service__visual { order: 2; }

.service__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ivory-2);
  align-self: stretch;
}
.service__visual img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.94);
  transition: transform 1400ms cubic-bezier(.22,.61,.36,1), filter 600ms ease;
}
.service:hover .service__visual img {
  transform: scale(1.025);
  filter: grayscale(1) contrast(1.10) brightness(1);
}
.service__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.05) 0%, rgba(10,9,8,0.35) 100%);
  pointer-events: none;
}
.service__num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  color: var(--cream);
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.service__content {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vh, 16px);
  justify-content: center;
  padding: clamp(14px, 2vw, 32px) clamp(20px, 3.5vw, 56px);
  align-self: stretch;
}
.service:nth-child(odd) .service__content { padding-left: 0; padding-right: clamp(20px, 3.5vw, 56px); }
.service:nth-child(even) .service__content { padding-left: clamp(20px, 3.5vw, 56px); padding-right: 0; }

.service__index {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.service__index strong {
  font-weight: 600;
  color: var(--ink);
  font-size: 10.5px;
}
.service__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 0;
  max-width: 22ch;
}
.service__title em, .service__title strong { font-style: normal; color: inherit; font-weight: 700; }
.service__lede {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: clamp(12.5px, 0.95vw, 14px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--cream-2);
  margin: 0;
  max-width: 44ch;
}
.service__content > .body-text { margin: 0; max-width: 46ch; font-size: clamp(12px, 0.9vw, 13.5px); line-height: 1.55; }

.service__list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 18px;
  border-top: 1px solid var(--hair);
  padding-top: 12px;
  margin-top: 2px;
}
.service__list li {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 11.5px;
  color: var(--cream-2);
  position: relative;
  padding-left: 13px;
  line-height: 1.4;
}
.service__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.service__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: 2px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--hair);
  transition: border-color 280ms ease, color 280ms ease;
  width: fit-content;
}
.service__link:hover { border-color: var(--accent); color: var(--accent); }
.service__link::after { content: "→"; font-family: var(--f-body); font-size: 12px; }

/* ----- METHOD ----- */
.method {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(40px, 5vw, 80px);
}
.method__intro {
  grid-column: 1 / 6;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  align-self: start;
}
.method__steps {
  grid-column: 7 / 13;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vh, 80px);
}
.method__step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  border-top: 1px solid var(--hair);
  padding-top: 28px;
}
.method__step-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--accent);
}
.method__step-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.024em;
  margin-bottom: 12px;
}
.method__step-title em, .method__step-title strong { font-style: normal; color: var(--cream); font-weight: 700; }
.method__step-body {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.65;
  color: var(--cream-2);
}
.method__visual {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(16px, 2vw, 32px);
  margin-top: clamp(40px, 6vh, 80px);
}
.method__visual figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}
.method__visual figure:nth-child(2) { aspect-ratio: 16 / 11; }
.method__visual img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.92);
}

/* ----- TEAM (compact directory grid) ----- */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair-ink);
}
.team__header {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vh, 56px);
}
.team__member {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3.5vh, 36px) clamp(14px, 1.6vw, 24px);
  border-right: 1px solid var(--hair-ink);
}
.team__member:last-child { border-right: 0; }
.team__member--full,
.team__member--small { grid-column: span 1; }
.team__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ivory-2);
  border-radius: 0;
  margin-bottom: 4px;
}
.team__photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04) brightness(0.95);
  transition: transform 1200ms cubic-bezier(.22,.61,.36,1), filter 600ms ease;
}
.team__member:hover .team__photo img {
  transform: scale(1.02);
  filter: grayscale(1) contrast(1.08) brightness(1);
}
.team__name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.2;
  letter-spacing: -0.018em;
  margin: 0;
}
.team__name em, .team__name strong { font-style: normal; font-weight: 700; color: inherit; }
.team__role {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin: -2px 0 4px;
}
.team__bio {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--cream-2);
  margin: 0;
}
.team__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hair);
  padding-top: 10px;
  margin-top: 4px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-3);
}
.team__meta div { display: inline-flex; gap: 4px; }
.team__meta span { color: var(--cream); }

/* ----- OFFICES (compact directory grid — ivory) ----- */
.offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair-ink);
}
.offices__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin: 0 auto clamp(28px, 4vh, 40px);
  max-width: 720px;
}
.offices__header > * { width: 100%; }
.offices__header .display { max-width: 22ch; margin: 0 auto; }
.offices__header .body-text { margin: 0 auto; max-width: 56ch; }
.office {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 3.5vh, 36px) clamp(14px, 1.6vw, 24px);
  border-right: 1px solid var(--hair-ink);
}
.office:last-child { border-right: 0; }
.office__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: var(--ivory-2);
  margin-bottom: 4px;
}
.office__photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04) brightness(0.92);
  transition: transform 1200ms cubic-bezier(.22,.61,.36,1);
}
.office:hover .office__photo img { transform: scale(1.03); }
.office__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0) 50%, rgba(10,9,8,0.7) 100%);
}
.office__index {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  color: var(--cream);
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.office__index span { color: var(--cream); }
.office__city {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.2;
  letter-spacing: -0.018em;
  margin: 0;
}
.office__city em, .office__city strong { font-style: normal; font-weight: 700; color: inherit; }
.office__address {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--cream-2);
  margin: 0;
}
.office__contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--cream-2);
  border-top: 1px solid var(--hair);
  padding-top: 10px;
  margin-top: 4px;
}
.office__contact a:hover { color: var(--accent); }
.office__contact span { color: var(--cream-3); margin-right: 6px; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; }

/* ====================================================
   LIGHT SECTION MODIFIER — ivory cream relief band
   ==================================================== */
.section--light {
  background: var(--ivory);
  color: var(--ink);
  max-width: none;
  padding: var(--pad-y) var(--pad-x);
  margin: 0;
}
.section--light .section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section--light .eyebrow { color: var(--ink-muted); }
.section--light .display,
.section--light .display strong,
.section--light .display em,
.section--light h2, .section--light h3 { color: var(--ink); }
.section--light .lede,
.section--light .body-text,
.section--light .intro__story-line { color: var(--ink-soft); }
.section--light .lede strong,
.section--light .body-text strong,
.section--light .intro__story-line strong { color: var(--ink); }
.section--light .mono { color: var(--ink-muted); }
.section--light .mono span { color: var(--ink); }

/* Services on ivory */
.section--light .service__title { color: var(--ink); }
.section--light .service__lede,
.section--light .service__content .body-text { color: var(--ink-soft); }
.section--light .service__list { border-top-color: var(--hair-ink); }
.section--light .service__list li { color: var(--ink-soft); }
.section--light .service__list li::before { background: var(--ink); }
.section--light .service__link {
  color: var(--ink);
  border-bottom-color: var(--hair-ink);
}
.section--light .service__link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.section--light .service__num { color: var(--cream); }   /* sits on photo, stays light */
.section--light .service__index {
  color: var(--ink-muted);
}
.section--light .service__index strong { color: var(--ink); }
.section--light .service__divider { background: var(--hair-ink); }

/* Team on ivory */
.section--light .team__name,
.section--light .team__name strong,
.section--light .team__name em { color: var(--ink); }
.section--light .team__role { color: var(--ink-muted); }
.section--light .team__bio { color: var(--ink-soft); }
.section--light .team__meta {
  border-top-color: var(--hair-ink);
  color: var(--ink-muted);
}
.section--light .team__meta span { color: var(--ink); }
.section--light .team__photo { background: var(--ivory-2); }

/* Headers in light sections */
.section--light .services__header,
.section--light .team__header,
.section--light .offices__header { color: var(--ink); }

/* Compact #offices section padding */
.section--light#offices {
  padding-top: clamp(48px, 8vh, 80px);
  padding-bottom: clamp(48px, 8vh, 80px);
}

/* Offices on ivory */
.section--light .office { border-right-color: var(--hair-ink); }
.section--light .office:last-child { border-right: 0; }
.section--light .office__photo { background: var(--ivory-2); }
.section--light .office__city { color: var(--ink); }
.section--light .office__address { color: var(--ink-soft); }
.section--light .office__contact {
  border-top-color: var(--hair-ink);
  color: var(--ink-soft);
}
.section--light .office__contact a:hover { color: var(--ink); }
.section--light .office__contact span { color: var(--ink-muted); }
.section--light .offices { border-top-color: var(--hair-ink); }

/* ====================================================
   PILLAR — flash to cream card on viewport entry
   ==================================================== */
.pillar {
  background: transparent;
  padding: 28px 20px 24px;
  margin: 0 -20px;
  cursor: default;
  transition: background 420ms cubic-bezier(.22,.61,.36,1);
}
.pillar::before {
  transition: width 600ms cubic-bezier(.22,.61,.36,1);
}
.pillar:hover {
  background: rgba(246, 239, 225, 0.045);
}
.pillar:hover::before { width: 100%; }
.pillar:hover .pillar__title { color: #fff; transition: color 360ms ease; }

/* ----- CONTACT ----- */
.contact {
  background: var(--ink-2);
  padding: var(--pad-y) var(--pad-x);
}
.contact__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 100px);
}
.contact__intro { display: flex; flex-direction: column; gap: 24px; }
.contact__intro .display { max-width: 14ch; }
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--hair);
}
.contact__detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact__detail-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact__detail a:hover { color: var(--accent); }

.contact__form { display: flex; flex-direction: column; gap: 20px; }
.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact__field label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-3);
}
.contact__field input,
.contact__field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair);
  padding: 12px 0;
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 16px;
  transition: border-color 240ms ease;
}
.contact__field input:focus,
.contact__field textarea:focus {
  outline: 0;
  border-bottom-color: var(--accent);
}
.contact__field textarea { resize: vertical; min-height: 96px; }

.contact__submit {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cream);
  color: var(--ink);
  border: 0;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 240ms ease, transform 240ms ease;
  margin-top: 12px;
}
.contact__submit:hover { background: var(--accent-soft); transform: translateY(-1px); }

/* ----- FOOTER ----- */
.footer {
  border-top: 1px solid var(--hair);
  padding: clamp(48px, 8vh, 80px) var(--pad-x) clamp(32px, 5vh, 48px);
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(40px, 6vh, 60px);
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.012em;
}
.footer__brand-name em { font-style: normal; font-weight: 700; color: var(--cream); }
.footer__brand-line { font-size: 14px; color: var(--cream-3); max-width: 32ch; line-height: 1.5; }
.footer__col h4 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px 0;
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__col a, .footer__col li {
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--cream-2);
  transition: color 200ms ease;
}
.footer__col a:hover { color: var(--cream); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-3);
  gap: 20px;
  flex-wrap: wrap;
}
.footer__bottom a:hover { color: var(--accent); }

/* ----- REVEAL ANIMATION ----- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms cubic-bezier(.22,.61,.36,1), transform 1000ms cubic-bezier(.22,.61,.36,1);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px;
  }
  .nav__burger span { display: block; width: 24px; height: 1px; background: var(--cream); transition: transform 240ms ease, opacity 240ms ease; }
  .nav__menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav__menu-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav__menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .nav__mobile {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 50;
    padding: calc(var(--nav-h) + 32px) var(--pad-x) 40px;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 320ms ease;
  }
  .nav__menu-open .nav__mobile { opacity: 1; pointer-events: auto; }
  .nav__mobile a {
    font-family: var(--f-display);
    font-weight: 350;
    font-size: clamp(36px, 8vw, 64px);
    line-height: 1.1;
    letter-spacing: -0.022em;
    color: var(--cream);
    padding: 18px 0;
    border-bottom: 1px solid var(--hair);
  }
  .nav__mobile a em { font-style: italic; color: var(--accent-soft); }

  .hero { height: 290svh; }
  .interlude { height: 220svh; }
  .interlude--short { height: 200svh; }

  .intro { grid-template-columns: 1fr; gap: 32px; }
  .pillars__top { grid-template-columns: 1fr; gap: 24px; }
  .pillars__decoration { height: 50vh; }
  .pillars__cards { grid-template-columns: 1fr; gap: 0; }
  .pillar { padding-top: 24px; }

  .services__header,
  .team__header,
  .offices__header { grid-template-columns: 1fr; gap: 24px; }

  .service { grid-template-columns: 1fr; gap: 28px; }
  .service:nth-child(even) .service__visual { order: 0; }
  .service__visual { aspect-ratio: 4/3; }
  .service__list { grid-template-columns: 1fr; }

  .method { grid-template-columns: 1fr; gap: 40px; }
  .method__intro, .method__steps { grid-column: 1; position: static; }
  .method__visual { grid-template-columns: 1fr; }
  .method__step { grid-template-columns: 56px 1fr; gap: 16px; padding-top: 24px; }

  .team { grid-template-columns: repeat(2, 1fr); }
  .team__member { grid-column: span 1; }
  .team__member:nth-child(odd) { border-right: 1px solid var(--hair-ink); }
  .team__member:nth-child(2n+2) { border-right: 0; }
  .team__member:nth-child(-n+3) { border-bottom: 1px solid var(--hair-ink); }
  .team__member--full, .team__member--small { grid-column: span 1; }

  .offices { grid-template-columns: 1fr; }
  .office { grid-column: span 1; border-right: 0; border-bottom: 1px solid var(--hair-ink); }
  .office:last-child { border-bottom: 0; }

  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact__row { grid-template-columns: 1fr; }

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

@media (max-width: 640px) {
  .hero__corner--tl, .hero__corner--tr { font-size: 9px; }
  .hero__corner-stack { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero, .interlude { height: auto; }
  .hero__stage, .interlude__stage { position: relative; height: 100svh; }
  .hero__video, .interlude__video { animation: none; }
  .reveal, .hero__beat, .interlude__inner { opacity: 1; transform: none; transition: none; }
  .hero__scroll-cue { animation: none; }
}
