/* ────────────────────────────────────────────────────────────────
   PHOTOCATCHER · participant flow
   World: attrion DS v1.0 (binding) — ink/graphite/fog, one lime,
   DM Sans display, Hanken Grotesk body, JetBrains Mono for data.
   Grammar: the contact sheet — numbered frames, perforation rules,
   one emptied center per beat. Tokens per DESIGN.md frontmatter.
   ──────────────────────────────────────────────────────────────── */

:root {
  --ink: #0E1114;
  --graphite: #15191C;
  --graphite-2: #1A1F23;
  --graphite-3: #232A2F;
  --line: #2C353B;
  --line-2: #3A444B;
  --fog-deep: #3E464C;
  --fog: #5B6770;
  --fog-light: #7E8993;
  --fog-mute: #A8B0B6;
  --bone: #F4F4F2;
  --lime: #C5F23E;
  --lime-deep: #A8D62F;
  --warn: #E8A93B;
  --stop: #E63946;
  --stop-text: #F26A75; /* 5.97:1 on graphite — text tint; the spine/icon keep #E63946 */
  --info: #5BC5D9;

  /* stage colors: functional labels only (naming competition phases), never decorative */
  --stage-strength: #D97A2F;
  --stage-endurance: #3D7A6C;
  --stage-hybrid: #5BC5D9;
  --stage-x: #C5C9CE;

  --text-hi: var(--bone);
  --text-md: rgba(244, 244, 242, .78);
  --text-lo: rgba(244, 244, 242, .55);
  --text-faint: rgba(244, 244, 242, .34); /* decorative only, never copy */

  --ff-display: "DM Sans", system-ui, sans-serif;
  --ff-body: "Hanken Grotesk", "Codec Pro", system-ui, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-2: 2px;
  --r-4: 4px;
  --r-6: 6px;
  --r-pill: 999px;

  --e-glow: 0 0 0 1px rgba(197, 242, 62, .35), 0 0 24px -4px rgba(197, 242, 62, .4);

  --dur-fast: 120ms;
  --dur-base: 200ms;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(91, 103, 112, .22), transparent 60%),
    var(--ink);
  color: var(--text-hi);
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
}

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

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

a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--bone); }

/* ── type utilities ─────────────────────────────────────────── */

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }

.label {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-lo);
  font-weight: 500;
}

.lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-hi);
  text-wrap: pretty;
  max-width: 640px;
}
.small { font-size: 12.5px; color: var(--text-lo); text-wrap: pretty; }
.mono { font-family: var(--ff-mono); letter-spacing: .04em; font-variant-numeric: tabular-nums; }

/* ── shell ──────────────────────────────────────────────────── */

.site-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--bone);
}
.brand:hover { color: var(--bone); }
.brand .tt { color: var(--lime); }
.brand .dot { color: var(--lime); }
.site-head .meta {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-lo);
  white-space: nowrap;
}

main { flex: 1; display: flex; flex-direction: column; }

.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.site-foot {
  border-top: 1px solid var(--line);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-lo);
}

/* ── buttons ────────────────────────────────────────────────── */

.btn {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -.005em;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-2);
  background: var(--bone);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast),
    border-color var(--dur-fast), transform var(--dur-fast);
}
.btn:hover { transform: translateY(-1px); color: var(--ink); }
.btn:active { transform: translateY(0); }
.btn .arrow { display: inline-flex; transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn.primary { background: var(--lime); color: var(--ink); }
.btn.primary:hover { background: var(--lime-deep); }
.btn.primary:focus-visible { outline: none; box-shadow: var(--e-glow); }

.btn.secondary { background: transparent; color: var(--bone); border-color: var(--line-2); }
.btn.secondary:hover { border-color: var(--bone); background: rgba(244, 244, 242, .04); color: var(--bone); }
.btn.secondary:focus-visible { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(197, 242, 62, .12); }

.btn.ghost { background: transparent; color: var(--text-md); }
.btn.ghost:hover { color: var(--bone); background: var(--graphite-2); }

.btn.lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn[disabled] { opacity: .35; pointer-events: none; }

/* ── the frame (signature) ──────────────────────────────────── */

.frame {
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: var(--r-6);
  overflow: hidden;
}
.frame-head {
  padding: 16px 24px 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.frame-num {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.frame-num .alt { color: var(--text-lo); }
.perf {
  height: 4px;
  background-image: repeating-linear-gradient(90deg, var(--fog-deep) 0 4px, transparent 4px 12px);
  opacity: .5;
}
.frame-body { padding: 32px 24px; display: flex; flex-direction: column; gap: 20px; }

/* ── hero (home front door) ─────────────────────────────────── */

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center 40%;
  background-size: cover;
  filter: blur(1.4px) saturate(.7);
  opacity: .42;
  mix-blend-mode: luminosity;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 17, 20, .55) 0%, rgba(14, 17, 20, .2) 35%, rgba(14, 17, 20, .95) 100%),
    linear-gradient(90deg, rgba(14, 17, 20, .7) 0%, rgba(14, 17, 20, 0) 50%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 24px clamp(24px, 6vw, 64px) 40px;
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 32px;
}
/* how-it-works, folded into the hero: one mono line, three verbs */
.steps-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  list-style: none;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 244, 242, .12);
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-lo);
}
.steps-inline .n { color: var(--lime); margin-right: 6px; }
.steps-inline .sep { color: var(--fog); }
.hero-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-lo);
}
.hero-top b { color: var(--lime); font-weight: 500; }
.hero-mid {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
}
.hero-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(40px, 9vw, 96px);
  line-height: .92;
  letter-spacing: -.04em;
  color: var(--bone);
  text-wrap: balance;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ── hero bottom bar: previous events without leaving the fold ── */

.hero-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 16px clamp(24px, 6vw, 64px);
  border-top: 1px solid rgba(244, 244, 242, .12);
}
.hero-bar .hb-label {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-lo);
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-bar .hb-links {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hero-bar .hb-links::-webkit-scrollbar { display: none; }
.hero-bar a {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-md);
  white-space: nowrap;
}
.hero-bar a .arr { color: var(--fog); }
.hero-bar a:hover { color: var(--bone); }
.hero-bar a:hover .arr { color: var(--lime); }

/* ── explainer sections: full-width asymmetric beats ────────── */

.section { border-bottom: 1px solid var(--line); }
.step-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px clamp(24px, 6vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px clamp(48px, 8vw, 128px);
  align-items: start;
}
.step-grid .col-l { display: flex; flex-direction: column; gap: 16px; }
.step-grid .col-r { display: flex; flex-direction: column; gap: 20px; padding-top: 6px; }
.section.loose .step-grid { padding-top: 128px; padding-bottom: 128px; }
.step-label {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 500;
}
.step-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.022em;
  color: var(--bone);
  text-wrap: balance;
}
.step-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-md);
  text-wrap: pretty;
  max-width: 56ch;
}
.section-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* ── attrion brand section ──────────────────────────────────── */

.brand { border-bottom: 0; background: var(--graphite); }
.brand-inner { padding: 128px 24px; gap: 28px; }
.stages { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.stage-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 14px 0 10px;
  border-radius: var(--r-2);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--graphite-2);
  color: var(--bone);
  border: 1px solid var(--line);
}
.stage-chip .sq { width: 14px; height: 14px; border-radius: 2px; }
.stage-chip.strength .sq { background: var(--stage-strength); }
.stage-chip.endurance .sq { background: var(--stage-endurance); }
.stage-chip.hybrid .sq { background: var(--stage-hybrid); }
.stage-chip.x .sq { background: var(--stage-x); }
.brand-facts {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--text-lo);
}

/* step 02 gets more air around the big number */
.section.loose .section-inner { padding-top: 128px; padding-bottom: 128px; }
.brand-photo {
  position: relative;
  height: clamp(240px, 44vh, 420px);
  background-position: center 40%;
  background-size: cover;
  overflow: hidden;
}
.brand-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(1.4px) saturate(.7);
}
.brand-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 17, 20, .45) 0%, rgba(14, 17, 20, .15) 40%, rgba(14, 17, 20, .9) 100%);
}
.brand-mark {
  position: absolute;
  left: clamp(24px, 6vw, 64px);
  bottom: 24px;
  z-index: 2;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(56px, 10vw, 96px);
  letter-spacing: -.045em;
  line-height: .9;
  color: var(--bone);
}
.brand-mark .tt { color: var(--lime); }
.brand-mark .dot { color: var(--bone); }

/* ── the empty frame (upload) ───────────────────────────────── */

.empty-frame {
  position: relative;
  border: 1.5px dashed var(--fog);
  border-radius: var(--r-4);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 24px;
  text-align: center;
  background: var(--ink);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out);
}
/* viewfinder corners */
.empty-frame::before,
.empty-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--fog-light);
  pointer-events: none;
}
.empty-frame::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.empty-frame::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.empty-frame .wm {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 88px;
  letter-spacing: -.08em;
  line-height: 1;
  color: var(--lime);
  opacity: .08;
  user-select: none;
}
.empty-frame .cue {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-lo);
}
.empty-frame .spec {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-lo);
}
.empty-frame.filled { border-style: solid; border-color: var(--lime); }
.empty-frame.filled .wm, .empty-frame.filled .cue, .empty-frame.filled .spec { display: none; }
/* keyboard: the clipped file input lights its own frame */
.empty-frame:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(197, 242, 62, .12); }
.empty-frame .sr-file:focus-visible ~ .btn { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(197, 242, 62, .12); }
.empty-frame .preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.empty-frame.filled .preview { display: block; }

.file-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.file-name {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--text-lo);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
}

/* native input: visually hidden but focusable */
.sr-file {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

/* ── consent ────────────────────────────────────────────────── */

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-md);
  cursor: pointer;
  max-width: 480px;
}
.check input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}
.check .box {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: var(--graphite-2);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.check input:checked + .box { background: var(--lime); border-color: var(--lime); }
.check input:checked + .box::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg) translateY(-1px);
}
.check input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(197, 242, 62, .12); border-color: var(--lime); }

/* ── errors / alerts ────────────────────────────────────────── */

.field-error {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--stop-text);
}

.alert {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-4);
  background: var(--graphite-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime); /* DS alert device: the 3px spine is the world's own */
  align-items: flex-start;
}
.alert .ic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 12px;
  font-family: var(--ff-display);
}
.alert .ttl { font-family: var(--ff-display); font-weight: 600; font-size: 14px; color: var(--bone); display: block; }
.alert .txt { font-size: 14px; color: var(--text-md); display: block; margin-top: 2px; }
.alert.warn { border-left-color: var(--warn); }
.alert.warn .ic { background: var(--warn); color: var(--ink); }
.alert.stop { border-left-color: var(--stop); }
.alert.stop .ic { background: var(--stop); color: var(--bone); }

/* ── status: pills, development strip, result ───────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding: 0 12px;
  background: var(--graphite-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-md);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fog); }
.pill.go { color: var(--lime); border-color: rgba(197, 242, 62, .35); background: rgba(197, 242, 62, .06); }
.pill.go .dot { background: var(--lime); }
.pill.warn { color: var(--warn); border-color: rgba(232, 169, 59, .35); background: rgba(232, 169, 59, .06); }
.pill.warn .dot { background: var(--warn); }
.pill.stop { color: var(--stop); border-color: rgba(230, 57, 70, .35); background: rgba(230, 57, 70, .06); }
.pill.stop .dot { background: var(--stop); }
.pill.info { color: var(--info); border-color: rgba(91, 197, 217, .35); background: rgba(91, 197, 217, .06); }
.pill.info .dot { background: var(--info); }

.devstrip .segs { display: flex; gap: 4px; }
.devstrip .seg { flex: 1; height: 6px; background: var(--graphite-2); border-radius: var(--r-pill); }
.devstrip .seg.on { background: var(--lime); }
.devstrip .seg.live {
  background: var(--lime);
  animation: segpulse 1.6s var(--ease-out) infinite;
}
@keyframes segpulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.devstrip .labs {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-lo);
}
.devstrip .labs .on { color: var(--bone); }

.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0;
}
.stat .k {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
}
.stat .v {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(56px, 14vw, 88px);
  letter-spacing: -.03em;
  line-height: .9;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.stat .d { font-family: var(--ff-mono); font-size: 10.5px; color: var(--text-lo); letter-spacing: .1em; }

/* ── spinner / htmx ─────────────────────────────────────────── */

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--line-2);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
.htmx-indicator { opacity: 0; transition: opacity var(--dur-base); }
.htmx-request .htmx-indicator { opacity: 1; }
.htmx-request.htmx-indicator { opacity: 1; }

/* ── small layout helpers ───────────────────────────────────── */

.label-block { margin-bottom: 16px; display: block; }

.frame-headline { display: flex; flex-direction: column; gap: 8px; }
.frame-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -.022em;
  color: var(--bone);
  text-wrap: balance;
}

.submit-row { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.empty-frame .btn { pointer-events: none; }

.btn.glow { box-shadow: var(--e-glow); }

/* ── empty state ────────────────────────────────────────────── */

.empty-state {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}
.empty-state .tick { display: inline-block; width: 28px; height: 3px; background: var(--lime); }
.empty-state h2 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -.022em;
  line-height: 1.05;
  color: var(--bone);
}

/* ── responsive / motion prefs ──────────────────────────────── */

@media (max-width: 640px) {
  .hero { min-height: 100svh; }
  .frame-body { padding: 24px 18px; }
  .site-head .meta { display: none; }
  .step-grid { grid-template-columns: 1fr; gap: 20px; padding: 64px 24px; }
  .section.loose .step-grid { padding-top: 80px; padding-bottom: 80px; }
  .brand-inner { padding: 80px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .devstrip .seg.live { animation: none; }
  .spinner { animation-duration: 2s; }
  .btn, .btn .arrow { transition: none; }
}
