/* ─────────────────────────────────────────────────────────────
   LOFT BRAIN — spec-sheet atelier × editorial dark-luxury
   Themes: dark atelier ink (default) / light paper, via [data-theme]
   ───────────────────────────────────────────────────────────── */

:root {
  --ink: #12110e;
  --ink-2: #1a1814;
  --bone: #e8e0d0;
  --paper: #f3ead8;
  --orange: #c45c26;
  --orange-hot: #d96f34;

  /* semantic theme tokens (dark = default) */
  --bg: var(--ink);
  --bg-2: var(--ink-2);
  --text: var(--bone);
  --mute: #8a8478;
  --hairline: rgba(232, 224, 208, 0.16);
  --hairline-strong: rgba(232, 224, 208, 0.32);
  --grain-op: 0.045;
  --veil-color: rgba(0, 0, 0, 0.42);
  --hero-veil-color: rgba(0, 0, 0, 0.30);
  --glow-op: 1;

  /* ticket card tokens (paper card on ink page) */
  --card-bg: var(--paper);
  --card-fg: var(--ink);
  --card-mute: rgba(18, 17, 14, 0.72);
  --card-line: rgba(18, 17, 14, 0.18);
  --card-head-line: rgba(18, 17, 14, 0.25);
  --card-line-strong: rgba(18, 17, 14, 0.5);
  --card-perf: rgba(18, 17, 14, 0.35);
  --card-stub: rgba(18, 17, 14, 0.045);
  --card-blob: rgba(255, 255, 255, 0.5);
  --notch: var(--ink);

  --serif-display: "Instrument Serif", Georgia, serif;
  --serif-text: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  --bg: var(--paper);
  --bg-2: #ece1cb;
  --text: var(--ink);
  --mute: #6f695b;
  --hairline: rgba(18, 17, 14, 0.18);
  --hairline-strong: rgba(18, 17, 14, 0.34);
  --grain-op: 0.05;
  --veil-color: rgba(18, 17, 14, 0.14);
  --hero-veil-color: rgba(18, 17, 14, 0.10);

  /* ticket inverts: ink card on paper page */
  --card-bg: var(--ink);
  --card-fg: var(--bone);
  --card-mute: rgba(232, 224, 208, 0.7);
  --card-line: rgba(232, 224, 208, 0.2);
  --card-head-line: rgba(232, 224, 208, 0.28);
  --card-line-strong: rgba(232, 224, 208, 0.55);
  --card-perf: rgba(232, 224, 208, 0.4);
  --card-stub: rgba(232, 224, 208, 0.06);
  --card-blob: rgba(255, 255, 255, 0.07);
  --notch: var(--paper);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html.js { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif-text);
  font-weight: 400;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color 0.45s ease, color 0.45s ease;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
em { font-style: italic; }

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

/* Grain + vignette */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 2000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: var(--grain-op);
  animation: grain 9s steps(6) infinite;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: 1999; pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, var(--veil-color) 100%);
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-4%,3%); }
  40% { transform: translate(3%,-5%); }
  60% { transform: translate(-5%,-2%); }
  80% { transform: translate(4%,4%); }
}
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  html { scroll-behavior: auto; }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ── Type utilities ────────────────────────────────────────── */
.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Accessibility ─────────────────────────────────────────── */
.skip {
  position: fixed; top: -4rem; left: 1rem; z-index: 3000;
  background: var(--orange); color: var(--ink);
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.65rem 1.1rem; text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  appearance: none; background: transparent;
  font-family: var(--mono); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  padding: 1.05rem 2rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out),
              color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.btn-pay { background: var(--orange); color: var(--ink); }
.btn-pay:hover { background: var(--orange-hot); transform: translateY(-2px); }
.btn-ghost { border-color: var(--hairline-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.text-link { color: var(--text); text-decoration-color: var(--orange); text-underline-offset: 0.25em; }
.text-link:hover { color: var(--orange-hot); }

/* ── 1 · Mast ──────────────────────────────────────────────── */
.mast {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.85rem var(--gutter);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  transition: background-color 0.45s ease, border-color 0.45s ease;
}
.mast-brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.mast-mark { width: 1.6rem; height: 1.6rem; }
.mast-word { font-family: var(--serif-display); font-size: 1.25rem; letter-spacing: 0.01em; }
.mast-status {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mute);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.mast-status .dot {
  width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: var(--orange); flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.theme-toggle {
  background: none; border: 1px solid var(--hairline-strong);
  color: var(--mute); cursor: pointer;
  font-size: 0.62rem; letter-spacing: 0.18em;
  padding: 0.42rem 0.85rem;
  transition: color 0.3s, border-color 0.3s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--text); }
.mast-nav { margin-left: auto; display: flex; gap: clamp(0.9rem, 2.5vw, 2rem); }
.mast-nav a {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none; color: var(--mute);
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.mast-nav a:hover { color: var(--text); border-bottom-color: var(--orange); }
@media (max-width: 720px) {
  .mast { flex-wrap: wrap; row-gap: 0.4rem; padding-block: 0.7rem; gap: 0.9rem 1.2rem; }
  .mast-status { order: 3; width: 100%; }
  .theme-toggle { margin-left: auto; }
  .mast-nav { margin-left: 0; width: 100%; order: 4; }
  .mast-nav a { font-size: 0.64rem; }
}

/* ── Shared section chrome ─────────────────────────────────── */
main section { scroll-margin-top: 6rem; }
.sec-head {
  max-width: var(--max); margin-inline: auto;
  padding: clamp(5rem, 12vh, 9rem) var(--gutter) clamp(2.5rem, 6vh, 4.5rem);
}
.sec-eyebrow {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: 1rem;
}
.sec-eyebrow::after { content: ""; height: 1px; flex: 1; background: var(--hairline); }
.sec-title {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  line-height: 1.02; letter-spacing: -0.01em;
}
.sec-title em { color: var(--orange); }

/* ── 2 · Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-glow {
  position: absolute; z-index: 1;
  right: -12%; top: 12%;
  width: 52vw; height: 52vw;
  background: radial-gradient(circle, rgba(196, 92, 38, 0.22), transparent 62%);
  filter: blur(48px);
  pointer-events: none;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 3;
  background: radial-gradient(ellipse 110% 90% at 55% 40%, transparent 58%, var(--hero-veil-color) 100%);
  pointer-events: none;
}
.hero-inner {
  flex: 1;
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: stretch;
  max-width: 100rem; width: 100%; margin-inline: auto;
  padding-top: 5rem;
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem, 6vh, 5rem) var(--gutter);
  position: relative; z-index: 2;
}
.spec-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem 1.6rem;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute);
  margin-bottom: clamp(1.5rem, 4vh, 3rem);
}
.spec-row span { display: inline-flex; align-items: center; gap: 0.55rem; }
.spec-row span::before { content: ""; width: 0.4rem; height: 0.4rem; border: 1px solid var(--orange); }
.hero-word {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(4.2rem, 11vw, 9.5rem);
  line-height: 0.92; letter-spacing: -0.02em;
  margin-left: -0.04em;
}
.hero-lede {
  max-width: 34ch;
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.7rem);
  line-height: 1.45; color: var(--text);
  margin-top: clamp(1.5rem, 3.5vh, 2.5rem);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: clamp(2rem, 5vh, 3.2rem); }
.hero-art {
  position: relative; overflow: hidden;
  border-left: 1px solid var(--hairline);
  min-height: 60vh;
}
.hero-art img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
  transform: scale(1.08);
}
.hero-art-tag {
  position: absolute; left: 1.1rem; bottom: 1rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.22em;
  color: var(--bone); opacity: 0.75; text-transform: uppercase;
}
.hero-scrollhint {
  position: relative; z-index: 2;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.3em;
  color: var(--mute); padding: 1.1rem var(--gutter);
  border-top: 1px solid var(--hairline);
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 8.5rem; }
  .hero-art { border-left: 0; border-top: 1px solid var(--hairline); min-height: 0; height: 52vw; max-height: 24rem; }
  .hero-art img { position: static; height: 100%; }
  .hero-glow { right: -30%; top: 30%; width: 90vw; height: 90vw; }
}
/* dark-world art sits intentionally on paper in light theme */
[data-theme="light"] .hero-art,
[data-theme="light"] .job-art img,
[data-theme="light"] .how-plate img,
[data-theme="light"] .step-img {
  border: 1px solid rgba(18, 17, 14, 0.4);
  box-shadow: 0 1.6rem 3.2rem rgba(18, 17, 14, 0.28);
}
[data-theme="light"] .hero-art img { border: 0; box-shadow: none; }

/* ── 3 · The offer ─────────────────────────────────────────── */
.job { position: relative; }
.job-stage {
  position: relative;
  max-width: var(--max); margin-inline: auto;
  padding: 0 var(--gutter) clamp(5rem, 12vh, 9rem);
}
.job-art {
  position: absolute; z-index: 0;
  right: -6%; top: -9%;
  width: clamp(16rem, 34vw, 30rem);
  opacity: 0.9;
  filter: drop-shadow(0 2.5rem 4rem rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.job-art img { border-radius: 0.4rem; }

.ticket {
  position: relative; z-index: 1;
  max-width: 46rem;
  display: grid; grid-template-columns: minmax(0, 1fr) 5.4rem;
  background:
    radial-gradient(ellipse 140% 90% at 20% 0%, var(--card-blob), transparent 55%),
    var(--card-bg);
  color: var(--card-fg);
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.25);
  transition: background-color 0.45s ease, color 0.45s ease;
}
[data-theme="light"] .ticket {
  box-shadow: 0 2.4rem 5rem rgba(18, 17, 14, 0.35), 0 0 0 1px rgba(18, 17, 14, 0.3);
}
/* perforation */
.ticket::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 5.4rem;
  border-left: 2px dashed var(--card-perf);
}
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; z-index: 2;
  left: -0.65rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--notch);
}
.ticket-stub::before { top: -0.65rem; }
.ticket-stub::after { bottom: -0.65rem; }
.ticket-main {
  position: relative; overflow: hidden;
  padding: clamp(1.8rem, 4vw, 3rem);
}
/* pearlescent sheen sweep — pointer:fine + no-preference only */
.ticket-sheen {
  position: absolute; z-index: 3;
  top: -25%; bottom: -25%; left: 0; right: 0;
  background: linear-gradient(105deg,
    transparent 38%,
    rgba(255, 233, 220, 0.16) 44%,
    rgba(215, 240, 228, 0.22) 49%,
    rgba(255, 255, 255, 0.30) 50%,
    rgba(224, 214, 246, 0.20) 52%,
    rgba(255, 214, 190, 0.14) 56%,
    transparent 64%);
  transform: translateX(-130%) skewX(-8deg);
  opacity: 0;
  pointer-events: none;
}
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ticket-sheen { animation: sheen 7.2s cubic-bezier(0.6, 0.05, 0.3, 0.95) infinite; }
}
@keyframes sheen {
  0%   { transform: translateX(-130%) skewX(-8deg); opacity: 0; }
  6%   { opacity: 1; }
  38%  { transform: translateX(130%) skewX(-8deg); opacity: 0.6; }
  42%  { opacity: 0; }
  100% { transform: translateX(130%) skewX(-8deg); opacity: 0; }
}
.ticket-head {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-bottom: 1.1rem; margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--card-head-line);
  color: var(--card-mute);
}
.ticket-price-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.4rem;
}
.ticket-price {
  font-family: var(--serif-display);
  font-size: clamp(3.4rem, 7vw, 5rem);
  line-height: 0.9; color: var(--orange);
  display: flex; align-items: baseline; gap: 0.8rem;
}
.ticket-cur { font-size: 0.72rem; color: var(--card-mute); letter-spacing: 0.2em; }
.ticket-terms { text-align: right; line-height: 1.7; color: var(--card-mute); }
.ticket-blurb {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  line-height: 1.5; font-weight: 500;
  margin-bottom: 1.8rem; max-width: 30ch;
}
.ticket-list li {
  display: flex; gap: 1rem; align-items: baseline;
  padding: 0.75rem 0;
  border-top: 1px solid var(--card-line);
  font-size: 1.02rem; line-height: 1.5;
}
.ticket-list .mono { color: var(--orange); flex: none; }
.ticket-fits {
  margin-top: 1.6rem; padding-top: 1.2rem;
  border-top: 2px solid var(--card-line-strong);
  font-family: var(--serif-display); font-style: italic;
  font-size: 1.25rem;
}
.ticket-stub {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 1.6rem 0;
  background: var(--card-stub);
}
.ticket-stub .stub-line {
  writing-mode: vertical-rl;
  font-size: 0.66rem; color: var(--card-mute);
  letter-spacing: 0.3em;
}
@media (max-width: 720px) {
  .job-art { position: relative; inset: auto; width: min(78%, 22rem); margin: 0 auto -3.2rem; }
  .ticket { grid-template-columns: minmax(0, 1fr) 3.4rem; }
  .ticket::before { right: 3.4rem; }
  .ticket-stub .stub-line { font-size: 0.56rem; }
}
@media (max-width: 460px) {
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket::before {
    top: auto; bottom: 3.2rem; left: 0; right: 0;
    border-left: 0; border-top: 2px dashed var(--card-perf);
  }
  .ticket-stub {
    flex-direction: row; flex-wrap: wrap; justify-content: center;
    gap: 0.4rem 1.2rem;
    padding: 1rem 1.2rem; min-height: 3.2rem;
  }
  .ticket-stub .stub-line { writing-mode: horizontal-tb; letter-spacing: 0.2em; }
  .ticket-stub::before { top: -0.65rem; left: -0.65rem; }
  .ticket-stub::after { top: -0.65rem; bottom: auto; left: auto; right: -0.65rem; }
}

/* ── 4 · How ───────────────────────────────────────────────── */
.how-grid {
  max-width: var(--max); margin-inline: auto;
  padding: 0 var(--gutter) clamp(5rem, 12vh, 9rem);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.how-visual { position: relative; }
.js .how-visual {
  position: sticky; top: 16vh;
  height: 68vh; min-height: 24rem;
}
.how-plate { margin-bottom: 1.5rem; }
.how-plate img {
  width: 100%; aspect-ratio: 1400 / 851; object-fit: cover;
  border: 1px solid var(--hairline);
}
.how-plate figcaption { margin-top: 0.6rem; color: var(--mute); }
.js .how-plate {
  position: absolute; inset: 0; margin: 0;
  display: flex; flex-direction: column;
}
.js .how-plate img { flex: 1; min-height: 0; }
.how-steps { counter-reset: step; }
.step { padding: clamp(2rem, 5vh, 3.5rem) 0; }
.js .step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; }
.step + .step { border-top: 1px solid var(--hairline); }
.step-no { color: var(--orange); margin-bottom: 0.9rem; }
.step-title {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1;
  margin-bottom: 1.1rem;
}
.step-body { max-width: 44ch; color: var(--text); }
.step-img { display: none; margin-bottom: 1.6rem; border: 1px solid var(--hairline); }
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-visual { display: none !important; }
  .js .step { min-height: 0; }
  .step-img { display: block; }
}

/* ── 5 · Will not ──────────────────────────────────────────── */
.willnot {
  background: var(--bg-2);
  border-block: 1px solid var(--hairline);
  transition: background-color 0.45s ease, border-color 0.45s ease;
}
.willnot-list {
  max-width: var(--max); margin-inline: auto;
  padding: 0 var(--gutter) clamp(5rem, 12vh, 9rem);
}
.willnot-list li {
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1.5rem; align-items: baseline;
  padding: 1.7rem 0;
  border-top: 1px solid var(--hairline-strong);
}
.willnot-list li:last-child { border-bottom: 1px solid var(--hairline-strong); }
.wn-no { color: var(--orange); }
.willnot-list p {
  font-family: var(--serif-display);
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
  line-height: 1.32;
}
@media (max-width: 640px) {
  .willnot-list li { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ── 6 · Week one log ──────────────────────────────────────── */
.log-table {
  max-width: var(--max); margin-inline: auto;
  padding: 0 var(--gutter) clamp(5rem, 12vh, 9rem);
}
.log-row {
  display: grid; grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr);
  gap: 1.5rem; align-items: baseline;
  padding: 1.05rem 0;
  border-top: 1px solid var(--hairline);
}
.log-row:last-child { border-bottom: 1px solid var(--hairline); }
.log-row dt { color: var(--mute); }
.log-row dd { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); font-family: var(--serif-display); }
@media (max-width: 640px) {
  .log-row { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* ── 7 · Start ─────────────────────────────────────────────── */
.start {
  background: var(--bg-2);
  border-top: 1px solid var(--hairline);
  transition: background-color 0.45s ease, border-color 0.45s ease;
}
.start-grid {
  max-width: var(--max); margin-inline: auto;
  padding: 0 var(--gutter) clamp(6rem, 14vh, 10rem);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.start-pay { position: sticky; top: 18vh; }
.start-pay-label { color: var(--mute); margin-bottom: 1.2rem; }
.btn-big {
  width: 100%;
  font-size: clamp(1rem, 0.85rem + 0.8vw, 1.25rem);
  padding: 1.6rem 1.5rem;
  white-space: nowrap;
}
.start-pay-note { margin-top: 1.2rem; color: var(--mute); font-size: 0.95rem; max-width: 32ch; }

.start-form { display: flex; flex-direction: column; gap: 1.6rem; }
.field label, .field legend {
  display: block;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute);
  margin-bottom: 0.7rem;
}
.field input[type="text"], .field textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--hairline-strong);
  color: var(--text);
  font-family: var(--serif-text); font-size: 1.25rem; line-height: 1.5;
  padding: 0.55rem 0.1rem;
  transition: border-color 0.3s;
  resize: vertical;
}
.field input[type="text"]:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--orange);
}
.field ::placeholder { color: var(--mute); opacity: 0.6; font-style: italic; }
.field-radio { border: 0; display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; }
.field-radio legend { margin-bottom: 0.7rem; width: 100%; }
.radio { display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer; font-size: 1.1rem; }
.radio input { appearance: none; width: 1rem; height: 1rem; border: 1px solid var(--hairline-strong); border-radius: 50%; flex: none; cursor: pointer; transition: 0.25s; }
.radio input:checked { border-color: var(--orange); background: var(--orange); box-shadow: inset 0 0 0 3px var(--bg-2); }
.radio input:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.btn-submit { align-self: flex-start; }
.form-note { color: var(--mute); font-size: 0.92rem; max-width: 44ch; }
@media (max-width: 900px) {
  .start-grid { grid-template-columns: 1fr; }
  .start-pay { position: static; }
}

/* ── 8 · Footer ────────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--hairline);
  max-width: var(--max); margin-inline: auto;
  padding: 2.5rem var(--gutter) 7rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem;
}
.foot-line:first-child { font-family: var(--serif-display); font-style: italic; font-size: 1.2rem; }
.foot-line.mono { color: var(--mute); font-size: 0.7rem; align-self: center; }

/* ── Persistent buy bar ────────────────────────────────────── */
.buybar { display: none; }
body.buybar-ready .buybar {
  display: block;
  position: fixed; z-index: 1500;
  left: 0; right: 0; bottom: 0;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--hairline);
  transform: translateY(110%);
  transition: transform 0.5s var(--ease-out), background-color 0.45s ease, border-color 0.45s ease;
}
body.buybar-ready .buybar.is-on { transform: translateY(0); }
.buybar-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  text-decoration: none; max-width: var(--max); margin-inline: auto;
}
.buybar-meta { color: var(--mute); font-size: 0.62rem; }
.buybar-actions { display: inline-flex; align-items: center; gap: 0.9rem; }
.buybar-price { color: var(--text); font-size: 0.8rem; letter-spacing: 0.1em; }
.buybar-cta {
  font-family: var(--mono); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--orange); color: var(--ink);
  padding: 0.75rem 1.4rem;
  transition: background 0.3s;
}
.buybar-link:hover .buybar-cta { background: var(--orange-hot); }
/* one-time attention pulse on first reveal — pointer:fine + no-preference only */
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .buybar.pulse .buybar-actions { animation: buyPulse 0.9s var(--ease-out) 1 0.45s; }
}
@keyframes buyPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
@media (max-width: 560px) {
  .buybar-meta { display: none; }
  .buybar-link { justify-content: flex-end; }
}
@media (min-width: 900px) {
  body.buybar-ready .buybar {
    left: auto; right: 1.4rem; bottom: 1.4rem;
    padding: 0; border: 1px solid var(--hairline);
    border-radius: 999px; overflow: hidden;
    transform: translateY(160%);
  }
  .buybar-link { gap: 1.2rem; padding-left: 1.3rem; }
  .buybar-cta { border-radius: 999px; margin: 0.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  body.buybar-ready .buybar { transition: none; }
}

/* ── Conversion + live-service components ──────────────────── */

/* Price chip in the hero spec row */
.spec-price {
  font-size: 0.95rem; color: var(--orange) !important;
  border: 1px solid var(--orange);
  padding: 0.4rem 0.8rem;
  letter-spacing: 0.14em;
}
.spec-price::before { display: none; }

/* Mono capacity chip — honest scarcity */
.chip {
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1px solid var(--hairline-strong);
  color: var(--text);
  padding: 0.55rem 0.9rem;
  font-size: 0.64rem;
  width: fit-content;
}
.chip::before { content: ""; width: 0.4rem; height: 0.4rem; background: var(--orange); flex: none; }

/* Risk reversal — refund-of-fee only */
.risk-line {
  color: var(--mute);
  font-size: 0.98rem; line-height: 1.55;
  max-width: 44ch;
  border-left: 2px solid var(--orange);
  padding-left: 0.9rem;
}

.hero-assure {
  display: flex; flex-direction: column; gap: 1.1rem;
  margin-top: clamp(1.6rem, 4vh, 2.4rem);
}

/* Ticket (card) variants */
.ticket-chip { margin-top: 1.6rem; color: var(--card-mute); border-color: var(--card-perf); }
.ticket-meta { margin-top: 0.9rem; color: var(--card-mute); font-size: 0.62rem; letter-spacing: 0.2em; }
.ticket-btn { margin-top: 1rem; width: 100%; }
.ticket-risk { margin-top: 1.2rem; color: var(--card-mute); }

/* Start: recap strip at the point of payment */
.recap {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem;
  padding-bottom: 1.4rem; margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--hairline);
  color: var(--text); font-size: 0.68rem;
}
.recap li { display: inline-flex; align-items: center; gap: 0.55rem; }
.recap li::before { content: "✓"; color: var(--orange); font-size: 0.8rem; }
.start-chip { margin-top: 1.3rem; }
.start-pay .risk-line { margin-top: 1.2rem; }

/* Booking block (Cal.com inline) — hidden unless CAL_LINK set */
.book {
  max-width: var(--max); margin-inline: auto;
  padding: 0 var(--gutter) clamp(6rem, 14vh, 10rem);
}
.book-label { color: var(--orange); margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem; }
.book-label::after { content: ""; height: 1px; flex: 1; background: var(--hairline); }
.book-title {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem); line-height: 1.05;
  margin-bottom: 0.8rem;
}
.book-note { color: var(--mute); font-size: 0.95rem; max-width: 52ch; margin-bottom: 1.8rem; }
.book-cal {
  border: 1px solid var(--hairline);
  background: var(--bg);
  min-height: 12rem;
}
.book-cal iframe { border: 0; }

/* Form async states */
.form-status:empty { display: none; }
.form-status { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.btn-submit[disabled] { opacity: 0.55; cursor: wait; transform: none; }
