/* CombatSportsTickets — shared components and public pages. Every value comes from tokens.css. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cst-bg);
  color: var(--cst-text-2);
  font-family: var(--cst-font);
  font-weight: var(--cst-body-wght);
  font-stretch: calc(var(--cst-body-wdth) * 1%);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--cst-text); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; color: var(--cst-text); }
p { margin: 0 0 var(--cst-s3); }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--cst-red); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--cst-maxw); margin: 0 auto; padding: 0 var(--cst-gutter); }
.skip-link {
  position: absolute; left: var(--cst-s2); top: -100px; z-index: 100;
  background: var(--cst-text); color: var(--cst-bg); padding: var(--cst-s2) var(--cst-s4); font-weight: 700;
}
.skip-link:focus { top: var(--cst-s2); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Type roles ---------- */
.display-xl, .display-l, .display-m {
  font-weight: var(--cst-display-wght);
  font-stretch: calc(var(--cst-display-wdth) * 1%);
  text-transform: uppercase;
  color: var(--cst-text);
}
.display-xl { font-size: clamp(2.5rem, 11vw, 5.5rem); letter-spacing: -0.015em; line-height: 0.92; }
.display-l  { font-size: clamp(2rem, 8vw, 3.5rem); letter-spacing: -0.015em; line-height: 0.95; }
.display-m  { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 800; font-stretch: 70%; letter-spacing: -0.01em; line-height: 1; }
.kicker {
  font-size: 0.75rem; font-weight: 600; font-stretch: 100%; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--cst-text-2);
}
.kicker--red { color: var(--cst-red); }
.label {
  font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--cst-text-2);
}
.strong { font-weight: 600; color: var(--cst-text); }
.num { font-weight: 500; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.micro { font-size: 0.75rem; color: var(--cst-text-3); }
.muted { color: var(--cst-text-2); }

.cst-display-slant { transform: skewX(-5deg); transform-origin: left bottom; }

/* ---------- Angles (chrome only) ---------- */
.cst-cut { clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.cst-cut-br { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.cst-accent-rule::before {
  content: ""; display: block; width: 48px; height: 4px; background: var(--cst-red);
  transform: skewX(-20deg); transform-origin: left; margin-bottom: var(--cst-s3);
  animation: cst-wipe var(--cst-dur) var(--cst-ease) both;
}
@keyframes cst-wipe { from { transform: skewX(-20deg) scaleX(0); } to { transform: skewX(-20deg) scaleX(1); } }
.cst-hero { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 28px)); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cst-bg);
  border-bottom: 1px solid var(--cst-border);
  box-shadow: 0 2px 0 var(--cst-red);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--cst-s3);
  min-height: 60px; transition: min-height var(--cst-dur) var(--cst-ease);
}
.site-header.is-compact .site-header__bar { min-height: 48px; }
.wordmark-link { display: inline-flex; align-items: center; min-height: var(--cst-tap); }
.wordmark { height: 22px; width: auto; display: block; }
.site-header.is-compact .wordmark { height: 18px; }
.wm-a, .wm-b {
  font-family: var(--cst-font); font-weight: 900; font-stretch: 62%; font-size: 24px; letter-spacing: -0.01em;
}
.wm-a { fill: var(--cst-text); }
.wm-b { fill: var(--cst-red); }
.wm-strike { fill: var(--cst-red); }
.wm-ring { fill: none; stroke: var(--cst-text); stroke-width: 2.8; }
.site-nav { display: flex; gap: var(--cst-s2); }
.site-nav a {
  display: inline-flex; align-items: center; min-height: var(--cst-tap); padding: 0 var(--cst-s2);
  text-transform: uppercase; font-weight: 600; letter-spacing: 0.06em; font-size: 0.8125rem;
  color: var(--cst-text-2); text-decoration: none;
}
.site-nav a:hover { color: var(--cst-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--cst-s2);
  min-height: var(--cst-control-h); padding: 0 var(--cst-s5);
  border: 1px solid transparent; border-radius: var(--cst-radius); background: transparent;
  font-weight: 700; font-stretch: 85%; font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.04em;
  line-height: 1.1; text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color var(--cst-dur-fast) var(--cst-ease), border-color var(--cst-dur-fast) var(--cst-ease), color var(--cst-dur-fast) var(--cst-ease);
}
.btn-primary { background: var(--cst-red); color: var(--cst-on-red); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.btn-primary:hover { background: var(--cst-red-hover); }
/* clip-path clips outlines, so clipped buttons draw their focus ring inside */
.btn-primary:focus-visible { outline: 2px solid var(--cst-on-red); outline-offset: -5px; }
.btn-secondary { background: var(--cst-button-2); border-color: var(--cst-button-2); color: var(--cst-on-button-2); box-shadow: var(--cst-shadow); }
.btn-secondary:hover { background: var(--cst-button-2-hover); border-color: var(--cst-button-2-hover); }
.btn-tertiary {
  min-height: var(--cst-tap); padding: 0 var(--cst-s1); color: var(--cst-text-2);
  text-transform: none; letter-spacing: 0; font-weight: 600; font-stretch: 100%;
  background-image: linear-gradient(var(--cst-red), var(--cst-red)); background-size: 0 2px;
  background-position: left bottom 8px; background-repeat: no-repeat;
  transition: background-size var(--cst-dur) var(--cst-ease), color var(--cst-dur-fast);
}
.btn-tertiary::after { content: "›"; font-size: 1.2em; }
.btn-tertiary:hover { color: var(--cst-text); background-size: calc(100% - 1em) 2px; }
.btn-danger { border-color: var(--cst-danger); color: var(--cst-danger); background: transparent; }
.btn-danger:hover { background: var(--cst-red-dim); }
.btn-gold { border-color: var(--cst-gold); color: var(--cst-gold); }
.btn-gold:hover { background: var(--cst-gold-dim); }
.btn-block { display: flex; width: 100%; }
.btn-lg { min-height: 60px; font-size: 1.125rem; }
.btn-sm { min-height: var(--cst-tap); padding: 0 var(--cst-s4); font-size: 0.8125rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
@media (min-width: 1024px) { .btn { min-height: var(--cst-tap); } .btn-lg { min-height: 56px; } }

/* ---------- Status pills ---------- */
.pill {
  display: inline-block; padding: 4px 10px; white-space: nowrap;
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.4;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.pill--available { background: var(--cst-available-dim); color: var(--cst-available); }
.pill--held      { background: var(--cst-held-dim); color: var(--cst-held); }
.pill--sold      { background: var(--cst-sold-dim); color: var(--cst-text-2); }
.pill--comped    { background: var(--cst-comped-dim); color: var(--cst-comped); }
.pill--returned  { background: var(--cst-surface-2); color: var(--cst-text-3); }

/* ---------- Cards ---------- */
.card {
  display: block; background: var(--cst-surface); border: 1px solid var(--cst-border);
  border-radius: var(--cst-radius); box-shadow: var(--cst-shadow); text-decoration: none; color: inherit;
  transition: background-color var(--cst-dur) var(--cst-ease), border-color var(--cst-dur) var(--cst-ease);
}
a.card:hover { background: var(--cst-surface-2); border-color: var(--cst-border-strong); }
a.card img { transition: transform var(--cst-dur) var(--cst-ease); }
a.card:hover img { transform: scale(1.03); }

/* ---------- Images and fallbacks ---------- */
.photo { filter: saturate(0.85) contrast(1.08); object-fit: cover; }
/* Fighter photos keep the face in frame: crop from the top, never the middle. */
.hero__img, .fighter-mini__photo, .fighter-hero__headshot, .img-preview { object-position: center top; }
.initials {
  display: grid; place-items: center; background: var(--cst-surface-2); color: var(--cst-text);
  font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 1;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: min(72vh, 620px); background: var(--cst-hero-bg);
}
/* Heroes are the one dark band on a light page (CR-012): text inside reads white. */
.hero, .hero--fallback { color: var(--cst-on-photo-2); --cst-text: var(--cst-on-photo); --cst-text-2: var(--cst-on-photo-2); --cst-text-3: var(--cst-on-photo-3); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--cst-scrim); pointer-events: none; }
.hero--fallback {
  background-color: var(--cst-hero-bg);
  background-image: repeating-linear-gradient(45deg, var(--cst-stripe) 0 2px, transparent 2px 14px);
}
.hero--fallback::before {
  content: ""; position: absolute; right: -10%; top: 18%; width: 70%; height: 38%;
  background: var(--cst-red); opacity: 0.85; transform: skewX(-20deg);
}
.hero__body { position: relative; z-index: 1; width: 100%; padding-top: var(--cst-s8); padding-bottom: calc(var(--cst-s7) + 12px); }
.hero__body .kicker { margin-bottom: var(--cst-s3); }
.hero__title { margin-bottom: var(--cst-s4); overflow-wrap: anywhere; }
.bout-line { font-weight: 800; font-stretch: 70%; font-size: clamp(1.125rem, 4.5vw, 1.5rem); text-transform: uppercase; color: var(--cst-text); line-height: 1.15; }
.bout-line .vs { color: var(--cst-red); padding: 0 0.2em; }
.hero__meta { margin-top: var(--cst-s2); }
.hero__meta span + span::before { content: "·"; padding: 0 0.5em; color: var(--cst-text-3); }

/* ---------- Event page sections ---------- */
.section { padding: var(--cst-s7) 0 0; }
.section__head { margin-bottom: var(--cst-s5); }
.page-end { padding-bottom: var(--cst-s8); }
.wrap > .section:last-child { padding-bottom: var(--cst-s8); }

.when-where { background: var(--cst-surface); border-bottom: 1px solid var(--cst-border); }
.when-where dl { display: grid; grid-template-columns: 1fr 1fr; gap: var(--cst-s4) var(--cst-s5); padding-block: var(--cst-s5); }
.when-where dd { color: var(--cst-text); font-weight: 600; }
.when-where .span-2 { grid-column: span 2; }
@media (min-width: 768px) { .when-where dl { grid-template-columns: repeat(4, 1fr); } .when-where .span-2 { grid-column: auto; } }

.cta { display: grid; gap: var(--cst-s4); padding-top: var(--cst-s6); }
.steps { counter-reset: step; display: grid; gap: var(--cst-s2); border: 1px solid var(--cst-border); background: var(--cst-surface); padding: var(--cst-s4); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; gap: var(--cst-s3); align-items: baseline; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; background: var(--cst-red); color: var(--cst-on-red);
  font-weight: 900; font-stretch: 62%; font-size: 1rem;
}
.steps b { color: var(--cst-text); }
.board-hint { margin: 0 0 var(--cst-s4); padding: var(--cst-s3) var(--cst-s4); border-left: 3px solid var(--cst-available); background: var(--cst-available-dim); color: var(--cst-text); }
.board-hint b { color: var(--cst-text); }
section[id] { scroll-margin-top: 72px; }
.fighter-mini { display: flex; align-items: center; gap: var(--cst-s4); }
.fighter-mini__photo { width: 64px; height: 64px; flex: none; }
.fighter-mini__photo.initials { font-size: 1.5rem; }
.fighter-mini a { text-decoration: none; }
.cta__row { display: grid; grid-template-columns: 1fr; gap: var(--cst-s2); }
@media (min-width: 480px) { .cta__row:has(> :nth-child(2)) { grid-template-columns: 2fr 1fr; } }
.phone-copy { user-select: all; -webkit-user-select: all; color: var(--cst-text); font-weight: 600; }

/* ---------- Ticket board ---------- */
.board { display: grid; gap: var(--cst-s5); }
@media (min-width: 768px) { .board { grid-template-columns: 1fr 1fr; align-items: start; } .board > .tgroup--wide { grid-column: 1 / -1; } }
.tgroup { container-type: inline-size; background: var(--cst-surface); border: 1px solid var(--cst-border); }
.tgroup__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--cst-s3);
  padding: var(--cst-s4); border-bottom: 1px solid var(--cst-border);
  font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: 1.125rem; color: var(--cst-text);
}
.tgroup__head .num { font-weight: 700; }
.trow {
  /* Three tracks so the buy button can sit under the price without widening the seat column. */
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "seat seat price" "status action action";
  gap: var(--cst-s2) var(--cst-s3); align-items: center;
  padding: var(--cst-s3) var(--cst-s4); background: var(--cst-surface); border-bottom: 1px solid var(--cst-border);
  border-left: 2px solid transparent;
}
.trow:last-child { border-bottom: 0; }
.trow__seat { grid-area: seat; color: var(--cst-text); font-weight: 500; font-variant-numeric: tabular-nums; }
.trow__price { grid-area: price; color: var(--cst-text); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.trow__status { grid-area: status; }
.trow__action { grid-area: action; justify-self: end; color: var(--cst-text-2); font-weight: 600; }
.trow--available { background: var(--cst-surface-2); border-left-color: var(--cst-available); }
.trow--sold .trow__seat { color: var(--cst-text-2); text-decoration: line-through; text-decoration-color: var(--cst-text-3); }
@container (min-width: 481px) {
  .trow { grid-template-columns: minmax(0, 1fr) 4.5rem 6.5rem minmax(9rem, auto); grid-template-areas: "seat price status action"; }
}
.ga { padding: var(--cst-s4); display: grid; gap: var(--cst-s4); }
.ga__counts { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--cst-s2) var(--cst-s4); font-variant-numeric: tabular-nums; }
.ga__counts b { font-size: 2rem; font-weight: 900; font-stretch: 62%; color: var(--cst-text); line-height: 1; }
.ga__counts .sep { color: var(--cst-text-3); }
.ga__ticker { font-size: 0.875rem; }

/* ---------- Multi-seat picking (progressive enhancement) ---------- */
.js-only { display: none !important; }
.js .js-only { display: revert !important; }
.js span.js-only { display: inline !important; }
.js .nojs-only { display: none !important; }
.js .pick.js-only { display: inline-flex !important; }
.js .qty.js-only { display: flex !important; }
.pick {
  align-items: center; justify-content: center; min-height: var(--cst-tap); min-width: 7.5rem; padding: 0 var(--cst-s4);
  border: 1px solid var(--cst-available); color: var(--cst-available); cursor: pointer; user-select: none;
  font-weight: 700; font-stretch: 85%; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em;
  transition: background-color var(--cst-dur-fast) var(--cst-ease), color var(--cst-dur-fast) var(--cst-ease);
}
.pick__box { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick__on { display: none; }
.pick:has(.pick__box:checked) { background: var(--cst-red); border-color: var(--cst-red); color: var(--cst-on-red); }
.pick:has(.pick__box:checked) .pick__on { display: inline; }
.pick:has(.pick__box:checked) .pick__off { display: none; }
.pick:has(.pick__box:focus-visible) { outline: 2px solid var(--cst-red); outline-offset: 2px; }
.trow--available:has(.pick__box:checked) { background: var(--cst-red-dim); border-left-color: var(--cst-red); }
.qty { align-items: center; gap: var(--cst-s3); }
.qty .label { margin-right: auto; }
.qty__btn {
  width: var(--cst-control-h); height: var(--cst-control-h); border: 1px solid var(--cst-border-strong); background: transparent;
  color: var(--cst-text); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.qty__btn:hover { background: var(--cst-surface-2); }
.qty__n { min-width: 2ch; text-align: center; font-size: 1.5rem; font-weight: 800; color: var(--cst-text); }
.pickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--cst-paper); color: var(--cst-ink-2);
  border-top: 3px solid var(--cst-red); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: var(--cst-shadow-lg);
}
.pickbar__in { display: flex; align-items: center; gap: var(--cst-s3); min-height: 72px; }
.pickbar__sum { margin: 0 auto 0 0; display: grid; line-height: 1.2; white-space: nowrap; }
.pickbar .btn { flex: 1 1 auto; padding: 0 var(--cst-s4); white-space: nowrap; font-size: 0.875rem; }
@media (max-width: 359.98px) { .pickbar .btn { font-size: 0.75rem; padding: 0 var(--cst-s2); } }
.pickbar__sum b { color: var(--cst-ink); font-weight: 800; }
.pickbar__clear { border: 0; background: none; color: var(--cst-ink-2); min-height: var(--cst-tap); padding: 0 var(--cst-s2); cursor: pointer; text-decoration: underline; }
.has-pickbar .site-footer { padding-bottom: calc(var(--cst-s9) + env(safe-area-inset-bottom, 0px)); }

.soldout {
  border-top: 2px solid var(--cst-gold); border-bottom: 2px solid var(--cst-gold);
  background: var(--cst-surface); padding: var(--cst-s7) var(--cst-gutter); text-align: center;
  display: grid; gap: var(--cst-s4); justify-items: center;
}
.soldout .display-xl { color: var(--cst-gold); }
.notice { border: 1px solid var(--cst-border-strong); background: var(--cst-surface); padding: var(--cst-s5); display: grid; gap: var(--cst-s4); }
.notice p { margin: 0; color: var(--cst-text); }

/* Sold rows (CR-016): "SOLD to Mike R." beside the pill; the pay link, labelled with the same name, gets its own line. */
.trow__status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cst-s2); }
.trow__buyer { color: var(--cst-text); font-weight: 600; }
.trow--paylink { grid-template-areas: "seat seat price" "status status status" "action action action"; }
.paylex { display: inline-flex; align-items: center; min-height: var(--cst-tap); color: var(--cst-text); font-size: 0.875rem; font-weight: 700; text-decoration-color: var(--cst-red); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Fight card ---------- */
.fightcard { display: grid; gap: var(--cst-s5); }
.fightcard h3 { margin-bottom: var(--cst-s2); }
.bout {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--cst-s2); align-items: center;
  padding: var(--cst-s3) var(--cst-s4); border-bottom: 1px solid var(--cst-border); background: var(--cst-surface);
}
.bout__a, .bout__b { color: var(--cst-text); font-weight: 700; font-stretch: 85%; text-transform: uppercase; overflow-wrap: anywhere; }
.bout__b { text-align: right; }
.bout__vs { color: var(--cst-text-3); font-size: 0.75rem; text-transform: uppercase; }
.bout__wc { grid-column: 1 / -1; text-align: center; font-size: 0.75rem; color: var(--cst-text-2); }
.bout--own { background: var(--cst-red-dim); border-left: 3px solid var(--cst-red); }
.bout--own .bout__vs { color: var(--cst-red); }
.tba { color: var(--cst-text-2); }

/* ---------- Info blocks ---------- */
.info { display: grid; gap: var(--cst-s5); }
@media (min-width: 768px) { .info { grid-template-columns: 1fr 1fr; } }
.info__item { border-top: 1px solid var(--cst-border); padding-top: var(--cst-s4); }
.info__item p { white-space: pre-line; }
.address { font-style: normal; color: var(--cst-text); margin-bottom: var(--cst-s2); }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--cst-border); }
.faq details { border-bottom: 1px solid var(--cst-border); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--cst-s4);
  min-height: 56px; padding: var(--cst-s3) 0; cursor: pointer; list-style: none;
  color: var(--cst-text); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--cst-text-2); flex: none; width: 1ch; text-align: center; }
.faq details[open] summary::after { content: "−"; }
.faq .faq__a { background: var(--cst-surface); padding: var(--cst-s4); margin-bottom: var(--cst-s3); white-space: pre-line; }
.faq details[open] .faq__a { animation: cst-fade var(--cst-dur) var(--cst-ease); }
@keyframes cst-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Fighter page ---------- */
.fighter-hero__headshot { width: 112px; height: 112px; margin-bottom: var(--cst-s4); border: 2px solid var(--cst-text); }
.fighter-hero__headshot.initials { font-size: 2.75rem; border: 0; }
.nick { color: var(--cst-red); font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: 1.125rem; margin-bottom: var(--cst-s2); }
.events { display: grid; gap: var(--cst-s4); }
@media (min-width: 768px) { .events { grid-template-columns: 1fr 1fr; } }
.event-card { padding: var(--cst-s5); display: grid; gap: var(--cst-s2); }
.event-card h3 { font-size: 1.5rem; font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 1; }
.event-card__left { color: var(--cst-available); font-weight: 700; }
.past summary { min-height: var(--cst-tap); display: flex; align-items: center; cursor: pointer; color: var(--cst-text); font-weight: 600; }
.past li { padding: var(--cst-s3) 0; border-bottom: 1px solid var(--cst-border); }
.socials { display: flex; flex-wrap: wrap; gap: var(--cst-s2); }

/* ---------- Landing ---------- */
.landing-hero { padding: var(--cst-s9) 0 var(--cst-s8); }
.landing-hero .display-xl { max-width: 14ch; margin: var(--cst-s4) 0 var(--cst-s5); }
.landing-hero p { max-width: 38rem; font-size: 1.125rem; }
.landing-close { display: grid; gap: var(--cst-s4); max-width: 38rem; color: var(--cst-text-2); }
.landing-close p { margin: 0; }
.features { display: grid; gap: var(--cst-s4); padding-bottom: var(--cst-s8); }
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, 1fr); } }
.features .card { padding: var(--cst-s5); }
.features h3 { margin-bottom: var(--cst-s2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--cst-border); margin-top: var(--cst-s8); padding: var(--cst-s6) 0 var(--cst-s7); }
.site-footer .wrap { display: grid; gap: var(--cst-s3); }
.site-footer a { color: var(--cst-text-2); }

/* ---------- Status pages ---------- */
.status-page { padding: var(--cst-s9) 0; display: grid; gap: var(--cst-s4); justify-items: start; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-property: opacity !important; animation: none !important; }
  .cst-display-slant { transform: none; }
  a.card:hover img { transform: none; }
  .cst-accent-rule::before { transform: none; }
}
