/* ============================================================
   Backframe — cinematic dark editorial
   ============================================================ */

:root {
  --bg-deep: #060507;
  --bg-base: #0a090c;
  --bg-elevated: #121016;
  --surface: rgba(255, 255, 255, 0.04);
  --fg: #ece9e4;
  --fg-muted: #97918a;
  --fg-faint: #6b6660;
  --accent: #c89356;
  --accent-bright: #e3b87e;
  --accent-glow: rgba(200, 147, 86, 0.14);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --section-pad: clamp(96px, 14vw, 180px);
  --gutter: clamp(20px, 5vw, 64px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg-base);
  background-image: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-deep) 100%);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg-deep); }

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; }
p { margin: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Screenshot mode: force everything visible ---------- */
html.shot .preloader { display: none !important; }
html.shot .reveal,
html.shot .split-words .word,
html.shot .hero__line > span {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* ---------- Grain ---------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- Preloader (pure CSS, JS only toggles .is-done) ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1) 0.15s, visibility 0.95s;
}
.preloader.is-done {
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
}
.preloader__inner {
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.preloader.is-done .preloader__inner {
  opacity: 0;
  transform: translateY(-16px);
}
.preloader__word {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  animation: preWord 0.6s ease-out both;
}
.preloader__dot { color: var(--accent); }
@keyframes preWord {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.preloader__bar {
  display: block;
  width: 160px;
  height: 1px;
  margin: 0 auto;
  background: var(--border);
  overflow: hidden;
}
.preloader__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  animation: preFill 1.4s ease-in-out 0.2s both;
}
@keyframes preFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px var(--gutter);
  transition: background-color 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav__brand { justify-self: start; }
.nav__links { justify-self: center; }
.nav > .btn { justify-self: end; }
.contact-page .nav {
  display: flex;
  justify-content: space-between;
}
.nav.is-scrolled {
  background: rgba(6, 5, 7, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}
.nav__mark { color: var(--fg); flex-shrink: 0; }
.nav__word {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.nav__dot { color: var(--accent); }
.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s;
  padding: 6px 0;
}
.nav__links a:hover { color: var(--fg); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); }

/* Icon that slides in on hover (nav links + buttons) */
.icon-reveal {
  display: inline-flex;
  align-items: center;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-5px);
  transition: width 0.3s var(--ease-out), opacity 0.3s, transform 0.3s var(--ease-out), margin 0.3s var(--ease-out);
  color: var(--accent);
}
.icon-reveal svg { flex-shrink: 0; }
.nav__links a:hover .icon-reveal,
.btn:hover .icon-reveal,
.btn:focus-visible .icon-reveal {
  width: 15px;
  opacity: 1;
  transform: translateX(0);
  margin-right: 8px;
}
.btn.btn--icon { gap: 0; }
.btn--ghost .icon-reveal { color: var(--accent-bright); }
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav__toggle.is-open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle.is-open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(6, 5, 7, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.mobile-menu a {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  color: var(--fg);
  padding: 10px 24px;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s, color 0.2s;
}
.mobile-menu.is-open a { transform: translateY(0); opacity: 1; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu__cta { color: var(--accent) !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 26px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: scale(0.97); }
/* Magnetic buttons: GSAP owns transform, so keep it out of the CSS
   transition (otherwise the per-frame quickTo updates fight a 0.25s ease) */
.btn.is-magnetic {
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn.is-magnetic:active { transform: none; }
.btn.is-magnetic:hover { transform: none; }
.btn--primary {
  background: var(--accent);
  color: #14100a;
  box-shadow: 0 0 32px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-bright);
  box-shadow: 0 0 48px rgba(200, 147, 86, 0.3);
  transform: translateY(-2px);
}
.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--fg);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-bright); }
.btn--small { padding: 10px 20px; font-size: 0.8rem; }
.btn--large { padding: 16px 36px; font-size: 0.95rem; }

/* ---------- Shared section bits ---------- */
.section { padding: var(--section-pad) 0; }
.section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

/* Reveal initial state (JS animates in; no-js stays visible) */
.js .reveal { opacity: 0; transform: translateY(36px); }
.split-words .word { display: inline-block; }
.js .split-words .word { opacity: 0; transform: translateY(0.5em); filter: blur(8px); }

/* ---------- Headline system: bold sans + italic serif accents ---------- */
.split-words,
.contact__title {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.split-words em,
.contact__title em,
.headline-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
/* Gold accents sit on their own line so the highlight reads as
   a distinct punchline, never as a continuation of the white text */
.split-words em,
.contact__title em {
  display: block;
  margin-top: 0.08em;
}
/* Animated gold shimmer on accent words.
   Padding + negative margin enlarge the paint box so italic
   overhangs and descenders are not clipped by background-clip. */
.split-words em .word,
.contact__title em,
.hero__line--accent > span {
  padding: 0.15em 0.08em;
  margin: -0.15em -0.08em;
  background: linear-gradient(110deg, #a8783a 0%, #ecc78e 25%, #c89356 50%, #ecc78e 75%, #a8783a 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* ---------- Ambient animated background ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.ambient__blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.ambient__blob--1 {
  top: -15%;
  left: -10%;
  width: 55vw;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200, 147, 86, 0.07), transparent 62%);
  animation: drift1 46s ease-in-out infinite alternate;
}
.ambient__blob--2 {
  top: 30%;
  right: -18%;
  width: 60vw;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(227, 184, 126, 0.05), transparent 60%);
  animation: drift2 58s ease-in-out infinite alternate;
}
.ambient__blob--3 {
  bottom: -25%;
  left: 15%;
  width: 50vw;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(236, 233, 228, 0.035), transparent 60%);
  animation: drift3 52s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(14vw, 12vh) scale(1.18); } }
@keyframes drift2 { to { transform: translate(-12vw, -10vh) scale(0.88); } }
@keyframes drift3 { to { transform: translate(10vw, -8vh) scale(1.12); } }

/* ---------- Cursor glow on cards ---------- */
.glow-card { position: relative; }
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), var(--glow, rgba(200, 147, 86, 0.1)), transparent 65%);
}
.glow-card:hover::after { opacity: 1; }
.service-card { --glow: rgba(200, 147, 86, 0.11); }
.model-card { --glow: rgba(200, 147, 86, 0.1); }
.fit__col--yes { --glow: rgba(200, 147, 86, 0.13); }
.fit__col--no { --glow: rgba(255, 255, 255, 0.06); }
.process-step { --glow: rgba(200, 147, 86, 0.06); }
.faq__item { --glow: rgba(200, 147, 86, 0.055); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px var(--gutter) 170px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 90vw;
  max-width: 1100px;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(200, 147, 86, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero__frame {
  position: absolute;
  inset: clamp(16px, 4vw, 48px);
  top: 88px;
  border: 1px solid var(--border);
  pointer-events: none;
}
.hero__frame::before, .hero__frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--accent);
}
.hero__frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hero__frame::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.hero__inner { position: relative; max-width: 900px; }
.hero__eyebrow { justify-content: center; }
@media (max-width: 480px) {
  .hero__eyebrow-extra { display: none; }
}
.hero__title {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 8vw, 5.8rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 32px;
}
.hero__line { display: block; }
.hero__line > span { display: inline-block; }
.js .hero__line > span { opacity: 0; transform: translateY(0.4em); filter: blur(10px); }
.hero__line--accent > span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero__sub {
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--fg-muted);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: clamp(28px, 6vh, 64px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--fg-faint);
}
@media (max-height: 760px) {
  .hero__scroll { display: none; }
}
.hero__scroll-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg-deep);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  color: var(--fg-muted);
}
.marquee__track i {
  font-style: normal;
  color: var(--accent);
  font-size: 0.6rem;
}

/* ---------- Problem ---------- */
.problem__title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 760px;
  margin-bottom: clamp(40px, 7vw, 80px);
}
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
}
.problem__lead {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  line-height: 1.55;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 300;
}
.problem__points {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Floating "unanswered DM" bubbles */
.dm-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  max-width: 380px;
}
.dm {
  --glow: rgba(255, 255, 255, 0.06);
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px 16px 16px 4px;
  animation: dmFloat 6s ease-in-out infinite;
}
.dm--3 { --glow: rgba(200, 147, 86, 0.13); }
.dm--1 { animation-delay: 0s; }
.dm--2 { margin-left: 24px; animation-delay: 1.6s; }
.dm--3 { margin-left: 8px; animation-delay: 3.2s; border-color: rgba(200, 147, 86, 0.35); background: rgba(200, 147, 86, 0.06); }
.dm p { font-size: 0.92rem; color: var(--fg); margin-bottom: 8px; }
.dm__meta { color: var(--fg-faint); font-size: 0.6rem; }
.dm--3 .dm__meta { color: var(--accent); }
@keyframes dmFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.problem__point {
  display: flex;
  gap: 20px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.problem__point:last-child { border-bottom: none; padding-bottom: 0; }
.problem__num {
  color: var(--accent);
  padding-top: 4px;
  flex-shrink: 0;
}
.problem__point p { color: var(--fg-muted); }

/* ---------- Shadow manifesto ---------- */
.shadow-section {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(200, 147, 86, 0.05), transparent),
    var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.shadow-section .section__inner { position: relative; z-index: 2; }
/* Sweeping light beam */
.shadow__beam {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(200, 147, 86, 0.05) 46%, rgba(236, 233, 228, 0.04) 50%, rgba(200, 147, 86, 0.05) 54%, transparent 70%);
  background-size: 300% 100%;
  animation: beamSweep 13s ease-in-out infinite;
}
@keyframes beamSweep {
  0%, 100% { background-position: 120% 0; }
  50% { background-position: -20% 0; }
}
/* Breathing bracket monogram */
.shadow__mark {
  position: absolute;
  top: 50%;
  right: clamp(-120px, -6vw, -40px);
  transform: translateY(-50%);
  width: clamp(300px, 38vw, 560px);
  aspect-ratio: 1;
  color: rgba(200, 147, 86, 0.16);
  pointer-events: none;
  z-index: 0;
}
.shadow__mark svg {
  width: 100%;
  height: 100%;
  animation: markBreathe 9s ease-in-out infinite;
}
.shadow__mark-dot {
  animation: markDot 3s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes markBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes markDot {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}
@media (max-width: 900px) {
  .shadow__mark { color: rgba(200, 147, 86, 0.09); right: -30vw; width: 80vw; }
}
.shadow__statement {
  font-size: clamp(1.9rem, 5.5vw, 4rem);
  line-height: 1.18;
  max-width: 1000px;
  margin-bottom: 40px;
}
.shadow__sub {
  max-width: 620px;
  color: var(--fg-faint);
  font-size: 0.95rem;
  margin-top: 40px;
}

/* Shadow operating diagram: invisible work → visible creator */
.shadow-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
  margin-top: clamp(40px, 6vw, 64px);
}
.shadow-card {
  padding: clamp(26px, 3.5vw, 38px);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
.shadow-card:hover { transform: translateY(-4px); }
.shadow-card--back {
  --glow: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
}
.shadow-card--front {
  --glow: rgba(200, 147, 86, 0.13);
  border: 1px solid rgba(200, 147, 86, 0.4);
  background: rgba(200, 147, 86, 0.06);
  box-shadow: 0 0 48px rgba(200, 147, 86, 0.07);
}
.shadow-card__label {
  display: block;
  color: var(--fg-faint);
  margin-bottom: 18px;
}
.shadow-card--front .shadow-card__label { color: var(--accent); }
.shadow-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.shadow-card--back h3 { color: var(--fg-muted); }
.shadow-card--front h3 { color: var(--accent-bright); }
.shadow-card ul li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 0.92rem;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
}
.shadow-card ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.shadow-card--front ul li::before { background: var(--accent); opacity: 1; }
.shadow-diagram__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 110px;
}
.shadow-diagram__line {
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-strong));
}
.shadow-diagram__line:last-child {
  background: linear-gradient(to top, transparent, var(--border-strong));
}
.shadow-diagram__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(200, 147, 86, 0.4);
  background: rgba(200, 147, 86, 0.08);
  color: var(--accent-bright);
  animation: arrowNudge 2.4s ease-in-out infinite;
}
.shadow-diagram__chip {
  max-width: 110px;
  text-align: center;
  color: var(--fg-faint);
  font-size: 0.58rem;
  line-height: 1.7;
}
@keyframes arrowNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}
@media (max-width: 900px) {
  .shadow-diagram { grid-template-columns: 1fr; }
  .shadow-diagram__link { flex-direction: row; min-height: 64px; }
  .shadow-diagram__line { width: auto; height: 1px; flex: 1; }
  .shadow-diagram__line:first-child { background: linear-gradient(to right, transparent, var(--border-strong)); }
  .shadow-diagram__line:last-child { background: linear-gradient(to left, transparent, var(--border-strong)); }
  .shadow-diagram__arrow { transform: rotate(90deg); animation: none; }
  .shadow-diagram__chip { max-width: none; }
}

/* ---------- Services ---------- */
.services__title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 800px;
  margin-bottom: 24px;
}
.services__sub {
  color: var(--fg-muted);
  max-width: 540px;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.services__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  padding: clamp(28px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.4s var(--ease-out), background-color 0.3s;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-6px);
}
.service-card:hover::before { opacity: 1; }
.service-card__num {
  display: block;
  color: var(--accent);
  margin-bottom: 28px;
}
.service-card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

/* ---------- Service card baked-in animations ---------- */
.service-card__visual {
  position: relative;
  height: 120px;
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(200, 147, 86, 0.05), rgba(255, 255, 255, 0.02));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
}
.service-card__visual .mono { font-size: 0.6rem; color: var(--fg-faint); }

/* 01 — modules assembling */
.build-bar {
  height: 12px;
  border-radius: 4px;
  background: rgba(200, 147, 86, 0.18);
  border: 1px solid rgba(200, 147, 86, 0.3);
  opacity: 0;
  transform: translateY(8px);
}
.build-bar--1 { width: 78%; animation: buildIn 5.2s ease-out 0s infinite; }
.build-bar--2 { width: 58%; animation: buildIn 5.2s ease-out 0.5s infinite; }
.build-bar--3 { width: 68%; animation: buildIn 5.2s ease-out 1s infinite; }
.build-label { position: absolute; bottom: 10px; right: 14px; }
@keyframes buildIn {
  0% { opacity: 0; transform: translateY(8px); }
  12%, 82% { opacity: 1; transform: translateY(0); }
  94%, 100% { opacity: 0; transform: translateY(-4px); }
}

/* 02 — copy typing out */
.visual--copy { align-items: flex-start; }
.copy-line {
  height: 8px;
  border-radius: 3px;
  background: rgba(236, 233, 228, 0.22);
  transform-origin: left;
  transform: scaleX(0);
}
.copy-line--1 { width: 82%; animation: typeLine 6s ease-out 0s infinite; }
.copy-line--2 { width: 64%; animation: typeLine 6s ease-out 0.9s infinite; }
.copy-line--3 { width: 74%; background: rgba(200, 147, 86, 0.4); animation: typeLine 6s ease-out 1.8s infinite; }
.copy-caret {
  width: 2px;
  height: 14px;
  background: var(--accent-bright);
  animation: caretBlink 1s steps(2) infinite;
}
.copy-label { position: absolute; bottom: 10px; right: 14px; }
@keyframes typeLine {
  0% { transform: scaleX(0); }
  16%, 84% { transform: scaleX(1); }
  96%, 100% { transform: scaleX(0); }
}
@keyframes caretBlink { 50% { opacity: 0; } }

/* 03 — deploy and go live */
.launch-track {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.launch-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transform-origin: left;
  animation: deploy 5.5s ease-in-out infinite;
}
.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(200, 147, 86, 0.4);
  background: rgba(200, 147, 86, 0.1);
  color: var(--accent-bright);
  opacity: 0;
  animation: liveIn 5.5s ease-out infinite;
}
.launch-badge .mono { color: var(--accent-bright); }
.launch-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 10px var(--accent-bright);
  animation: livePulse 1.4s ease-in-out infinite;
}
.launch-label { position: absolute; bottom: 10px; right: 14px; }
@keyframes deploy {
  0% { transform: scaleX(0); }
  45%, 88% { transform: scaleX(1); }
  98%, 100% { transform: scaleX(0); }
}
@keyframes liveIn {
  0%, 42% { opacity: 0; transform: translateY(6px); }
  52%, 88% { opacity: 1; transform: translateY(0); }
  97%, 100% { opacity: 0; }
}
@keyframes livePulse {
  50% { box-shadow: 0 0 3px var(--accent-bright); opacity: 0.7; }
}
.service-card__desc {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.service-card__items li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 0.88rem;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
}
.service-card__items li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

/* ---------- Process ---------- */
.process {
  position: relative;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.process__bg {
  position: absolute;
  top: 20%;
  left: -25%;
  width: 60vw;
  max-width: 850px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200, 147, 86, 0.06), transparent 62%);
  animation: processGlow 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes processGlow {
  to { transform: translate(18vw, 14vh) scale(1.2); }
}
.process .section__inner { position: relative; }
.process__title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 820px;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.process__steps {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: clamp(36px, 5vw, 56px);
}
/* Scroll-drawn timeline rail */
.process__rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.process__rail-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(200, 147, 86, 0.4), var(--accent) 60%, var(--accent-bright));
  box-shadow: 0 0 12px var(--accent-glow);
  transform: scaleY(0);
  transform-origin: top;
}
/* Glowing comet head that travels down the rail */
.process__rail-comet {
  position: absolute;
  top: 0;
  left: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 16px 5px rgba(200, 147, 86, 0.45), 0 0 40px 12px rgba(200, 147, 86, 0.15);
}
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 5vw, 56px) 0;
  border-top: 1px solid var(--border);
}
.process-step:last-child { border-bottom: 1px solid var(--border); }
/* Phase dot on the rail */
.process-step::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(36px, 5vw, 56px) - 4.5px);
  top: calc(clamp(32px, 5vw, 56px) + 8px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  transition: background-color 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.process-step.is-active::before {
  background: var(--accent);
  border-color: var(--accent-bright);
  box-shadow: 0 0 14px rgba(200, 147, 86, 0.55);
}
.process-step__num {
  display: block;
  color: var(--accent);
  margin-bottom: 12px;
  transition: opacity 0.5s;
  opacity: 0.55;
}
.process-step.is-active .process-step__num { opacity: 1; }
/* Giant ghost numeral behind each phase */
.process-step__ghost {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(90px, 11vw, 170px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 233, 228, 0.06);
  pointer-events: none;
  user-select: none;
  transition: -webkit-text-stroke-color 0.7s;
  z-index: 0;
}
.process-step.is-active .process-step__ghost {
  -webkit-text-stroke-color: rgba(200, 147, 86, 0.16);
}
.process-step__head, .process-step > p { position: relative; z-index: 1; }
/* Cursor glow: extend the canvas past the borderless left/right
   edges and mask the ends so the spotlight always fades to zero
   before any edge — no visible cut-off at any cursor position */
.process-step.glow-card::after,
.faq__item.glow-card::after {
  left: -160px;
  right: -160px;
  background: radial-gradient(360px circle at calc(var(--mx, 50%) + 160px) var(--my, 50%), var(--glow, rgba(200, 147, 86, 0.1)), transparent 65%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 160px, black calc(100% - 160px), transparent);
  mask-image: linear-gradient(to right, transparent, black 160px, black calc(100% - 160px), transparent);
}
.process-step__head h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  letter-spacing: -0.02em;
}
.process-step p {
  color: var(--fg-muted);
  max-width: 560px;
  align-self: center;
}

/* ---------- Model ---------- */
.model { position: relative; overflow: hidden; }
.model__bg {
  position: absolute;
  top: 10%;
  right: -20%;
  width: 60vw;
  max-width: 800px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200, 147, 86, 0.07), transparent 65%);
  pointer-events: none;
}
.model__header {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.model__title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.model__lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--fg-muted);
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.6;
  padding-bottom: 0.4em;
}
@media (max-width: 900px) {
  .model__header { grid-template-columns: 1fr; align-items: start; }
  .model__lead { padding-bottom: 0; }
}
.model__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.model-card {
  padding: clamp(28px, 4vw, 36px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.3s;
}
.model-card:hover { border-color: rgba(200, 147, 86, 0.35); }
.model-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: var(--accent-bright);
}
.model-card p { color: var(--fg-muted); font-size: 0.95rem; }

/* ---------- Starfield: dot grid + rising gold sparks ---------- */
.starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(236, 233, 228, 0.06) 1px, transparent 1.6px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 25%, transparent 78%);
}
.spark {
  position: absolute;
  left: var(--x, 50%);
  bottom: -6px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px 2px rgba(200, 147, 86, 0.35);
  opacity: 0;
  animation: sparkRise var(--d, 14s) linear var(--delay, 0s) infinite;
}
@keyframes sparkRise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  8% { opacity: 0.65; }
  50% { transform: translateY(-45vh) translateX(8px); opacity: 0.35; }
  92% { opacity: 0.1; }
  100% { transform: translateY(-88vh) translateX(-6px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .starfield .spark { display: none; }
}

/* ---------- Fit ---------- */
.fit {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}
.fit .section__inner,
.model .section__inner { position: relative; }
.fit__title {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 860px;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.fit__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.fit__col {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 16px;
  border: 1px solid var(--border);
}
.fit__col--yes { background: rgba(200, 147, 86, 0.05); border-color: rgba(200, 147, 86, 0.25); }
.fit__col--no { background: var(--surface); }
.fit__col-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
  margin-bottom: 24px;
}
.fit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fit__icon--yes { background: rgba(200, 147, 86, 0.18); color: var(--accent-bright); }
.fit__icon--no { background: rgba(255, 255, 255, 0.07); color: var(--fg-faint); }
.fit__col ul li {
  position: relative;
  padding: 12px 0 12px 24px;
  color: var(--fg-muted);
  font-size: 0.94rem;
  border-top: 1px solid var(--border);
}
.fit__col ul li:first-child { border-top: none; }
.fit__col ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.45em;
  width: 10px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.fit__note {
  color: var(--fg-faint);
  font-size: 0.92rem;
  max-width: 560px;
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.05rem;
}

/* ---------- FAQ ---------- */
.faq__title {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.faq__list { max-width: 820px; }
.faq__item {
  border-top: 1px solid var(--border);
}
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.02rem, 2.4vw, 1.25rem);
  letter-spacing: -0.015em;
  transition: color 0.2s;
  min-height: 44px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-bright); }
.faq__chevron {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.faq__chevron::before, .faq__chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transition: transform 0.35s var(--ease-out);
}
.faq__chevron::after { transform: rotate(90deg); }
.faq__item[open] .faq__chevron::after { transform: rotate(0deg); }
.faq__answer { overflow: hidden; }
.faq__answer p {
  padding: 0 4px 28px;
  color: var(--fg-muted);
  max-width: 640px;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}
.cta__glow {
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1200px;
  aspect-ratio: 2 / 1;
  background: radial-gradient(ellipse at bottom, rgba(200, 147, 86, 0.13), transparent 65%);
  pointer-events: none;
}
.cta__inner { position: relative; }
.cta .eyebrow { justify-content: center; }
.cta__title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin: 0 auto 28px;
}
.cta__sub {
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 44px;
  font-size: 1.05rem;
}
.cta__actions { margin-bottom: 28px; }
.cta__micro { color: var(--fg-faint); }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  padding: 110px 0 56px;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  bottom: -55%;
  left: 50%;
  transform: translateX(-50%);
  width: 110vw;
  max-width: 1400px;
  aspect-ratio: 2.4 / 1;
  background: radial-gradient(ellipse at bottom, rgba(200, 147, 86, 0.1), transparent 65%);
  pointer-events: none;
}
.footer__giant {
  position: absolute;
  bottom: -0.24em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(96px, 17vw, 290px);
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 233, 228, 0.09);
  user-select: none;
  pointer-events: none;
}
.footer__giant span {
  -webkit-text-stroke: 1px rgba(200, 147, 86, 0.35);
}
.footer__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.footer__brand svg { color: var(--accent); }
.footer__tag { color: var(--fg-faint); }
.footer__links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  padding: 6px 0;
}
.footer__links a:hover { color: var(--accent-bright); }
.footer__sep { color: var(--fg-faint); }
.footer__legal { color: var(--fg-faint); margin-top: 12px; }

/* ---------- Contact page ---------- */
.contact-page { min-height: 100vh; display: flex; flex-direction: column; }
.contact {
  position: relative;
  flex: 1;
  padding-top: clamp(140px, 18vh, 200px);
  overflow: hidden;
}
.contact__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  max-width: 900px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200, 147, 86, 0.08), transparent 60%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.contact__title {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.contact__sub {
  color: var(--fg-muted);
  max-width: 540px;
  margin-bottom: 48px;
}
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
}
.form-required { color: var(--accent); }
.form-optional { color: var(--fg-faint); font-weight: 400; }
.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--fg-faint); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}
.form-submit { align-self: flex-start; }
.form-submit:disabled { opacity: 0.6; cursor: default; }
.form-micro { color: var(--fg-faint); }
.form-success {
  padding: clamp(32px, 5vw, 48px);
  border: 1px solid rgba(200, 147, 86, 0.35);
  border-radius: 16px;
  background: rgba(200, 147, 86, 0.06);
  margin-bottom: 48px;
}
.form-success h2 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.7rem;
  margin-bottom: 14px;
  color: var(--accent-bright);
}
.form-success p { color: var(--fg-muted); margin-bottom: 24px; max-width: 480px; }
.contact-page .footer { margin-top: clamp(64px, 10vw, 120px); }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .form-submit { align-self: stretch; }
}

/* ============================================================
   Enhanced motion layer
   ============================================================ */

/* Lenis smooth-scroll base */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  box-shadow: 0 0 14px var(--accent-glow);
  z-index: 1100;
  pointer-events: none;
}

/* 3D tilt cards: GSAP owns the transform, so keep it out of the CSS
   transition — only ambient properties should ease */
.tilt-card { will-change: transform; }
.tilt-card.is-tilting {
  transition: box-shadow 0.4s var(--ease-out), border-color 0.3s, background-color 0.3s;
}
.service-card.is-tilting {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 64px -34px rgba(0, 0, 0, 0.75), 0 0 44px -10px var(--accent-glow);
}
.service-card.is-tilting::before { opacity: 1; }
.shadow-card.is-tilting,
.model-card.is-tilting,
.fit__col.is-tilting {
  box-shadow: 0 26px 54px -32px rgba(0, 0, 0, 0.7);
}
.model-card.is-tilting { border-color: rgba(200, 147, 86, 0.35); }
.fit__col--yes.is-tilting { border-color: rgba(200, 147, 86, 0.45); }

/* Primary button sheen sweep on hover */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -130%;
  width: 55%;
  transform: skewX(-20deg);
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}
.btn--primary:hover::after { animation: btnSheen 0.85s var(--ease-out); }
@keyframes btnSheen { to { left: 160%; } }

/* Nav active-section underline (scroll-spy) */
.nav__links a.is-current { color: var(--fg); }
.nav__links a.is-current::after { transform: scaleX(1); }

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .problem__grid { grid-template-columns: 1fr; }
  .services__list { grid-template-columns: 1fr; max-width: 560px; }
  .model__grid { grid-template-columns: 1fr; max-width: 560px; }
  .process-step { grid-template-columns: 1fr; gap: 16px; }
  .fit__cols { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav { display: flex; justify-content: space-between; }
  .nav__links { display: none; }
  .nav .btn--small { display: none; }
  .contact-page .nav .btn--small { display: inline-flex; }
  .nav__toggle { display: flex; }
  .hero { padding-top: 110px; }
  .hero__actions .btn { width: 100%; max-width: 320px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .js .reveal,
  .js .split-words .word,
  .js .hero__line > span {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .grain { display: none; }
  .ambient { display: none; }
}
