/* ============================================================
   W-CUT — Studio Dark
   Warm charcoal · ember orange · bone text · glass surfaces
   Type: Clash Display (display) / Hanken Grotesk (body) / Space Mono (labels)
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/ClashDisplay-Semibold.otf') format('opentype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/ClashDisplay-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/HankenGrotesk-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/HankenGrotesk-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/HankenGrotesk-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/SpaceMono-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/SpaceMono-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens (mirrors WCutDesignSystem.swift) ---------- */
:root {
  --n0: #100E0B;  --n1: #17140F;  --n2: #1F1B15;  --n3: #2A251E;
  --n4: #38322A;  --n5: #4A4338;  --n6: #6E665A;  --n7: #A89E8E;
  --n8: #D8CFBE;  --n9: #F5EEE1;

  --ember-700: #C9370F; --ember-600: #E8431C; --ember-500: #FF5A2C;
  --ember-400: #FF7A4F; --ember-300: #FF9D7A; --ember-wash: #2A150D;
  --on-accent: #1C0E07;

  --honey-600: #D69A24; --honey-500: #F0B43C; --honey-400: #FFC95E;

  --hairline: rgba(245, 238, 225, 0.10);
  --hairline-strong: rgba(245, 238, 225, 0.18);
  --glass: rgba(245, 238, 225, 0.05);
  --glass-heavy: rgba(245, 238, 225, 0.08);

  --display: 'Clash Display', 'Hanken Grotesk', sans-serif;
  --body: 'Hanken Grotesk', -apple-system, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;

  --r-md: 16px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--n9);
  background-color: var(--n0);
  background-image: radial-gradient(120% 90% at 50% -10%, #221D17 0%, var(--n0) 60%);
  background-repeat: no-repeat;
  overflow-x: hidden;
}

/* film grain over everything, very subtle */
body::after {
  content: '';
  position: fixed; inset: 0;
  background: url('../img/grain.png') repeat;
  background-size: 128px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.2; }

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

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember-500);
  margin-bottom: 18px;
}

.lead { color: var(--n8); font-size: 1.06rem; }

::selection { background: var(--ember-500); color: var(--on-accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s;
}
.btn--ember {
  background: var(--ember-500);
  color: var(--on-accent);
  box-shadow: 0 0 14px rgba(255, 90, 44, 0.34);
}
.btn--ember:hover { background: var(--ember-400); transform: translateY(-1px); box-shadow: 0 0 22px rgba(255, 90, 44, 0.45); }
.btn--ember:active { background: var(--ember-600); transform: translateY(0); }
.btn--nav { padding: 9px 20px; font-size: 0.88rem; }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px var(--gutter);
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(16, 14, 11, 0.72);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--hairline);
  padding-top: 10px; padding-bottom: 10px;
}
.nav__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nav__icon { width: 30px; height: 30px; border-radius: 8px; }
.nav__wordmark {
  font-family: var(--display); font-weight: 700;
  font-size: 1.05rem; letter-spacing: 0.06em;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 0.92rem; font-weight: 500; color: var(--n8);
  transition: color 0.18s;
}
.nav__links a:hover { color: var(--ember-400); }
.nav__burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
}
.nav__burger span {
  display: block; width: 22px; height: 2px; margin: 0 auto;
  background: var(--n9); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobilemenu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(16, 14, 11, 0.92);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.mobilemenu.is-open { opacity: 1; pointer-events: auto; }
.mobilemenu nav { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.mobilemenu a {
  font-family: var(--display); font-weight: 600; font-size: 1.6rem;
  color: var(--n9);
}
.mobilemenu a.btn { font-family: var(--body); font-size: 1rem; margin-top: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 68% 30%;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(16, 14, 11, 0.88) 0%, rgba(16, 14, 11, 0.55) 45%, rgba(16, 14, 11, 0.25) 100%),
    linear-gradient(to top, var(--n0) 0%, rgba(16, 14, 11, 0.2) 30%, rgba(16, 14, 11, 0.45) 100%);
}
.hero__content { max-width: 1200px; margin: 0 auto; width: 100%; }
.hero__title {
  font-size: clamp(2.9rem, 8vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero__title span { display: block; }
.hero__title .ember {
  font-style: normal;
  color: var(--ember-500);
  text-shadow: 0 0 44px rgba(255, 90, 44, 0.45);
}
.hero__sub {
  max-width: 480px;
  color: var(--n8);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  margin-bottom: 40px;
}
.hero__note { margin-top: 14px; font-size: 0.66rem; color: var(--n6); }
.hero__scrollhint {
  position: absolute; bottom: 28px; left: 50%;
  width: 24px; height: 38px;
  transform: translateX(-50%);
  border: 1.5px solid var(--hairline-strong);
  border-radius: 12px;
}
.hero__scrollhint span {
  position: absolute; top: 7px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  background: var(--ember-500);
  border-radius: 2px;
  animation: scrollhint 1.8s var(--ease) infinite;
}
@keyframes scrollhint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- App Store badge ---------- */
.storebadge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 26px 12px 20px;
  background: var(--n9);
  color: #111;
  border-radius: 14px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}
.storebadge:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 90, 44, 0.18); }
.storebadge__logo { width: 30px; height: 30px; }
.storebadge__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.storebadge__text small { font-size: 0.66rem; font-weight: 500; opacity: 0.75; }
.storebadge__text strong { font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.01em; }
.storebadge--lg { padding: 15px 32px 15px 24px; }
.storebadge--lg .storebadge__logo { width: 34px; height: 34px; }
.storebadge--lg .storebadge__text strong { font-size: 1.4rem; }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--n1);
  overflow: hidden;
  padding: 16px 0;
}
.marquee__track {
  display: flex; align-items: center; gap: 34px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee__track span {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--n7);
  white-space: nowrap;
}
.marquee__track i { color: var(--ember-500); font-style: normal; font-size: 0.7rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 12vw, 150px) var(--gutter); max-width: 1240px; margin: 0 auto; }
.section__head { margin-bottom: clamp(44px, 6vw, 72px); max-width: 640px; }
.section__sub { color: var(--n7); margin-top: 18px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  padding: 30px 26px 34px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.step:hover { transform: translateY(-4px); border-color: var(--hairline-strong); }
.step__num {
  position: absolute; top: 22px; right: 24px;
  font-size: 0.72rem; font-weight: 700;
  color: var(--n6);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--n7); font-size: 0.95rem; }
.step__art {
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}

/* scan face art */
.scanface {
  position: relative;
  width: 92px; height: 118px;
  border: 1.5px solid var(--n5);
  border-radius: 46px 46px 40px 40px;
  overflow: hidden;
}
.scanface::before, .scanface::after {
  content: '';
  position: absolute;
  background: var(--n5);
  border-radius: 2px;
}
.scanface::before { width: 10px; height: 3px; top: 48px; left: 22px; box-shadow: 38px 0 0 var(--n5); }
.scanface::after { width: 18px; height: 3px; bottom: 26px; left: 50%; transform: translateX(-50%); }
.scanline {
  position: absolute; left: -4px; right: -4px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--ember-500), transparent);
  box-shadow: 0 0 12px rgba(255, 90, 44, 0.8);
  animation: scan 2.6s var(--ease) infinite;
}
@keyframes scan {
  0%, 100% { top: 12%; }
  50% { top: 84%; }
}

/* gauge art */
.gauge { position: relative; width: 120px; height: 120px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.gauge__track { stroke: var(--n4); }
.gauge__fill {
  stroke: var(--ember-500);
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  filter: drop-shadow(0 0 6px rgba(255, 90, 44, 0.6));
}
.is-visible .gauge__fill { animation: gaugefill 1.6s var(--ease) 0.3s forwards; }
@keyframes gaugefill { to { stroke-dashoffset: 42.5; } } /* 87% */
.gauge__val {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.gauge__val b { font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1; }
.gauge__val small { font-size: 0.58rem; color: var(--honey-500); margin-top: 3px; }

/* try-on cards art */
.tryon { position: relative; width: 130px; height: 130px; }
.tryon__card {
  position: absolute;
  width: 76px; height: 104px;
  border-radius: 12px;
  border: 1px solid var(--hairline-strong);
  transition: transform 0.4s var(--ease);
}
.tryon__card.c1 { background: linear-gradient(160deg, var(--n3), var(--n2)); left: 0; top: 14px; transform: rotate(-9deg); }
.tryon__card.c2 { background: linear-gradient(160deg, var(--n4), var(--n3)); left: 27px; top: 8px; transform: rotate(-1deg); }
.tryon__card.c3 {
  background: linear-gradient(160deg, var(--ember-wash), var(--n3));
  border-color: var(--ember-500);
  box-shadow: 0 0 18px rgba(255, 90, 44, 0.25);
  left: 54px; top: 2px; transform: rotate(8deg);
}
.step:hover .tryon__card.c1 { transform: rotate(-14deg) translateX(-6px); }
.step:hover .tryon__card.c3 { transform: rotate(12deg) translateX(6px); }

/* ---------- Before / After ---------- */
.bagrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.bacard { border-radius: var(--r-lg); }
.ba {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  cursor: ew-resize;
  touch-action: pan-y;
  --split: 50%;
}
.ba img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  user-select: none; -webkit-user-select: none;
}
.ba__beforewrap {
  position: absolute; inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.ba__handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--split);
  width: 2px; margin-left: -1px;
  background: var(--n9);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--n9);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.ba__handle span::before {
  content: '◂ ▸';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; color: var(--n0);
  letter-spacing: 1px;
}
.ba__tag {
  position: absolute; top: 12px;
  font-size: 0.56rem; font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  pointer-events: none;
}
.ba__tag--before { left: 12px; background: rgba(16, 14, 11, 0.7); color: var(--n8); }
.ba__tag--after { right: 12px; background: var(--ember-500); color: var(--on-accent); }
.bacard figcaption {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 6px 0;
}
.bacard figcaption .mono { font-size: 0.62rem; font-weight: 700; color: var(--honey-500); }
.bacard figcaption b { font-family: var(--body); font-weight: 500; font-size: 0.8rem; color: var(--n6); }

/* ---------- Aura section ---------- */
.section--aura { max-width: 1240px; }
.aura__wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: clamp(36px, 5vw, 72px);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(255, 90, 44, 0.07) 0%, transparent 60%),
    var(--glass);
}
.aura__copy h2 { margin-bottom: 20px; }
.aura__list { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.aura__list li {
  display: flex; flex-direction: column; gap: 2px;
  padding-left: 18px;
  border-left: 2px solid var(--ember-500);
}
.aura__list b { font-weight: 600; font-size: 1rem; }
.aura__list span { color: var(--n7); font-size: 0.92rem; }
.aura__stage {
  position: relative;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.aura__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 90, 44, 0.25);
}
.aura__ring.r1 { width: 180px; height: 180px; animation: pulse 3.2s var(--ease) infinite; }
.aura__ring.r2 { width: 260px; height: 260px; animation: pulse 3.2s var(--ease) 0.5s infinite; border-color: rgba(255, 90, 44, 0.16); }
.aura__ring.r3 { width: 340px; height: 340px; animation: pulse 3.2s var(--ease) 1s infinite; border-color: rgba(255, 90, 44, 0.09); }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.65; }
}
.aura__meter { display: flex; flex-direction: column; align-items: center; text-align: center; z-index: 1; }
.aura__delta {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(4rem, 8vw, 6rem);
  line-height: 1;
  color: var(--ember-500);
  text-shadow: 0 0 60px rgba(255, 90, 44, 0.5);
}
.aura__label { font-size: 0.62rem; color: var(--n7); margin-top: 10px; line-height: 1.7; }

/* ---------- Studio / phone ---------- */
.section--studio { max-width: 1240px; }
.studio {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.studio__phone { position: relative; display: flex; justify-content: center; }
.studio__glow {
  position: absolute; inset: 10% 20%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 90, 44, 0.22), transparent 70%);
  filter: blur(30px);
  z-index: -1;
}
.phone {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 720 / 960;
  border-radius: 44px;
  border: 8px solid #060504;
  outline: 1px solid var(--n5);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(245, 238, 225, 0.04);
  transform: rotate(-2deg);
}
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone__notch {
  position: absolute; top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 22px;
  background: #060504;
  border-radius: 12px;
  z-index: 2;
}
.studio__copy h2 { margin-bottom: 26px; }
.checklist { display: flex; flex-direction: column; gap: 13px; margin-bottom: 34px; }
.checklist li {
  position: relative;
  padding-left: 32px;
  color: var(--n8);
  font-size: 1rem;
}
.checklist li::before {
  content: '';
  position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ember-wash);
  border: 1px solid var(--ember-500);
}
.checklist li::after {
  content: '';
  position: absolute; left: 5px; top: 8px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--ember-400);
  border-bottom: 2px solid var(--ember-400);
  transform: rotate(-45deg);
}
.studio__quote {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  color: var(--n8);
  padding-left: 20px;
  border-left: 3px solid var(--honey-500);
}

/* ---------- Finale ---------- */
.finale {
  position: relative;
  padding: clamp(100px, 14vw, 180px) var(--gutter);
  text-align: center;
  overflow: hidden;
}
.finale::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 55% at 50% 100%, rgba(255, 90, 44, 0.13) 0%, transparent 70%);
  pointer-events: none;
}
.finale__inner { position: relative; max-width: 640px; margin: 0 auto; }
.finale__icon {
  width: 88px; height: 88px;
  border-radius: 22px;
  margin: 0 auto 34px;
  box-shadow: 0 18px 50px rgba(255, 90, 44, 0.3);
}
.finale h2 { font-size: clamp(2.3rem, 5.4vw, 4rem); margin-bottom: 18px; }
.finale p { color: var(--n7); margin-bottom: 40px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--hairline);
  background: var(--n1);
  padding: 44px var(--gutter);
}
.footer__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 0.9rem; color: var(--n7); transition: color 0.18s; }
.footer__links a:hover { color: var(--ember-400); }
.footer__copy { width: 100%; font-size: 0.6rem; color: var(--n6); margin-top: 8px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.42s; }

/* ---------- Legal / subpages ---------- */
.page {
  max-width: 780px;
  margin: 0 auto;
  padding: 150px var(--gutter) 100px;
}
.page__head { margin-bottom: 48px; }
.page__head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 14px; }
.page__meta { font-size: 0.68rem; color: var(--n6); }
.prose h2 {
  font-size: 1.45rem;
  margin: 44px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--n8); font-size: 0.98rem; }
.prose p { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--ember-400); border-bottom: 1px solid rgba(255, 122, 79, 0.35); }
.prose a:hover { color: var(--ember-300); }
.prose strong { color: var(--n9); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 0.88rem;
}
.prose th, .prose td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--n4);
  color: var(--n8);
  vertical-align: top;
}
.prose th {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--n7);
  background: var(--n2);
}
.prose .callout {
  background: var(--ember-wash);
  border: 1px solid rgba(255, 90, 44, 0.3);
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--n8);
}
.prose .tablewrap { overflow-x: auto; }
.prose .tablewrap table { min-width: 560px; }
.prose h3 {
  font-size: 1.1rem;
  margin: 30px 0 10px;
  color: var(--n9);
}
.prose ol { list-style: decimal; padding-left: 22px; margin-bottom: 14px; }
.prose ul ul { list-style: circle; margin: 8px 0 0; }
.prose__toc li { margin-bottom: 8px; }

/* contact page */
.contactcard {
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--r-xl);
  text-align: center;
  margin-top: 10px;
}
.contactcard h2 { font-size: 1.5rem; margin-bottom: 10px; }
.contactcard p { color: var(--n7); margin-bottom: 28px; max-width: 420px; margin-left: auto; margin-right: auto; }
.contactcard .btn { font-size: 1rem; padding: 14px 30px; }
.contact__alts {
  display: flex; justify-content: center; gap: 26px;
  margin-top: 30px; flex-wrap: wrap;
}
.contact__alts a { font-size: 0.85rem; color: var(--n7); border-bottom: 1px dotted var(--n5); }
.contact__alts a:hover { color: var(--ember-400); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .bagrid { grid-template-columns: repeat(2, 1fr); }
  .aura__wrap { grid-template-columns: 1fr; }
  .aura__stage { min-height: 300px; }
  .studio { grid-template-columns: 1fr; }
  .studio__phone { order: -1; }
}

@media (max-width: 720px) {
  .nav__links, .btn--nav { display: none; }
  .nav__burger { display: flex; }
  .hero { padding-top: 100px; }
  .hero__sub { max-width: 100%; }
  .hero__scrim {
    background:
      linear-gradient(to top, var(--n0) 4%, rgba(16, 14, 11, 0.55) 45%, rgba(16, 14, 11, 0.6) 100%);
  }
  .bagrid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .scanline, .aura__ring, .hero__scrollhint span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gauge__fill { animation: none; stroke-dashoffset: 42.5; }
  * { transition-duration: 0.01ms !important; }
}
