/* ============================================================
   DION THUMBS — portfolio
   Single-theme (dark editorial). All colors, spacing, and type
   are declared in tokens on :root so the whole system moves
   together if a value ever changes.
   ============================================================ */

/* ============================================================
   Type — self-hosted WOFF2 files in assets/fonts/ (no CDN,
   preloaded from index.html so the swap is near-instant).

     Display  · Anton         — bold condensed sans, single weight.
                                Cinema-poster type; used only for
                                the hero h1 with a metallic gradient.
     Body / UI · Manrope       — variable weight 200–800, geometric
                                humanist. Drives every other role
                                via weight + tracking + case.
   ============================================================ */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope.woff2') format('woff2');
}

:root{
  /* Ground & ink */
  --ink:            #0e0d0c;              /* warm ember charcoal, not a screen-black */
  --ink-2:          #151311;              /* one step up for panels */
  --paper:          #f7f2e6;              /* bright warm cream — vibrant primary text */
  --paper-dim:      #dbd4c1;              /* brighter dim — still readable but recessed */
  --muted:          #8a8377;              /* mid warm grey — slightly lifted for legibility */
  --rule:           rgba(247,242,230,0.09);
  --rule-strong:    rgba(247,242,230,0.18);

  /* Accents — a warm duo. Vermilion for "hot" semantic uses
     (availability, featured tier, urgency). Gold for premium
     editorial signal (eyebrows, italic h2 endings, curatorial
     numbers). Both stay on the warm side so they never clash. */
  --signal:         #e85d3c;              /* vermilion */
  --gold:           #d4a94a;              /* rich warm gold */
  --gold-dim:       rgba(212,169,74,0.55);

  /* Type stacks — real webfonts inlined above (Anton for the hero
     display, Manrope for everything else). --serif and --mono are
     kept as aliases pointing to Manrope so the existing 30+ CSS
     rules that reference them don't need per-selector rewrites. */
  --display:        "Anton", "Impact", "Bebas Neue", "Arial Narrow Bold", sans-serif;
  --sans:           "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", system-ui, Helvetica, Arial, sans-serif;
  --serif:          "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", system-ui, Helvetica, Arial, sans-serif;
  --mono:           "Manrope", -apple-system, BlinkMacSystemFont, ui-monospace, "SF Mono", Consolas, monospace;

  /* Rhythm */
  --gutter:         clamp(20px, 4vw, 48px);
  --section-y:      clamp(80px, 12vw, 160px);
  --max:            1440px;

  /* Motion */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);

  /* Corner radii — softened from hard edges. Applied to card
     surfaces (tiles, tier blocks, FAQ rows). Structural rules
     and hairlines stay sharp. */
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      20px;

  /* Ambient shadow for card surfaces — a soft warm-cream glow
     around a stronger dark drop. Reads as premium ambient light
     without introducing a new accent hue. */
  --glow-soft:
    0 24px 60px -30px rgba(0,0,0,0.55),
    0 0 0 1px rgba(237,231,217,0.02),
    0 -1px 0 rgba(237,231,217,0.05) inset;
  --glow-featured:
    0 30px 80px -30px rgba(232,93,60,0.15),
    0 24px 60px -30px rgba(0,0,0,0.6),
    0 0 0 1px rgba(232,93,60,0.15);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

/* Focus ring — keyboard visible, mouse quiet */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
  border-radius: 2px;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ------------------------------------------------------------
   Type roles. Sizes fluid via clamp().
   ------------------------------------------------------------ */

.eyebrow{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.display{
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-feature-settings: "kern" 1, "liga" 1;
}

.caption{
  font-family: var(--serif);
  font-style: italic;
  color: var(--paper-dim);
  line-height: 1.4;
}

.mono{
  font-family: var(--mono);
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------
   Nav
   ------------------------------------------------------------ */

nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px var(--gutter) 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--ink) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 400ms var(--ease), background 400ms var(--ease);
}
nav.is-stuck{ border-bottom-color: var(--rule); }

.nav-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-links{
  display: flex;
  justify-content: center;
  gap: 32px;
  align-items: center;
  width: 100%;
  padding-top: 4px;
  border-top: 1px solid var(--rule);
}

.wordmark{
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.wordmark .dot{
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--paper);
  border-radius: 50%;
  margin-left: 4px;
  transform: translateY(-2px);
}

.nav-links a{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-dim);
  position: relative;
  padding: 4px 0;
  transition: color 200ms var(--ease);
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}
.nav-links a:hover{ color: var(--paper); }
.nav-links a:hover::after{ transform: scaleX(1); }

.status{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.status .pulse{
  position: relative;
  width: 8px; height: 8px;
  background: var(--signal);
  border-radius: 50%;
}
.status .pulse::before{
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--signal);
  opacity: 0.4;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse{
  0%   { transform: scale(0.6); opacity: 0.5; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Mobile nav collapse */
@media (max-width: 720px){
  .nav-links{ gap: 20px; }
  .nav-links a[data-hide-mobile]{ display: none; }
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero{
  min-height: 100vh;
  min-height: 100svh;
  padding: 160px 0 var(--section-y);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-inner{
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(8px);
}
.hero-eyebrow .rule{
  width: 40px; height: 1px;
  background: var(--muted);
}

h1.hero-title{
  font-family: var(--display);
  font-size: clamp(56px, 8.8vw, 148px);
  line-height: 0.96;
  letter-spacing: 0em;
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
  text-transform: uppercase;
}
h1.hero-title .em{
  /* No italic on the hero — Anton has one weight and no italic;
     the metallic gradient is the emphasis. */
  font-style: normal;
  font-weight: 400;
}
h1.hero-title .line{
  display: block;
  overflow: hidden;
}
h1.hero-title .inner{
  display: block;
  transform: translateY(102%);
  /* Warm-metallic gradient — dim cream → bright cream → warm dark.
     Reads as aged film celluloid on the warm charcoal ground,
     rather than the cool chrome of the source reference. Each line
     gets its own top-to-bottom gradient (background-clip: text). */
  background:
    linear-gradient(180deg,
      #6a6560 0%,
      #b8ae99 18%,
      #ede7d9 40%,
      #ede7d9 52%,
      #b0a691 72%,
      #4a4640 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* Subtle inner shadow for depth (only visible via text-shadow) */
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.4));
}

.hero-caption{
  max-width: 520px;
  margin: 40px auto 0;
  font-family: var(--sans);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--paper-dim);
  opacity: 0;
  transform: translateY(8px);
  text-align: center;
}
.hero-caption .em{
  color: var(--paper);
  font-style: normal;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.85em;
  letter-spacing: 0.01em;
}

/* Container for the two hero CTAs — primary (order) + secondary (see work) */
.hero-ctas{
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(8px);
}
@media (max-width: 560px){
  .hero-ctas{ gap: 18px; }
}

.hero-cta{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--paper);
  padding: 14px 0;
  border-bottom: 1px solid var(--paper);
  position: relative;
  transition:
    gap 300ms var(--ease-out),
    color 200ms var(--ease),
    background 200ms var(--ease);
}
.hero-cta:hover{ gap: 22px; }

/* Primary CTA — filled vermilion pill (matches the featured tier button) */
.hero-cta-primary{
  padding: 14px 24px;
  background: var(--signal);
  border: 1px solid var(--signal);
  border-bottom: 1px solid var(--signal);
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(232, 93, 60, 0.5);
}
.hero-cta-primary:hover{
  background: color-mix(in oklab, var(--signal) 82%, #fff);
  border-color: color-mix(in oklab, var(--signal) 82%, #fff);
  color: #fff;
}
.hero-cta .arrow{
  display: inline-block;
  transition: transform 300ms var(--ease-out);
}
.hero-cta:hover .arrow{ transform: translateX(4px); }

/* ------------------------------------------------------------
   Hero backdrop — ported from the DarkGradientBg component.
   Structure is faithful to the source (corner-anchored radial +
   five skewed streaks + dot grid), but the streak hue is shifted
   from cyan to warm cream so it reads as light leaks on film
   stock rather than sci-fi neon, keeping palette cohesion.
   ------------------------------------------------------------ */
.hero-bg{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1600ms var(--ease-out) 200ms;
}
.is-loaded .hero-bg{ opacity: 1; }

/* Corner-anchored radial that fades to the ink from top-left */
.hero-bg .radial{
  position: absolute;
  inset: 0;
  background: radial-gradient(100% 100% at 0% 0%,
    #2a2622 0%,
    var(--ink) 100%);
  -webkit-mask: radial-gradient(125% 100% at 0% 0%,
    #000 0%,
    rgba(0,0,0,0.22) 88%,
    transparent 100%);
          mask: radial-gradient(125% 100% at 0% 0%,
    #000 0%,
    rgba(0,0,0,0.22) 88%,
    transparent 100%);
}

/* Five skewed streaks — warm cream (var(--paper)) instead of
   cyan; each masked with a different band pattern so together
   they read as scattered light leaks rather than repeats. */
.hero-bg .streak{
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background: linear-gradient(var(--paper) 0%, transparent 100%);
  transform: skewX(45deg);
  transform-origin: 0 0;
}
.hero-bg .streak:nth-child(2){
  -webkit-mask: linear-gradient(90deg,
    transparent 0%, #000 20%, transparent 36%, #000 55%,
    rgba(0,0,0,0.13) 67%, #000 78%, transparent 97%);
          mask: linear-gradient(90deg,
    transparent 0%, #000 20%, transparent 36%, #000 55%,
    rgba(0,0,0,0.13) 67%, #000 78%, transparent 97%);
}
.hero-bg .streak:nth-child(3){
  -webkit-mask: linear-gradient(90deg,
    transparent 11%, #000 25%, rgba(0,0,0,0.55) 41%,
    rgba(0,0,0,0.13) 67%, #000 78%, transparent 97%);
          mask: linear-gradient(90deg,
    transparent 11%, #000 25%, rgba(0,0,0,0.55) 41%,
    rgba(0,0,0,0.13) 67%, #000 78%, transparent 97%);
}
.hero-bg .streak:nth-child(4){
  -webkit-mask: linear-gradient(90deg,
    transparent 9%, #000 20%, rgba(0,0,0,0.55) 28%,
    rgba(0,0,0,0.42) 40%, #000 48%, rgba(0,0,0,0.27) 54%,
    rgba(0,0,0,0.13) 78%, #000 88%, transparent 97%);
          mask: linear-gradient(90deg,
    transparent 9%, #000 20%, rgba(0,0,0,0.55) 28%,
    rgba(0,0,0,0.42) 40%, #000 48%, rgba(0,0,0,0.27) 54%,
    rgba(0,0,0,0.13) 78%, #000 88%, transparent 97%);
}
.hero-bg .streak:nth-child(5){
  -webkit-mask: linear-gradient(90deg,
    transparent 0%, #000 17%, rgba(0,0,0,0.55) 26%, #000 35%,
    transparent 47%, rgba(0,0,0,0.13) 69%, #000 79%, transparent 97%);
          mask: linear-gradient(90deg,
    transparent 0%, #000 17%, rgba(0,0,0,0.55) 26%, #000 35%,
    transparent 47%, rgba(0,0,0,0.13) 69%, #000 79%, transparent 97%);
}
.hero-bg .streak:nth-child(6){
  -webkit-mask: linear-gradient(90deg,
    transparent 0%, #000 20%, rgba(0,0,0,0.55) 27%, #000 42%,
    transparent 48%, rgba(0,0,0,0.13) 67%, #000 74%, #000 82%,
    rgba(0,0,0,0.47) 88%, transparent 97%);
          mask: linear-gradient(90deg,
    transparent 0%, #000 20%, rgba(0,0,0,0.55) 27%, #000 42%,
    transparent 48%, rgba(0,0,0,0.13) 67%, #000 74%, #000 82%,
    rgba(0,0,0,0.47) 88%, transparent 97%);
}

/* Fine dot-grid over the whole hero — reads as film halftone
   up close, disappears at a normal reading distance */
.hero-bg .dots{
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(circle at 1px 1px,
    rgba(237,231,217,0.5) 1px, transparent 0);
  background-size: 20px 20px;
}

@media (max-width: 820px){
  .hero-bg .streak{ opacity: 0.10; }
  .hero-bg .dots{ opacity: 0.10; background-size: 16px 16px; }
}

/* Grain overlay — very subtle, film heritage */
.grain{
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.9  0 0 0 0 0.9  0 0 0 0 0.85  0 0 0 1 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}
@media (prefers-reduced-motion: no-preference){
  .grain{ animation: grain 8s steps(8) infinite; }
}
@keyframes grain{
  0%,100% { transform: translate(0,0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

/* ------------------------------------------------------------
   Hero floating thumbnails — three tilted 16:9 silhouettes
   that idle-float on load, then slide off to the sides as
   the user scrolls out of the hero.

   Structure is nested so CSS float and JS scroll transforms
   don't clobber each other:
     .hero-thumb          → JS sets translate(x,y) + opacity
       .hero-thumb-float  → CSS animation for the idle drift
         .hero-thumb-inner → the visual (gradient + glow)
   ------------------------------------------------------------ */
.hero-thumbs{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1400ms var(--ease-out) 300ms;
}
.is-loaded .hero-thumbs{ opacity: 1; }

.hero-thumb{
  position: absolute;
  width: var(--w, 220px);
  aspect-ratio: 16 / 9;
  will-change: transform, opacity;
}

.hero-thumb-float{
  width: 100%;
  height: 100%;
  animation: heroFloat var(--float-dur, 8s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  transform: rotate(var(--rot, 0deg));
}

@keyframes heroFloat{
  0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); }
  50%      { transform: rotate(var(--rot, 0deg)) translateY(-10px); }
}

.hero-thumb-inner{
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--ink-2);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--glow-soft);
}
.hero-thumb-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Below 768px the tiles would crowd the phone viewport and
   fight the headline. Hide them; the streaks and grain carry
   the hero on mobile just fine. */
@media (max-width: 768px){
  .hero-thumbs{ display: none; }
}

@media (prefers-reduced-motion: reduce){
  .hero-thumb-float{ animation: none; }
}

/* ------------------------------------------------------------
   Hero scroll-reveal — the 3D tilt-and-settle gallery.
   Ported from the source component's ContainerScroll +
   ContainerSticky + GalleryContainer + GalleryCol.

   Runway (.reveal) is 300vh tall. Inside it, .reveal-sticky
   pins for 200vh while scroll progress drives:
     progress 0.00 → 0.50 : rotateX 75° → 0°
     progress 0.50 → 0.90 : scale   1.2 → 1
     progress 0.50 → 1.00 : columns parallax translateY

   Below 768px we drop the 3D machinery — it doesn't read well
   on touch, and the long runway makes phones feel endless.
   Static 2-col grid instead.
   ------------------------------------------------------------ */
section.reveal{
  position: relative;
  min-height: 300vh;
  padding: 0;
  background: var(--ink);
}

.reveal-sticky{
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  perspective-origin: 50% 0%;
  transform-style: preserve-3d;
}

/* Soft top/bottom fades so the tiles feel embedded in the page
   rather than boxed in a viewport. */
.reveal-sticky::before,
.reveal-sticky::after{
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 140px;
  z-index: 3;
  pointer-events: none;
}
.reveal-sticky::before{
  top: 0;
  background: linear-gradient(to bottom, var(--ink) 0%, transparent 100%);
}
.reveal-sticky::after{
  bottom: 0;
  background: linear-gradient(to top, var(--ink) 0%, transparent 100%);
}

.reveal-gallery{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  width: 92%;
  max-width: 1500px;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  transform: rotateX(75deg) scale(1.2);
  will-change: transform;
}

.reveal-col{
  display: flex;
  flex-direction: column;
  gap: 14px;
  will-change: transform;
}
/* Offset the even columns (2 and 4) so the arrangement feels
   curated, not gridded. Margin % resolves against the gallery
   width, so the value is scaled down from the 3-column -34% to
   keep the same ~1.8-tile stagger with five narrower columns. */
.reveal-col:nth-child(even){
  margin-top: -20%;
}

/* Tile shell inside the reveal. The .thumb inside is cloned
   from the filter gallery below, so swapping in real thumbnail
   images down there updates both surfaces at once. */
.reveal-tile{
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--ink-2);
  box-shadow: var(--glow-soft);
  border: 1px solid var(--rule-strong);
}

/* (Position number badges removed — the number is now baked
    into each placeholder image itself.) */

/* Mobile: no 3D, no sticky, no runway. Single-column tile stack.
   The 5-column desktop structure (`.reveal-col > tile × 4`) doesn't
   collapse cleanly to a plain grid — each `.reveal-col` would become
   a grid cell containing four stacked tiles, breaking alignment.
   `display: contents` on `.reveal-col` removes the wrapper from
   layout so the 12 tiles become direct grid children of `.reveal-
   gallery`, which then lays them out as a single-column stack. */
@media (max-width: 768px){
  section.reveal{
    min-height: 0;
    padding: var(--section-y) var(--gutter) 0;
  }
  .reveal-sticky{
    position: static;
    height: auto;
    display: block;
    overflow: visible;
    perspective: none;
  }
  .reveal-sticky::before,
  .reveal-sticky::after{ display: none; }
  .reveal-gallery{
    grid-template-columns: 1fr;
    transform: none !important;
    width: 100%;
    gap: 12px;
    max-width: 100%;
  }
  .reveal-col{
    display: contents;
    transform: none !important;
    margin-top: 0 !important;
  }
  .reveal-tile{
    width: 100%;
  }
}

/* ------------------------------------------------------------
   Section shell
   ------------------------------------------------------------ */

section{
  padding: var(--section-y) 0;
  position: relative;
}
section + section{ border-top: 1px solid var(--rule); }

.section-head{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  margin-bottom: 64px;
}
.section-head .h2{
  font-family: var(--sans);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0;
}
.section-head .h2 em{
  font-style: italic;
  color: var(--gold);
}
.section-head .aux{
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-head .aux .rule{
  width: 32px; height: 1px;
  background: var(--muted);
}
@media (max-width: 640px){
  .section-head{ grid-template-columns: 1fr; }
  .section-head .aux{ order: -1; margin-bottom: 8px; }
}

/* ------------------------------------------------------------
   Thumbnails — every reveal-tile now holds an <img.thumb-img>
   pointing at thumbnails/thumbnail-NN.jpg. Swap files by name.
   ------------------------------------------------------------ */
.thumb-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ------------------------------------------------------------
   How I Work — three-step process (Brief → Draft → Deliver).
   Big gold ordinal numbers, short body, subtle divider between
   steps on desktop (three columns) that stacks on mobile.
   ------------------------------------------------------------ */
.process-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
@media (max-width: 900px){
  .process-grid{ grid-template-columns: 1fr; }
}

.process-step{
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background 350ms var(--ease);
}
.process-step:last-child{ border-right: none; }
@media (max-width: 900px){
  .process-step{
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .process-step:last-child{ border-bottom: none; }
}
/* Hover — subtle warm gold wash + number lifts */
.process-step:hover{
  background: color-mix(in oklab, var(--gold) 4%, transparent);
}

.process-num{
  font-family: var(--display);
  font-size: clamp(56px, 6vw, 88px);
  line-height: 0.9;
  color: var(--gold);
  letter-spacing: 0.02em;
  /* subtle gradient like the hero, but gold-toned */
  background: linear-gradient(180deg,
    #a68336 0%,
    var(--gold) 40%,
    #e6c479 60%,
    #7d6224 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transform-origin: left center;
  transition:
    transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 400ms var(--ease);
  will-change: transform;
}
/* Bouncy scale-in when the step enters view (fires after fade) */
.process-step.reveal:not(.in-view) .process-num{
  transform: scale(0.7);
}
.process-step.reveal.in-view .process-num{
  transform: scale(1);
  transition-delay: 350ms;
}
/* Hover — number scales up + gets a warm gold glow */
.process-step:hover .process-num{
  transform: scale(1.06);
  filter: drop-shadow(0 0 24px rgba(212, 169, 74, 0.35));
  transition-delay: 0ms;
}
@media (prefers-reduced-motion: reduce){
  .process-step.reveal:not(.in-view) .process-num,
  .process-step.reveal.in-view .process-num{
    transform: none;
  }
  .process-step:hover .process-num{
    transform: none;
    filter: none;
  }
}

.process-name{
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0;
}

.process-body{
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--paper-dim);
  margin: 0;
  max-width: 34ch;
}

.process-hint{
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dim);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}
.process-step.reveal.in-view .process-hint{
  opacity: 1;
  transform: translateY(0);
  transition-delay: 650ms;
}
@media (prefers-reduced-motion: reduce){
  .process-hint{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------------------------------------
   Contact — a single vermilion pill button that expands a row
   of direct channels (WhatsApp, Discord, X, Instagram, Email).
   ------------------------------------------------------------ */
.contact-wrap{
  max-width: 640px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-submit{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--signal);
  border: 1px solid var(--signal);
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 200ms var(--ease),
    transform 200ms var(--ease-out),
    gap 300ms var(--ease-out);
}
.form-submit:hover{
  background: color-mix(in oklab, var(--signal) 80%, #fff);
  gap: 14px;
}
.form-submit:active{ transform: translateY(1px); }
.form-submit .arrow{ transition: transform 300ms var(--ease-out); }
.form-submit:hover .arrow{ transform: translateX(3px); }

.form-note{
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 4px 0 0;
}

/* Contact toggle — the arrow turns to point down at the options
   while they're open. */
.contact-toggle .arrow{ display: inline-block; }
.contact-toggle[aria-expanded="true"] .arrow,
.contact-toggle[aria-expanded="true"]:hover .arrow{ transform: rotate(90deg); }

/* Channel list — collapses to zero height via grid-rows so the
   open/close animates without measuring content in JS. Each pill
   fades + rises in on a short stagger once the panel opens. */
.contact-options{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 450ms var(--ease-out);
}
.contact-options.is-open{ grid-template-rows: 1fr; }
.contact-options-inner{
  overflow: hidden;
  min-height: 0;
}
.contact-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 20px 0 4px;
}
.contact-links .follow-pill{
  padding: 10px 14px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 350ms var(--ease),
    transform 450ms var(--ease-out),
    background 200ms var(--ease),
    color 200ms var(--ease),
    border-color 200ms var(--ease);
}
.contact-options.is-open .follow-pill{
  opacity: 1;
  transform: translateY(0);
}
.contact-options.is-open .follow-pill:nth-child(1){ transition-delay: 80ms, 80ms, 0s, 0s, 0s; }
.contact-options.is-open .follow-pill:nth-child(2){ transition-delay: 140ms, 140ms, 0s, 0s, 0s; }
.contact-options.is-open .follow-pill:nth-child(3){ transition-delay: 200ms, 200ms, 0s, 0s, 0s; }
.contact-options.is-open .follow-pill:nth-child(4){ transition-delay: 260ms, 260ms, 0s, 0s, 0s; }
.contact-options.is-open .follow-pill:nth-child(5){ transition-delay: 320ms, 320ms, 0s, 0s, 0s; }
@media (prefers-reduced-motion: reduce){
  .contact-options,
  .contact-links .follow-pill{ transition: none; }
}


/* ------------------------------------------------------------
   Compare-reveal — before/after slider showing the thumbnail
   build. Two absolutely-stacked SVG scenes; the AFTER layer is
   clipped from the left by --pos (0 → 100%). Slider handle and
   divider both tracked to --pos so a single style property
   drives every visual on the frame.
   ------------------------------------------------------------ */
.compare-frame{
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 56px auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule-strong);
  box-shadow: var(--glow-soft);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  --pos: 50%;
}
.compare-side{
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.compare-side svg,
.compare-img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.compare-side.after{
  clip-path: inset(0 0 0 var(--pos));
  -webkit-clip-path: inset(0 0 0 var(--pos));
}

.compare-label{
  position: absolute;
  top: 16px;
  z-index: 3;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(14, 13, 12, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(237, 231, 217, 0.15);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--paper);
  pointer-events: none;
}
.compare-label.before-label{ left: 16px; }
.compare-label.after-label{  right: 16px; }

.compare-divider{
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 1px;
  background: var(--paper);
  z-index: 4;
  transform: translateX(-50%);
  pointer-events: none;
}

.compare-handle{
  position: absolute;
  top: 50%;
  left: var(--pos);
  z-index: 5;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  background: var(--paper);
  border-radius: 50%;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--signal);
  box-shadow: 0 8px 24px rgba(0,0,0,0.55), 0 0 0 4px rgba(237,231,217,0.12);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
  border: none;
}
.compare-handle:hover,
.compare-handle:focus-visible{
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 0 0 6px rgba(237,231,217,0.16);
}
.compare-handle svg{ width: 20px; height: 20px; }

/* Intro sweep + double-click reset both flip on this class */
.compare-frame.is-sweeping .compare-side.after{
  transition: clip-path 900ms var(--ease-out);
}
.compare-frame.is-sweeping .compare-divider,
.compare-frame.is-sweeping .compare-handle{
  transition: left 900ms var(--ease-out), transform 200ms var(--ease);
}

.compare-hint{
  margin-top: 20px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------------
   About — social pill "follow" block
   ------------------------------------------------------------ */
.follow-block{
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.follow-label{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 16px;
}
.follow-links{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.follow-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--paper);
  transition:
    background 200ms var(--ease),
    color 200ms var(--ease),
    border-color 200ms var(--ease);
}
.follow-pill:hover{
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.follow-pill svg{
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   Signature underline — the vermilion hand-drawn line under
   "Dion" in the About lead. Draws itself in when the About
   section reveals into view (via the .reveal.in-view cascade).
   ------------------------------------------------------------ */
.about-lead .signature{
  position: relative;
  display: inline-block;
  font-style: italic;
  padding: 0 1px;
}
.about-lead .signature-line{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.14em;
  width: 100%;
  height: 0.28em;
  color: var(--signal);
  overflow: visible;
  pointer-events: none;
}
.about-lead .signature-line path{
  transition: stroke-dashoffset 1400ms var(--ease-out) 400ms;
}
.reveal.in-view .signature-line path{
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: reduce){
  .about-lead .signature-line path{
    stroke-dashoffset: 0;
    transition: none;
  }
}

/* ------------------------------------------------------------
   About
   ------------------------------------------------------------ */

.about-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
@media (max-width: 820px){ .about-grid{ grid-template-columns: 1fr; } }

.about-lead{
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-wrap: balance;
  color: var(--paper);
}
.about-lead em{ font-style: italic; font-weight: 600; }

.about-body p{
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--paper-dim);
  margin: 0 0 20px;
  max-width: 48ch;
}

.stats{
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.stat{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.stat .label{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat .value{
  font-family: var(--sans);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.stat .value .unit{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-left: 6px;
}

/* ------------------------------------------------------------
   CTA
   ------------------------------------------------------------ */

.cta{
  padding: clamp(120px, 18vw, 240px) 0;
  text-align: center;
  position: relative;
}
.cta h2{
  font-family: var(--sans);
  font-size: clamp(48px, 9vw, 144px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 48px;
  text-wrap: balance;
}
.cta h2 em{
  font-style: italic;
  color: var(--gold);
}

.cta-mail{
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 18px 0;
  border-bottom: 1px solid var(--paper);
  transition: gap 300ms var(--ease-out);
}
.cta-mail:hover{ gap: 24px; }
.cta-mail .arrow{
  transition: transform 300ms var(--ease-out);
}
.cta-mail:hover .arrow{ transform: translateX(6px); }

/* ------------------------------------------------------------
   FAQ — a single accordion of four Q&A rows. Uses native
   <details>/<summary> (accessible + zero JS for open/close).
   ------------------------------------------------------------ */

/* Panel entrance — fades + rises in when it becomes active. */
.faq-panel{
  display: none;
  flex-direction: column;
  gap: 10px;
}
.faq-panel.is-active{
  display: flex;
  animation: faqPanelIn 450ms var(--ease-out);
}
@keyframes faqPanelIn{
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .faq-panel.is-active{ animation: none; }
}

.faq-item{
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-md);
  background: transparent;
  overflow: hidden;
  transition:
    border-color 250ms var(--ease),
    background 250ms var(--ease);
}
.faq-item:hover{ border-color: var(--paper-dim); }
.faq-item[open]{
  border-color: var(--paper-dim);
  background: color-mix(in oklab, var(--paper) 2%, transparent);
}

.faq-summary{
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--paper);
  -webkit-tap-highlight-color: transparent;
}
.faq-summary::-webkit-details-marker{ display: none; }
.faq-summary::marker{ display: none; content: ""; }

/* + / − toggle icon built from two crossed spans */
.faq-icon{
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.faq-icon::before,
.faq-icon::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--paper);
  transition: transform 300ms var(--ease);
}
.faq-icon::before{
  width: 14px;
  height: 1px;
  transform: translate(-50%, -50%);
}
.faq-icon::after{
  width: 1px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-icon::after{
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer{
  padding: 0 24px 24px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--paper-dim);
  max-width: 68ch;
  margin: 0;
}

@media (max-width: 640px){
  .faq-summary{ font-size: 16px; padding: 18px 20px; gap: 14px; }
  .faq-answer{ padding: 0 20px 20px; font-size: 15px; }
}
.faq-answer strong{ color: var(--paper); font-weight: 600; }
.faq-answer a{
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.faq-answer a:hover{ color: var(--paper); }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

footer{
  border-top: 1px solid var(--rule);
  padding: 40px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: var(--max);
  margin: 0 auto;
}
footer .colophon{ text-align: right; }
footer a{
  color: var(--paper-dim);
  transition: color 200ms var(--ease);
}
footer a:hover{ color: var(--paper); }
@media (max-width: 640px){
  footer{
    grid-template-columns: 1fr;
    text-align: center;
  }
  footer .colophon{ text-align: center; }
}

/* ============================================================
   Micro-interactions · batch 2
   Small signature details across the lower half — none of them
   add visual chrome at rest; each activates on scroll or hover.
   ============================================================ */

/* — Nav active-section dot — a vermilion dot that slides under
     the nav link whose section is currently in view. Positioned
     via JS setting `left: <px>` on the shared element. */
.nav-links{ position: relative; }
.nav-active-dot{
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--signal);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-2px);
  transition:
    left 550ms var(--ease-out),
    opacity 300ms var(--ease);
  pointer-events: none;
}
.nav-active-dot.is-ready{ opacity: 1; }
@media (max-width: 720px){ .nav-active-dot{ display: none; } }
@media (prefers-reduced-motion: reduce){
  .nav-active-dot{ transition: opacity 200ms var(--ease); }
}

/* — Reveal-tile cursor spotlight — warm-cream radial glow that
     follows the cursor across a hovered tile. JS updates
     --spot-x / --spot-y on mousemove. */
.reveal-tile{
  --spot-x: 50%;
  --spot-y: 50%;
}
.reveal-tile::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 220px at var(--spot-x) var(--spot-y),
    rgba(237,231,217,0.14) 0%,
    transparent 55%);
  opacity: 0;
  transition: opacity 350ms var(--ease);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: plus-lighter;
}
.reveal-tile:hover::after{ opacity: 1; }
@media (prefers-reduced-motion: reduce){
  .reveal-tile:hover::after{ opacity: 0; }
}

/* — Section-heading italic ending arrives late — the italic
     word in each section-head h2 fades in ~400ms after its
     parent .reveal element does. Applies only to section-heads
     (hero h1 uses different markup and its own choreography). */
.section-head .h2 em{
  display: inline-block;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 800ms var(--ease-out) 400ms,
    transform 800ms var(--ease-out) 400ms;
}
.section-head.in-view .h2 em{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .section-head .h2 em{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* — Compare handle chevrons spread on frame hover — hint that
     the icon is a draggable control. Uses transform-box: fill-box
     so the transforms are relative to each polyline's own bbox. */
.compare-handle svg polyline{
  transition: transform 350ms var(--ease-out);
  transform-origin: center;
  transform-box: fill-box;
}
.compare-frame:hover .compare-handle svg polyline:first-of-type{
  transform: translateX(-2px);
}
.compare-frame:hover .compare-handle svg polyline:last-of-type{
  transform: translateX(2px);
}
@media (prefers-reduced-motion: reduce){
  .compare-handle svg polyline{ transition: none; }
}

/* — Availability pill popover — hovering the "AVAILABLE" pill
     in the nav reveals a small paper-colored chip below it with
     the booking window. Layout-safe (absolute-positioned).  */
.status{ position: relative; }
.status-popover{
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 250ms var(--ease),
    transform 250ms var(--ease-out);
  box-shadow: 0 14px 32px -10px rgba(0,0,0,0.6);
  z-index: 200;
}
.status-popover::before{
  content: "";
  position: absolute;
  top: -4px;
  right: 20px;
  width: 8px;
  height: 8px;
  background: var(--paper);
  transform: rotate(45deg);
}
.status:hover .status-popover,
.status:focus-within .status-popover{
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
   Reveal state — driven by IntersectionObserver adding .in-view
   ------------------------------------------------------------ */

.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 900ms var(--ease-out),
    transform 900ms var(--ease-out);
}
.reveal.in-view{
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

/* Page-load choreography — set from JS after DOMContentLoaded */
.is-loaded h1.hero-title .inner{
  transform: translateY(0);
  transition: transform 1000ms var(--ease-out);
}
.is-loaded h1.hero-title .line[data-line="1"] .inner{ transition-delay: 100ms; }
.is-loaded h1.hero-title .line[data-line="2"] .inner{ transition-delay: 220ms; }
.is-loaded h1.hero-title .line[data-line="3"] .inner{ transition-delay: 340ms; }

.is-loaded .hero-eyebrow,
.is-loaded .hero-caption,
.is-loaded .hero-ctas{
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.is-loaded .hero-eyebrow{ transition-delay: 0ms; }
.is-loaded .hero-caption{ transition-delay: 500ms; }
.is-loaded .hero-ctas  { transition-delay: 620ms; }

/* ------------------------------------------------------------
   Reduced motion — strip transforms, keep opacity
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 200ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .reveal{ transform: none !important; }
  h1.hero-title .inner{ transform: none !important; }
  .grain{ animation: none !important; }
  .status .pulse::before{ animation: none !important; }
}
