/* =========================================================
   Traceremove — design system v2
   Dark NYC · Editorial · Awwwards-level motion
   
   Palette logic:
   - Midnight (#080b14) = deep navy-black, warmer than pure black,
     reads as "Manhattan at 3am" rather than generic tech-dark
   - Steel (#141824) = card surfaces, subtle elevation
   - Iron (#232836) = rules, inputs, dividers
   - Bone (#ede8dc) = primary text — warm off-white, never harsh
   - Dust (#8a8578) = secondary text, muted UI
   - Amber (#d4a14a) = primary accent, bronze/gold, NYC streetlight
   - Rust (#c1491f) = urgent accent — only for crisis/warning blocks
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter+Tight:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- tokens ---------- */
:root {
  /* depth */
  --midnight: #080b14;
  --midnight-2: #0d111c;
  --steel: #141824;
  --iron: #232836;
  --iron-2: #2d3344;

  /* light */
  --bone: #ede8dc;
  --dust: #8a8578;
  --dust-2: #5e5a50;

  /* accent */
  --amber: #d4a14a;
  --amber-deep: #a8762a;
  --rust: #c1491f;
  --signal: #7ab8a2;

  /* type */
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* layout */
  --page-max: 1280px;
  --reading: 680px;
  --gutter: 24px;
  --section-y: clamp(96px, 12vw, 180px);

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--midnight);
}
body {
  margin: 0;
  background: var(--midnight);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- atmosphere layers ----------
   Multiple subtle layers stacked for depth:
   1. Gradient mesh — simulates uneven lighting (Manhattan skyline glow)
   2. Grain texture — analog warmth, prevents sterile digital feel
   3. Vignette — focuses eye, adds cinema quality
*/
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 1200px 800px at 20% 0%, rgba(212, 161, 74, 0.08), transparent 60%),
    radial-gradient(ellipse 900px 700px at 80% 100%, rgba(122, 184, 162, 0.05), transparent 55%),
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(20, 24, 36, 0.6), transparent 70%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

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

::selection { background: var(--amber); color: var(--midnight); }

/* ---------- custom cursor ----------
   Replaces system cursor with a magnetic dot that grows over
   interactive elements. Disabled on touch devices via JS.
   The cursor element is injected by app.js
*/
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease);
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--bone);
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--bone);
  transition: width 0.4s var(--ease), height 0.4s var(--ease), transform 0.1s linear;
}
body.hover-link .cursor-ring { width: 60px; height: 60px; border-color: var(--amber); }
body.hover-link .cursor-dot { background: var(--amber); }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.02em; color: var(--bone); }
h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7.2vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.028em;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.022em;
}
h3 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.display-italic { font-family: var(--serif); font-style: italic; color: var(--amber); }
p { margin: 0 0 1em; }
.lead {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--bone);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--amber);
  display: inline-block;
}

.num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--dust);
}

/* ---------- layout ---------- */
.page {
  position: relative;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  z-index: 2;
}

section { padding: var(--section-y) 0; position: relative; z-index: 2; }

.rule-top { border-top: 1px solid var(--iron); }
.rule-bottom { border-bottom: 1px solid var(--iron); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}

/* ---------- nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--midnight) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--iron);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brand {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bone);
}
.brand-mark {
  width: 24px; height: 24px;
  border: 1.5px solid var(--bone);
  border-radius: 50%;
  position: relative;
  flex: none;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--amber);
  border-radius: 50%;
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand-mark::after { transform: scale(1.3); }

.nav-links {
  display: flex;
  gap: 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
}
.nav-links a {
  color: var(--dust);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--bone); }
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid var(--amber);
  color: var(--amber);
  border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.nav-cta:hover {
  background: var(--amber);
  color: var(--midnight);
  box-shadow: 0 0 32px rgba(212, 161, 74, 0.3);
}

.mobile-toggle { display: none; }
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    position: relative;
    z-index: 1001;
  }
  .mobile-toggle span {
    width: 24px; height: 1.5px;
    background: var(--bone);
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
    transform-origin: center;
  }
  /* Morph hamburger → X when panel is open */
  body.nav-open .mobile-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  body.nav-open .mobile-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  body.nav-open .mobile-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

/* ---------- mobile panel (full-screen overlay nav) ----------
   Fixed overlay that slides in from above. Blocks body scroll
   when open via .nav-open class on <body>.
   Only rendered/interactive below 880px — hidden otherwise.
*/
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--midnight);
  display: flex;
  flex-direction: column;
  padding: 96px 32px 40px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out);
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}
.mobile-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 0%, rgba(212, 161, 74, 0.12), transparent 60%),
    radial-gradient(ellipse 600px 500px at 80% 100%, rgba(122, 184, 162, 0.06), transparent 55%);
  pointer-events: none;
}
body.nav-open .mobile-panel {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
body.nav-open { overflow: hidden; }

.mobile-panel-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 40px;
}
.mobile-panel .eyebrow {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: 0.2s;
}
.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-panel li {
  border-bottom: 1px solid var(--iron);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.mobile-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--bone);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.mobile-panel a::after {
  content: "→";
  color: var(--amber);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-panel a:hover,
.mobile-panel a.active {
  color: var(--amber);
  padding-left: 8px;
}
.mobile-panel a:hover::after,
.mobile-panel a.active::after {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger links on open */
body.nav-open .mobile-panel .eyebrow { opacity: 1; transform: translateY(0); }
body.nav-open .mobile-panel li {
  opacity: 1;
  transform: translateX(0);
}
body.nav-open .mobile-panel li:nth-child(1) { transition-delay: 0.25s; }
body.nav-open .mobile-panel li:nth-child(2) { transition-delay: 0.30s; }
body.nav-open .mobile-panel li:nth-child(3) { transition-delay: 0.35s; }
body.nav-open .mobile-panel li:nth-child(4) { transition-delay: 0.40s; }
body.nav-open .mobile-panel li:nth-child(5) { transition-delay: 0.45s; }
body.nav-open .mobile-panel li:nth-child(6) { transition-delay: 0.50s; }

.mobile-panel-foot {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid var(--iron);
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: 0.55s;
}
body.nav-open .mobile-panel-foot {
  opacity: 1;
  transform: translateY(0);
}
.mobile-panel-foot .btn {
  justify-content: center;
  padding: 18px 28px;
  font-size: 15px;
}
.mobile-panel-foot .contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--dust);
  text-transform: uppercase;
  padding-top: 20px;
}
.mobile-panel-foot .contacts a { color: var(--bone); }

/* Desktop — panel never renders */
@media (min-width: 881px) {
  .mobile-panel { display: none !important; }
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(96px, 14vw, 180px) 0 clamp(72px, 10vw, 140px);
  position: relative;
}

/* split-text reveal — each word masks in from below */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.split-word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: word-rise 1s var(--ease-out) forwards;
}
@keyframes word-rise {
  to { transform: translateY(0); }
}

.hero h1 { max-width: 16ch; }
.hero-sub {
  margin-top: 36px;
  max-width: 54ch;
  opacity: 0;
  animation: fade-up 1s var(--ease-out) 0.9s forwards;
}
.hero-actions {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 1s var(--ease-out) 1.1s forwards;
}
.hero-eyebrow {
  margin-bottom: 36px;
  opacity: 0;
  animation: fade-up 1s var(--ease-out) 0.2s forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.btn svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--amber);
  color: var(--midnight);
  border: 1px solid var(--amber);
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--bone);
  border-color: var(--bone);
  box-shadow: 0 0 40px rgba(212, 161, 74, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--iron-2);
}
.btn-ghost:hover {
  background: var(--steel);
  border-color: var(--bone);
}

.btn-amber-ghost {
  background: transparent;
  color: var(--amber);
  border: 1px solid var(--amber);
}
.btn-amber-ghost:hover {
  background: var(--amber);
  color: var(--midnight);
}

/* ---------- marquee / fact strip ---------- */
.marquee {
  border-top: 1px solid var(--iron);
  border-bottom: 1px solid var(--iron);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: inline-flex;
  gap: 64px;
  animation: marquee 40s linear infinite;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee-track span::after {
  content: "●";
  color: var(--amber);
  font-size: 8px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.fact-strip {
  border-top: 1px solid var(--iron);
  border-bottom: 1px solid var(--iron);
  padding: 32px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  padding-left: 20px;
}
.fact::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--amber);
}
.fact-num {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bone);
}
.fact-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--dust);
}
@media (max-width: 720px) {
  .fact-strip { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}

/* ---------- section heading ---------- */
.section-head {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 48px;
  margin-bottom: 72px;
  align-items: baseline;
}
.section-head .num { padding-top: 8px; }
.section-head h2 { max-width: 22ch; }
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- service cards (grid, hover-tilt) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--iron);
  border: 1px solid var(--iron);
}
.service {
  background: var(--steel);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  position: relative;
  transition: background 0.5s var(--ease), transform 0.5s var(--ease);
}
.service:hover {
  background: var(--midnight-2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--amber);
  z-index: 2;
}
.service h3 { margin-top: 28px; font-size: 24px; font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; font-size: 28px; }
.service p { margin-top: 18px; color: var(--dust); font-size: 16px; }
.service-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 52px;
  color: var(--amber);
  line-height: 1;
  transition: transform 0.5s var(--ease);
}
.service:hover .service-mark { transform: translateX(8px); }
.service-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--bone);
}
.service-list li {
  padding: 10px 0;
  border-top: 1px solid var(--iron-2);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-list li::before {
  content: "◆";
  color: var(--amber);
  font-size: 6px;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- two-col narrative ---------- */
.two-col {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.two-col .col-lede h2 { max-width: 14ch; }
.two-col .col-body p { margin-bottom: 22px; color: var(--bone); font-size: 18px; line-height: 1.7; }
.two-col .col-body p:last-child { margin-bottom: 0; }
.two-col .col-body strong { color: var(--amber); font-weight: 500; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- process steps (with progress line) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}
.step {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 48px;
  padding: 44px 0;
  border-top: 1px solid var(--iron);
  align-items: baseline;
  transition: padding-left 0.4s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--iron); }
.step:hover { padding-left: 16px; }
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--amber);
}
.step h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--bone);
}
.step p { color: var(--dust); margin: 0; max-width: 48ch; font-size: 16px; }
@media (max-width: 820px) {
  .step { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- callout / cta block ---------- */
.callout {
  background: linear-gradient(135deg, var(--steel) 0%, var(--midnight-2) 100%);
  color: var(--bone);
  padding: clamp(56px, 8vw, 112px) clamp(40px, 6vw, 96px);
  border-radius: 4px;
  border: 1px solid var(--iron);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 161, 74, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.callout h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.022em;
  max-width: 18ch;
  position: relative;
  z-index: 1;
}
.callout p { color: var(--dust); max-width: 44ch; position: relative; z-index: 1; }
@media (max-width: 820px) {
  .callout { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- audience split (brands vs agencies) ---------- */
.audience-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--iron);
  border: 1px solid var(--iron);
}
.audience {
  background: var(--steel);
  padding: 64px 48px;
  transition: background 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.audience::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(212, 161, 74, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.audience:hover::before { opacity: 1; }
.audience:hover { background: var(--midnight-2); }
.audience h3 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.018em;
  margin-top: 16px;
}
.audience p { color: var(--dust); margin-top: 20px; font-size: 17px; line-height: 1.6; }
.audience .aud-mark {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.audience .btn { margin-top: 32px; }
@media (max-width: 820px) {
  .audience-split { grid-template-columns: 1fr; }
}

/* ---------- case teaser / metrics ---------- */
.case-teaser {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  align-items: center;
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  padding: 48px;
  border: 1px solid var(--iron);
  background: var(--steel);
  position: relative;
}
.metric-num {
  font-family: var(--serif);
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1;
  letter-spacing: -0.022em;
  color: var(--amber);
}
.metric-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--dust);
  margin-top: 10px;
}
@media (max-width: 900px) {
  .case-teaser { grid-template-columns: 1fr; gap: 40px; }
  .metrics { padding: 32px; gap: 28px 32px; }
}

/* ---------- audit tool (inline lead-gen block) ---------- */
.audit-tool {
  background: linear-gradient(135deg, var(--steel), var(--midnight-2));
  border: 1px solid var(--iron);
  padding: clamp(40px, 5vw, 72px);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.audit-tool::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}
.audit-tool h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.audit-tool p { color: var(--dust); }
.audit-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.audit-form input {
  background: var(--midnight);
  border: 1px solid var(--iron-2);
  padding: 16px 20px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--bone);
  border-radius: 2px;
  transition: border-color 0.3s var(--ease);
}
.audit-form input:focus {
  outline: none;
  border-color: var(--amber);
}
.audit-form button {
  padding: 16px 24px;
  background: var(--amber);
  color: var(--midnight);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.audit-form button:hover {
  background: var(--bone);
  box-shadow: 0 0 32px rgba(212, 161, 74, 0.3);
}
@media (max-width: 820px) {
  .audit-tool { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- FAQ ---------- */
.faq details {
  border-top: 1px solid var(--iron);
  padding: 28px 0;
  transition: padding 0.3s var(--ease);
}
.faq details[open] { padding: 36px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--iron); }
.faq summary {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 28px;
  color: var(--bone);
  transition: color 0.3s var(--ease);
}
.faq summary:hover { color: var(--amber); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 24px;
  color: var(--amber);
  transition: transform 0.3s var(--ease);
  flex: none;
}
.faq details[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq details p {
  margin-top: 18px;
  color: var(--dust);
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.form-grid .full { grid-column: 1 / -1; }
.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
}
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--iron-2);
  padding: 12px 0;
  color: var(--bone);
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--amber);
}
.field textarea { resize: vertical; min-height: 140px; }
.field select option { background: var(--midnight); }
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- testimonials / logos ---------- */
.testimonial {
  padding: 56px;
  border: 1px solid var(--iron);
  background: var(--steel);
  border-radius: 2px;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--bone);
  margin: 0;
  max-width: 28ch;
}
.testimonial .attribution {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--iron-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dust);
}
.testimonial .attribution strong { color: var(--bone); font-weight: 500; }

/* ---------- legal page typography ---------- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content h2 {
  font-family: var(--serif);
  font-size: 36px;
  margin-top: 64px;
  margin-bottom: 20px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--amber);
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.legal-content p {
  color: var(--bone);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.legal-content .meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--iron);
}

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--iron);
  padding: 96px 0 40px;
  position: relative;
  z-index: 2;
  background: var(--midnight-2);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 72px;
}
.foot-grid h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  font-weight: 500;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid ul li { padding: 8px 0; }
.foot-grid ul li a {
  color: var(--dust);
  font-size: 14px;
  transition: color 0.3s var(--ease);
}
.foot-grid ul li a:hover { color: var(--amber); }
.foot-brand p {
  color: var(--dust);
  max-width: 36ch;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--iron);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dust);
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ---------- scroll reveal ----------
   Elements get .reveal class; IntersectionObserver in app.js
   adds .in-view when they enter viewport.
*/
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }

/* ---------- utilities ---------- */
.measure { max-width: var(--reading); }
.center { text-align: center; }
.tight { letter-spacing: -0.025em; }
.muted { color: var(--dust); }
.accent { color: var(--amber); }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }
.mt-xl { margin-top: 80px; }

/* =========================================================
   ADDITIONS — v2.1: interactive components
   - Live audit widget (homepage)
   - Price calculator
   - Exit-intent popup
   - Cookie consent banner
   ========================================================= */

/* ---------- Live audit widget ---------- */
.live-audit {
  background: linear-gradient(135deg, var(--steel), var(--midnight-2));
  border: 1px solid var(--iron);
  border-radius: 4px;
  padding: clamp(48px, 6vw, 88px);
  position: relative;
  overflow: hidden;
}
.live-audit::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}
.live-audit-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}
.live-audit-head h3 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.022em;
}
.live-audit-head p { color: var(--dust); max-width: 44ch; }
.live-audit-input {
  display: flex;
  gap: 12px;
  background: var(--midnight);
  border: 1px solid var(--iron-2);
  border-radius: 999px;
  padding: 8px 8px 8px 28px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.live-audit-input:focus-within {
  border-color: var(--amber);
  box-shadow: 0 0 32px rgba(212, 161, 74, 0.15);
}
.live-audit-input input {
  flex: 1;
  background: none;
  border: none;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 0;
}
.live-audit-input input:focus { outline: none; }
.live-audit-input input::placeholder { color: var(--dust-2); }
.live-audit-input button {
  background: var(--amber);
  color: var(--midnight);
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.live-audit-input button:hover { background: var(--bone); }
.live-audit-input button:disabled {
  opacity: 0.5;
  cursor: wait;
}

.live-audit-results {
  display: none;
  margin-top: 16px;
}
.live-audit-results.visible {
  display: block;
  animation: fade-up 0.6s var(--ease-out) forwards;
}
.live-audit-scanning {
  display: none;
  padding: 32px 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dust);
}
.live-audit-scanning.visible { display: block; }
.live-audit-scanning .scan-step {
  padding: 6px 0;
  opacity: 0.3;
  transition: opacity 0.4s var(--ease);
  display: flex;
  align-items: center;
  gap: 12px;
}
.live-audit-scanning .scan-step::before {
  content: "○";
  color: var(--dust);
  font-size: 10px;
}
.live-audit-scanning .scan-step.done {
  opacity: 1;
}
.live-audit-scanning .scan-step.done::before {
  content: "●";
  color: var(--amber);
}
.live-audit-scanning .scan-step.active {
  opacity: 1;
  color: var(--amber);
}
.live-audit-scanning .scan-step.active::before {
  content: "◐";
  color: var(--amber);
  animation: spin 1s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

.live-audit-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--iron);
  border-bottom: 1px solid var(--iron);
  margin-bottom: 32px;
}
.live-audit-summary .stat-num {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  color: var(--bone);
}
.live-audit-summary .stat-num.warn { color: var(--amber); }
.live-audit-summary .stat-num.danger { color: var(--rust); }
.live-audit-summary .stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
  margin-top: 8px;
}

.live-audit-results h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 16px;
  font-weight: 500;
}
.serp-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--iron);
  align-items: center;
}
.serp-row:last-child { border-bottom: 1px solid var(--iron); }
.serp-rank {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dust);
}
.serp-title {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--bone);
  line-height: 1.4;
}
.serp-url {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dust);
  margin-top: 4px;
}
.serp-verdict {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 2px;
  white-space: nowrap;
}
.serp-verdict.ok { color: var(--signal); border: 1px solid var(--signal); }
.serp-verdict.watch { color: var(--amber); border: 1px solid var(--amber); }
.serp-verdict.bad { color: var(--rust); border: 1px solid var(--rust); }

.live-audit-gate {
  margin-top: 40px;
  padding: 32px;
  background: var(--midnight);
  border: 1px solid var(--amber);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.live-audit-gate h4 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--bone);
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  text-transform: none;
}
.live-audit-gate p { color: var(--dust); font-size: 14px; margin: 0; }
.live-audit-gate form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.live-audit-gate input {
  background: var(--steel);
  border: 1px solid var(--iron-2);
  padding: 14px 18px;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 14px;
  border-radius: 2px;
}
.live-audit-gate input:focus { outline: none; border-color: var(--amber); }
.live-audit-gate button {
  padding: 14px;
  background: var(--amber);
  color: var(--midnight);
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 820px) {
  .live-audit-head { grid-template-columns: 1fr; gap: 24px; }
  .live-audit-input { flex-direction: column; padding: 12px; border-radius: 4px; }
  .live-audit-input input { padding: 14px 18px; border: 1px solid var(--iron-2); border-radius: 2px; background: var(--steel); }
  .live-audit-input button { width: 100%; justify-content: center; }
  .live-audit-summary { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .live-audit-gate { grid-template-columns: 1fr; gap: 20px; }
  .serp-row { grid-template-columns: 32px 1fr; gap: 14px; }
  .serp-verdict { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
}

/* ---------- Price calculator ---------- */
.calc {
  background: var(--steel);
  border: 1px solid var(--iron);
  border-radius: 4px;
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
}
.calc-controls { display: flex; flex-direction: column; gap: 36px; }
.calc-group label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
  margin-bottom: 14px;
}
.calc-group .value {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--bone);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.calc-group .value .unit {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dust);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-left: 8px;
}
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--iron);
  outline: none;
  border-radius: 1px;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
  border: 3px solid var(--midnight);
  box-shadow: 0 0 16px rgba(212,161,74,0.3);
  transition: transform 0.2s var(--ease);
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
  border: 3px solid var(--midnight);
}
.calc-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.calc-opt {
  padding: 10px 16px;
  border: 1px solid var(--iron-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dust);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.calc-opt:hover { color: var(--bone); border-color: var(--dust); }
.calc-opt.active {
  background: var(--amber);
  color: var(--midnight);
  border-color: var(--amber);
}

.calc-output {
  background: var(--midnight);
  border: 1px solid var(--iron);
  border-radius: 4px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.calc-output::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 161, 74, 0.12), transparent 70%);
  pointer-events: none;
}
.calc-output .eyebrow { margin-bottom: 20px; }
.calc-range {
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  color: var(--bone);
  letter-spacing: -0.022em;
  position: relative;
}
.calc-range .amber { color: var(--amber); }
.calc-range .sep { color: var(--dust); font-size: 0.6em; padding: 0 0.3em; }
.calc-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
  margin-top: 16px;
}
.calc-cta {
  margin-top: 32px;
  position: relative;
}

@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Exit-intent popup ---------- */
.exit-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 11, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.exit-backdrop.visible {
  opacity: 1;
  visibility: visible;
}
.exit-card {
  background: var(--steel);
  border: 1px solid var(--iron);
  border-radius: 4px;
  padding: clamp(36px, 5vw, 56px);
  max-width: 560px;
  width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.5s var(--ease-out);
}
.exit-backdrop.visible .exit-card { transform: translateY(0) scale(1); }
.exit-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--dust);
  cursor: pointer;
  padding: 8px;
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1;
  transition: color 0.3s var(--ease);
}
.exit-close:hover { color: var(--bone); }
.exit-card .eyebrow { margin-bottom: 20px; }
.exit-card h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--bone);
  font-weight: 400;
}
.exit-card p { color: var(--dust); margin: 0 0 24px; font-size: 15px; }
.exit-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.exit-form input {
  flex: 1;
  min-width: 200px;
  background: var(--midnight);
  border: 1px solid var(--iron-2);
  padding: 14px 18px;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 14px;
  border-radius: 2px;
}
.exit-form input:focus { outline: none; border-color: var(--amber); }
.exit-form button {
  background: var(--amber);
  color: var(--midnight);
  border: none;
  padding: 14px 24px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.exit-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
  margin-top: 20px;
}

/* ---------- Cookie consent banner ---------- */
.cookie-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 560px;
  z-index: 1500;
  background: var(--steel);
  border: 1px solid var(--iron);
  border-radius: 4px;
  padding: 24px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(16px);
  visibility: hidden;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s var(--ease);
}
.cookie-bar.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.cookie-bar .eyebrow { margin-bottom: 10px; }
.cookie-bar p {
  font-size: 13px;
  color: var(--bone);
  line-height: 1.55;
  margin: 0 0 16px;
}
.cookie-bar a { color: var(--amber); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.cookie-btn-primary {
  background: var(--amber);
  color: var(--midnight);
  border: 1px solid var(--amber);
}
.cookie-btn-primary:hover { background: var(--bone); border-color: var(--bone); }
.cookie-btn-ghost {
  background: transparent;
  color: var(--dust);
  border: 1px solid var(--iron-2);
}
.cookie-btn-ghost:hover { color: var(--bone); border-color: var(--dust); }

@media (max-width: 560px) {
  .cookie-bar { bottom: 16px; left: 16px; right: 16px; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .split-word > span { transform: none; }
  .marquee-track { animation: none; }
}
