/* ==========================================================================
   盛世名星 SSMX · 舞蹈教育与舞台运营
   base.css —— 设计系统 / 布局 / 通用组件
   纯静态、零外部依赖。所有颜色、间距、字体可在 :root 内一处改动。
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

img, svg, video { display: block; max-width: 100%; }

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl { margin: 0; }

ul, ol { padding: 0; list-style: none; }

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: #0A0A0B;
}

:focus-visible {
  outline: 1px solid var(--gold-2);
  outline-offset: 3px;
}

/* ---------- 2. Tokens ---------- */
:root {
  /* 色板：品牌金沿用小程序主色 #B08D57 */
  --ink: #0A0A0B;
  --ink-2: #0E0E10;
  --panel: #131316;
  --panel-2: #18181C;
  --cream: #F2ECE1;
  --cream-dim: rgba(242, 236, 225, .66);
  --cream-mute: rgba(242, 236, 225, .52);
  --gold: #B08D57;
  --gold-2: #D7B98A;
  --gold-3: #8A6C3E;
  --line: rgba(242, 236, 225, .13);
  --line-soft: rgba(242, 236, 225, .07);
  --line-gold: rgba(176, 141, 87, .45);

  /* 字体：中文标题用宋体，英文装饰用 Didot / Baskerville，正文苹方 */
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --font-display: "Didot", "Baskerville", "Songti SC", Georgia, serif;

  /* 尺度 */
  --shell: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 74px;
  --radius: 2px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 3. Typography ---------- */
.display {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(42px, 7.4vw, 104px);
  line-height: .98;
  letter-spacing: -.02em;
}

.h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.12;
  letter-spacing: -.01em;
}

.h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
}

.lead {
  font-size: clamp(15px, 1.35vw, 17.5px);
  line-height: 1.85;
  color: var(--cream-dim);
  font-weight: 300;
}

.dim { color: var(--cream-dim); }
.mute { color: var(--cream-mute); }
.gold { color: var(--gold-2); }

.en {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.num {
  font-family: var(--font-display);
  font-feature-settings: "lnum" 1;
  letter-spacing: .02em;
}

/* ---------- 4. Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 140px);
}

.section--tight { padding-block: clamp(48px, 6vw, 84px); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* 章节头：序号 + 标签 + 标题 + 说明 */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--line-gold);
  flex: none;
}

.eyebrow i {
  font-style: normal;
  font-family: var(--font-display);
  color: var(--cream-mute);
  letter-spacing: .12em;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 56px);
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head .h2 { max-width: 20ch; }

.section-head .lead {
  max-width: 42ch;
  padding-bottom: 6px;
}

/* ---------- 5. Scroll progress ---------- */
.progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2));
  z-index: 90;
  pointer-events: none;
}

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease), height .4s var(--ease);
}

.site-header.is-stuck {
  background: rgba(10, 10, 11, .78);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-gold);
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .04em;
  background: linear-gradient(145deg, rgba(176, 141, 87, .18), rgba(176, 141, 87, 0));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__cn {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: .22em;
  font-weight: 600;
}

.brand__en {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .34em;
  color: var(--cream-mute);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
}

.nav a {
  position: relative;
  font-size: 13.5px;
  letter-spacing: .1em;
  color: var(--cream-dim);
  padding-block: 6px;
  transition: color .3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .45s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--cream); }

.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { flex: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--cream);
  transition: transform .35s var(--ease), opacity .2s;
}

/* ---------- 7. Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  --btn-bd: var(--line-gold);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 13px;
  letter-spacing: .16em;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: color .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}

.btn svg { width: 14px; height: 14px; flex: none; }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  z-index: -1;
}

.btn:hover { color: #0A0A0B; border-color: var(--gold); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(1px); }

.btn--solid {
  --btn-bg: var(--gold);
  --btn-fg: #0A0A0B;
  --btn-bd: var(--gold);
}

.btn--solid::after { background: var(--cream); }
.btn--solid:hover { color: #0A0A0B; }

.btn--ghost { --btn-bd: var(--line); }

.btn--sm { padding: 11px 20px; font-size: 12px; letter-spacing: .12em; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--gold-2);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: gap .4s var(--ease), border-color .4s var(--ease);
}

.link-arrow:hover { gap: 18px; border-bottom-color: var(--line-gold); }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(90% 70% at 78% 8%, rgba(176, 141, 87, .22), transparent 62%),
    radial-gradient(60% 50% at 10% 90%, rgba(120, 90, 52, .16), transparent 70%),
    linear-gradient(180deg, #0B0B0C 0%, #0A0A0B 58%, #08080A 100%);
}

/* 舞台光束 */
.hero__beam {
  position: absolute;
  z-index: -1;
  top: -30%;
  right: 4%;
  width: 62vw;
  height: 150vh;
  background: conic-gradient(from 200deg at 50% 0%, transparent 0deg, rgba(215, 185, 138, .14) 8deg, transparent 22deg, transparent 46deg, rgba(215, 185, 138, .08) 54deg, transparent 68deg);
  filter: blur(6px);
  transform: rotate(-6deg);
  opacity: .85;
  animation: beamDrift 18s ease-in-out infinite alternate;
}

@keyframes beamDrift {
  from { transform: rotate(-8deg) translate3d(-2%, 0, 0); opacity: .65; }
  to   { transform: rotate(-2deg) translate3d(2%, 2%, 0); opacity: .95; }
}

/* 细网格 + 颗粒 */
.grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(242, 236, 225, .045) 1px, transparent 1px);
  background-size: 25% 100%;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .38;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: clamp(20px, 3vw, 34px);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream-mute);
}

.hero__meta span:first-child { color: var(--gold-2); }

.hero__meta i {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

.hero h1 {
  margin-bottom: 26px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-2);
}

.hero__desc {
  max-width: 46ch;
  font-size: clamp(14.5px, 1.3vw, 17px);
  line-height: 1.9;
  color: var(--cream-dim);
  font-weight: 300;
  margin-bottom: clamp(28px, 3.6vw, 42px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  padding-bottom: 8px;
  text-align: right;
}

.hero__side .vert {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--cream-mute);
}

.hero__side .scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--cream-mute);
  text-transform: uppercase;
}

.hero__side .scroll-hint::after {
  content: "";
  width: 1px;
  height: 62px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: hintPulse 2.6s var(--ease) infinite;
  transform-origin: top;
}

@keyframes hintPulse {
  0%, 100% { transform: scaleY(.4); opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* hero 底部数据条 */
.hero__stats {
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero__stats div {
  padding: 26px 0;
  border-right: 1px solid var(--line-soft);
}

.hero__stats div:last-child { border-right: 0; }

.hero__stats strong sup {
  font-size: .45em;
  color: var(--gold-2);
  margin-left: 1px;
  top: -.7em;
}

.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: .01em;
}

.hero__stats small {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--cream-mute);
  text-transform: uppercase;
}

/* ---------- 9. Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line-soft);
  padding-block: 16px;
  overflow: hidden;
  white-space: nowrap;
  background: var(--ink-2);
}

.marquee__track {
  display: inline-flex;
  gap: 0;
  animation: marquee 34s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.marquee__track span::after {
  content: "✦";
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- 10. Cards / grids ---------- */
.grid { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cell {
  position: relative;
  background: var(--ink);
  padding: clamp(26px, 3vw, 42px);
  transition: background .5s var(--ease);
  overflow: hidden;
}

.cell:hover { background: var(--panel); }

.cell__no {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: auto;
}

.cell p { color: var(--cream-dim); font-size: 14.5px; font-weight: 300; }

/* 课程卡（可点击） */
.course {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 300px;
  background: var(--ink);
  padding: clamp(26px, 3vw, 38px);
  overflow: hidden;
  transition: background .55s var(--ease);
}

.course::before {
  content: "";
  position: absolute;
  inset: auto auto -40% -20%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(176, 141, 87, .28), transparent 65%);
  opacity: 0;
  transition: opacity .6s var(--ease), transform .8s var(--ease);
  transform: translate3d(0, 20px, 0);
  pointer-events: none;
}

.course:hover { background: var(--panel); }
.course:hover::before { opacity: 1; transform: translate3d(0, 0, 0); }

.course__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.course__no {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--gold);
}

.course__tag {
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--cream-mute);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.course h3 { font-size: 24px; }

.course h3 + .en {
  display: block;
  font-size: 10.5px;
  color: var(--cream-mute);
  margin-top: 8px;
}

.course p { font-size: 14px; color: var(--cream-dim); line-height: 1.8; font-weight: 300; }

.course__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--cream-mute);
}

.course__foot b { color: var(--cream); font-weight: 500; font-size: 15px; }

/* 通用图文块 */
.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

/* 数字统计（区块内） */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}

.stats > div {
  background: var(--ink);
  padding: clamp(22px, 2.6vw, 34px) clamp(16px, 2vw, 26px);
}

.stats b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 10px;
}

.stats b i { font-style: normal; color: var(--gold); font-size: .5em; margin-left: 2px; }

.stats span {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--cream-mute);
  text-transform: uppercase;
}

/* 列表行（导师 / 案例 / FAQ） */
.rows { border-top: 1px solid var(--line); }

.row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.4fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  padding-block: clamp(18px, 2.2vw, 28px);
  border-bottom: 1px solid var(--line);
  transition: background .45s var(--ease), padding .45s var(--ease);
}

.row:hover { background: rgba(255, 255, 255, .022); }

.row__no { font-family: var(--font-display); font-size: 12px; color: var(--gold); letter-spacing: .18em; }
.row__name { font-family: var(--font-serif); font-size: clamp(17px, 1.6vw, 21px); }
.row__name small { display: block; font-family: var(--font-display); font-style: italic; font-size: 10.5px; letter-spacing: .18em; color: var(--cream-mute); margin-top: 4px; text-transform: uppercase; }
.row__meta { font-size: 13px; color: var(--cream-dim); font-weight: 300; }
.row__tag { font-size: 11px; letter-spacing: .14em; color: var(--gold-2); border: 1px solid var(--line-gold); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }

/* 引文 */
.quote {
  position: relative;
  padding: clamp(36px, 5vw, 64px);
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(176, 141, 87, .07), transparent 55%);
}

.quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.5;
  letter-spacing: -.01em;
}

.quote figcaption {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--cream-mute);
}

/* ---------- 11. Tabs / Table ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.tab {
  padding: 10px 20px;
  font-size: 12.5px;
  letter-spacing: .12em;
  border: 1px solid var(--line);
  color: var(--cream-dim);
  border-radius: 999px;
  transition: all .35s var(--ease);
}

.tab:hover { color: var(--cream); border-color: var(--line-gold); }

.tab[aria-selected="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #0A0A0B;
}

.table-wrap { overflow-x: auto; }

.schedule {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 14px;
}

.schedule th {
  text-align: left;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--gold-2);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-gold);
  white-space: nowrap;
}

.schedule td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--cream-dim);
  font-weight: 300;
}

.schedule tr:hover td { background: rgba(255, 255, 255, .02); color: var(--cream); }
.schedule td strong { color: var(--cream); font-weight: 500; }
.schedule .pill {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: .12em;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream-mute);
}
.schedule .pill--open { border-color: var(--line-gold); color: var(--gold-2); }
.schedule .pill--few { border-color: rgba(215, 185, 138, .3); color: #E0C48F; }

.tab-panel[hidden] { display: none; }

/* ---------- 12. Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  counter-reset: step;
}

.step {
  background: var(--ink);
  padding: clamp(24px, 2.6vw, 36px);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--gold);
  display: block;
  margin-bottom: 28px;
}

.step h3 { font-size: 17px; font-family: var(--font-serif); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--cream-dim); font-weight: 300; }

/* ---------- 13. Form ---------- */
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--cream-mute);
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--cream);
  transition: border-color .3s var(--ease), background .3s var(--ease);
  width: 100%;
}

.field textarea { resize: vertical; min-height: 96px; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(242, 236, 225, .3); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(176, 141, 87, .06);
}

.field select { appearance: none; cursor: pointer; }
.field select option { background: #141416; color: var(--cream); }

.field .err {
  font-size: 11.5px;
  color: #E0A08F;
  min-height: 1em;
  letter-spacing: .02em;
}

.field.has-error input,
.field.has-error select { border-color: #B4654F; }

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
}

.form__note { font-size: 12px; color: var(--cream-mute); }

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  position: relative;
  cursor: pointer;
  display: inline-flex;
}

.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.chip span {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--cream-dim);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

.chip:hover span { border-color: var(--line-gold); color: var(--cream); }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: #0A0A0B; }
.chip input:focus-visible + span { outline: 1px solid var(--gold-2); outline-offset: 2px; }

.form-status {
  grid-column: 1 / -1;
  display: none;
  border: 1px solid var(--line-gold);
  background: rgba(176, 141, 87, .1);
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--gold-2);
}

.form-status.is-on { display: block; }

/* ---------- 14. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 80px);
  background: linear-gradient(180deg, var(--ink) 0%, #070708 100%);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .8fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.footer__brand .brand { margin-bottom: 20px; }
.footer__brand p { font-size: 13.5px; color: var(--cream-dim); max-width: 34ch; font-weight: 300; }

.footer__col h4 {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--gold-2);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 400;
}

.footer__col li { margin-bottom: 10px; }
.footer__col a,
.footer__col span { font-size: 13.5px; color: var(--cream-dim); transition: color .3s; }
.footer__col a:hover { color: var(--gold-2); }

.footer__word {
  font-family: var(--font-display);
  font-size: clamp(40px, 12vw, 168px);
  line-height: .82;
  letter-spacing: .02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 236, 225, .13);
  text-align: center;
  padding-block: clamp(10px, 2vw, 24px);
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--cream-mute);
}

.footer__bottom a:hover { color: var(--cream); }

/* ---------- 15. Reveal / motion ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track,
  .hero__beam,
  .hero__side .scroll-hint::after { animation: none !important; }
}

/* ---------- 16. Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 48px minmax(0, 1.2fr) minmax(0, 1fr) auto; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px var(--gutter) 26px;
    background: rgba(10, 10, 11, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
  }

  .nav a { width: 100%; padding-block: 15px; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }

  body.nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  body.nav-open { overflow: hidden; }

  .nav-toggle { display: flex; }

  .header-cta { display: none; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__side { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats div:nth-child(2n) { border-right: 0; }
  .hero__stats div { border-bottom: 1px solid var(--line-soft); }

  .split { grid-template-columns: 1fr; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 8px; padding-block: 20px; }
  .row__tag { justify-self: start; margin-top: 6px; }
  .footer__top { grid-template-columns: 1fr; }
  .grid-lines { background-size: 50% 100%; }
  .quote { padding: 28px; }
}

@media (max-width: 560px) {
  .section { padding-block: 64px; }
  .hero { min-height: 92svh; }
  .btn { padding: 14px 22px; font-size: 12.5px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .footer__word { letter-spacing: 0; }
}
