/* =========================================================
   Storyline — Grove / Mist / Citrus design system
   Syne + Literata · Zagara-motion-compatible chrome
   ========================================================= */

:root {
  --grove: #14261c;
  --grove-deep: #0f1a14;
  --grove-mid: #1c3326;
  --chalk: #e6ebe4;
  --chalk-bright: #f3f5f1;
  --citrus: #e8b01a;
  --citrus-deep: #c49212;
  --leaf: #3d6b4f;
  --muted: #5a6b60;
  --ink: #0f1a14;
  --danger: #b54a3c;
  --ok: #2f6b4f;
  --header-h: 76px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Syne", system-ui, sans-serif;
  --font-ui: "Syne", system-ui, sans-serif;
  --font-body: "Literata", Georgia, serif;

  /* Bridge legacy style.css tokens → new language */
  --bg: var(--grove-deep);
  --surface: var(--grove);
  --surface-warm: var(--grove-mid);
  --gold: var(--citrus);
  --gold-bright: var(--citrus);
  --gold-deep: var(--citrus-deep);
  --gold-grad: linear-gradient(135deg, #f0c14a, #c49212);
  --text: var(--chalk);
  --text-soft: #b7c4ba;
  --heading: var(--chalk-bright);
  --white: #ffffff;
  --paper: var(--grove-deep);
  --mist: var(--grove);
  --forest: var(--citrus);
  --moss: var(--leaf);
  --brass: var(--citrus);
  --line: rgba(232, 176, 26, 0.22);
  --font-brand: var(--font-ui);
}

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
html.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--chalk);
  background:
    radial-gradient(ellipse 70% 45% at 85% -5%, rgba(232, 176, 26, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 20%, rgba(61, 107, 79, 0.18), transparent 50%),
    var(--grove-deep);
  overflow-x: clip;
}
body:not(.is-home) {
  padding-top: var(--header-h);
}

/* Non-home templates — keep legacy layouts visible under redesign sheet */
html.loader-skip .loader { display: none !important; }

.page-hero {
  position: relative;
  padding-top: 48px !important;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(232, 176, 26, 0.12), transparent 55%),
    radial-gradient(ellipse 45% 40% at 10% 80%, rgba(61, 107, 79, 0.2), transparent 50%),
    var(--grove) !important;
}
.page-hero--media {
  min-height: min(72svh, 620px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 24px) 0 64px !important;
  background: var(--grove-deep) !important;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1.12);
}
.page-hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 45% at 75% 25%, rgba(232, 176, 26, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(15, 26, 20, 0.4) 0%, rgba(15, 26, 20, 0.88) 100%);
}
.page-hero__copy,
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1,
.svc-hero h1 {
  overflow: hidden;
}
.about-img {
  overflow: hidden;
  border-radius: 4px;
}
.about-img img,
.about-cta-visual img {
  display: block !important;
  width: 100%;
  height: auto;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  transform: none !important;
  clip-path: none !important;
}
.about-cta-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-cta-visual img {
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 8px;
}
.svc-hero {
  padding-top: 40px !important;
  min-height: 520px;
}
.svc-photo-frame.clip-reveal,
.about-img.clip-reveal,
.clip-reveal {
  overflow: hidden;
}
.svc-cta-banner,
.svc-testimonials,
.service-cta-box {
  will-change: transform;
  transform-origin: center center;
}
.svc-hero-bg,
.svc-hero-bg img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.svc-hero-copy,
.svc-offer-card {
  opacity: 1;
}
.svc-hero .reveal,
.svc-hero .reveal-left,
.svc-hero .reveal-right {
  opacity: 1;
  transform: none;
}
.svc-hero .reveal.in,
.page-hero .reveal.in {
  opacity: 1 !important;
  transform: none !important;
}
.section-mist {
  background:
    radial-gradient(ellipse 55% 50% at 90% 0%, rgba(232, 176, 26, 0.06), transparent 55%),
    linear-gradient(180deg, #163022 0%, var(--grove-deep) 100%);
}
.svc-photo-frame img,
.content-wrap img,
.about-img img {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  visibility: visible !important;
}
.card-grid {
  display: grid;
  gap: 18px;
}
.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .card-grid-3,
  .card-grid-2 { grid-template-columns: 1fr; }
  .svc-hero { min-height: 0; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--citrus); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: #f0c14a; }
ul, ol { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, .section__title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--chalk-bright);
  margin: 0;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--grove);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.loader__brand {
  font-family: "Syne", var(--font-display), system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  letter-spacing: -0.04em;
  color: var(--chalk-bright);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  visibility: hidden;
}
.loader.is-armed .loader__brand {
  visibility: visible;
}
.loader__brand .char {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.1;
  margin: 0;
}
.loader__brand .char > span {
  display: inline-block;
  will-change: transform;
}
.loader__bar {
  width: min(220px, 50vw);
  height: 2px;
  background: rgba(230, 235, 228, 0.15);
  overflow: hidden;
  border-radius: 2px;
}
.loader__bar-fill,
.loader__bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--citrus);
}
.loader.is-done { pointer-events: none; }

/* ---------- Page veil ---------- */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: var(--grove);
  transform: translateY(100%);
  pointer-events: none;
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  border: 1.5px solid var(--citrus);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99980;
  opacity: 0;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), opacity 0.25s;
  mix-blend-mode: difference;
}
.cursor__dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--citrus);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99981;
  opacity: 0;
}
.cursor.is-on, .cursor__dot.is-on { opacity: 1; }
.cursor.is-grow {
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
}
@media (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}
@media (max-width: 900px), (pointer: coarse) {
  .cursor, .cursor__dot { display: none !important; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s, backdrop-filter 0.35s;
}
.site-header.is-solid {
  background: rgba(15, 26, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(232, 176, 26, 0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}
.logo img {
  height: var(--logo-header-h, 52px) !important;
  width: auto;
  max-width: min(42vw, 180px);
  object-fit: contain;
}
.nav-list > li > a,
.nav-parent {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--chalk) !important;
}
.nav-list > li > a:hover,
.nav-list > li > a.active,
.nav-cta {
  color: var(--citrus) !important;
}
.nav-cta {
  font-family: var(--font-ui) !important;
  font-weight: 700 !important;
  background: var(--citrus) !important;
  color: var(--grove-deep) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 11px 20px !important;
}
.nav-cta:hover {
  background: #f0c14a !important;
  color: var(--grove-deep) !important;
}
.nav-toggle span { background: var(--citrus); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn--citrus, .btn-primary {
  background: var(--citrus) !important;
  color: var(--grove-deep) !important;
}
.btn--citrus:hover, .btn-primary:hover {
  background: #f0c14a !important;
  color: var(--grove-deep) !important;
  box-shadow: 0 14px 36px rgba(232, 176, 26, 0.28);
}
.btn--dark {
  background: var(--grove) !important;
  color: var(--chalk-bright) !important;
}
.btn--outline, .btn-ghost {
  background: transparent !important;
  color: var(--chalk-bright) !important;
  border: 1.5px solid rgba(230, 235, 228, 0.35) !important;
}
.btn--outline:hover, .btn-ghost:hover {
  border-color: var(--citrus) !important;
  color: var(--citrus) !important;
}

/* ---------- Sections ---------- */
.section {
  padding: 110px 0;
  position: relative;
}
.section--mist {
  background:
    radial-gradient(ellipse 55% 50% at 90% 0%, rgba(232, 176, 26, 0.06), transparent 55%),
    linear-gradient(180deg, #163022 0%, var(--grove-deep) 100%);
}
.section--grove {
  background: var(--grove);
  color: var(--chalk);
}
.section--chalk {
  background: var(--chalk-bright);
  color: var(--ink);
}
.section--chalk h2,
.section--chalk .section__title { color: var(--grove-deep); }
.section--chalk .section__label { color: var(--leaf); }
.section--chalk p { color: var(--muted); }

.section__label, .exp-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--citrus);
  margin: 0 0 16px;
}
.section__title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  max-width: 16ch;
  margin-bottom: 20px;
}
.section__lede {
  font-family: var(--font-body);
  color: var(--text-soft);
  max-width: 42ch;
  font-size: 1.05rem;
}

/* ---------- Split / clip ---------- */
.split .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.28em;
}
.split .word > span {
  display: inline-block;
  will-change: transform;
}
.split--chars {
  white-space: nowrap;
}
.split .char {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin: 0;
  padding: 0;
  line-height: 1.05;
}
.split .char > span {
  display: inline-block;
  will-change: transform;
}
.clip-reveal {
  overflow: hidden;
  position: relative;
  border-radius: 4px;
}
.clip-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 24px) 0 72px;
  overflow: hidden;
  color: var(--chalk-bright);
  background: var(--grove-deep);
}
.hero__media, .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img, .hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25);
  will-change: transform;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: scale(1.18);
  will-change: transform;
  background: var(--grove-deep);
}
.hero__poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: scale(1.08) !important;
}
.hero--video.is-playing .hero__poster {
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.hero__canvas {
  display: none;
}
.hero__veil, .hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 50% 45% at 75% 25%, rgba(232, 176, 26, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(15, 26, 20, 0.35) 0%, rgba(15, 26, 20, 0.55) 40%, rgba(15, 26, 20, 0.94) 100%);
  pointer-events: none;
}
.hero__content, .hero-copy {
  position: relative;
  z-index: 3;
  max-width: 920px;
}
.hero__brand,
.hero .brand-mark {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: clamp(2.5rem, 11vw, 6.5rem) !important;
  letter-spacing: -0.045em !important;
  line-height: 0.95 !important;
  margin: 0 0 18px !important;
  color: var(--chalk-bright) !important;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  max-width: 100%;
}
.hero__brand em {
  font-style: normal;
  color: var(--citrus);
  display: block;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  max-width: 28ch;
  margin: 0 0 28px;
  color: rgba(230, 235, 228, 0.88);
}
.hero__actions, .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__scroll {
  position: absolute;
  right: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 36px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(230, 235, 228, 0.45);
}
.hero__scroll i {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, var(--citrus), transparent);
}

/* ---------- Story split ---------- */
.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.story__copy p {
  color: var(--text-soft);
  margin: 0 0 16px;
  font-size: 1.05rem;
}

/* ---------- Horizontal pin ---------- */
.h-pin {
  overflow: clip;
  background: var(--grove);
  border-block: 1px solid rgba(232, 176, 26, 0.12);
}
.h-pin__inner { padding: 80px 0 24px; }
.h-pin__track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 16px max(20px, calc((100vw - var(--max)) / 2)) 48px;
}
.h-pin.is-pinned .h-pin__track {
  will-change: transform;
}
.h-pin__card {
  flex: 0 0 auto;
  width: min(42vw, 240px);
  margin: 0;
  aspect-ratio: 2 / 3;
}
.h-pin__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  background: var(--grove-mid);
}

/* ---------- Cinematic band ---------- */
.cine-band {
  background: var(--grove-deep);
  padding: 0;
  overflow: hidden;
}
.cine-band__panel {
  background: var(--grove);
  border-radius: 28px;
  transform: scale(0.92);
  margin: 40px auto;
  width: min(100% - 32px, var(--max));
  padding: 72px 40px;
  border: 1px solid rgba(232, 176, 26, 0.14);
  will-change: transform, border-radius;
}
.cine-band__panel .stats-row,
.cine-band__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.cine-band__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--chalk-bright);
  line-height: 1;
}
.cine-band__num span { color: var(--citrus); }
.cine-band__label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-soft);
}

/* ---------- Process / tiles ---------- */
.path-grid, .why-grid, .voice-grid {
  display: grid;
  gap: 16px;
}
.path-grid { grid-template-columns: repeat(2, 1fr); }
.why-grid { grid-template-columns: repeat(2, 1fr); }
.voice-grid { grid-template-columns: repeat(3, 1fr); }
.tile {
  padding: 26px 22px;
  background: rgba(28, 51, 38, 0.65);
  border: 1px solid rgba(232, 176, 26, 0.14);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.tile:hover {
  border-color: rgba(232, 176, 26, 0.4);
  transform: translateY(-4px);
}
.tile h3 {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.tile p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.tile__num {
  display: inline-flex;
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(232, 176, 26, 0.12);
  color: var(--citrus);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; }
.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}
.marquee__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--grove);
  border: 1px solid rgba(232, 176, 26, 0.18);
  color: var(--chalk-bright) !important;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.marquee__chip:hover { border-color: var(--citrus); }

/* ---------- Start / form ---------- */
.start-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.start-form {
  background: var(--chalk-bright);
  color: var(--ink);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}
.start-form .form-block-title,
.start-form h3 {
  font-family: var(--font-display);
  color: var(--grove-deep) !important;
  margin-bottom: 16px;
}
.start-form .lead-form input,
.start-form .lead-form textarea {
  color: var(--grove-deep) !important;
  border-bottom-color: rgba(20, 38, 28, 0.2) !important;
}
.start-form .lead-form input::placeholder,
.start-form .lead-form textarea::placeholder {
  color: rgba(90, 107, 96, 0.7) !important;
}
.start-points li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  color: var(--text-soft);
}
.start-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--citrus);
}

/* ---------- Platforms ---------- */
.platforms-card {
  max-width: 900px;
  margin: 28px auto 0;
  padding: 20px;
  background: var(--grove);
  border: 1px solid rgba(232, 176, 26, 0.16);
  border-radius: 14px;
  overflow: hidden;
}
.platforms-card img { width: 100%; height: auto; }

/* ---------- Footer bridge ---------- */
.site-footer {
  background: linear-gradient(180deg, #122018 0%, var(--grove-deep) 100%) !important;
  border-top: 1px solid rgba(232, 176, 26, 0.14) !important;
}
.footer-col-title { color: var(--chalk-bright) !important; }
.footer-cta { color: var(--citrus) !important; }
.footer-share-link:hover { color: var(--citrus) !important; }

/* ---------- Voice cards on home ---------- */
.voice-card {
  margin: 0;
  padding: 24px 20px;
  background: rgba(28, 51, 38, 0.7);
  border: 1px solid rgba(232, 176, 26, 0.14);
  border-radius: 16px;
}
.voice-card p {
  font-size: 0.95rem;
  color: var(--chalk);
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.voice-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.voice-card img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.voice-card cite {
  font-style: normal;
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--chalk-bright);
  display: block;
  font-size: 14px;
}
.voice-card span { font-size: 12px; color: var(--citrus); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .voice-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .story, .start-grid, .path-grid, .why-grid { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .cine-band__stats { grid-template-columns: 1fr; gap: 28px; }
  .hero__scroll { display: none; }
  .h-pin {
    overflow: visible;
  }
  .h-pin__inner {
    padding: 56px 0 12px;
  }
  .h-pin__track {
    display: flex;
    width: auto;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    gap: 16px;
    padding: 12px 16px 40px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    transform: none !important;
    will-change: auto !important;
  }
  .h-pin__card {
    width: min(58vw, 200px);
    scroll-snap-align: start;
  }
  .section { padding: 72px 0; }
  .cine-band__panel { padding: 48px 22px; margin: 24px auto; }
}
@media (max-width: 640px) {
  .hero__brand,
  .hero .brand-mark {
    font-size: clamp(2.35rem, 13vw, 3.2rem) !important;
  }
  .container { width: min(100% - 28px, var(--max)); }
}

/* Social profile links (CMS) */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 176, 26, 0.28);
  background: rgba(28, 51, 38, 0.55);
  color: var(--chalk-bright) !important;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.social-link:hover {
  border-color: var(--citrus);
  color: var(--citrus) !important;
  background: rgba(232, 176, 26, 0.1);
}
.social-link i { font-size: 14px; color: var(--citrus); }
.social-links--footer .social-link span { display: none; }
.social-links--footer .social-link {
  width: 38px;
  height: 38px;
  padding: 0;
  justify-content: center;
}
.social-links--contact {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(232, 176, 26, 0.18);
}
.hero--image .hero__video { display: none !important; }

/* Drift rails — books + testimonials (L→R slide, unique tilt) */
.drift-section { overflow: hidden; }
.drift-rail {
  margin-top: 28px;
  padding-inline: max(16px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
}
.drift-rail.is-loop .rail-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 18px 4px 28px;
  overflow: visible;
  scroll-behavior: auto;
  will-change: transform;
  cursor: grab;
}
.drift-rail.is-loop:hover .rail-track {
  cursor: grab;
}
.drift-card {
  margin: 0;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: rotate(-1.5deg) translateY(0);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.drift-rail .rail-slide-book:nth-child(even) .drift-card {
  transform: rotate(1.6deg) translateY(10px);
}
.drift-rail .rail-slide-book:nth-child(3n) .drift-card {
  transform: rotate(-0.6deg) translateY(-6px);
}
.drift-card:hover,
.drift-rail .rail-slide-book:hover .drift-card {
  transform: rotate(0deg) translateY(-8px) scale(1.04);
  box-shadow: 0 26px 52px rgba(232, 176, 26, 0.18);
  z-index: 2;
}
.drift-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
/* Fixed slide sizes — % widths break when track is max-content for loop */
.drift-rail.is-loop .rail-slide-book {
  flex: 0 0 auto;
  width: min(42vw, 180px);
}
.drift-rail.is-loop .rail-slide-voice {
  flex: 0 0 auto;
  width: min(86vw, 360px);
  max-width: 360px;
}
@media (min-width: 900px) {
  .drift-rail.is-loop .rail-slide-voice {
    width: 340px;
  }
}

.voices-rail .voice-card,
.voices-rail .voice {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box;
  width: 100%;
  height: 280px;
  min-height: 280px;
  max-height: 280px;
  margin: 0 !important;
  padding: 24px 22px !important;
  background: rgba(28, 51, 38, 0.85) !important;
  border: 1px solid rgba(232, 176, 26, 0.2) !important;
  border-radius: 16px !important;
  border-top: 1px solid rgba(232, 176, 26, 0.2) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.voices-rail .voice-card p,
.voices-rail .voice p {
  flex: 1 1 auto !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: var(--chalk) !important;
  font-family: var(--font-body) !important;
  font-size: 0.98rem !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}
.voices-rail .voice-card footer,
.voices-rail .voice footer {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: auto !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(232, 176, 26, 0.18) !important;
  flex-shrink: 0;
}
.voices-rail .voice-card img,
.voices-rail .voice img,
.voices-rail .voice footer img {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0;
  border: 2px solid rgba(232, 176, 26, 0.3) !important;
}
.voices-rail cite {
  font-style: normal !important;
  font-family: var(--font-ui) !important;
  font-weight: 700 !important;
  color: var(--chalk-bright) !important;
  display: block !important;
  font-size: 14px !important;
}
.voices-rail .voice footer span,
.voices-rail span {
  font-size: 12px !important;
  color: var(--citrus) !important;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .popup-image { display: none !important; }
  .popup-grid { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  .loader, .page-veil, .cursor, .cursor__dot { display: none !important; }
  .hero__media img, .hero-bg, .hero__video { transform: none !important; }
  .hero__video { display: none !important; }
  .hero__poster { opacity: 1 !important; }
  .split .word > span { transform: none !important; }
}
