/* SisterLegacy shared web styles. Built from design-system/sisterlegacy/WEB.md
   (Game Night: an arena at night, matching the iOS app). Every page links
   this file. One accent, the lit team blue, for actions. Gold only for live
   numbers, hires and "hiring" signals. Nothing else is colored.
   Token names are kept from the old light theme because the employer
   dashboard reads them: --ink is now the light text color, --card the raised
   surface, --field the inset surface. */

:root {
  --page: #130A0F;
  --card: #1D1118;
  --field: #28191F;
  --ink: #F4EEE6;
  --ink-2: #BDB1AC;
  --ink-3: #96898A;
  --hairline: #35232B;
  --hairline-strong: #4C3340;
  --tint: #301C27;
  --burgundy: #5B1E3F;
  --hero-top: #4A1632;
  --hero-bottom: #160A12;

  /* Burgundy and brass, like the app. Brass carries every action. */
  --accent: #E8B9A6;          /* dark text on it: 10:1 */
  --accent-hover: #F2D0C3;
  --accent-soft: rgba(217, 184, 114, .14);
  --on-accent: #2A0E1A;
  --focus: #F6DDD2;

  --gold: #E8B9A6;
  --gold-deep: #F2D0C3;
  --on-gold: #2A0E1A;

  --on-ink: #130A0F;
  --team-dark: #1D1118;
  --team-navy: #5B1E3F;
  --success: #5BBF8A;
  --danger: #EC7A72;
  --warning: #E8B9A6;

  --sans: "Barlow", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --cond: "Newsreader", "New York", Georgia, "Times New Roman", serif;

  --r-sm: 4px;
  --r-control: 8px;
  --r-card: 10px;
  --r-hero: 12px;

  --s-xxs: 4px; --s-xs: 8px; --s-sm: 12px; --s-md: 16px; --s-margin: 20px;
  --s-lg: 24px; --s-xl: 32px; --s-xxl: 48px; --s-section: 112px;

  --wrap: 1160px;
  --text: 680px;
  color-scheme: dark;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--page); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--hairline-strong); }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--on-accent); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 12px; border-radius: var(--r-control); z-index: 100; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden], .hide { display: none !important; }

/* ------------------------------------------------------------ type
   Scale: display 104 / section 48 / page 64 / title 22 / lead 20 / body 17 / label 14 / fine 12.
   Condensed caps for display, section and page heads (like the app's tab
   headers). Everything you read is Barlow, sentence case. */
.display {
  font: 700 84px/.98 var(--cond); text-transform: uppercase; letter-spacing: .005em;
  color: var(--ink); margin: 0;
}
.section-title { font: 700 40px/1.05 var(--cond); text-transform: uppercase; letter-spacing: .008em; }
.title { font: 700 22px/1.25 var(--sans); }
.lead { font: 400 20px/1.5 var(--sans); color: var(--ink-2); }
.body { font: 400 17px/1.55 var(--sans); }
.label { font: 600 14px/1.3 var(--sans); }
.meta { font: 400 14px/1.45 var(--sans); color: var(--ink-3); }
.fine { font: 400 12px/1.4 var(--sans); color: var(--ink-3); }
.muted { color: var(--ink-2); }
.stat { font: 700 64px/1 var(--cond); font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.kicker { font: 600 13px/1.3 var(--sans); color: var(--ink-2); text-transform: uppercase; letter-spacing: .1em; }
.t-gold { color: var(--gold); }
@media (max-width: 820px) {
  .display { font-size: 52px; }
  .section-title { font-size: 30px; }
  .lead { font-size: 18px; }
  .stat { font-size: 48px; }
}
@media (max-width: 400px) { .display { font-size: 44px; } }

/* ------------------------------------------------------------ layout */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s-lg); }
.wrap-text { max-width: var(--text); margin: 0 auto; padding: 0 var(--s-lg); }
.section { padding: var(--s-section) 0; }
.section + .section { padding-top: 0; }
.stack > * + * { margin-top: var(--s-md); }
.stack-lg > * + * { margin-top: var(--s-lg); }
.row { display: flex; gap: var(--s-sm); align-items: center; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-xxl); align-items: center; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-lg) var(--s-xxl); }
@media (max-width: 820px) {
  .wrap, .wrap-text { padding: 0 16px; }
  .section { padding: 64px 0; }
  .split, .two { grid-template-columns: 1fr; gap: var(--s-xl); }
}

/* ------------------------------------------------------------ nav */
.masthead { background: var(--page); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 20; }
.masthead-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s-lg); height: 64px; display: flex; align-items: center; gap: var(--s-lg); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 26px; height: auto; flex: none; }
.brand-word { height: 18px; width: auto; }
.brand .ink, .brand-word .ink { fill: var(--ink); }
.brand .gold, .brand-word .gold, .lt-gold { fill: var(--gold); }
.wordmark { font: 700 20px/1 var(--cond); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
.wordmark b { color: var(--gold); font-weight: 700; }
.nav { display: flex; gap: var(--s-lg); margin-left: auto; }
.nav a { text-decoration: none; font: 600 15px/1 var(--sans); color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-actions { display: flex; gap: var(--s-xs); }
.menu-btn { display: none; }
@media (max-width: 820px) {
  .masthead-inner { padding: 0 16px; gap: var(--s-sm); }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--page); border-bottom: 1px solid var(--hairline); padding: var(--s-md) 16px; gap: var(--s-md); }
  .nav.open a { padding: 6px 0; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .nav-actions .btn { height: 40px; padding: 0 14px; }
}

/* ------------------------------------------------------------ buttons
   Primary is the lit team blue (class names .btn-gold / .btn-primary are
   kept so the dashboard's JS-rendered buttons keep working). Hover darkens,
   nothing moves. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: var(--r-control);
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:disabled { opacity: .55; cursor: default; }
.btn-gold, .btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-gold:hover, .btn-primary:hover { background: var(--accent-hover); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: #D9D6CF; }
.btn-secondary, .btn-soft, .btn-ghost, .btn-line { background: transparent; color: var(--ink); border-color: var(--hairline-strong); }
.btn-secondary:hover, .btn-soft:hover, .btn-ghost:hover, .btn-line:hover { background: var(--card); border-color: var(--ink-3); }
.btn-on-photo { background: rgba(15, 11, 12, .72); color: var(--ink); border-color: var(--hairline-strong); }
.btn-on-photo:hover { background: var(--page); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--hairline-strong); }
.btn-row { display: flex; gap: var(--s-sm); flex-wrap: wrap; }
.link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--hairline-strong); background: none; border: 0; padding: 0; cursor: pointer; }

/* ------------------------------------------------------------ surfaces */
.card { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: var(--s-lg); }
.card-tight { padding: var(--s-md); }
.band-dark { background: var(--card); color: var(--ink); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.band-dark .muted, .band-dark .meta { color: var(--ink-2); }
.divider { height: 1px; background: var(--hairline); border: 0; margin: var(--s-lg) 0; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: var(--r-sm); background: var(--field); font: 600 13px/1.2 var(--sans); color: var(--ink); }
.tag-ok { background: rgba(91, 191, 138, .14); color: var(--success); }
.tag-warn { background: rgba(224, 174, 44, .14); color: var(--warning); }
.tag-bad { background: rgba(236, 122, 114, .14); color: var(--danger); }
.tag-hiring { background: var(--gold); color: var(--on-gold); font: 700 12px/1 var(--cond); text-transform: uppercase; letter-spacing: .08em; padding: 4px 6px 3px; border-radius: 3px; }

/* ------------------------------------------------------------ hero (arena photo) */
.hero-photo { position: relative; min-height: min(66vh, 620px); display: flex; align-items: flex-end; color: var(--ink); background: linear-gradient(180deg, var(--hero-top) 0%, #2A0E16 55%, var(--hero-bottom) 100%); overflow: hidden; }
.hero-photo > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.hero-photo::after { display: none; }
.hero-photo .wrap { position: relative; z-index: 1; padding-bottom: 80px; padding-top: 128px; width: 100%; }
.hero-photo .lead { color: var(--ink-2); max-width: 600px; margin-top: var(--s-lg); }
.hero-photo .btn-row { margin-top: var(--s-xl); }
@media (max-width: 820px) { .hero-photo { min-height: 0; } .hero-photo .wrap { padding-top: 96px; padding-bottom: 48px; } }

/* home hero: copy left, Sam Novak's trading card right (3D, js/card3d.js) */
.hero-home { border-bottom: 1px solid var(--hairline-strong); }
.hero-home::after { display: none; }
.hero-home .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s-xxl); align-items: end; padding-top: 88px; padding-bottom: 0; }
.hero-home .hero-copy { padding-bottom: 96px; }
.hero-card { padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; }
@media (max-width: 900px) {
  .hero-home .wrap { grid-template-columns: 1fr; gap: var(--s-xxl); padding-top: 72px; }
  .hero-home .hero-copy { padding-bottom: 0; }
  .hero-card { padding-bottom: 48px; }
}

/* 3D trading card. The box is the card itself (3:4); the canvas overhangs it
   so tilt and float are never clipped. The static HTML card under it is the
   fallback (no WebGL, reduced motion, ?no3d) and flips by swapping sides. */
.card3d { position: relative; width: min(340px, 74vw); aspect-ratio: 3 / 4; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.card3d-canvas { position: absolute; left: -28%; top: -16%; width: 156%; height: 132%; pointer-events: none; opacity: 0; transition: opacity .45s ease-out; }
.card3d.is-3d .card3d-canvas { opacity: 1; }
.card3d.is-pending .card3d-static, .card3d.is-3d .card3d-static { visibility: hidden; }
.card3d-static, .card3d-static > * { position: absolute; inset: 0; }
.card3d-static .card3d-back, .card3d.is-flipped .card3d-static .card3d-front { display: none; }
.card3d.is-flipped .card3d-static .card3d-back { display: flex; }
.card3d-btn { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; border-radius: var(--r-card); background: transparent; cursor: pointer; }
.card3d-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.card3d-note { margin-top: var(--s-lg); text-align: center; max-width: 34ch; }
@media (max-width: 900px) { .card3d { width: min(300px, 78vw); } .card3d-canvas { left: -18%; width: 136%; } }

/* the static fallback card, at hero size */
.card3d .tcard { position: absolute; inset: 0; aspect-ratio: auto; border-radius: var(--r-card); background: var(--page); }
.card3d .tcard img { bottom: 25%; height: 75%; object-position: center 20%; }
.card3d .tcard::before { bottom: 25%; background: linear-gradient(180deg, rgba(74, 18, 32, .55) 0%, rgba(15, 11, 12, 0) 42%, rgba(109, 26, 47, .35) 78%, var(--page) 100%); }
.card3d .tcard .team { position: absolute; top: 18px; left: 14px; z-index: 2; font: 700 9px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 241, 236, .82); }
.card3d .tcard .jersey { font-size: 140px; top: -6px; color: rgba(243, 241, 236, .26); }
.card3d .tcard figcaption { height: 25%; padding: 22px 14px 12px; }
.card3d .tcard b { font-size: 44px; line-height: .95; }
.card3d .tcard span.where { font-size: 14px; margin-top: 6px; }
.tag-looking { position: absolute; top: -9px; left: 14px; background: var(--ink); color: var(--on-ink); font: 700 11px/1 var(--cond); text-transform: uppercase; letter-spacing: .08em; padding: 4px 6px 3px; border-radius: 3px; }
.tcard-back { flex-direction: column; background: var(--card); border: 1px solid var(--hairline-strong); border-radius: var(--r-card); padding: 16px; overflow: hidden; }
.tcard-back .tb-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid rgba(243, 241, 236, .18); }
.tcard-back .tb-head b { font: 700 34px/1 var(--cond); text-transform: uppercase; }
.tcard-back .tb-head span { font: 700 26px/1 var(--cond); color: var(--ink-2); }
.tcard-back .tb-stats { display: grid; grid-template-columns: auto 1fr; gap: 12px 32px; margin: 14px 0 0; }
.tcard-back .tb-stats .wide { grid-column: 1 / -1; }
.tcard-back dt { font: 600 9px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.tcard-back dd { margin: 2px 0 0; font: 600 14px/1.3 var(--sans); color: var(--ink); }
.tcard-back .tb-sign { margin-top: auto; padding: 14px; border: 1px solid var(--hairline-strong); border-radius: 6px; background: var(--page); }
.tcard-back .signs { font: 700 12px/1 var(--cond); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.tcard-back .co { font: 700 50px/.95 var(--cond); text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.tcard-back .ref { font: 500 12px/1.3 var(--sans); color: var(--ink-2); margin-top: 6px; }

/* ------------------------------------------------------------ scoreboard (split-flap)
   Gold digits on dark tiles, a hairline split through the middle, padded to
   two digits. Markup: <span class="flap"><span>0</span><span>6</span></span>. */
.score { display: flex; align-items: center; gap: var(--s-sm); }
.score .score-label { font: 600 16px/1.3 var(--sans); color: var(--ink); max-width: 18ch; }
.flap { display: inline-flex; gap: 4px; font: 700 56px/1 var(--cond); font-variant-numeric: tabular-nums; color: var(--gold); perspective: 400px; }
.flap > span {
  position: relative; display: inline-grid; place-items: center;
  width: .78em; height: 1.08em; padding-top: .04em;
  background: var(--field); border: 1px solid var(--hairline); border-radius: var(--r-sm);
}
.flap > span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(15, 11, 12, .85); }
.flap.sm { font-size: 36px; gap: 3px; }
.flap.lg { font-size: 72px; }
.flap.sep > span.comma { width: .28em; background: none; border: 0; }
.flap.sep > span.comma::after { display: none; }
@media (max-width: 820px) { .flap { font-size: 44px; } .flap.lg { font-size: 56px; } }

/* the one page-load moment (home): the digits flip in, then the phone appears */
@media (prefers-reduced-motion: no-preference) {
  .js .load-seq .flap > span { animation: tl-flip .55s cubic-bezier(.2, .7, .2, 1) both; transform-origin: 50% 50%; }
  .js .load-seq .flap > span:nth-child(1) { animation-delay: .25s; }
  .js .load-seq .flap > span:nth-child(2) { animation-delay: .4s; }
  .js .load-seq .shot-phone { animation: tl-rise .7s ease-out .55s both; }
  .js .load-seq .card3d-note { animation: tl-fade .6s ease-out 1.1s both; }
}
@keyframes tl-flip { 0% { transform: rotateX(90deg); opacity: 0; } 60% { transform: rotateX(-12deg); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes tl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tl-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ screenshots (device frame, CSS only) */
.shot { border-radius: var(--r-hero); border: 1px solid var(--hairline-strong); background: var(--card); padding: 6px; overflow: hidden; }
.shot img { width: 100%; border-radius: 7px; background: var(--page); }
.shot-phone { max-width: 320px; margin: 0 auto; }
figure { margin: 0; }
figcaption { margin-top: var(--s-sm); font: 400 14px/1.45 var(--sans); color: var(--ink-3); text-align: center; }

/* ------------------------------------------------------------ trading cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-md); }
.tcard { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; background: var(--field); border: 1px solid var(--hairline-strong); }
.tcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: saturate(.6) brightness(.72) contrast(1.08); }
.tcard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(74, 18, 32, .45) 0%, rgba(15, 11, 12, .05) 45%, rgba(15, 11, 12, .75) 80%); z-index: 1; }
.tcard .jersey { position: absolute; top: 2px; right: 10px; z-index: 1; font: 700 104px/1 var(--cond); color: rgba(243, 241, 236, .2); font-variant-numeric: tabular-nums; }
.tcard figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; text-align: left; background: var(--page); border-top: 1px solid var(--hairline-strong); padding: 10px 12px 12px; }
.tcard .tag-hiring { position: absolute; top: -11px; left: 12px; }
.tcard b { display: block; font: 700 22px/1 var(--cond); text-transform: uppercase; color: var(--ink); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard span.where { display: block; font: 500 13px/1.3 var(--sans); color: var(--ink-2); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 820px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-sm); } .tcard .jersey { font-size: 80px; } .tcard b { font-size: 19px; } }

/* ------------------------------------------------------------ signing showcase */
.signing { position: relative; overflow: hidden; border-radius: var(--r-hero); border: 1px solid var(--hairline-strong); background: var(--card); padding: var(--s-xl); min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.signing > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 8%; z-index: -2; opacity: .9; }
.signing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 23, 28, .1) 0%, rgba(21, 23, 28, .85) 55%, var(--card) 100%); }
.signing .who { display: flex; gap: var(--s-md); align-items: flex-end; margin-bottom: var(--s-lg); }
.signing .who img { width: 92px; height: 112px; object-fit: cover; border-radius: var(--r-control); border: 1px solid var(--hairline-strong); }
.signing .team { font: 600 14px/1.3 var(--sans); color: var(--ink-2); }
.signing .name { font: 700 72px/.9 var(--cond); text-transform: uppercase; color: var(--ink); }
.signing .signs { font: 700 20px/1 var(--cond); text-transform: uppercase; letter-spacing: .18em; color: var(--ink-2); margin-top: var(--s-sm); }
.signing .co { font: 700 104px/.9 var(--cond); text-transform: uppercase; color: var(--gold); margin-top: 6px; overflow-wrap: anywhere; }
.signing .role { font: 600 18px/1.35 var(--sans); color: var(--ink); margin-top: var(--s-md); }
.signing .ref { font: 400 15px/1.4 var(--sans); color: var(--ink-2); margin-top: 4px; }
@media (max-width: 820px) { .signing { padding: var(--s-lg); } .signing .name { font-size: 48px; } .signing .co { font-size: 64px; } .signing .who img { width: 72px; height: 88px; } }

/* ------------------------------------------------------------ chips, forms */
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: var(--r-control); background: var(--field); color: var(--ink); font: 500 15px/1 var(--sans); border: 0; cursor: pointer; text-decoration: none; }
.chip.on, .chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.chips { display: flex; gap: var(--s-xs); flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .field > label, .lbl { font: 600 14px/1.3 var(--sans); color: var(--ink); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--r-control);
  border: 1px solid var(--hairline-strong); background: var(--field); color: var(--ink);
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.input:focus-visible, .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
::placeholder { color: var(--ink-3); opacity: 1; }
.field textarea { min-height: 96px; resize: vertical; }
.field select { -webkit-appearance: none; appearance: none; height: 44px; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ADB0B8' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-md); }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.notice { font: 500 15px/1.4 var(--sans); }
.notice-ok { color: var(--success); }
.notice-error { color: var(--danger); }

/* ------------------------------------------------------------ skeleton */
.skeleton { background: var(--field); border-radius: var(--r-sm); animation: tl-pulse 1.2s ease-in-out infinite; }
.skeleton-line { height: 14px; margin: 8px 0; }
.skeleton-row { height: 64px; margin-bottom: 8px; border-radius: var(--r-card); }
@keyframes tl-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

/* ------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--hairline); padding: var(--s-xxl) 0; margin-top: var(--s-section); color: var(--ink-2); font-size: 15px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-grid { display: flex; gap: var(--s-xl); flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
.footer-links { display: flex; gap: var(--s-sm) var(--s-lg); flex-wrap: wrap; }
.footer-legal { margin-top: var(--s-lg); font-size: 13px; color: var(--ink-3); }

/* ------------------------------------------------------------ reveal (opacity only) */
.js .reveal { opacity: 0; transition: opacity .5s ease; }
.js .reveal.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transition: none; } }

/* ============================================================
   Page-specific additions go below this line, one block per page.
   ============================================================ */

/* ------------------------------------------------------------ shared: marketing pages */
.nav-extra { display: none; }
.masthead .menu-btn { display: none; }
@media (max-width: 820px) { .masthead .menu-btn { display: inline-flex; margin-left: auto; } }
.footer-brand { display: flex; gap: var(--s-sm); align-items: center; max-width: 380px; }
.footer-brand .brand-mark { width: 26px; flex: none; }
.btn-block { width: 100%; }
.kicker + .section-title, .kicker + .page-title, .kicker + .display { margin-top: var(--s-sm); }
.intro { padding: 0; margin: 0 0 var(--s-xxl); }
.intro .lead { margin-top: var(--s-md); }
.section-title + .lead { margin-top: var(--s-md); }
.split-top { align-items: start; }
.rules .rule { border-top: 1px solid var(--hairline-strong); padding-top: var(--s-md); }
.rules .rule .body { margin-top: 6px; }
.rules-more { margin-top: var(--s-xl); color: var(--ink-2); }
.statement .section-title { color: var(--ink); font-size: 44px; }
.statement .lead { color: var(--ink-2); margin-top: var(--s-md); }
@media (max-width: 820px) { .statement .section-title { font-size: 31px; } }
.cta .btn-row, .stack .btn-row { margin-top: var(--s-lg); }
.cta .lead { margin-top: var(--s-md); }
.steps { list-style: none; margin: var(--s-xl) 0 0; padding: 0; }
.steps li { display: flex; gap: var(--s-md); padding: var(--s-md) 0; border-top: 1px solid var(--hairline); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps .label { font-size: 17px; }
.steps .body { margin-top: 4px; }
.step-n { flex: none; width: 34px; height: 38px; border-radius: var(--r-sm); background: var(--field); border: 1px solid var(--hairline-strong); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font: 700 22px/1 var(--cond); font-variant-numeric: tabular-nums; }
.plain { margin: 0; padding-left: 20px; color: var(--ink-2); }
.stack > .plain { margin-top: var(--s-md); }
.plain li + li { margin-top: 6px; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-lg); align-items: start; }
.shot-pair .shot-phone { max-width: 280px; }
.shot-pair .shot-phone:last-child { margin-top: var(--s-xxl); }
.page-head { padding: 88px 0 var(--s-xl); }
.page-head .lead, .page-head .meta { margin-top: var(--s-md); }
.page-title { font-size: 56px; line-height: 1; }
.section-after-head { padding-top: var(--s-lg); }
@media (max-width: 820px) {
  .page-head { padding: 56px 0 var(--s-lg); }
  .page-title { font-size: 38px; }
  .shot-pair { gap: var(--s-sm); }
  .shot-pair .shot-phone:last-child { margin-top: var(--s-xl); }
}
@media (max-width: 520px) {
  .nav-actions { display: none; }
  .nav.open .nav-extra { display: block; }
}
.nav-extra { text-decoration: none; font: 600 15px/1 var(--sans); color: var(--ink); }

/* spacing next to bands (shared) */
.section.band-dark, .band-dark + .section { padding-top: var(--s-section); }
@media (max-width: 820px) { .section.band-dark, .band-dark + .section { padding-top: 64px; } }

/* forms (teams #start, contact) */
.form-shell > * + * { margin-top: var(--s-md); }
.form-shell .field-row .field + .field { margin-top: 0; }
.opt { font-weight: 400; color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice.hide-empty:empty { display: none; }
.form-note { font: 400 14px/1.45 var(--sans); color: var(--ink-3); }
.form-note a { color: var(--ink-2); }

/* faq */
.faq { margin-top: var(--s-xl); border-top: 1px solid var(--hairline-strong); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { cursor: pointer; padding: var(--s-md) 0; font: 600 17px/1.45 var(--sans); list-style: none; display: flex; justify-content: space-between; gap: var(--s-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; color: var(--ink-3); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 var(--s-md); color: var(--ink-2); }

/* legal prose (security, terms, privacy) */
.prose { padding-bottom: var(--s-xl); }
.prose h2 { font: 700 22px/1.25 var(--sans); margin: var(--s-xl) 0 var(--s-xs); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: var(--s-sm); }
.prose ul { padding-left: 20px; margin: var(--s-sm) 0 0; }
.prose li + li { margin-top: var(--s-xs); }
.prose li::marker { color: var(--ink-3); }
.prose b { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------ index */
.hero-score { margin-top: var(--s-xl); padding-top: var(--s-lg); border-top: 1px solid var(--hairline-strong); max-width: 520px; }
.hero-score .meta { margin-top: var(--s-xs); }
.aud-row { padding: var(--s-xxl) 0; border-top: 1px solid var(--hairline); }
.aud-row:first-child { border-top: 0; padding-top: 0; }
.aud-flip > :first-child { order: 2; }
.shots-note { margin-top: var(--s-md); text-align: center; }
.sign-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s-xxl); align-items: center; }
.sign-split .signing { min-height: 600px; }
@media (max-width: 820px) {
  .aud-flip > :first-child { order: 0; } .aud-row { padding: var(--s-xl) 0; }
  .sign-split { grid-template-columns: 1fr; gap: var(--s-xl); }
  .sign-split .signing { min-height: 480px; }
}

/* ------------------------------------------------------------ employers */
.supply { padding: var(--s-xxl) 0; }
.supply-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-lg); }
.supply .stat { color: var(--ink); min-height: 62px; }
.supply .stat .flap { font-size: 52px; }
.supply .stat.supply-gold { color: var(--gold); }
.supply .muted { margin-top: var(--s-sm); font-size: 16px; }
.supply-skel { display: block; width: 120px; height: 58px; }
@media (max-width: 820px) {
  .supply .stat { min-height: 44px; } .supply .stat .flap { font-size: 30px; gap: 2px; }
  .supply-skel { width: 72px; height: 36px; } .supply-grid { gap: var(--s-sm); } .supply .muted { font-size: 14px; }
}
.price > * + * { margin-top: var(--s-sm); }
.price { padding: var(--s-xl); }
.price .stat { margin-top: var(--s-xs); font-size: 104px; line-height: .9; }
.price .title { margin-top: var(--s-xs); }
.price .btn-row { margin-top: var(--s-lg); }
@media (max-width: 820px) { .price { padding: var(--s-lg); } .price .stat { font-size: 80px; } }
.house { margin: var(--s-lg) 0 0; padding-left: 26px; }
.house li { padding: var(--s-xs) 0; color: var(--ink-2); }
.house li::marker { font: 700 18px var(--cond); color: var(--ink); }

/* ------------------------------------------------------------ join */
.join { text-align: center; }
.join-title { font-size: 48px; line-height: 1; }
.join .lead { margin-top: var(--s-md); }
.join-card { max-width: 380px; margin: var(--s-xl) auto 0; }
.code-box { font: 700 56px/1 var(--cond); letter-spacing: .12em; margin: var(--s-sm) 0 var(--s-md); color: var(--gold); overflow-wrap: anywhere; }
.join-steps { max-width: 460px; margin-left: auto; margin-right: auto; text-align: left; }
.join-actions { justify-content: center; margin-top: var(--s-lg); }
@media (max-width: 820px) { .join-title { font-size: 36px; } .code-box { font-size: 44px; } }

/* ------------------------------------------------------------ business-admin (reskin; JS-rendered class names kept) */
.admin main { padding: var(--s-xl) 0 var(--s-xxl); }
.admin .masthead-inner .admin-label { font: 600 15px/1 var(--sans); color: var(--ink-2); }
.admin h1 { font: 700 44px/1 var(--cond); text-transform: uppercase; margin: 0 0 6px; }
.admin .stack { display: grid; gap: var(--s-md); }
.admin .stack > * + * { margin-top: 0; }
.admin .narrow { max-width: 420px; }
.admin label { display: grid; gap: 6px; font: 600 14px/1.3 var(--sans); }
.admin input { min-height: 44px; padding: 10px 12px; border-radius: var(--r-control); border: 1px solid var(--hairline-strong); background: var(--field); color: var(--ink); }
.admin input:focus { outline: none; border-color: var(--accent); }
.admin .btn { height: 40px; padding: 0 16px; font-size: 15px; }
.admin .btn.gold { background: var(--accent); color: var(--on-accent); }
.admin .btn.gold:hover { background: var(--accent-hover); }
.admin .btn.line { background: transparent; color: var(--ink); border-color: var(--hairline-strong); }
.admin .btn.line:hover { background: var(--card); }
.admin .btn.danger { background: transparent; color: var(--danger); border-color: var(--hairline-strong); }
.admin .list { display: grid; gap: var(--s-sm); }
.admin .biz { display: grid; grid-template-columns: 1fr auto; gap: var(--s-sm); align-items: center; }
@media (max-width: 640px) { .admin .biz { grid-template-columns: 1fr; } }
.admin .row { gap: var(--s-xs); }
.admin .pill { font: 600 12px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .05em; padding: 4px 8px; border-radius: var(--r-sm); background: var(--field); }
.admin .pending { background: rgba(224, 174, 44, .14); color: var(--warning); }
.admin .verified { background: rgba(91, 191, 138, .14); color: var(--success); }
.admin .rejected, .admin .suspended { color: var(--danger); }
.admin .warn { color: var(--danger); font-weight: 600; }
.admin .msg { color: var(--danger); font-size: 14px; }


/* ------------------------------------------------------------ burgundy and brass pass */
.hero-phone { max-width: 300px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.hero-home .hero-card { padding-bottom: 0; align-self: end; }
.hero-home .hero-card .card3d-note { margin: var(--s-md) 0 var(--s-xl); }
.hero-home .hero-copy { padding-bottom: 88px; }
.hero-score { border-top-color: rgba(217, 184, 114, .28); }
.hero-photo { border-bottom: 1px solid var(--hairline-strong); }
.shot { background: var(--card); }
.shot img { background: var(--hairline); }
.flap > span::after { background: rgba(15, 11, 12, .9); }
.kicker { color: var(--gold); }
.tcard::before { background: linear-gradient(180deg, rgba(74, 18, 32, .45) 0%, rgba(15, 11, 12, .05) 45%, rgba(15, 11, 12, .78) 80%); }
.tcard img { filter: saturate(.75) brightness(.8) contrast(1.05); }
.signing { background: linear-gradient(180deg, var(--hero-top) 0%, #2A0E16 55%, var(--card) 100%); }
.signing::before { display: none; }
.step-n { color: var(--gold); }
.card { background: var(--card); }
.chip.on, .chip[aria-pressed="true"] { background: var(--gold); color: var(--on-accent); }
.nav a[aria-current="page"] { text-decoration-color: var(--gold); }
.band-dark { background: linear-gradient(180deg, #1D1118 0%, #2A0E16 100%); }

/* serif caps are wider: keep the company name on one line */
.signing .co { font-size: clamp(40px, 6.2vw, 76px); overflow-wrap: normal; line-height: 1; }
.signing .name { font-size: clamp(34px, 4.6vw, 56px); line-height: 1; }
.tcard-back .co { font-size: 38px; }
@media (max-width: 820px) { .signing .co { font-size: clamp(36px, 13vw, 56px); } .signing .name { font-size: clamp(30px, 10vw, 40px); } }
