/* Riverbend Fall Classic, demo. Soft black ground, one face, autumn gold as the only accent. */
/* Clash Grotesk by Indian Type Foundry, via Fontshare (ITF Free Font License). */
@font-face { font-family: "Clash Grotesk"; src: url("/assets/fonts/clash-grotesk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("/assets/fonts/clash-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root {
  --bg: #111111;
  --surface: #1b1b1a;
  --surface-2: #252523;
  --ink: #f2f2f2;
  --muted: #a3a3a3;
  --accent: #d9a63c;
  --accent-ink: #111111;
  --field: #2f5a35;
  --field-ink: #f2f2f2;
  --good: #8fbf8a;
  --bad: #ff8a7a;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 0.95rem + 1.2vw, 2rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3rem, 13.2vw, 15rem);

  --margin: clamp(20px, 5vw, 72px);
  --gap: clamp(16px, 2vw, 28px);
  --section: clamp(96px, 12vw, 200px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Clash Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: var(--step-body);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.03em; line-height: 0.98; margin: 0; }
h1, h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0 0 1em; max-width: 62ch; }
b, strong { font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: var(--step-small); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap { padding-inline: var(--margin); max-width: 1600px; margin-inline: auto; }
.narrow { max-width: calc(720px + 2 * var(--margin)); margin-inline: 0; }

/* Header: wordmark, a few links, one action */
.site-head { position: relative; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { text-decoration: none; font-weight: 500; font-size: var(--step-body); letter-spacing: -0.01em; white-space: nowrap; }
.brand span { color: var(--muted); font-weight: 400; }
.nav { display: flex; gap: clamp(14px, 2.4vw, 32px); align-items: center; }
.nav a { text-decoration: none; font-size: var(--step-small); color: var(--muted); padding: 12px 0; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.go { color: var(--accent-ink); background: var(--accent); padding: 12px 18px; transition: background .2s, transform .2s var(--ease-out); }
.nav a.go:hover { background: #e8b955; }
.nav a.go:active { transform: scale(.97); }
.page-index .site-head { position: absolute; inset: 0 0 auto 0; }
.page-index .site-head .nav a:not(.go) { color: #e9e5de; }
@media (max-width: 560px) {
  .nav a.hide-sm, .brand span { display: none; }
}

main { display: block; }
.page-main { padding-block: clamp(32px, 5vw, 72px) var(--section); }

/* Buttons: flat, square, one fill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border: 0; border-radius: 0;
  font: inherit; font-size: var(--step-body); font-weight: 500;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s var(--ease-out);
}
.btn:hover { background: #e8b955; }
.btn:active { transform: scale(.98); }
.btn.secondary { background: var(--surface-2); color: var(--ink); }
.btn.secondary:hover { background: #31302d; }
.btn.dark { background: var(--ink); color: var(--bg); }
.btn.dark:hover { background: #ffffff; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.textlink { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; transition: color .2s; }
.textlink:hover { color: var(--accent); }

/* Status words: plain text, no chips */
.pill { font-size: var(--step-small); color: var(--muted); white-space: nowrap; }
.pill.paid { color: var(--good); }
.pill.unpaid, .pill.new { color: var(--accent); }
.pill.live { color: var(--bad); }
.pill.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* ================= HOME ================= */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #0c0c0c; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (max-aspect-ratio: 1/1) { .hero img { object-position: 74% 50%; } }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 62%; /* taste-skill-ignore: neutral scrim under text */ background: linear-gradient(to top, rgba(10,10,10,.88), rgba(10,10,10,0)); pointer-events: none; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto 0; height: 160px; /* taste-skill-ignore: neutral scrim under the navigation */ background: linear-gradient(to bottom, rgba(10,10,10,.6), rgba(10,10,10,0)); pointer-events: none; }
.hero-text { position: absolute; z-index: 2; left: var(--margin); right: var(--margin); bottom: clamp(20px, 3vw, 40px); }
.hero h1 { font-size: var(--step-display); line-height: .86; letter-spacing: -0.045em; margin-left: -0.05em; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-top: clamp(16px, 2vw, 28px); }
.hero-meta p { font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.02em; margin: 0; max-width: 30ch; }
.hero-meta p span { color: #d3cec6; }
.lines .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.lines [data-line] { display: block; }

.intro { padding-block: var(--section); }
.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.intro .statement { grid-column: 7 / 13; font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.015em; text-indent: 3em; max-width: none; margin: 0; }
.intro .statement-more { grid-column: 7 / 12; margin: 32px 0 0; }
.intro figure { grid-column: 1 / 5; grid-row: 2 / 4; margin: 0; overflow: hidden; }
.intro figure img { aspect-ratio: 1; object-fit: cover; width: 100%; filter: grayscale(1) contrast(1.05); }
.intro .note { grid-column: 1 / 4; grid-row: 4; font-size: var(--step-small); color: var(--muted); margin-top: 4px; max-width: 30ch; }
@media (max-width: 760px) {
  .intro .statement { grid-column: 1 / -1; text-indent: 0; }
  .intro .statement-more { grid-column: 1 / -1; }
  .intro figure { grid-column: 5 / -1; grid-row: 3; margin-top: 40px; }
  .intro figure img { aspect-ratio: 4 / 5; }
  .intro .note { grid-column: 1 / 5; grid-row: 3; align-self: end; margin: 0; }
}

.steps-diag { padding-bottom: var(--section); }
.steps-diag .grid12 { align-items: start; }
.steps-diag h2 { grid-column: 7 / 13; grid-row: 1; align-self: start; }
.stage { display: contents; }
.stage figure { margin: 0; overflow: hidden; }
.stage img { width: 100%; object-fit: cover; }
.stage p { max-width: 36ch; }
.stage p b { display: block; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 10px; font-weight: 400; }
.s1 figure { grid-column: 1 / 5; grid-row: 1 / 3; } .s1 img { aspect-ratio: 3 / 4; }
.s1 p { grid-column: 5 / 8; grid-row: 2; }
.s2 figure { grid-column: 6 / 9; grid-row: 3; margin-top: 40px; } .s2 img { aspect-ratio: 1; filter: grayscale(1) contrast(1.05); }
.s2 p { grid-column: 9 / 12; grid-row: 3; margin-top: 40px; }
.s3 figure { grid-column: 7 / 13; grid-row: 4; margin-top: 100px; } .s3 img { aspect-ratio: 16 / 10; }
.s3 p { grid-column: 2 / 6; grid-row: 4; margin-top: 100px; }
@media (max-width: 760px) {
  .steps-diag .grid12 { display: block; }
  .steps-diag h2 { margin-bottom: 32px; }
  .stage { display: block; margin-bottom: 56px; }
  .stage p { margin-top: 16px !important; }
  .s2 figure { width: 62%; margin: 0 0 0 auto; }
  .s3 figure { width: 78%; margin: 0; }
  .s2 p { margin-left: 38%; }
}

.band { padding-bottom: var(--section); }
.band h2 { margin: 0 0 48px; padding-left: calc(var(--margin) + 16.6%); }
.band-row { display: flex; height: 68svh; min-height: 420px; }
.band-row figure { position: relative; margin: 0; flex: 2 1 0; overflow: hidden; transition: flex-grow .5s var(--ease-out); }
.band-row figure:nth-child(1) { flex-grow: 5; } .band-row figure:nth-child(3) { flex-grow: 3; }
.band-row figure img, .band-row figure video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-row figure:hover { flex-grow: 6; }
.band-row .title { position: absolute; top: 0; left: 0; padding: 24px 32px 48px 24px; background: linear-gradient(160deg, rgba(10,10,10,.8), rgba(10,10,10,0) 75%); font-size: var(--step-lead); line-height: 1.1; letter-spacing: -0.02em; margin: 0; } /* taste-skill-ignore: neutral scrim under text */
.band .caption { padding-inline: var(--margin); margin-top: 16px; color: var(--muted); font-size: var(--step-small); }
@media (max-width: 760px) {
  .band h2 { padding-left: var(--margin); }
  .band-row { flex-wrap: wrap; height: 84svh; }
  .band-row figure { height: 50%; }
  .band-row figure:nth-child(1) { flex: 0 0 64%; } .band-row figure:nth-child(2) { flex: 0 0 36%; }
  .band-row figure:nth-child(3) { flex: 0 0 36%; } .band-row figure:nth-child(4) { flex: 0 0 64%; }
}

/* The live thing: find your team */
.finder { padding-bottom: var(--section); }
.finder .grid12 { align-items: start; }
.finder .map { grid-column: 1 / 6; position: sticky; top: 10vh; margin: 0; }
.mapbox { position: relative; aspect-ratio: 1; background: #0d0d0d; overflow: hidden; }
.mapbox img { width: 100%; height: 100%; object-fit: cover; }
.mapbox .hl { position: absolute; width: 34%; height: 34%; border-radius: 50%; background: rgba(217, 166, 60, .30); opacity: 0; transform: translate(-50%, -50%) scale(.8); transition: opacity .35s, transform .5s var(--ease-out), left .45s var(--ease-out), top .45s var(--ease-out); pointer-events: none; }
.mapbox .hl.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.mapbox .lbl { position: absolute; font-size: var(--step-small); font-weight: 500; color: #fff; transform: translate(-50%, -50%); padding: 3px 8px; background: rgba(10,10,10,.6); white-space: nowrap; transition: background .3s, color .3s; }
.mapbox .lbl.on { background: var(--accent); color: var(--accent-ink); }
.finder .side { grid-column: 7 / 12; }
.finder h2 { margin-bottom: 20px; }
.finder .pick { display: grid; gap: 8px; margin: 0 0 28px; }
.finder .pick label { font-size: var(--step-small); color: var(--muted); }
.answer { min-height: 2.6em; font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 32px; max-width: 26ch; }
.answer em { font-style: normal; color: var(--accent); }
.fieldlist { list-style: none; padding: 0; margin: 0; }
.fieldlist button {
  width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  min-height: 60px; padding: 14px 0; background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; text-align: left;
  transition: color .25s;
}
.fieldlist .n { font-size: var(--step-lead); letter-spacing: -0.02em; }
.fieldlist .d { font-size: var(--step-small); }
.fieldlist li.on button, .fieldlist button:hover { color: var(--ink); }
.fieldlist .desc { display: none; color: var(--muted); max-width: 40ch; margin: -2px 0 18px; }
.fieldlist li.on .desc { display: block; }
@media (max-width: 760px) {
  .finder .grid12 { display: block; }
  .finder .map { position: static; margin: 0 0 28px; }
  .finder .mapbox { aspect-ratio: auto; height: 38svh; }
}

/* Prices like a menu */
.menu { padding-bottom: var(--section); }
.menu .head { grid-column: 1 / 4; }
.menu .head img { margin-top: 32px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.menu .cols { grid-column: 5 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; align-content: start; }
.menu .group { padding-bottom: 56px; }
.menu .group:nth-child(3) { grid-column: 1; grid-row: 2; }
.menu .group h3 { font-weight: 500; margin-bottom: 18px; }
.menu .item { margin-bottom: 22px; }
.menu .row { display: flex; justify-content: space-between; gap: 16px; }
.menu .item p { color: var(--muted); font-size: var(--step-small); margin: 4px 0 0; max-width: 36ch; }
.menu .sample { grid-column: 5 / 13; color: var(--muted); font-size: var(--step-small); }
@media (max-width: 760px) {
  .menu .grid12 { display: block; }
  .menu .head img { width: 60%; margin-bottom: 40px; }
  .menu .cols { display: block; }
}

/* FAQ beside a tall photograph */
.faq { background: var(--surface); padding-top: var(--section); }
.faq .grid12 { align-items: start; }
.faq .left { grid-column: 1 / 6; padding-bottom: var(--section); }
.faq .facts { margin: 28px 0 40px; }
.faq .facts p { margin: 0 0 6px; }
.faq details { margin-bottom: 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 44px; font-size: var(--step-lead); letter-spacing: -0.015em; line-height: 1.15; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { color: var(--muted); margin: 10px 0 0; max-width: 46ch; }
.faq .actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 40px; }
.faq .right { grid-column: 7 / 13; position: relative; margin-top: calc(-1 * var(--section) - 80px); margin-bottom: 80px; }
.faq .right .tall { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.faq .right .sq { position: absolute; width: 34%; aspect-ratio: 1; object-fit: cover; left: -40px; bottom: -40px; filter: grayscale(1) contrast(1.05); }
@media (max-width: 760px) {
  .faq .grid12 { display: flex; flex-direction: column-reverse; }
  .faq .right { margin: 0 0 72px; width: 100%; }
  .faq .right .tall { aspect-ratio: 4 / 5; }
  .faq .right .sq { left: auto; right: 0; bottom: -36px; width: 38%; }
  .faq .actions .btn { width: 100%; }
}

/* Footer: contact as the headline, on the clay field */
.site-foot { background: var(--field); color: var(--field-ink); padding: 40px var(--margin) 28px; display: flex; flex-direction: column; min-height: 90svh; }
.page-sub .site-foot { min-height: 0; }
.site-foot a { color: var(--field-ink); }
.foot-top { display: flex; justify-content: space-between; gap: 24px; font-size: var(--step-small); }
.foot-top p { margin: 0 0 4px; }
.foot-top .notes { display: grid; grid-template-columns: repeat(3, minmax(0, 240px)); gap: 24px; }
.foot-mail { margin-top: auto; padding-top: 96px; font-size: clamp(2.4rem, 7.6vw, 8.4rem); line-height: .92; letter-spacing: -0.045em; text-decoration: none; display: block; max-width: none; }
.foot-mail:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.foot-mail span { display: block; }
.foot-meta { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 32px; font-size: var(--step-small); }
.foot-meta p { margin: 0; max-width: 64ch; }
.foot-meta a, .foot-top a { display: inline-block; padding: 6px 0; }
.demo-note { font-weight: 500; }
@media (max-width: 760px) {
  .foot-top { flex-direction: column; }
  .foot-top .notes { grid-template-columns: 1fr; gap: 12px; }
  .foot-mail { font-size: 9.4vw; }
  .foot-meta { flex-direction: column; }
}

/* ================= INNER PAGES ================= */
.page-title { font-size: var(--step-head); margin-bottom: 16px; max-width: 18ch; }
.lede { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.015em; color: var(--muted); max-width: 34ch; margin-bottom: 40px; }
.page-main section + section { margin-top: clamp(64px, 8vw, 120px); }
.split { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 7fr 5fr; gap: 64px; } }
.card { background: var(--surface); padding: clamp(20px, 3vw, 36px); }

/* Steps: words, not numbers */
.steps { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0 0 40px; font-size: var(--step-small); color: var(--muted); }
.steps li.on { color: var(--ink); }
.steps li.done { color: var(--good); }

/* Forms (field lines allowed) */
.field { margin-bottom: 26px; }
.field > label, fieldset legend { display: block; margin-bottom: 8px; }
.hint { font-size: var(--step-small); color: var(--muted); margin: -4px 0 8px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], select {
  width: 100%; min-height: 54px; padding: 14px 16px; font: inherit; color: var(--ink);
  background: var(--surface); border: 0; border-bottom: 2px solid #3a3936; border-radius: 0; appearance: none;
  transition: border-color .2s, background-color .2s;
}
input::placeholder { color: #8a867f; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23f2f0ec' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
input:hover, select:hover { background-color: var(--surface-2); }
input:focus, select:focus { outline: none; border-bottom-color: var(--accent); background-color: var(--surface-2); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-bottom-color: var(--bad); }
.err { color: var(--bad); font-size: var(--step-small); margin-top: 8px; display: none; }
.err.show { display: block; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
fieldset legend { padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg label { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 76px; padding: 12px 16px; background: var(--surface); cursor: pointer; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.1; transition: background .2s; }
.seg label span { font-size: var(--step-small); color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.seg label:hover { background: var(--surface-2); }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--accent); color: var(--accent-ink); }
.seg label:has(input:checked) span { color: #3a2a08; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
fieldset[aria-invalid="true"] .seg label { border-bottom: 2px solid var(--bad); }
.stepper { display: grid; grid-template-columns: 56px 1fr 56px; gap: 6px; }
.stepper button { min-height: 54px; border: 0; border-radius: 0; background: var(--surface-2); color: var(--ink); font-size: 1.4rem; cursor: pointer; transition: background .2s; }
.stepper button:hover { background: #33322f; }
.stepper input { text-align: center; }
.form-summary { background: #2a1714; color: #ffc9c0; padding: 16px 18px; margin-bottom: 28px; display: none; }
.form-summary.show { display: block; }
.form-summary ul { margin: 8px 0 0; padding-left: 20px; }
.form-summary a { color: #ffc9c0; }
.sticky-cta { position: sticky; bottom: 0; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: var(--bg); margin-top: 8px; }
.reg-aside img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.reg-aside p { color: var(--muted); font-size: var(--step-small); margin-top: 12px; }
@media (max-width: 899px) { .reg-aside { display: none; } }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
.kv dt { color: var(--muted); font-size: var(--step-small); padding-top: 3px; }
.kv dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 24px -20px -20px; padding: 18px 20px; font-size: var(--step-lead); letter-spacing: -0.02em; background: var(--surface-2); }
.stripe-box { background: var(--surface); padding: 6px 20px; margin: 16px 0; }
.stripe-box .row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; }
.test-badge { color: var(--accent); font-size: var(--step-small); }
.notice { color: var(--muted); font-size: var(--step-small); }

/* Confirmation + email */
.big-check { color: var(--good); margin-bottom: 18px; }
.email { background: #f4f1ec; color: #1a1917; }
.email-head { padding: 16px 20px; background: #e8e3db; font-size: var(--step-small); display: grid; gap: 4px; }
.email-head b { display: inline-block; min-width: 64px; color: #5d5a54; font-weight: 400; }
.email-banner { background: var(--field); color: var(--field-ink); padding: 28px 24px; }
.email-banner p { margin: 0 0 6px; font-size: var(--step-small); }
.email-banner h3 { font-size: var(--step-head); }
.email-inner { padding: 24px; }
.email-inner .kv dt, .email-inner .muted { color: #5d5a54; }
.email-inner .kv dd { text-align: left; }
.email .btn { background: #1a1917; color: #f4f1ec; }
@media (max-width: 420px) { .email-inner .kv { grid-template-columns: 1fr; gap: 0; } .email-inner .kv dd { margin-bottom: 10px; } }

/* Tabs */
.tabs { display: inline-flex; gap: 4px; margin-bottom: 40px; }
.tabs button { border: 0; border-radius: 0; background: var(--surface); color: var(--muted); font: inherit; font-size: var(--step-lead); letter-spacing: -0.02em; padding: 10px 26px; min-height: 52px; cursor: pointer; transition: background .2s, color .2s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }

/* Standings (a real table: lines allowed) */
.pools { display: grid; gap: 48px var(--gap); grid-template-columns: 1fr; }
@media (min-width: 900px) { .pools { grid-template-columns: 1fr 1fr; gap: 48px 64px; } }
.pools h3 { margin-bottom: 14px; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: var(--step-small); font-weight: 400; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid #3a3936; }
td { padding: 12px 6px; border-bottom: 1px solid #262522; }
td.num, th.num { text-align: right; width: 3.6rem; }
.seed { display: inline-block; min-width: 1.7em; color: var(--muted); font-size: var(--step-small); }
.team-cell { display: flex; align-items: baseline; }
details.games { margin-top: 14px; }
details.games summary { cursor: pointer; color: var(--accent); min-height: 40px; display: flex; align-items: center; font-size: var(--step-small); }
.game-line { display: grid; grid-template-columns: 5rem 1fr auto; gap: 8px; font-size: var(--step-small); padding: 8px 0; }

/* Bracket */
.bracket { display: grid; gap: 40px; grid-template-columns: 1fr; margin-top: 24px; }
.round h3 { font-size: var(--step-small); color: var(--muted); letter-spacing: 0; margin-bottom: 14px; }
.round .matches { display: grid; gap: 8px; }
.match { background: var(--surface); transition: background .2s; }
.match:hover { background: var(--surface-2); }
.match .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: var(--step-small); color: var(--muted); padding: 12px 16px 4px; }
.slot { display: flex; align-items: baseline; gap: 6px; padding: 8px 16px; min-height: 44px; }
.slot:last-child { padding-bottom: 14px; }
.slot .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot .score { min-width: 1.6rem; text-align: right; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1; }
.slot.win .score { color: var(--accent); }
.slot.lose { color: var(--muted); }
.slot.tbd .name { color: var(--muted); }
.champ { padding: 24px 16px; background: var(--field); color: var(--field-ink); font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.1; }
.champ small { display: block; font-size: var(--step-small); letter-spacing: 0; margin-top: 6px; }
@media (min-width: 960px) {
  .bracket { grid-template-columns: 1.1fr 1.1fr 1fr; gap: 40px; }
  .round { display: flex; flex-direction: column; }
  .round .matches { flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
}

/* Fields page */
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--step-small); color: var(--muted); margin-top: 14px; }
.facts-list { list-style: none; padding: 0; margin: 0; }
.facts-list li { padding: 0 0 22px; }
.facts-list b { display: block; font-size: var(--step-lead); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 4px; }
.filters { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 24px 0 32px; }
@media (min-width: 640px) { .filters { grid-template-columns: repeat(3, 1fr); } }
.filters label { font-size: var(--step-small); color: var(--muted); display: block; margin-bottom: 6px; }
.timeslot { margin-bottom: 36px; }
.timeslot h3 { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; }
.timeslot h3 span + span { font-size: var(--step-small); color: var(--muted); letter-spacing: 0; }
.sched-row { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: var(--surface); margin-bottom: 4px; }
.sched-row .fld span { display: block; color: var(--muted); font-size: var(--step-small); }
.sched-row .teams { min-width: 0; }
.sched-row .teams div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sched-row .sc { text-align: right; }
.empty { padding: 32px; text-align: center; color: var(--muted); }

/* Operator */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin-bottom: 40px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: 18px 20px 22px; }
.stat span { font-size: var(--step-small); color: var(--muted); }
.stat b { display: block; font-size: var(--step-head); font-weight: 400; letter-spacing: -0.03em; line-height: 1; margin-top: 10px; }
.toolbar { display: grid; gap: 6px; grid-template-columns: 1fr 1fr; margin-bottom: 18px; }
.toolbar .search, .toolbar .btn { grid-column: 1 / -1; }
@media (min-width: 760px) { .toolbar { grid-template-columns: 2fr 1fr 1fr auto; } .toolbar .search, .toolbar .btn { grid-column: auto; } }
.reg-list { display: grid; gap: 4px; }
.reg { background: var(--surface); padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; transition: background .2s; }
.reg:hover { background: var(--surface-2); }
.reg .t { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.15; }
.reg .sub { font-size: var(--step-small); color: var(--muted); grid-column: 1 / -1; overflow-wrap: anywhere; }
.reg .actions { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.reg .actions button { font: inherit; font-size: var(--step-small); border: 0; border-radius: 0; padding: 8px 14px; min-height: 40px; background: var(--surface-2); color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.reg .actions button:hover { background: var(--accent); color: var(--accent-ink); }
.reg.is-new { border-left: 4px solid var(--accent); }
@media (min-width: 1000px) {
  .reg { grid-template-columns: minmax(220px, 1.1fr) 3fr 16rem 5.5rem; align-items: center; gap: 20px; }
  .reg > :nth-child(2) { grid-column: 4; grid-row: 1; text-align: right; }
  .reg .sub { grid-column: 2; grid-row: 1; }
  .reg .actions { grid-column: 3; grid-row: 1; margin: 0; justify-content: flex-end; flex-wrap: nowrap; }
}
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 14px 20px; font-size: var(--step-small); max-width: calc(100% - 32px); z-index: 20; }

/* ================= MOTION ================= */
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 110ms); }
  .js .hero-meta { opacity: 0; animation: fade-up 700ms var(--ease-out) 420ms forwards; }
  .js .hero img { animation: drift 26s ease-in-out 1.2s infinite alternate; transform-origin: 70% 55%; }
  .js [data-reveal] > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
  .js [data-reveal] > :nth-child(2) { transition-delay: 80ms; }
  .js [data-reveal] > :nth-child(3) { transition-delay: 160ms; }
  .js [data-reveal] > :nth-child(4) { transition-delay: 240ms; }
  .js [data-reveal] > :nth-child(n+5) { transition-delay: 300ms; }
  .js [data-reveal].in > * { opacity: 1; transform: none; }
  .stage img, .intro figure img, .faq .right .tall { transition: transform 1.2s var(--ease-out); }
  .stage figure:hover img, .intro figure:hover img { transform: scale(1.04); }
}
@keyframes line-up { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
