/*
 * Homepage — v2 (after client feedback, 5 Oct 2026)
 * Direction: light, calm, easy to read, senior. Moderate type sizes, one idea per section,
 * a contained layout, and crimson used only as an accent.
 * Previous version: _design-source/homepage-v1/
 */

/* ─────────── Scroll reveal ─────────── */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.rv.in {
  opacity: 1;
  transform: none;
}

/* ═══════════ INTRO ═══════════ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--k-sky);
  transition: transform 1s var(--ease), visibility 0s linear 1s;
}

.intro__mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  overflow: hidden;
}

.intro__word {
  display: inline-flex;
  align-items: flex-end;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: .01em;
  transform: translateY(100%);
  animation: introRise 1.2s .15s var(--ease) forwards;
}

.intro__dot {
  width: .18em;
  height: .18em;
  margin: 0 0 .1em .08em;
  border-radius: 50%;
  background: var(--crimson);
  transform: scale(0);
  animation: introDot .6s 1s var(--ease) forwards;
}

.intro__sub {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: introFade .9s .6s var(--ease) forwards;
}

.intro__line {
  position: relative;
  width: 140px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.intro__line span {
  position: absolute;
  inset: 0;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left;
  animation: introLine 2.4s .3s cubic-bezier(.65, 0, .35, 1) forwards;
}

.intro.is-done {
  transform: translateY(-100%);
  visibility: hidden;
}

.intro.is-skipped {
  display: none;
}

@keyframes introRise {
  to {
    transform: none;
  }
}

@keyframes introDot {
  to {
    transform: scale(1);
  }
}

@keyframes introFade {
  to {
    opacity: 1;
  }
}

@keyframes introLine {
  to {
    transform: scaleX(1);
  }
}

/* Hero elements wait for the intro, then rise in sequence */
[data-hero-in] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.is-ready [data-hero-in] {
  opacity: 1;
  transform: none;
}

.is-ready [data-hero-in]:nth-child(2) {
  transition-delay: .1s;
}

.is-ready [data-hero-in]:nth-child(3) {
  transition-delay: .22s;
}

.is-ready [data-hero-in]:nth-child(4) {
  transition-delay: .34s;
}

/* ═══════════ HERO ═══════════ */
.hero {
  min-height: calc(100svh - var(--k-header-h) - 4px);
  display: flex;
  align-items: center;
  padding: clamp(48px, 7vh, 96px) 0 var(--section-y);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.hero__title {
  font-family: var(--serif);
  font-size: var(--t-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--ink);
}

.hero__title em {
  font-style: italic;
  color: var(--crimson);
}

.hero__lede {
  margin-top: 26px;
  max-width: 500px;
  font-size: var(--t-lede);
  line-height: 1.75;
  color: var(--text);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 40px;
}

/* Credentials stack */
.hero__stack {
  position: relative;
  height: 470px;
  perspective: 1200px;
}

.stack-card {
  position: absolute;
  left: 50%;
  top: 50%;
  overflow: hidden;
  width: min(100%, 340px);
  padding: 32px 32px 30px;
  background: var(--k-sky);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(20, 18, 16, .22), 0 2px 6px rgba(20, 18, 16, .04);
  /* resting position is set per slot via --x / --y / --r (home.js rotates the slots) */
  transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 40px))) rotate(var(--r, 0deg)) scale(var(--s, .96));
  opacity: 0;
  transition: transform 1.1s var(--ease), opacity .8s var(--ease), box-shadow .6s;
}

.is-ready .stack-card {
  opacity: 1;
}

.stack-card[data-slot='0'] {
  --x: 0px;
  --y: 0px;
  --r: 0deg;
  --s: 1;
  z-index: 3;
}

.stack-card[data-slot='1'] {
  --x: 36px;
  --y: -26px;
  --r: 5deg;
  --s: .96;
  z-index: 2;
}

.stack-card[data-slot='2'] {
  --x: -34px;
  --y: -48px;
  --r: -6deg;
  --s: .92;
  z-index: 1;
}

.stack-card[data-slot='1'],
.stack-card[data-slot='2'] {
  box-shadow: 0 20px 40px -30px rgba(20, 18, 16, .2);
}

/* Professional image at the top of each credential card (full-bleed inside the card) */
.stack-card__media {
  margin: -32px -32px 22px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--tint);
}

.stack-card__media .photo {
  filter: saturate(.85) contrast(1.02) sepia(.05);
}

.has-morph .stack-card__media {
  will-change: height;
}

.stack-card__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.stack-card__value {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: var(--t-stat);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}

.stack-card__value em {
  font-style: normal;
  color: var(--crimson);
}

.stack-card__text {
  margin-top: 12px;
  font-size: var(--t-small);
  line-height: 1.6;
  color: var(--text);
}

.hero {
  position: relative;
  isolation: isolate;
}

/* Hero → Services morph (desktop, driven by home.js) */
/* While travelling, the copy fades but the photo stays and grows to fill the card */
.stack-card> :not(.stack-card__media) {
  opacity: var(--content, 1);
}

.has-morph .hero {
  position: relative;
  z-index: 3;
  overflow: visible;
}

.has-morph body {
  overflow-x: clip;
}

.has-morph .svc__media {
  transition: none;
}

.has-morph .stack-card {
  will-change: transform, opacity;
}

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  list-style: none;
}

.marquee__group li {
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--muted);
  white-space: nowrap;
  font-weight: var(--w-serif);
}

.marquee__group li::after {
  content: '';
  width: 5px;
  height: 5px;
  margin: 0 40px;
  border-radius: 50%;
  background: var(--crimson);
  opacity: .6;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ═══════════ PATHS (who we work with) ═══════════ */
.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.path {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--k-sky);
  transition: border-color .4s, box-shadow .6s var(--ease), transform .6s var(--ease);
}

.path:hover {
  border-color: transparent;
  box-shadow: 0 30px 60px -36px rgba(20, 18, 16, .28);
  transform: translateY(-4px);
}

.path__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--crimson);
}

.path__title {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: var(--t-h3);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -.01em;
}

.path__body {
  margin-top: 16px;
  font-size: var(--t-body);
  line-height: 1.75;
}

.path__list {
  list-style: none;
  margin: 24px 0 32px;
  width: 100%;
  border-top: 1px solid var(--line);
}

.path__list li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-small);
  color: var(--ink);
}

.path__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--crimson);
}

.path .text-link {
  margin-top: auto;
}

/* ═══════════ SPLIT (sticky head + content) ═══════════ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

.split__head {
  position: sticky;
  top: calc(var(--k-header-h) + 40px);
}

.split__head .section-lede+* {
  margin-top: 32px;
}

/* ═══════════ SERVICES (2nd section) ═══════════ */
.services__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px 80px;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.services__intro .section-lede {
  margin-top: 0;
}

.services__intro .text-link {
  margin-top: 24px;
}

/* <Photo> fills its frame (width/height attributes only reserve the aspect ratio) */
.photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* List of services (left) + one large image that follows the active service (right) */
.svc {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.svc__list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.svc__item {
  border-bottom: 1px solid var(--line);
}

.svc__toggle {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  color: #B9B1A9;
  transition: color .7s var(--ease);
}

.svc__num {
  flex-shrink: 0;
  min-width: 2.8em;
  font-size: 17px;
}

.svc__title {
  font-size: clamp(22px, 1.9vw, 26px);
  letter-spacing: -.005em;
  transition: transform .6s var(--ease);
}

.svc__toggle:hover {
  color: var(--ink);
}

.svc__toggle:hover .svc__title {
  transform: translateX(6px);
}

.svc__item.is-active .svc__toggle {
  color: var(--ink);
}

.svc__item.is-active .svc__num {
  color: var(--crimson);
}

.svc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .9s var(--ease);
}

.svc__item.is-active .svc__panel {
  grid-template-rows: 1fr;
}

.svc__inner {
  min-height: 0;
  overflow: hidden;
}

.svc__inner p {
  max-width: 520px;
  padding-left: calc(2.8 * 17px + 16px);
  font-size: var(--t-small);
  line-height: 1.7;
  color: var(--text);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}

.svc__item.is-active .svc__inner p {
  opacity: 1;
  transform: none;
  transition-delay: .2s;
}

.svc__inner .text-link {
  margin: 14px 0 24px calc(2.8 * 17px + 16px);
}

.svc__mobile-media {
  display: none;
}

/* Thin progress rail beside the list (visible in pinned mode) */
.svc {
  position: relative;
}

.svc__rail {
  display: none;
}

.svc-pinned .svc__rail {
  display: block;
  position: absolute;
  left: -28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.svc__rail span {
  position: absolute;
  inset: 0;
  background: var(--crimson);
  transform: scaleY(var(--svc-progress, 0));
  transform-origin: top;
}

/* Pinned mode (desktop): the whole section becomes a full-screen stage under the header.
   home.js sets --stick-top, --stage-h and --svc-h and makes the scroller tall; sizes below
   scale with the viewport height so it also works on short laptop screens. */
.svc-pinned .services {
  padding: 0;
}

.svc-pinned .svc-stage {
  position: sticky;
  top: var(--stick-top, 64px);
  height: var(--stage-h, 100vh);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.svc-pinned .svc-stage>.container {
  width: 100%;
}

.svc-pinned .services__head {
  margin-bottom: clamp(16px, 4.5vh, 56px);
}

.svc-pinned .services__head .section-title {
  font-size: clamp(28px, min(3.6vw, 6vh), 50px);
}

.svc-pinned .svc {
  align-items: center;
  height: var(--svc-h, auto);
}

.svc-pinned .svc__toggle {
  padding: clamp(7px, 1.7vh, 20px) 0;
}

.svc-pinned .svc__num {
  font-size: clamp(13px, 2vh, 17px);
}

.svc-pinned .svc__title {
  font-size: clamp(17px, 3vh, 26px);
}

.svc-pinned .svc__inner p {
  font-size: clamp(13px, 1.9vh, 15px);
  line-height: 1.6;
}

.svc-pinned .svc__inner .text-link {
  margin-top: clamp(6px, 1.4vh, 14px);
  margin-bottom: clamp(10px, 2.4vh, 24px);
}

.svc-pinned .svc__media {
  position: relative;
  top: auto;
  aspect-ratio: auto;
  height: min(var(--svc-h, 400px), 460px);
}

/* Short screens: keep just the eyebrow + title above the list */
@media (max-height: 760px) {
  .svc-pinned .services__intro {
    display: none;
  }

  .svc-pinned .services__head {
    grid-template-columns: 1fr;
  }

  .svc-pinned .services__head .eyebrow {
    margin-bottom: 10px;
  }
}

/* Pinned on phones / small tablets: image on top, compact list below, all inside one screen */
/* Top-aligned so the image stays perfectly still while descriptions of different length open */
html.svc-pinned.svc-compact .svc-stage {
  align-items: flex-start;
  padding-top: clamp(10px, 2.2vh, 24px);
}

html.svc-pinned.svc-compact .services__intro {
  display: none;
}

html.svc-pinned.svc-compact .services__head {
  margin-bottom: 16px;
}

html.svc-pinned.svc-compact .services__head .eyebrow {
  margin-bottom: 8px;
}

html.svc-pinned.svc-compact .services__head .section-title {
  font-size: clamp(24px, 7vw, 30px);
}

html.svc-pinned.svc-compact .svc {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  height: auto;
}

html.svc-pinned.svc-compact .svc__media {
  display: block;
  order: -1;
  width: 100%;
  height: clamp(140px, 24vh, 250px);
}

html.svc-pinned.svc-compact .svc__badge {
  left: 12px;
  right: 12px;
  bottom: 12px;
}

html.svc-pinned.svc-compact .svc__badge-icon {
  width: 40px;
  height: 40px;
}

html.svc-pinned.svc-compact .svc__badge-icon svg {
  width: 18px;
  height: 18px;
}

html.svc-pinned.svc-compact .svc__count {
  font-size: 15px;
}

html.svc-pinned.svc-compact .svc__mobile-media {
  display: none;
}

html.svc-pinned.svc-compact .svc__rail {
  display: none;
}

html.svc-pinned.svc-compact .svc__toggle {
  padding: clamp(6px, 1.1vh, 11px) 0;
  gap: 10px;
}

html.svc-pinned.svc-compact .svc__num {
  min-width: 2.4em;
  font-size: 13px;
}

html.svc-pinned.svc-compact .svc__title {
  font-size: clamp(16px, 2.3vh, 19px);
}

html.svc-pinned.svc-compact .svc__inner p {
  padding-left: 0;
  font-size: 13px;
  line-height: 1.55;
}

html.svc-pinned.svc-compact .svc__inner .text-link {
  margin: 6px 0 10px;
  font-size: 11px;
  padding-bottom: 2px;
}

/* Very short screens (e.g. laptop + browser chrome): one-line title, tighter rows */
@media (max-height: 620px) {
  .svc-pinned .services__head {
    margin-bottom: 14px;
  }

  .svc-pinned .services__head .eyebrow {
    margin-bottom: 6px;
  }

  .svc-pinned .services__head .section-title {
    font-size: clamp(22px, 4.8vh, 30px);
  }

  .svc-pinned .services__head .section-title br {
    display: none;
  }

  .svc-pinned .services__head .section-title em {
    margin-left: .2em;
  }

  .svc-pinned .svc__toggle {
    padding: 6px 0;
  }

  .svc-pinned .svc__title {
    font-size: 17px;
  }

  .svc-pinned .svc__num {
    font-size: 13px;
  }

  .svc-pinned .svc__inner p {
    font-size: 13px;
    line-height: 1.5;
  }

  .svc-pinned .svc__inner .text-link {
    margin: 6px 0 10px calc(2.8 * 17px + 16px);
    font-size: 11px;
    padding-bottom: 2px;
  }
}

/* Image panel */
.svc__media {
  position: sticky;
  top: calc(var(--k-header-h) + 32px);
  aspect-ratio: 6 / 5;
  overflow: hidden;
  background: var(--tint);
}

/* Image change: the incoming photo wipes in over the previous one (direction set by home.js) */
.svc__figure {
  position: absolute;
  inset: 0;
  margin: 0;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.5s var(--ease);
  z-index: 0;
}

.svc__figure .photo {
  transform: scale(1.14);
  transition: transform 2.2s var(--ease);
}

.svc__figure.is-prev {
  clip-path: inset(0);
  z-index: 1;
}

.svc__figure.is-prev .photo {
  transform: none;
}

.svc__figure.is-active {
  clip-path: inset(0);
  z-index: 2;
}

.svc__figure.is-active .photo {
  transform: none;
}

.svc__figure .photo {
  filter: saturate(.85) contrast(1.02) sepia(.05);
}

.svc__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(20, 18, 16, .35) 100%);
}

.svc__badge {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.svc__badge-icon {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: var(--crimson);
  box-shadow: 0 10px 24px -12px rgba(20, 18, 16, .5);
}

.svc__badge-icon svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%) scale(.6);
  opacity: 0;
  transition: opacity .4s var(--ease), transform .6s var(--ease);
}

.svc__badge-icon svg.is-active {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.svc__count {
  font-family: var(--serif);
  font-size: 18px;
  color: #fff;
  letter-spacing: .04em;
  font-weight: var(--w-serif);
}

/* ═══════════ PRINCIPLES (dark) ═══════════ */
.principles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.principle {
  padding: 36px 32px 8px 0;
}

.principle+.principle {
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.principle__num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: #C4938A;
}

.principle__title {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  color: #fff;
}

.principle__body {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .62);
}

/* ═══════════ FOUNDER ═══════════ */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}

.founder__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--tint);
  border-radius: var(--k-radius-img, 6px);
  box-shadow: 0 28px 60px -22px rgba(20, 18, 16, .22), 0 6px 16px -2px rgba(20, 18, 16, .07);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}

.founder__visual:hover {
  box-shadow: 0 36px 72px -24px rgba(20, 18, 16, .28), 0 8px 20px -2px rgba(20, 18, 16, .09);
}

.founder__visual .photo {
  filter: saturate(.85) contrast(1.03) sepia(.05);
  transform: scale(1.12);
  will-change: transform;
  transition: filter .6s var(--ease);
}

.founder__badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--k-sky);
  font-family: var(--serif);
  font-size: var(--t-stat);
  line-height: 1;
  color: var(--ink);
  border-radius: 50%;
  box-shadow: 0 14px 32px -8px rgba(20, 18, 16, .35), 0 2px 8px rgba(20, 18, 16, .1);
  border: 1px solid rgba(255, 255, 255, .7);
  will-change: transform;
}

.founder__badge span {
  color: var(--crimson);
}

.founder__copy .section-lede {
  max-width: 580px;
}

.founder__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0;
  border: none;
}

.founder__facts div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 22px;
  box-shadow: 0 12px 28px -12px rgba(20, 18, 16, .08), 0 2px 6px rgba(20, 18, 16, .03);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.founder__facts div+div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.founder__facts div:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -14px rgba(20, 18, 16, .14), 0 4px 10px rgba(20, 18, 16, .04);
}

.founder__facts dt {
  font-family: var(--serif);
  font-size: var(--t-h4);
  color: var(--ink);
  line-height: 1.2;
  font-weight: var(--w-serif);
}

.founder__facts dd {
  margin-top: 4px;
  font-size: var(--t-caption);
  color: var(--muted);
}

/* ═══════════ FAQ ═══════════ */
.faqs {
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 24px;
  box-shadow: 0 10px 24px -10px rgba(20, 18, 16, .07), 0 2px 6px rgba(20, 18, 16, .02);
  transition: box-shadow .35s var(--ease), border-color .35s, transform .35s var(--ease);
}

.faq-item:hover {
  box-shadow: 0 16px 36px -12px rgba(20, 18, 16, .12), 0 3px 10px rgba(20, 18, 16, .04);
  border-color: rgba(20, 18, 16, .16);
  transform: translateY(-1px);
}

.faq-item.open {
  box-shadow: 0 20px 44px -14px rgba(20, 18, 16, .14), 0 4px 12px rgba(20, 18, 16, .05);
  border-color: rgba(20, 18, 16, .2);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: var(--t-h4);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  transition: color .3s;
}

.faq__q:hover,
.faq-item.open .faq__q {
  color: var(--crimson);
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background .3s, border-color .3s;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1px;
  margin-left: -5.5px;
  background: var(--ink);
  transition: transform .5s var(--ease), background .3s;
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq-item.open .faq__icon {
  background: var(--crimson);
  border-color: var(--crimson);
}

.faq-item.open .faq__icon::before,
.faq-item.open .faq__icon::after {
  background: var(--k-sky);
}

.faq-item.open .faq__icon::after {
  transform: rotate(0deg);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .6s var(--ease);
}

.faq-item.open .faq__a {
  grid-template-rows: 1fr;
}

.faq__a>div {
  min-height: 0;
  overflow: hidden;
}

.faq__a p {
  max-width: 640px;
  padding-bottom: 26px;
  font-size: var(--t-body);
  line-height: 1.75;
}

/* ═══════════ CTA ═══════════ */
/* ═══════════ CTA (Final Section) ═══════════ */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: clamp(96px, 12vh, 160px) 0 clamp(88px, 10vh, 130px);
}

.cta__ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(140px, 20vw, 280px);
  font-weight: 300;
  font-style: italic;
  color: rgba(111, 0, 0, 0.038);
  letter-spacing: -.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
  will-change: transform;
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  will-change: transform;
}

.cta .eyebrow {
  justify-content: center;
  margin-bottom: 24px;
}

.cta .section-title {
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.15;
}

.cta .section-lede {
  margin: 24px auto 0;
  max-width: 600px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
  color: var(--text-secondary);
}

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-top: clamp(36px, 4.5vw, 48px);
}

.cta__email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  color: var(--text-primary);
  font-family: var(--font-body, var(--sans));
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px -4px rgba(20, 18, 16, 0.06);
  transition: all .3s var(--ease);
}

.cta__email-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2E7D32;
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

.cta__email-btn:hover {
  background: #fff;
  border-color: var(--color-secondary, #6F0000);
  color: var(--color-secondary, #6F0000);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(20, 18, 16, 0.12);
}

.cta__strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px clamp(16px, 3vw, 40px);
  max-width: 820px;
  margin: clamp(48px, 6vw, 68px) auto 0;
  padding-top: clamp(28px, 3.5vw, 40px);
  border-top: 1px solid var(--line);
  text-align: left;
}

.cta__strip-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta__strip-label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 600;
}

.cta__strip-val {
  font-family: var(--font-heading, var(--serif));
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.3;
  color: var(--text-primary);
  font-weight: 500;
}

.cta__strip-link {
  color: var(--color-secondary, #6F0000);
  transition: opacity .2s, transform .2s;
}

.cta__strip-link:hover {
  opacity: .8;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .cta__strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
    text-align: left;
  }
}

/* ═══════════ Responsive ═══════════ */
/* Hero + services keep their two-column (desktop) layout down to 861px — laptops with
   narrow browser windows still get the pinned services and the hero→services morph */
@media (max-width: 1000px) {

  .split,
  .founder {
    grid-template-columns: 1fr;
  }

  .split__head {
    position: static;
  }

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

  .principle:nth-child(3) {
    padding-left: 0;
    border-left: none;
  }

  .principle:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 28px;
  }

  .founder__visual {
    max-width: 420px;
  }
}

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

  .hero__stack {
    height: 440px;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }

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

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

  .svc__media {
    display: none;
  }

  .svc__mobile-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: 18px;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .hero__grid {
    gap: 40px;
  }

  .svc {
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
  }

  .svc__toggle {
    padding: 18px 0;
  }

  .svc__inner p {
    padding-left: 0;
  }

  .svc__inner .text-link {
    margin-left: 0;
  }

  .hero__lede {
    font-size: 16px;
  }

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

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

  .principle,
  .principle+.principle {
    padding: 28px 0 0;
    border-left: none;
  }

  .principle+.principle {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 28px;
  }

  .stack-card {
    padding: 26px;
  }

  .stack-card__media {
    margin: -26px -26px 18px;
  }

  /* tighter fan so the back cards stay inside narrow screens */
  .stack-card[data-slot='1'] {
    --x: 14px;
    --y: -16px;
    --r: 3deg;
  }

  .stack-card[data-slot='2'] {
    --x: -14px;
    --y: -30px;
    --r: -4deg;
  }

  .stack-card__value {
    font-size: 44px;
  }

  .marquee__group li {
    font-size: 18px;
  }

  .marquee__group li::after {
    margin: 0 26px;
  }

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

  .founder__facts div {
    padding: 16px 10px 16px 0;
  }

  .founder__facts div+div {
    padding-left: 12px;
  }

  .founder__facts dt {
    font-size: 20px;
  }

  .founder__facts dd {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro {
    display: none;
  }

  [data-hero-in],
  .rv {
    opacity: 1;
    transform: none;
  }

  .svc__figure,
  .svc__figure .photo {
    transition: none;
  }

  .stack-card {
    opacity: 1;
    transition: none;
  }

  .marquee__track {
    animation: none;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
  }

  .svc__toggle {
    padding: 18px 0;
  }

  .svc__inner p {
    padding-left: 0;
  }

  .svc__inner .text-link {
    margin-left: 0;
  }

  .hero__lede {
    font-size: 16px;
  }

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

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

  .principle,
  .principle+.principle {
    padding: 28px 0 0;
    border-left: none;
  }

  .principle+.principle {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 28px;
  }

  .stack-card {
    padding: 26px;
  }

  .stack-card__media {
    margin: -26px -26px 18px;
  }

  /* tighter fan so the back cards stay inside narrow screens */
  .stack-card[data-slot='1'] {
    --x: 14px;
    --y: -16px;
    --r: 3deg;
  }

  .stack-card[data-slot='2'] {
    --x: -14px;
    --y: -30px;
    --r: -4deg;
  }

  .stack-card__value {
    font-size: 44px;
  }

  .marquee__group li {
    font-size: 18px;
  }

  .marquee__group li::after {
    margin: 0 26px;
  }

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

  .founder__facts div {
    padding: 16px 10px 16px 0;
  }

  .founder__facts div+div {
    padding-left: 12px;
  }

  .founder__facts dt {
    font-size: 20px;
  }

  .founder__facts dd {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro {
    display: none;
  }

  [data-hero-in],
  .rv {
    opacity: 1;
    transform: none;
  }

  .svc__figure,
  .svc__figure .photo {
    transition: none;
  }

  .stack-card {
    opacity: 1;
    transition: none;
  }

  .marquee__track {
    animation: none;
  }
}

/* ═══════════ SERVICES — scroll-linked motion (after the reference "creative stack") ═══════════
   --svc-p (0→1) is set by home.js: how far scroll has progressed through the active service. */
@media (prefers-reduced-motion: no-preference) {

  /* Active photo drifts and settles as you scroll through its service (parallax zoom) */
  .svc__figure.is-active .photo {
    transform: scale(calc(1.16 - var(--svc-p, 0) * .16)) translateY(calc((.5 - var(--svc-p, 0)) * 5%));
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
  }

  /* Service title + number slide in line by line when a service becomes active */
  .svc__item .svc__title,
  .svc__item .svc__num {
    transition: transform .8s var(--ease), color .4s, opacity .4s;
  }

  .svc__item.is-active .svc__title {
    transform: translateX(6px);
  }

  /* "Learn more" underline draws in after the copy appears */
  .svc__inner .text-link {
    background-size: 0% 1px;
  }

  .svc__item.is-active .svc__inner .text-link {
    background-size: 100% 1px;
    transition-delay: .45s;
  }
}

/* ═══════════ SERVICES — stacked panels (layout after the reference "creative stack") ═══════════
   Left: big number on top, sub-services at the bottom. Right: statement + link on top, photo below. */
.sp-list {
  border-top: 1px solid var(--line);
}

.sp {
  border-bottom: 1px solid var(--line);
}

.sp__in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0 clamp(24px, 6vw, 96px);
  min-height: min(86vh, 820px);
  padding: clamp(48px, 6vw, 88px) 0;
}

.sp__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.sp__num {
  font-family: var(--serif);
  font-weight: var(--w-serif);
  font-size: var(--t-num);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}

.sp__lines {
  list-style: none;
}

.sp__lines li {
  font-family: var(--serif);
  font-weight: var(--w-serif);
  font-size: var(--t-h4);
  line-height: 1.25;
  color: var(--ink);
}

.sp__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sp__copy {
  font-family: var(--serif);
  font-weight: var(--w-serif);
  font-size: var(--t-h3);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
  max-width: 640px;
}

.sp__main .text-link {
  margin-top: 26px;
}

.sp__media {
  width: 100%;
  margin-top: auto;
  padding-top: clamp(32px, 4vw, 56px);
  background: none;
}

.sp__media .frame {
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  background: var(--tint);
  border-radius: var(--k-radius-img, 6px);
  box-shadow: 0 24px 50px -20px rgba(20, 18, 16, .22), 0 4px 14px -2px rgba(20, 18, 16, .06);
  transition: box-shadow .6s var(--ease), transform .6s var(--ease);
}

.sp:hover .sp__media .frame {
  box-shadow: 0 32px 64px -22px rgba(20, 18, 16, .28), 0 6px 18px -2px rgba(20, 18, 16, .08);
}

.sp__media .photo {
  transform: scale(1.16);
  will-change: transform;
}

@media (max-width: 860px) {
  .sp__in {
    grid-template-columns: 1fr;
    gap: 28px 0;
    min-height: 0;
  }

  .sp__side {
    gap: 24px;
  }

  .sp__media {
    padding-top: 8px;
  }

  .sp__main {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp__media .photo {
    transform: none;
  }
}

/* ═══════════ SERVICES — stacked pin (JS adds html.sps-on) ═══════════
   Each service is a full-screen panel. The panel pins; the next one scrolls up over it while the
   pinned one drifts up, blurs and fades (service-panels.js). Motion after the reference "creative stack". */
.sps-on .sps {
  border-top: 0;
}

.sps-on .sp {
  position: relative;
  background: var(--k-sky);
  border-bottom: 0;
}

.sps-on .sp__in {
  height: calc(100svh - var(--k-header-h));
  min-height: 0;
  padding: clamp(28px, 5vh, 64px) 0;
  border-top: 1px solid var(--line);
  transform-origin: 50% 0;
  will-change: transform, opacity, filter;
}

.sps-on .sp__main {
  height: 100%;
}

.sps-on .sp__media {
  flex: 1;
  min-height: 0;
  margin-top: 0;
  padding-top: clamp(20px, 3.5vh, 44px);
}

.sps-on .sp__media .frame {
  height: 100%;
  aspect-ratio: auto;
}

.sp__copy .split-word {
  display: inline-block;
  will-change: opacity;
}

@media (max-width: 860px) {

  /* Mobile: panels run edge to edge (content keeps the page gutter inside), so the incoming
     panel covers the full width — no visible card edges, and the blurred panel underneath
     never shows in the side margins. */
  .sps-on .sp::before {
    content: '';
    position: absolute;
    inset: 0 calc(50% - 50vw);
    background: inherit;
    z-index: -1;
  }

  .sps-on .sp__in {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 16px 0;
  }

  .sps-on .sp__side {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
  }

  .sps-on .sp__num {
    font-size: clamp(40px, 12vw, 60px);
  }

  .sps-on .sp__lines li {
    font-size: 14px;
    line-height: 1.4;
    text-align: right;
  }

  .sps-on .sp__main {
    order: 0;
  }

  .sps-on .sp__copy {
    font-size: clamp(18px, 5vw, 24px);
  }

  .sps-on .sp__main .text-link {
    margin-top: 14px;
  }
}

/* ═══════════ AUDIENCES — stepped, sticky (design after a pinned "process" layout) ═══════════
   Base styles = plain stacked steps; html.aud-on (added by audience-steps.js) pins the stage. */
.aud__rail {
  display: none;
}

.aud__step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}

.aud__count {
  font-family: var(--sans);
  font-size: var(--t-caption);
  color: var(--muted);
  margin-bottom: 18px;
}

.aud__num {
  font-family: var(--serif);
  font-weight: var(--w-serif);
  font-size: var(--t-num);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}

.aud__title {
  margin: 14px 0 18px;
  font-family: var(--serif);
  font-weight: var(--w-serif);
  font-size: var(--t-h3);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -.01em;
}

.aud__body {
  max-width: 520px;
  font-size: var(--t-body);
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 20px;
}

.aud__copy .path__list {
  margin-bottom: 26px;
}

.aud__media {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  aspect-ratio: 1 / .9;
}

.aud__tile {
  overflow: hidden;
  border-radius: var(--k-radius-img, 6px);
  background: var(--tint);
  box-shadow: 0 20px 44px -16px rgba(20, 18, 16, .18), 0 4px 12px -2px rgba(20, 18, 16, .05);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  will-change: transform;
}

.aud__tile:hover {
  box-shadow: 0 28px 56px -18px rgba(20, 18, 16, .25), 0 6px 16px -2px rgba(20, 18, 16, .08);
}

.aud__tile--1 {
  grid-row: 1 / 3;
}

.aud__tile .photo {
  filter: saturate(.85) contrast(1.02) sepia(.05);
  transform: scale(1.12);
  will-change: transform;
}

.aud-on .aud {
  --aud-stage: calc(100svh - var(--k-header-h));
  /* 60vh of scroll per extra step: long enough to read the switch, short enough not to feel stuck */
  height: calc(var(--aud-stage) + (var(--n) - 1) * 60vh);
}

.aud-on .aud__stage {
  position: sticky;
  top: var(--k-header-h);
  height: var(--aud-stage);
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0 clamp(8px, 2vw, 32px);
  padding: clamp(16px, 3vh, 40px) 0;
  overflow: hidden;
}

.aud-on .aud__rail {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.aud-on .aud__line {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
}

.aud-on .aud__line i {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: top;
}

.aud__dot {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #C9C3BB;
  transition: background .4s, border-color .4s, transform .4s var(--ease);
}

.aud__dot.is-active {
  background: var(--ink);
  border-color: var(--ink);
  transform: scale(1.35);
}

.aud-on .aud__steps {
  position: relative;
  min-height: 0;
}

.aud-on .aud__step {
  position: absolute;
  inset: 0;
  padding: 0;
  border-top: 0;
  visibility: hidden;
}

.aud-on .aud__step.is-active {
  visibility: visible;
}

.aud-on .aud__media {
  height: 100%;
  max-height: 100%;
  aspect-ratio: auto;
}

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

  .aud-on .aud__stage {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .aud-on .aud__step {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 16px;
  }

  .aud-on .aud__num {
    font-size: clamp(40px, 12vw, 56px);
  }

  .aud-on .aud__count {
    margin-bottom: 6px;
  }

  .aud-on .aud__title {
    font-size: clamp(20px, 5.4vw, 26px);
    margin: 8px 0 10px;
  }

  .aud-on .aud__body {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 10px;
  }

  .aud-on .aud__copy .path__list {
    display: none;
  }

  .aud-on .aud__media {
    min-height: 0;
  }
}

/* ═══════════ PRINCIPLES — sticky title on the left, principles scroll past on the right ═══════════ */
.pr {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: start;
}

.pr__side {
  position: sticky;
  top: calc(var(--k-header-h) + clamp(24px, 6vh, 64px));
}

.pr__meter {
  margin-top: clamp(32px, 6vh, 64px);
  max-width: 280px;
}

.pr__count {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .55);
}

.pr__count span {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-num);
  letter-spacing: -.02em;
  color: #C4938A;
  margin-right: 6px;
  line-height: 1;
}

.pr__bar {
  display: block;
  height: 1px;
  margin-top: 18px;
  background: rgba(255, 255, 255, .16);
}

.pr__bar i {
  display: block;
  height: 100%;
  background: #C4938A;
  transform: scaleX(0);
  transform-origin: left;
}

.pr__list {
  list-style: none;
}

.pr__item {
  min-height: clamp(280px, 52vh, 460px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vh, 56px) 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  transition: opacity .5s var(--ease);
}

.pr__item:first-child {
  border-top: 0;
}

.pr__num {
  font-family: var(--serif);
  font-size: var(--t-h4);
  color: #C4938A;
  margin-bottom: 18px;
  font-weight: var(--w-serif);
}

.pr__title {
  font-family: var(--serif);
  font-weight: var(--w-serif);
  font-size: var(--t-h3);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: #fff;
  max-width: 560px;
}

.pr__body {
  max-width: 520px;
  margin-top: 20px;
  font-size: var(--t-body);
  line-height: 1.75;
  color: rgba(255, 255, 255, .7);
}

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

  .pr__side {
    position: static;
  }

  .pr__meter {
    display: none;
  }

  .pr__item {
    min-height: 0;
  }
}

/* ═══════════ Equal spacing between sections ═══════════
   One gap everywhere: each section pads --section-y on top only, so two neighbouring sections are
   exactly --section-y apart. Sections with their own background (dark, tint) and any section that
   sits right before one also pad the bottom, so content never touches a coloured edge. */
.section--dark,
.section--tint,
.cta {
  padding-bottom: var(--section-y);
}

.section:has(+ .section--dark),
.section:has(+ .section--tint) {
  padding-bottom: var(--section-y);
}

/* Showreel sits right before the dark section (a <script> sits between them), so it pads both sides */
.vshow {
  padding: var(--section-y) 0;
}

/* The pinned stages carry their own inner padding; the section gives that back so the gap stays equal */
.sps-on .services {
  margin-bottom: calc(-1 * clamp(24px, 4.5vh, 56px));
}

.aud-on #audiences {
  margin-bottom: calc(-1 * clamp(16px, 3vh, 40px));
}

/* Hero → services morph: wrapper around the first panel's copy; keeps the link left-aligned */
.sp__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ═══════════ TESTIMONIALS — header + stats, then a scroll-driven marquee of quote cards ═══════════ */
.testi {
  background: var(--bg-page);
  overflow: hidden;
}

.testi__head {
  max-width: 720px;
}

.testi__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px clamp(16px, 4vw, 64px);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line);
}

.testi__stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
}

.testi__stat dt {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
}

.testi__stat dd {
  margin: 0;
}

.testi__stat .number {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -.02em;
}

.testi__stat .number em {
  font-style: normal;
  color: var(--color-secondary);
}

.testi__marquee {
  margin-top: clamp(48px, 6vw, 80px);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.testi__marquee.is-dragging {
  cursor: grabbing;
}

.testi__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.testi__group {
  display: flex;
  flex: none;
  gap: 24px;
  padding-right: 24px;
  list-style: none;
}

.testi__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(32px, 4vw, 56px);
  width: clamp(300px, 52vw, 720px);
  padding: clamp(28px, 4vw, 56px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 48px -20px rgba(20, 18, 16, .12), 0 2px 8px rgba(20, 18, 16, .04);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.testi__card:hover {
  box-shadow: 0 28px 56px -20px rgba(20, 18, 16, .18), 0 4px 14px rgba(20, 18, 16, .06);
  transform: translateY(-2px);
}

.testi__person {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testi__avatar {
  flex: none;
  width: clamp(56px, 6vw, 88px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px -6px rgba(20, 18, 16, .18);
}

.testi__avatar--mono {
  display: grid;
  place-items: center;
  background: var(--bg-dark);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
}

.testi__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
  color: var(--text-tertiary);
  font-size: var(--fs-caption);
}

.testi__who strong {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-heading);
  color: var(--text-primary);
  line-height: 1.15;
}

.testi__quote {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-heading);
  line-height: 1.35;
  color: var(--text-primary);
}

@media (max-width: 560px) {
  .testi__stat dt {
    font-size: var(--fs-caption);
  }
}

@media (prefers-reduced-motion: reduce) {
  .testi__marquee {
    overflow-x: auto;
    cursor: auto;
  }

  .testi__group[aria-hidden="true"] {
    display: none;
  }
}

/* ═══════════ Content-doc sections (client content doc, "KOSH MEDIA - HOMEPAGE") ═══════════
   Built only from the homepage's existing tokens: serif headings, thin rules, tint, 5px frames. */

/* 02 · The Kosh approach — a quiet statement on the left half (the hero cards fly down the right) */
.approach__inner {
  max-width: 600px;
}

/* stays clear of the hero cards flying down the right on desktop */
.approach .section-lede {
  margin-top: 24px;
  max-width: 560px;
}

.approach__line {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 420px;
  font-family: var(--serif);
  font-weight: var(--w-serif);
  font-style: italic;
  font-size: var(--t-h4);
  color: var(--color-secondary);
}

/* 04 · How we work — the principles list on a light background */
.pr--light .pr__count {
  color: var(--text-tertiary);
}

.pr--light .pr__count span {
  color: var(--color-secondary);
}

.pr--light .pr__bar {
  background: var(--line);
}

.pr--light .pr__bar i {
  background: var(--color-secondary);
}

.pr--light .pr__item {
  border-top-color: var(--line);
}

.pr--light .pr__num {
  font-family: var(--sans);
  font-size: var(--t-caption);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.pr--light .pr__title {
  color: var(--text-primary);
}

.pr--light .pr__body {
  color: var(--text-secondary);
}

/* 05 · Our philosophy — dark, an abstract architectural form beside the statement */
.philosophy__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: center;
}

.philosophy__visual {
  color: var(--color-tertiary);
  max-width: 360px;
  opacity: .85;
}

.philosophy__visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.philosophy .section-lede {
  color: var(--text-on-dark-2);
  max-width: 520px;
  margin-top: 18px;
}

.philosophy .section-lede+.section-lede {
  margin-top: 6px;
}

.philosophy .text-link {
  margin-top: 32px;
}

/* 06 · Selected work — three projects */
.work-home__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.work-home__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: inherit;
}

.work-home__item.d1 {
  transition-delay: .1s;
}

.work-home__item.d2 {
  transition-delay: .2s;
}

.work-home__frame {
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--tint);
  border-radius: var(--radius-img, 6px);
  box-shadow: 0 20px 44px -18px rgba(20, 18, 16, 0.18), 0 4px 12px -2px rgba(20, 18, 16, 0.06);
  transition: transform 1.1s var(--ease), box-shadow .6s var(--ease);
}

.work-home__item:hover .work-home__frame {
  box-shadow: 0 30px 60px -20px rgba(20, 18, 16, 0.26), 0 8px 20px -2px rgba(20, 18, 16, 0.08);
}

.work-home__frame .photo {
  transform: scale(1.12);
  will-change: transform;
  transition: transform 1.1s var(--ease);
}

.work-home__item:hover .work-home__frame .photo {
  transform: scale(1.04);
}

.work-home__tags {
  margin-top: 20px;
  font-size: var(--t-caption);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.work-home__title {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: var(--w-serif);
  font-size: var(--t-h4);
  line-height: 1.2;
  color: var(--text-primary);
}

.work-home__body {
  margin-top: 8px;
  color: var(--text-secondary);
}

.work-home__item .text-link {
  margin-top: 18px;
}

/* 07 · The Kosh Journal — an editorial list on thin rules */
.journal-home__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.journal-home__row {
  border-top: 1px solid var(--line);
}

.journal-home__link {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 3fr) auto;
  gap: 16px clamp(24px, 4vw, 64px);
  align-items: baseline;
  padding: clamp(24px, 3vw, 36px) 0;
  color: inherit;
}

.journal-home__meta {
  font-size: var(--t-caption);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.journal-home__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.journal-home__title {
  font-family: var(--serif);
  font-weight: var(--w-serif);
  font-size: var(--t-h4);
  line-height: 1.25;
  color: var(--text-primary);
  transition: color .3s;
}

.journal-home__body {
  color: var(--text-secondary);
}

.journal-home__arrow svg {
  width: 14px;
  height: 14px;
  transition: transform .35s var(--ease);
}

a.journal-home__link:hover .journal-home__title {
  color: var(--color-secondary);
}

a.journal-home__link:hover .journal-home__arrow svg {
  transform: translateX(4px);
}

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

  .philosophy__visual {
    max-width: 200px;
  }

  .work-home__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .journal-home__link {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}