/* ============================================================
   JD FILMS LLC — styles.css
   Dark, cinematic, black + gold.
   Display type: Fraunces (high-contrast serif)
   Body/UI type: Archivo
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink:      #0a0a0a;   /* page background */
  --ink-2:    #111214;   /* raised surfaces */
  --ink-3:    #17181b;   /* cards */
  --paper:    #ece7dd;   /* off-white text */
  --paper-dim:#a8a397;   /* secondary text */
  --gold:     #C9A24B;   /* gold accent (text, numbers, hairlines) */
  --gold-soft:#dfc78d;   /* lighter gold for large numbers */
  --line:     rgba(236, 231, 221, 0.12);
  --line-gold:rgba(201, 162, 75, 0.45);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --nav-h: 76px;
  --nav-h-small: 60px;
  --pad: clamp(20px, 5vw, 64px);
  --max: 1240px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3 { margin: 0; font-weight: 500; }

button { font-family: inherit; cursor: pointer; }

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

/* ---------- Utilities ---------- */
.wrap {
  width: min(var(--max), 100% - 2 * var(--pad));
  margin-inline: auto;
}

/* Credits-style section eyebrow: small caps between gold hairlines */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  white-space: nowrap;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  height: 1px;
  width: clamp(32px, 8vw, 96px);
  background: var(--line-gold);
}
.eyebrow--left { justify-content: flex-start; }
.eyebrow--left::after { display: none; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.005em;
}
.display em {
  font-style: italic;
  color: var(--gold);
}

.lede {
  color: var(--paper-dim);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 58ch;
}

.section { padding-block: clamp(84px, 12vw, 160px); }
.section--tight { padding-block: clamp(56px, 8vw, 100px); }

/* Liquid-glass pill CTA — frosted, top-lit, with a specular reflection
   that follows the pointer (--mx/--my set by script.js on move/tap). */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid rgba(236, 216, 168, 0.12); /* hairline, faint gold */
  background:
    radial-gradient(150px circle at var(--mx, 50%) var(--my, 28%),
      rgba(255, 240, 200, 0.26), rgba(255, 240, 200, 0.02) 62%),
    linear-gradient(rgba(201, 162, 75, 0.11), rgba(201, 162, 75, 0.05)),
    rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(30px) saturate(1.9);
  backdrop-filter: blur(30px) saturate(1.9);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 1px rgba(255, 248, 224, 0.30),
    inset 0 -8px 16px rgba(255, 244, 210, 0.05),
    inset 0 0 22px rgba(255, 245, 214, 0.05),
    0 14px 38px rgba(0, 0, 0, 0.42);
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.btn:hover {
  border-color: rgba(236, 216, 168, 0.26);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 1px rgba(255, 248, 224, 0.45),
    inset 0 -8px 18px rgba(255, 244, 210, 0.08),
    inset 0 0 26px rgba(255, 245, 214, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.5);
}
.btn:active { transform: translateY(0) scale(0.985); }
.btn--ghost {
  background:
    radial-gradient(150px circle at var(--mx, 50%) var(--my, 28%),
      rgba(255, 240, 200, 0.16), rgba(255, 240, 200, 0.01) 62%),
    linear-gradient(rgba(201, 162, 75, 0.06), rgba(201, 162, 75, 0.03)),
    rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { border-color: rgba(236, 216, 168, 0.26); }
.btn svg { transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

/* Scroll reveal (JS adds .in) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height 0.4s var(--ease-out), background 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  height: var(--nav-h-small);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: min(var(--max), 100% - 2 * var(--pad));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo img { height: 42px; width: auto; transition: height 0.4s var(--ease-out); }
.nav.scrolled .nav__logo img { height: 34px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-dim);
  transition: color 0.3s;
  position: relative;
  padding-block: 6px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover, .nav__links a.active { color: var(--paper); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }

.nav__cta { flex-shrink: 0; }
.nav__cta .btn { padding: 12px 24px; font-size: 12px; }

/* Hamburger */
.nav__burger {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  position: relative;
  z-index: 130;
}
.nav__burger span {
  position: absolute;
  left: 10px;
  width: 24px; height: 1.5px;
  background: var(--paper);
  transition: transform 0.4s var(--ease-out), opacity 0.3s, top 0.4s var(--ease-out);
}
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 23px; }
.nav__burger span:nth-child(3) { top: 29px; }
.nav__burger.open span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(38px, 9vw, 56px);
  line-height: 1.35;
  color: var(--paper);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.06s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.12s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.18s; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); }
.mobile-menu .btn { margin-top: 36px; align-self: flex-start; opacity: 0; transition-delay: 0.26s; }
.mobile-menu.open .btn { opacity: 1; }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: -8% 0;             /* extra bleed for parallax */
  z-index: 0;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  filter: saturate(0.85) contrast(1.02);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.25) 38%, rgba(10,10,10,0.78) 78%, var(--ink) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100% - 2 * var(--pad));
  margin-inline: auto;
  padding-bottom: clamp(72px, 12vh, 140px);
}
.hero__kicker {
  margin-bottom: 26px;
}

/* Signature: stacked-word masked reveal */
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 9.4vw, 118px);
  line-height: 1.02;
  letter-spacing: 0.004em;
  margin: 0 0 28px;
}
.hero__title .line {
  display: block;
  overflow: hidden;              /* the mask */
  padding-bottom: 0.14em;        /* room for descenders (g, p, y) */
  margin-bottom: -0.14em;
}
.hero__title .line > span {
  display: block;
  transform: translateY(110%);
  animation: heroRise 1.1s var(--ease-out) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: 0.15s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.32s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.49s; }
.hero__title em { font-style: italic; color: var(--gold); }

@keyframes heroRise { to { transform: translateY(0); } }

.hero__sub {
  color: var(--paper-dim);
  font-size: clamp(15px, 1.7vw, 18px);
  max-width: 46ch;
  margin: 0 0 36px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.85s forwards;
}
.hero__cta { opacity: 0; animation: fadeUp 1s var(--ease-out) 1.05s forwards; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.hero__scrollhint {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper-dim);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.4s forwards;
}
.hero__scrollhint::after {
  content: "";
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.5); transform-origin: top; opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}
.hero__scrollhint { cursor: pointer; }

/* Mobile: bottom-center scroll cue with a bouncing gold chevron so
   visitors know the results live below the hero. */
@media (max-width: 720px) {
  .hero__scrollhint {
    right: 0;
    left: 0;
    bottom: 14px;
    margin-inline: auto;
    width: max-content;
    writing-mode: horizontal-tb;
    flex-direction: column;
    gap: 7px;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-indent: 0.3em; /* visually recenter tracked uppercase text */
    color: var(--paper);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
  }
  .hero__scrollhint::after {
    width: 11px;
    height: 11px;
    background: none;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    animation: scrollBob 1.6s ease-in-out infinite;
  }
}
@keyframes scrollBob {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.95; }
  50%      { transform: translateY(5px) rotate(45deg); opacity: 0.45; }
}

/* ============================================================
   RESULTS BADGE BAR
   ============================================================ */
.badgebar {
  border-block: 1px solid var(--line);
  background: var(--ink-2);
}
.badgebar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.badge {
  padding: clamp(30px, 4vw, 52px) 16px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.badge:first-child { border-left: 0; }
.badge__num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 60px);
  color: var(--gold-soft);
  line-height: 1;
}
.badge__label {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
@media (max-width: 720px) {
  .badgebar__grid { grid-template-columns: repeat(2, 1fr); }
  .badge:nth-child(3) { border-left: 0; }
  .badge:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy { text-align: center; }
.philosophy h2 {
  font-size: clamp(34px, 5.6vw, 68px);
  margin: 26px auto 30px;
  max-width: 16ch;
}
.philosophy .lede { margin-inline: auto; }

.principles {
  margin-top: clamp(48px, 7vw, 84px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.principle {
  background: var(--ink);
  padding: clamp(30px, 3.6vw, 52px) clamp(24px, 3vw, 44px);
  text-align: left;
}
.principle h3 {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.25;
  min-height: 2.5em; /* two lines — keeps all three boxes aligned */
  margin-bottom: 14px;
}
.principle h3 span { color: var(--gold); }
.principle p { color: var(--paper-dim); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* ============================================================
   FOUNDER
   ============================================================ */
.founder { background: var(--ink-2); border-block: 1px solid var(--line); }
.founder__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.founder__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.founder__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 1.2s var(--ease-out);
}
.founder__photo:hover img { transform: scale(1.035); }
.founder__photo::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--line-gold);
  pointer-events: none;
}
.founder__copy h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 22px 0 26px;
}
.founder__copy p { color: var(--paper-dim); margin: 0 0 18px; }
.founder__copy p strong { color: var(--paper); font-weight: 500; }
.founder__sig {
  margin-top: 30px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  color: var(--gold);
}
@media (max-width: 860px) {
  .founder__grid { grid-template-columns: 1fr; }
  .founder__photo { max-width: 460px; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials__head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.testimonials__head h2 { font-size: clamp(32px, 4.6vw, 56px); margin-top: 24px; }

.tgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
}
.tcard {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line);
  cursor: pointer;
}
.tcard video, .tcard img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), opacity 0.4s;
}
.tcard:hover video, .tcard:hover img { transform: scale(1.03); }
.tcard__meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 20px 18px;
  background: linear-gradient(to top, rgba(10,10,10,0.85), transparent);
  pointer-events: none;
}
.tcard__meta strong { display: block; font-size: 15px; font-weight: 600; }
.tcard__meta span { font-size: 12px; letter-spacing: 0.12em; color: var(--gold); text-transform: uppercase; }
.tcard__play {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(236,231,221,0.5);
  background: rgba(10,10,10,0.45);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  color: var(--paper);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
  pointer-events: none;
}
.tcard:hover .tcard__play { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: scale(1.06); }
.tcard--placeholder {
  display: grid;
  place-items: center;
  color: var(--paper-dim);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(236,231,221,0.03) 14px 15px),
    var(--ink-3);
}
@media (max-width: 860px) {
  .tgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .tgrid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
}

/* ============================================================
   RESULTS TEASER
   ============================================================ */
.teaser { background: var(--ink-2); border-block: 1px solid var(--line); }
.teaser__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.teaser__shot {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8);
}
.teaser__shot img { width: 100%; }
.teaser__copy h2 { font-size: clamp(30px, 4vw, 48px); margin: 22px 0 26px; }
.teaser__stats { margin: 30px 0 36px; display: grid; gap: 18px; }
.tstat {
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.tstat__num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  color: var(--gold-soft);
  min-width: 3.2ch;
  line-height: 1;
}
.tstat__label { color: var(--paper-dim); font-size: 14px; letter-spacing: 0.06em; }
@media (max-width: 860px) {
  .teaser__grid { grid-template-columns: 1fr; }
  .teaser__shot { order: 2; }
}

/* ============================================================
   CLOSING INVITATION
   ============================================================ */
.closing { text-align: center; }
.closing h2 {
  font-size: clamp(34px, 5.8vw, 72px);
  max-width: 18ch;
  margin: 24px auto 20px;
}
.closing .lede { margin: 0 auto 40px; }

/* ============================================================
   PAGE HEADERS (interior pages)
   ============================================================ */
.pagehead {
  padding-top: calc(var(--nav-h) + clamp(64px, 10vw, 130px));
  padding-bottom: clamp(48px, 7vw, 90px);
  text-align: center;
}
.pagehead h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 7.4vw, 92px);
  line-height: 1.04;
  margin: 26px auto 22px;
  max-width: 18ch;
}
.pagehead h1 em { font-style: italic; color: var(--gold); }
.pagehead .lede { margin-inline: auto; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.pgroup { margin-bottom: clamp(56px, 8vw, 104px); }
.pgroup__label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.pgroup__label h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  white-space: nowrap;
}
.pgroup__label span {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.pgroup__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
.ptile {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line);
  cursor: pointer;
}
.ptile video, .ptile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.ptile:hover video, .ptile:hover img { transform: scale(1.04); }
.ptile__tag {
  position: absolute;
  left: 14px; bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
  pointer-events: none;
}
.ptile--placeholder {
  display: grid;
  place-items: center;
  color: var(--paper-dim);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
  cursor: default;
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(236,231,221,0.03) 14px 15px),
    var(--ink-3);
}
@media (max-width: 1020px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .pgrid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5,5,5,0.94);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox video {
  max-height: 86svh;
  max-width: min(92vw, 480px);
  box-shadow: 0 30px 100px rgba(0,0,0,0.9);
}
.lightbox__close {
  position: absolute;
  top: 22px; right: 26px;
  background: none;
  border: 0;
  color: var(--paper);
  font-size: 34px;
  line-height: 1;
  padding: 8px;
  transition: color 0.3s, transform 0.3s;
}
.lightbox__close:hover { color: var(--gold); transform: rotate(90deg); }

/* ============================================================
   STATS PAGE
   ============================================================ */
.statblock {
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) minmax(0, 3fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}
.statblock:last-of-type { border-bottom: 1px solid var(--line); }
.statblock__client h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
}
.statblock__client span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.statblock__journey {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2.4vw, 30px);
  flex-wrap: wrap;
}
.statblock__from {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  color: var(--paper-dim);
}
.statblock__arrow { color: var(--gold); flex-shrink: 0; transform: translateY(-2px); }
.statblock__to {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.4vw, 86px);
  color: var(--gold-soft);
  line-height: 1;
}
.statblock__time {
  color: var(--paper-dim);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
}
@media (max-width: 860px) {
  .statblock { grid-template-columns: 1fr; gap: 14px; }
  .statblock__time { text-align: left; }
}

.receipts { background: var(--ink-2); border-block: 1px solid var(--line); }
.receipts__head { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.receipts__head h2 { font-size: clamp(30px, 4.4vw, 52px); margin-top: 22px; }
.receipts__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.8vw, 22px);
  align-items: start;
}
.receipt {
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), border-color 0.4s;
}
.receipt:hover { transform: translateY(-6px); border-color: var(--line-gold); }
@media (max-width: 1020px) { .receipts__row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .receipts__row { grid-template-columns: repeat(2, 1fr); } }

.receipts__video {
  margin-top: clamp(36px, 5vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.receipts__video .frame {
  max-width: 340px;
  margin-inline: auto;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8);
}
.receipts__video h3 { font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 16px; }
.receipts__video p { color: var(--paper-dim); }
@media (max-width: 860px) { .receipts__video { grid-template-columns: 1fr; } }

/* ============================================================
   BOOK PAGE
   ============================================================ */
.book__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.calendly-frame {
  border: 1px solid var(--line);
  background: var(--ink-2);
  min-height: 720px;
}
.calendly-frame iframe { width: 100%; height: 720px; border: 0; display: block; }
.book__aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.book__aside h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 22px;
}
.book__proof { display: grid; gap: 16px; margin-bottom: 34px; }
.bproof {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.bproof strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  color: var(--gold-soft);
  min-width: 3.4ch;
  line-height: 1;
}
.bproof span { color: var(--paper-dim); font-size: 13.5px; }
.book__note { color: var(--paper-dim); font-size: 14px; }
@media (max-width: 960px) {
  .book__grid { grid-template-columns: 1fr; }
  .book__aside { position: static; order: -1; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 7vw, 80px) 36px;
  text-align: center;
}
.footer__logo img { height: 64px; width: auto; margin-inline: auto; opacity: 0.9; }
.footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--paper-dim);
  margin: 22px 0 26px;
}
.footer__tag em { color: var(--gold); font-style: italic; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper-dim);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer__social a:hover { color: var(--gold); }
.footer__legal {
  margin-top: 34px;
  font-size: 12px;
  color: rgba(168, 163, 151, 0.55);
  letter-spacing: 0.08em;
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .hero__sub, .hero__cta, .hero__scrollhint { opacity: 1; }
}

/* ============================================================
   CLIENT QUOTES (testimonials section)
   ============================================================ */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  /* quotes sit ABOVE the video grid now — the space goes below */
  margin-bottom: clamp(40px, 6vw, 72px);
}
.quote {
  margin: 0;
  padding: clamp(26px, 3vw, 40px);
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-top: 1px solid var(--line-gold);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--paper);
  flex: 1;
}
.quote figcaption strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.quote figcaption span {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}
@media (max-width: 860px) {
  .quotes { grid-template-columns: 1fr; }
}

/* ============================================================
   STILLS (portfolio)
   ============================================================ */
.stills-section { padding-top: 0; }
.stills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
}
.still {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line);
}
.still img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.9s var(--ease-out);
}
.still:hover img { transform: scale(1.04); }
@media (max-width: 860px) {
  .stills { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   HERO SLIDESHOW (Momoyama-style crossfade)
   ============================================================ */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity, transform;
}
.hero__slide.is-active {
  opacity: 1;
  animation: hero-zoom 8s ease-out forwards;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active { animation: none; }
}

/* ============================================================
   RESULTS MARQUEE (replaces the static badge grid)
   ============================================================ */
.marquee {
  overflow: hidden;
  padding-block: clamp(26px, 3.6vw, 44px);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: stretch;
}
.mbadge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 4px clamp(30px, 4vw, 60px);
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
.mbadge__name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
a.mbadge .mbadge__name {
  animation: mbadge-glow 4.5s ease-in-out infinite;
}
a.mbadge:hover .mbadge__name { color: var(--gold-soft); }
@keyframes mbadge-glow {
  0%, 100% { text-shadow: 0 0 0 rgba(201, 162, 75, 0); }
  50%      { text-shadow: 0 0 10px rgba(201, 162, 75, 0.55), 0 0 22px rgba(201, 162, 75, 0.2); }
}
@media (prefers-reduced-motion: reduce) { a.mbadge .mbadge__name { animation: none; } }
.mbadge__num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  color: var(--gold-soft);
  line-height: 1.15;
}
.mbadge__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

/* ============================================================
   MOBILE FIXES — keep text off the right edge on phones
   ============================================================ */
@media (max-width: 640px) {
  .eyebrow {
    white-space: normal;
    letter-spacing: 0.24em;
    line-height: 2;
  }
  .hero__kicker { padding-right: 10px; }
}
@media (max-width: 480px) {
  :root { --pad: 28px; }
}

/* ============================================================
   STATS SLIDESHOW CARD (testimonials 6th box, links to /stats)
   ============================================================ */
.tcard--stats { display: block; }
.statshow { position: absolute; inset: 0; }
.statshow img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.statshow img.is-active { opacity: 1; }
.tcard--stats .tcard__meta span { color: var(--gold); }

/* ============================================================
   THE ARCHIVE — endless one-by-one feed on the portfolio page
   ============================================================ */
.feed-section { padding-top: 0; }
.feed {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 32px);
  max-width: 440px;
  margin-inline: auto;
}
.feed__item {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--ink-3);
  overflow: hidden;
}
.feed__item video, .feed__item img { width: 100%; height: auto; display: block; }

/* ============================================================
   BOOK PAGE — full-width Calendly, proof as a footer band
   ============================================================ */
.calendly-frame--wide { max-width: 960px; margin-inline: auto; }
.bookwhy { text-align: center; }
.bookwhy h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.bookwhy__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.5vw, 36px);
  max-width: 960px;
  margin-inline: auto;
  text-align: left;
}
.bookwhy .book__note { max-width: 640px; margin: clamp(28px, 4vw, 44px) auto 0; }
@media (max-width: 860px) {
  .bookwhy__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   FOOTER — two contact links + receipt captions + feed link
   ============================================================ */
.footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  flex-wrap: wrap;
}
.receipt { position: relative; }
.receipt figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 12px 10px;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.88), transparent);
  text-align: left;
  pointer-events: none;
}
.receipt figcaption strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--paper);
}
.receipt figcaption span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--gold);
  line-height: 1.5;
}
.feed__more {
  text-align: center;
  margin: clamp(28px, 4vw, 44px) 0 0;
  color: var(--paper-dim);
  font-size: 14px;
}
.feed__more a { color: var(--gold); border-bottom: 1px solid var(--line-gold); padding-bottom: 2px; }
.feed__more a:hover { color: var(--gold-soft); }

/* ============================================================
   FAQ (book page) — reuses .principle cards in a 2-col grid
   ============================================================ */
.faq { padding-top: 0; }
.faq .principles { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .faq .principles { grid-template-columns: 1fr; }
}


/* ============================================================
   LANGUAGE PICKER — floating gold-glass bubble, bottom left
   ============================================================ */
.langpick {
  position: fixed;
  left: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 180;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.langbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(236, 216, 168, 0.14);
  background:
    radial-gradient(110px circle at var(--mx, 50%) var(--my, 28%),
      rgba(255, 240, 200, 0.26), rgba(255, 240, 200, 0.02) 62%),
    linear-gradient(rgba(201, 162, 75, 0.12), rgba(201, 162, 75, 0.05)),
    rgba(10, 10, 10, 0.35);
  -webkit-backdrop-filter: blur(30px) saturate(1.9);
  backdrop-filter: blur(30px) saturate(1.9);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  box-shadow:
    inset 0 1px 1px rgba(255, 248, 224, 0.30),
    inset 0 -6px 14px rgba(255, 244, 210, 0.05),
    0 12px 32px rgba(0, 0, 0, 0.45);
  transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.langbtn:hover { border-color: rgba(236, 216, 168, 0.28); transform: translateY(-2px); }
.langbtn svg { color: var(--gold-soft); }

.langpick__menu {
  display: flex;
  flex-direction: column;
  min-width: 168px;
  padding: 8px;
  border-radius: 22px;
  border: 1px solid rgba(236, 216, 168, 0.14);
  background:
    linear-gradient(rgba(201, 162, 75, 0.10), rgba(201, 162, 75, 0.04)),
    rgba(10, 10, 10, 0.55);
  -webkit-backdrop-filter: blur(30px) saturate(1.9);
  backdrop-filter: blur(30px) saturate(1.9);
  box-shadow:
    inset 0 1px 1px rgba(255, 248, 224, 0.22),
    0 18px 44px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transform-origin: bottom left;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.langpick.open .langpick__menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.langpick__menu button {
  background: none;
  border: 0;
  border-radius: 14px;
  padding: 9px 14px;
  text-align: left;
  color: var(--paper-dim);
  font-family: var(--font-body);
  font-size: 14px;
  transition: background 0.25s, color 0.25s;
}
.langpick__menu button:hover { background: rgba(255, 240, 200, 0.08); color: var(--paper); }
.langpick__menu button.is-current { color: var(--gold-soft); }
