/* ===========================================================
   DESIGN TOKENS
=========================================================== */
:root {
  --color-bg: #0B0B0E;
  --color-bg-alt: #131318;
  --color-teal: #4FBFB0;
  --color-gold: #C9A227;
  --color-gold-light: #E8C766;
  --color-gold-dark: #9A7B1F;
  --color-cream: #F3EFE6;
  --color-muted: #A8A8B0;
  --color-charcoal: #1D1D22;

  --gold-gradient: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));

  --font-headline: "Playfair Display", Georgia, serif;
  --font-script: "Marck Script", "Cormorant Garamond", cursive;
  --font-body: "Jost", "Poppins", -apple-system, sans-serif;

  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;
  --sp-8: 128px;

  --nav-h: 84px;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --container-w: 1240px;
}

/* ===========================================================
   RESET / BASE
=========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-headline); font-weight: 700; }
p { margin: 0; }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 var(--sp-3); }
@media (min-width: 600px) { .container { padding: 0 var(--sp-4); } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -60px; left: var(--sp-3); z-index: 1000;
  background: var(--color-gold); color: var(--color-bg); padding: var(--sp-2) var(--sp-3);
  border-radius: 4px; font-weight: 500; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: var(--sp-2); }

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

/* Grain / film texture overlay, fixed, low opacity, pointer-events none */
.grain-overlay {
  position: fixed; inset: 0; z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--gold-gradient);
  z-index: 1000;
  will-change: width;
}

/* ===========================================================
   TYPOGRAPHY HELPERS
=========================================================== */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 var(--sp-2);
}
.eyebrow--gold { color: var(--color-gold-light); }

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.script-accent {
  font-family: var(--font-script);
  color: var(--color-teal);
  font-weight: 400;
  font-style: normal;
}

.section__title {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem);
  line-height: 1.15;
  margin-bottom: var(--sp-4);
}

.section__lede {
  color: var(--color-muted);
  font-size: clamp(1rem, 0.95rem + .3vw, 1.15rem);
  max-width: 60ch;
  margin-bottom: var(--sp-4);
}

.divider {
  display: flex; align-items: center; gap: var(--sp-2);
  width: 160px; margin: 0 0 var(--sp-4);
  color: var(--color-gold);
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
.divider__glyph { font-size: 0.7rem; }

/* Animated underline links */
.link-underline {
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: var(--color-gold-light);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.link-underline:hover::after, .link-underline:focus-visible::after { transform: scaleX(1); }

/* ===========================================================
   BUTTONS
=========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--sp-4);
  border-radius: 2px;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out);
  will-change: transform;
}
.btn--small { min-height: 42px; padding: 0 var(--sp-3); font-size: 0.78rem; }

.btn--gold {
  background: var(--gold-gradient);
  color: #1a1405;
  box-shadow: 0 8px 30px -10px rgba(201,162,39,.55);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(201,162,39,.7); }

.btn--ghost {
  background: transparent;
  color: var(--color-cream);
  border: 1px solid rgba(243,239,230,.35);
}
.btn--ghost:hover { border-color: var(--color-gold-light); color: var(--color-gold-light); transform: translateY(-2px); }

/* ===========================================================
   NAVIGATION
=========================================================== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), height .4s var(--ease-out);
}
.site-nav.is-scrolled {
  background: rgba(19,19,24,.92);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(201,162,39,.18);
  height: 68px;
}
.site-nav__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.site-nav__brand {
  font-family: var(--font-headline); font-weight: 700; font-size: 1.15rem;
  color: var(--color-cream); letter-spacing: .02em;
}
.site-nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-4);
  font-size: 0.82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
}
.site-nav__links a {
  position: relative; padding: 4px 0; min-height: 44px; display: inline-flex; align-items: center;
  color: var(--color-cream);
}
.site-nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 14px; height: 1px; width: 100%;
  background: var(--color-gold-light);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.site-nav__links a:hover::after, .site-nav__links a.is-active::after { transform: scaleX(1); }
.site-nav__links a.is-active { color: var(--color-gold-light); }
.site-nav__cta { color: var(--color-gold-light) !important; }

@media (min-width: 1024px) {
  .site-nav__links { display: flex; }
}

.hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; align-items: center;
}
.hamburger span { width: 22px; height: 1.5px; background: var(--color-cream); transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1024px) { .hamburger { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 490;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: var(--sp-4); text-align: center; }
.mobile-menu a {
  font-family: var(--font-headline); font-size: clamp(1.5rem, 6vw, 2.2rem); font-weight: 600;
  color: var(--color-cream); min-height: 44px;
}
.mobile-menu a:hover, .mobile-menu a:focus-visible { color: var(--color-gold-light); }

/* ===========================================================
   HERO
=========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding-bottom: var(--sp-8);
}
@media (max-width: 599px) {
  .hero { padding-bottom: var(--sp-6); }
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero__bg picture, .hero__bg img {
  position: absolute; inset: -6% 0 0 0; width: 100%; height: 112%;
  object-fit: cover; object-position: 68% 20%;
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,14,.55) 0%, rgba(11,11,14,.35) 30%, rgba(11,11,14,.75) 78%, rgba(11,11,14,.96) 100%),
              linear-gradient(90deg, rgba(11,11,14,.75) 0%, rgba(11,11,14,.15) 55%, rgba(11,11,14,.1) 100%);
}
.hero__vignette {
  position: absolute; inset: 0;
  box-shadow: inset 0 0 18vw 2vw rgba(0,0,0,.55);
}
.hero__content {
  position: relative; z-index: 1; max-width: 760px;
  /* Content is bottom-anchored (.hero uses align-items:flex-end), but on
     short/narrow viewports the stacked title can grow tall enough that its
     top edge rides up underneath the fixed nav. Reserve nav clearance so
     the eyebrow line never collides with the logo/hamburger. */
  padding-top: calc(var(--nav-h) + var(--sp-3));
}
.hero__title {
  font-size: clamp(2.6rem, 1.8rem + 4.5vw, 5.4rem);
  line-height: 1.02;
  margin: var(--sp-2) 0 var(--sp-3);
  color: var(--color-cream);
}
.hero__title-line { display: inline-block; }
.script-accent.hero__title-line,
.hero__title .script-accent {
  font-size: 1.25em;
  line-height: 0.8;
  vertical-align: -0.08em;
}
.hero__title-mirror { display: block; }
.hero__sub {
  font-family: var(--font-headline); font-style: italic; font-weight: 600;
  font-size: clamp(1.1rem, 1rem + .7vw, 1.5rem);
  color: var(--color-cream);
  max-width: 46ch;
  margin-bottom: var(--sp-2);
}
.hero__support {
  color: var(--color-muted);
  font-size: 1rem;
  max-width: 44ch;
  margin-bottom: var(--sp-4);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.scroll-cue {
  position: absolute; left: 50%; bottom: var(--sp-4); transform: translateX(-50%); z-index: 1;
}
.scroll-cue span {
  display: block; width: 1px; height: 52px;
  background: linear-gradient(180deg, var(--color-gold-light), transparent);
  animation: scrollCue 2.2s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue span { animation: none; height: 40px; opacity: .6; }
}

/* ===========================================================
   SECTIONS (shared)
=========================================================== */
.section { position: relative; padding: var(--sp-7) 0; }
.section--alt { background: var(--color-bg-alt); }
.section__inner { position: relative; z-index: 1; }
.section__inner--narrow { max-width: 640px; }
.section--book3d { overflow: hidden; }

.section-bg-fade {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.section-bg-fade img {
  width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%;
  opacity: 0.16;
  mix-blend-mode: screen;
}
.section-bg-fade::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 30%, transparent 0%, var(--color-bg-alt) 85%);
}

.book-copy { max-width: 68ch; }
.book-copy__lead { font-size: 1.15rem; color: var(--color-cream); margin-bottom: var(--sp-3); }
.book-copy p:not(:last-child) { margin-bottom: var(--sp-3); }
.book-copy p { color: var(--color-muted); }

.pull-quote {
  margin: var(--sp-6) 0 0;
  padding-left: var(--sp-4);
  border-left: 2px solid var(--color-gold);
  font-family: var(--font-headline);
  font-style: italic;
  font-size: clamp(1.4rem, 1.2rem + 1.5vw, 2.1rem);
  color: var(--color-gold-light);
  line-height: 1.35;
}

.callout {
  margin: var(--sp-6) 0 0;
  text-align: center;
  font-family: var(--font-headline);
  font-size: clamp(1.3rem, 1.1rem + 1.2vw, 1.9rem);
  font-style: italic;
  color: var(--color-cream);
  line-height: 1.4;
  padding: var(--sp-5) var(--sp-3);
  position: relative;
}
.callout::before, .callout::after {
  content: "\25C6"; color: var(--color-gold); display: block; font-size: 0.7rem; margin: 0 auto var(--sp-2);
}
.callout::after { margin: var(--sp-2) auto 0; }

/* ===========================================================
   PILLARS
=========================================================== */
.pillars-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-3);
}
@media (min-width: 600px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(4, 1fr); } }

.pillar-card, .format-card {
  background: var(--color-charcoal);
  border: 1px solid rgba(201,162,39,.14);
  border-radius: 4px;
  padding: var(--sp-4) var(--sp-3);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
  transform-style: preserve-3d;
}
.pillar-card:hover, .format-card:hover {
  border-color: rgba(201,162,39,.55);
  box-shadow: 0 20px 40px -20px rgba(201,162,39,.35);
}
.pillar-card__icon {
  width: 44px; height: 44px; margin-bottom: var(--sp-3);
  color: var(--color-gold-light);
}
.pillar-card__icon svg { width: 100%; height: 100%; }
.pillar-card h3 {
  font-size: 1.05rem; margin-bottom: var(--sp-2); color: var(--color-cream); line-height: 1.3;
}
.pillar-card p { color: var(--color-muted); font-size: 0.92rem; }

/* ===========================================================
   3D BOOK
=========================================================== */
.book3d-layout {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-6);
  align-items: center;
}
@media (min-width: 1024px) {
  .book3d-layout { grid-template-columns: 0.9fr 1.1fr; }
}

.book-stage {
  --book-w: 240px;
  --book-h: 360px;
  --book-depth: 33px;
  position: relative;
  perspective: 1800px;
  width: 100%;
  height: 420px;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 600px) {
  .book-stage { --book-w: 290px; --book-h: 435px; --book-depth: 40px; height: 500px; }
}
@media (min-width: 1024px) {
  .book-stage { --book-w: 330px; --book-h: 495px; --book-depth: 45px; height: 560px; }
}

.book-stage__glow {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 50% 55%, rgba(201,162,39,.22), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}

.book3d {
  width: var(--book-w); height: var(--book-h);
  position: relative;
  transform-style: preserve-3d;
}
.book3d__front, .book3d__back, .book3d__spine, .book3d__pages {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  border-radius: 1px;
  backface-visibility: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.book3d__front { transform: translateZ(calc(var(--book-depth) / 2)); }
.book3d__back { transform: rotateY(180deg) translateZ(calc(var(--book-depth) / 2)); }
.book3d__spine {
  width: var(--book-depth);
  left: calc(50% - (var(--book-depth) / 2));
  transform: rotateY(-90deg) translateZ(calc(var(--book-w) / 2));
  background-size: auto 100%;
}
.book3d__pages {
  width: calc(var(--book-depth) - 3px);
  left: calc(50% - (var(--book-depth) / 2) + 3px);
  background: repeating-linear-gradient(90deg, #f2ede1 0px, #e4ddcb 1px, #f2ede1 2px);
  transform: rotateY(90deg) translateZ(calc(var(--book-w) / 2 - 2px));
}
.book-stage__hint {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted);
  white-space: nowrap;
}
@media (hover: none) { .book-stage__hint { display: none; } }

.formats-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }
@media (min-width: 600px) { .formats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .formats-grid { grid-template-columns: 1fr; } }
.format-card { text-align: center; }
.format-card h3 { font-size: 1.2rem; margin-bottom: var(--sp-1); color: var(--color-gold-light); }
.format-card p { color: var(--color-muted); margin-bottom: var(--sp-3); }

/* ===========================================================
   TRAILER
=========================================================== */
.trailer-frame {
  position: relative;
  max-width: 900px; margin: 0 auto;
  border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(201,162,39,.25);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
  aspect-ratio: 16 / 9;
  background: #000;
}
.trailer-frame__video { width: 100%; height: 100%; object-fit: cover; }
.trailer-frame__play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(11,11,14,.45);
  border: 1px solid rgba(243,239,230,.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-cream);
  backdrop-filter: blur(4px);
}
.trailer-frame__play-icon { width: 30px; height: 30px; margin-left: 4px; }
.trailer-frame__play-icon svg { width: 100%; height: 100%; }
.trailer-frame__play::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid var(--color-gold-light);
  animation: pulseGlow 2.4s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) { .trailer-frame__play::before { animation: none; opacity: .5; } }
@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: .9; }
  100% { transform: scale(1.5); opacity: 0; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-3);
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(5,5,7,.92); }
.lightbox__inner { position: relative; width: 100%; max-width: 1100px; z-index: 1; }
.lightbox__video { width: 100%; border-radius: 4px; box-shadow: 0 40px 100px rgba(0,0,0,.7); }
.lightbox__close {
  position: absolute; top: -48px; right: 0; width: 44px; height: 44px;
  font-size: 2rem; color: var(--color-cream); line-height: 1;
}
.lightbox__close:hover { color: var(--color-gold-light); }

/* ===========================================================
   AUTHOR
=========================================================== */
.section__inner--author { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
@media (min-width: 1024px) {
  .section__inner--author { grid-template-columns: 340px 1fr; align-items: start; }
}
.author-photo-wrap {
  justify-self: center;
  width: min(340px, 70vw);
  transform: rotate(-2.5deg);
  border: 1px solid rgba(201,162,39,.4);
  padding: 10px;
  background: var(--color-charcoal);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.author-copy { grid-column: 1 / -1; }
@media (min-width: 1024px) { .author-copy { grid-column: 2; } }
.author-copy__body p { color: var(--color-muted); margin-bottom: var(--sp-3); }
.callout { grid-column: 1 / -1; }

/* ===========================================================
   QUOTE CAROUSEL
=========================================================== */
.section--quotes { text-align: center; }
.quote-carousel {
  position: relative;
  min-height: 9rem;
  display: flex; align-items: center; justify-content: center;
  max-width: 820px; margin: 0 auto;
}
.quote-carousel__item {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-headline);
  font-style: italic;
  font-size: clamp(1.3rem, 1.05rem + 1.6vw, 2.1rem);
  color: var(--color-cream);
  opacity: 0;
  line-height: 1.4;
  padding: 0 var(--sp-2);
}
.quote-carousel__item.is-active { opacity: 1; position: relative; }
.quote-carousel__dots { display: flex; gap: 10px; justify-content: center; margin-top: var(--sp-4); }
.quote-carousel__dots span {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(243,239,230,.25);
  transition: background .3s;
}
.quote-carousel__dots span.is-active { background: var(--color-gold-light); }

/* ===========================================================
   FORMS
=========================================================== */
.form__group { margin-bottom: var(--sp-3); text-align: left; }
.form__group label {
  display: block; margin-bottom: var(--sp-1);
  font-size: 0.8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--color-muted);
}
.form input, .form textarea, .form select {
  width: 100%; min-height: 48px; padding: 0 var(--sp-2);
  background: var(--color-charcoal); border: 1px solid rgba(243,239,230,.16);
  border-radius: 3px; color: var(--color-cream);
  transition: border-color .25s;
}
.form textarea { padding: var(--sp-2); min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--color-gold); }
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23A8A8B0' stroke-width='1.4' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.form--inline .form__row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.form--inline input[type="email"] { flex: 1 1 260px; }

.form__status { margin-top: var(--sp-2); min-height: 1.4em; font-size: 0.9rem; opacity: 0; transform: translateY(4px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.form__status.is-visible { opacity: 1; transform: translateY(0); }
.form__status.is-success { color: var(--color-teal); }
.form__status.is-error { color: #E08A6E; }

/* ===========================================================
   FOOTER
=========================================================== */
.site-footer { background: #08080a; padding: var(--sp-6) 0 var(--sp-3); border-top: 1px solid rgba(201,162,39,.14); }
.site-footer__inner {
  display: grid; gap: var(--sp-5);
  grid-template-columns: 1fr;
  padding-bottom: var(--sp-5);
}
@media (min-width: 768px) {
  .site-footer__inner { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; }
}
.site-footer__signature { font-family: var(--font-headline); font-size: 1.4rem; margin-bottom: var(--sp-1); }
.site-footer__tagline { color: var(--color-muted); font-size: 0.92rem; max-width: 32ch; }
.site-footer__socials { display: flex; gap: var(--sp-2); }
.site-footer__socials a {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(243,239,230,.18); border-radius: 50%; color: var(--color-cream);
  transition: border-color .25s, color .25s;
}
.site-footer__socials a:hover { border-color: var(--color-gold-light); color: var(--color-gold-light); }
.site-footer__socials svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer__buy { display: flex; flex-direction: column; gap: var(--sp-1); }
.site-footer__buy-label { color: var(--color-muted); font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--sp-1); }
.site-footer__buy a { min-height: 44px; display: flex; align-items: center; color: var(--color-cream); }
.site-footer__buy a:hover { color: var(--color-gold-light); }
.site-footer__legal { border-top: 1px solid rgba(243,239,230,.08); padding-top: var(--sp-3); font-size: 0.8rem; color: var(--color-muted); display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3); }

/* ===========================================================
   BACK TO TOP
=========================================================== */
.back-to-top {
  position: fixed; right: var(--sp-3); bottom: var(--sp-3); z-index: 400;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-charcoal); border: 1px solid rgba(201,162,39,.4);
  color: var(--color-gold-light);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* ===========================================================
   REVEAL BASE STATE (GSAP controls the animated-to state)
=========================================================== */
[data-reveal], [data-reveal-item] {
  opacity: 0;
  transform: translateY(32px);
}
[data-hero-el], .hero__title > span {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-item], [data-hero-el], .hero__title > span { opacity: 1; transform: none; }
}

/* ===========================================================
   LARGE SCREEN REFINEMENT
=========================================================== */
@media (min-width: 1440px) {
  :root { --container-w: 1360px; }
  .hero__title { font-size: clamp(3.4rem, 2.2rem + 3.5vw, 6rem); }
}
