/* =============================================================
   MAIN.CSS — design system + all section styles.
   Brand: ink / warm cream / emerald. Hanken Grotesk + Newsreader.
   Sections are ordered top-to-bottom as they appear on the page.
   ============================================================= */

/* ---------- Fonts (variable, self-hosted) ---------- */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/hankengrotesk-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/hankengrotesk-italic.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/newsreader-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/newsreader-italic.woff2") format("woff2-variations");
}

/* ---------- Tokens ---------- */
:root {
  /* ink scale */
  --ink-0: #0d0b08;
  --ink-1: #14110d;
  --ink-2: #1c1a17;
  --ink-3: #3d3a34;
  /* cream scale */
  --cream-0: #fffdf8;
  --cream-1: #f6f2e9;
  --cream-2: #f0ebdf;
  --cream-3: #e4ddcc;
  /* neutrals */
  --taupe: #8a847a;
  --taupe-dark: #57534b;
  --taupe-light: #c9c3b4;
  /* emerald family */
  --em-deep: #0e3d2c;
  --em: #21845f;
  --em-bright: #4cc596;
  --em-glow: #9be8c8;

  --font-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Newsreader", Georgia, serif;

  --max-w: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 10px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; overflow-x: clip; }
body {
  background: var(--ink-0);
  color: var(--cream-1);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
strong { font-weight: 650; }
::selection { background: var(--em); color: var(--cream-0); }
:focus-visible {
  outline: 2px solid var(--em-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* label / eyebrow */
.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--em-bright);
}
.on-cream .eyebrow { color: var(--em); }

/* serif display helpers */
.display {
  font-family: var(--font-serif);
  font-weight: 460;
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-variation-settings: "opsz" 72;
  margin: 0;
}

/* =============================================================
   SCROLL PROGRESS BAR
   ============================================================= */
#progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  z-index: 250;
  background: linear-gradient(90deg, var(--em), var(--em-bright));
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}

/* =============================================================
   PRELOADER
   ============================================================= */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink-0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s var(--ease-in-out);
}
#preloader.done { transform: translateY(-100%); }
#preloader .pl-inner { text-align: center; }
#preloader .pl-word {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--cream-1);
  min-height: 1.4em;
}
#preloader .pl-bar {
  width: 160px;
  height: 1px;
  background: rgba(246, 242, 233, 0.15);
  margin: 22px auto 0;
  position: relative;
  overflow: hidden;
}
#preloader .pl-bar span {
  position: absolute;
  inset: 0;
  background: var(--em-bright);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.25s linear;
}

/* =============================================================
   CUSTOM CURSOR (pointer: fine only)
   ============================================================= */
#cursor-dot, #cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  #cursor-dot, #cursor-ring {
    display: block;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 300;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  #cursor-dot {
    width: 6px; height: 6px;
    background: var(--em-bright);
    mix-blend-mode: difference;
  }
  #cursor-ring {
    width: 34px; height: 34px;
    border: 1px solid rgba(76, 197, 150, 0.5);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
                border-color 0.3s;
  }
  body.cursor-hover #cursor-ring {
    width: 56px; height: 56px;
    border-color: rgba(76, 197, 150, 0.9);
  }
}

/* =============================================================
   GRAIN OVERLAY
   ============================================================= */
#grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 150;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.6s steps(2) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(2%, -1%); }
  100% { transform: translate(-1%, 2%); }
}

/* =============================================================
   HERO
   ============================================================= */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ink-0);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#hero .hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

/* top bar */
.hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(243, 239, 230, 0.12);
}
.hero-bar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe-light);
}
.hero-bar .brand .pulse {
  width: 9px; height: 9px;
  background: var(--em-bright);
  border-radius: 50%;
  position: relative;
}
.hero-bar .brand .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--em-bright);
  animation: pulse-ring 2.4s var(--ease-out) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  80%, 100% { transform: scale(1.8); opacity: 0; }
}
.hero-bar .role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* headline block */
.hero-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(48px, 8vh, 96px);
  padding-bottom: clamp(48px, 6vh, 80px);
}
.hero-main .eyebrow { margin-bottom: 30px; }
h1.display {
  font-size: clamp(46px, 8vw, 118px);
  line-height: 0.97;
  color: var(--cream-1);
  max-width: 15ch;
}
h1 .em-italic {
  font-style: italic;
  background: linear-gradient(100deg, var(--em-bright), var(--em-glow) 55%, var(--em-bright));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  to { background-position: -200% 0; }
}
.hero-sub {
  margin: 36px 0 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: var(--taupe-light);
  max-width: 56ch;
}
.hero-sub strong { color: var(--cream-1); }

/* headline line-mask reveal (per-word cascade) */
.line-mask { display: block; overflow: hidden; }
.line-mask.w { display: inline-block; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.line-mask > span {
  display: block;
  transform: translateY(112%);
  transition: transform 1s var(--ease-out);
}
.revealed .line-mask > span { transform: none; }

/* stat cards */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: clamp(72px, 10vh, 110px);
}
.stat-card {
  flex: 1 1 220px;
  background: rgba(243, 239, 230, 0.045);
  border: 1px solid rgba(243, 239, 230, 0.1);
  border-radius: var(--radius);
  padding: 26px 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.stat-card .stat-value {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 60;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 480;
  line-height: 1;
  color: var(--cream-1);
  white-space: nowrap;
}
.stat-card .stat-value .arrow { color: var(--em-bright); padding: 0 6px; }
.stat-card .stat-label {
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 26px;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe);
}
.scroll-cue .line {
  width: 1px;
  height: 44px;
  background: rgba(243, 239, 230, 0.2);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--em-bright);
  animation: cue-drop 2s var(--ease-in-out) infinite;
}
@keyframes cue-drop {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

/* =============================================================
   MARQUEE
   ============================================================= */
#marquee {
  background: var(--cream-1);
  color: var(--ink-1);
  overflow: hidden;
  padding: 24px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -14px 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.55);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}
#marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-chunk {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}
.marquee-chunk .mq-item {
  font-size: clamp(18px, 2.4vw, 28px);
  padding: 0 18px;
}
.marquee-chunk .mq-item:nth-child(odd) {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 470;
}
.marquee-chunk .mq-item:nth-child(even) {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(14px, 1.8vw, 20px);
}
.marquee-chunk .mq-dot { color: var(--em); padding: 0 4px; }
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

/* =============================================================
   APPROACH  (dark, kinetic reading)
   ============================================================= */
#approach {
  background: var(--ink-1);
  border-top: 1px solid rgba(243, 239, 230, 0.08);
  padding: clamp(90px, 12vh, 150px) 0;
}
#approach .grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.25fr);
  gap: clamp(40px, 6vw, 88px);
}
@media (max-width: 800px) {
  #approach .grid { grid-template-columns: 1fr; }
}
#approach h2.display {
  margin-top: 20px;
  font-size: clamp(32px, 4.2vw, 54px);
  color: var(--cream-1);
}
#approach h2 .kw {
  transition: color 0.35s linear, opacity 0.35s linear;
  color: rgba(246, 242, 233, 0.22);
}
#approach h2 .kw.lit { color: var(--cream-1); }
#approach h2 .kw.lit.accent { color: var(--em-bright); }
#approach .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
#approach .chip {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe-light);
  border: 1px solid rgba(243, 239, 230, 0.18);
  border-radius: 40px;
  padding: 9px 16px;
  transition: border-color 0.3s, color 0.3s;
}
#approach .chip:hover { border-color: var(--em-bright); color: var(--em-glow); }
#approach .body p {
  margin: 0 0 24px;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.65;
  color: var(--taupe-light);
}
#approach .body strong { color: var(--cream-1); }

/* =============================================================
   SYSTEMS  (cream editorial)
   ============================================================= */
#systems {
  background:
    radial-gradient(rgba(28, 26, 23, 0.055) 1px, transparent 1px) 0 0 / 26px 26px,
    var(--cream-1);
  color: var(--ink-2);
}
#systems .systems-intro {
  padding-top: clamp(90px, 12vh, 150px);
  padding-bottom: clamp(30px, 4vh, 48px);
}
#systems .systems-intro h2 {
  margin-top: 18px;
  font-size: clamp(34px, 4.8vw, 62px);
  color: var(--ink-2);
  max-width: 20ch;
}
.system-block {
  border-top: 1px solid rgba(28, 26, 23, 0.14);
  padding: clamp(48px, 7vh, 72px) 0;
  position: relative;
}
.system-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.system-title-row {
  display: flex;
  align-items: baseline;
  gap: 22px;
  flex: 1 1 460px;
}
.system-num {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 72;
  font-size: clamp(64px, 9vw, 128px);
  font-weight: 320;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--em);
  user-select: none;
  will-change: transform;
}
.system-title-row h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 44;
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-2);
}
.system-title-row .tagline {
  margin: 10px 0 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--taupe-dark);
  font-style: italic;
  font-family: var(--font-serif);
}
.system-metric { text-align: right; flex: 0 0 auto; }
@media (max-width: 700px) {
  .system-metric { text-align: left; width: 100%; }
}
.system-metric .value {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 60;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 500;
  line-height: 1;
  color: var(--ink-2);
}
.system-metric .label {
  margin-top: 7px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--taupe);
}
.system-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 42px;
}
.sys-card {
  background: var(--cream-0);
  border: 1px solid rgba(28, 26, 23, 0.09);
  border-radius: var(--radius);
  padding: 28px;
  transform-style: preserve-3d;
  transition: box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-out),
              border-color 0.45s var(--ease-out);
  position: relative;
}
.sys-card:hover {
  transform: translateY(-5px);
  border-color: rgba(33, 132, 95, 0.45);
  box-shadow: 0 28px 52px -20px rgba(28, 26, 23, 0.22);
}
.sys-card .card-tag {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--em);
}
.sys-card p.card-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.58;
  color: var(--ink-3);
}

/* =============================================================
   GROWTH CURVE  (dark interlude, scroll-drawn)
   ============================================================= */
#growth {
  background: var(--ink-1);
  padding: clamp(90px, 13vh, 160px) 0;
  overflow: hidden;
}
#growth h2 {
  margin-top: 18px;
  font-size: clamp(32px, 4.4vw, 56px);
  color: var(--cream-1);
}
.chart-holder {
  margin-top: clamp(40px, 6vh, 72px);
  position: relative;
}
#growth-svg { width: 100%; height: auto; display: block; overflow: visible; }
#growth-svg .axis-line { stroke: rgba(243, 239, 230, 0.09); stroke-width: 1; }
#growth-svg .curve {
  fill: none;
  stroke: url(#curve-grad);
  stroke-width: 3;
  stroke-linecap: round;
}
#growth-svg .curve-fill { opacity: 0.55; }
#growth-svg .pt-dot { fill: var(--em-bright); }
#growth-svg .pt-halo {
  fill: none;
  stroke: var(--em-bright);
  opacity: 0.35;
}
#growth-svg .pt-year {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  fill: var(--taupe);
}
#growth-svg .pt-label {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  fill: var(--cream-1);
}
#growth-svg .pt-note {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  fill: var(--taupe);
}
#growth-svg .pt-group { opacity: 0; transition: opacity 0.5s var(--ease-out); }
#growth-svg .pt-group.on { opacity: 1; }

/* =============================================================
   PROOF  (dark, dashboard vitrines)
   ============================================================= */
#proof {
  background: var(--ink-0);
  padding-bottom: clamp(60px, 8vh, 110px);
}
#proof .proof-intro {
  padding-top: clamp(90px, 12vh, 150px);
  padding-bottom: 10px;
}
#proof .proof-intro h2 {
  margin-top: 16px;
  font-size: clamp(32px, 4.4vw, 56px);
  color: var(--cream-1);
  max-width: 24ch;
}
#proof .proof-intro .sub {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--taupe-light);
  max-width: 56ch;
}
.platform-group { padding-top: clamp(44px, 6vh, 64px); }
.platform-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 26px;
}
.platform-head .name {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-1);
}
.platform-head .rule {
  flex: 1;
  height: 1px;
  background: rgba(243, 239, 230, 0.14);
}
.figure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 22px;
}
.figure-grid .vitrine.wide { grid-column: 1 / -1; }

.vitrine {
  margin: 0;
  background: var(--cream-0);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(243, 239, 230, 0.1);
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}
.vitrine figcaption { padding: 24px 26px 20px; color: var(--ink-2); }
.vitrine .fig-caption {
  margin: 0;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
}
.vitrine .fig-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 16px;
}
.vitrine .fm .v {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 48;
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink-2);
}
.vitrine .fm.accent .v { color: var(--em); }
.vitrine .fm .l {
  font-size: 12px;
  color: var(--taupe);
  margin-top: 6px;
  font-weight: 650;
}
.vitrine .shot {
  background: #fff;
  border-top: 1px solid rgba(28, 26, 23, 0.08);
  padding: 0 16px 16px;
}
/* faux browser chrome above each dashboard screenshot */
.vitrine .chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 2px 10px;
}
.vitrine .chrome i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(28, 26, 23, 0.14);
}
.vitrine .chrome i:first-child { background: rgba(33, 132, 95, 0.5); }
.vitrine .chrome .addr {
  flex: 1;
  margin-left: 8px;
  height: 18px;
  border-radius: 9px;
  background: rgba(28, 26, 23, 0.05);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe);
  display: flex;
  align-items: center;
  padding: 0 12px;
}
.vitrine .shot img { width: 100%; height: auto; border-radius: 5px; }
/* glare layer for 3D tilt */
.vitrine .glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 50%),
              rgba(255, 255, 255, 0.16), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
}
.vitrine:hover .glare { opacity: 1; }

/* =============================================================
   CLOSING / FOOTER
   ============================================================= */
#closing {
  background:
    radial-gradient(52% 55% at 74% 30%, rgba(33, 132, 95, 0.16) 0%, transparent 70%),
    var(--ink-0);
  border-top: 1px solid rgba(243, 239, 230, 0.12);
  padding: clamp(90px, 13vh, 160px) 0 60px;
  position: relative;
  overflow: hidden;
}
#closing-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#closing .wrap { position: relative; z-index: 2; }
#closing h2 {
  font-size: clamp(34px, 5vw, 66px);
  color: var(--cream-1);
  max-width: 20ch;
}
#closing .sub {
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--taupe-light);
  max-width: 54ch;
}
.contact-row {
  margin-top: clamp(44px, 7vh, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.magnetic-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--em);
  color: var(--cream-0);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  padding: 20px 34px;
  border-radius: 60px;
  transition: background 0.3s var(--ease-out);
  will-change: transform;
}
.magnetic-btn:hover { background: var(--em-bright); color: var(--ink-0); }
.magnetic-btn .arr { transition: transform 0.3s var(--ease-out); }
.magnetic-btn:hover .arr { transform: translateX(5px); }
.contact-email {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--taupe-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 239, 230, 0.25);
  transition: color 0.3s, border-color 0.3s;
}
.contact-email:hover { color: var(--em-glow); border-color: var(--em-glow); }
.footer-meta {
  margin-top: clamp(60px, 9vh, 100px);
  padding-top: 26px;
  border-top: 1px solid rgba(243, 239, 230, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* =============================================================
   REVEAL SYSTEM  (JS adds .revealed)
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* =============================================================
   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;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .line-mask > span { transform: none; }
  #grain { display: none; }
}
