/* ============================================================
   mt.css - Making Tracks PUBLIC site design system (2026 redesign)
   Used by: index.html, /events/, /watch/, /volunteer/, /news/
   The operator portal (app.html) keeps css/styles.css - do not
   load both on one page.

   Tokens + component names follow the approved blueprint
   (Temp/landing-redesign/MT-Homepage-Redesign-Blueprint.html).
   Perf rule (WebKit-proven on the kiosk): no full-screen CSS
   gradients, no blur/backdrop-filter. Dark surfaces are solid.
   ============================================================ */

@font-face { font-family:'Big Shoulders'; font-weight:600; font-style:normal; font-display:swap;
  src:url('../assets/fonts/big-shoulders-normal-600.woff2') format('woff2'); }
@font-face { font-family:'Big Shoulders'; font-weight:800; font-style:normal; font-display:swap;
  src:url('../assets/fonts/big-shoulders-normal-800.woff2') format('woff2'); }
@font-face { font-family:'Doto'; font-weight:700; font-style:normal; font-display:swap;
  src:url('../assets/fonts/doto-normal-700.woff2') format('woff2'); }
@font-face { font-family:'Doto'; font-weight:900; font-style:normal; font-display:swap;
  src:url('../assets/fonts/doto-normal-900.woff2') format('woff2'); }
@font-face { font-family:'Atkinson'; font-weight:400; font-style:normal; font-display:swap;
  src:url('../assets/fonts/atkinson-normal-400.woff2') format('woff2'); }
@font-face { font-family:'Atkinson'; font-weight:700; font-style:normal; font-display:swap;
  src:url('../assets/fonts/atkinson-normal-700.woff2') format('woff2'); }

:root{
  --paper:#faf9f6;
  --card:#ffffff;
  --ink:#1c1814;
  --muted:#6f675e;
  --line:#e7e1d8;
  --roundel:#8e2614;
  --roundel-deep:#701d0e;
  --go:#17803d;
  --go-deep:#116330;
  --amber:#b45309;
  --amber-bright:#f59e0b;
  --live:#e11d2e;
  --board:#0f1216;
  --board-2:#171c22;
  --cis:#ffa41c;
  --board-dim:#8a97a3;
  --board-line:#232a33;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:'Atkinson',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  font-size:16px; line-height:1.6;
  -webkit-text-size-adjust:100%;
}
img{ max-width:100%; height:auto; }
a{ color:var(--roundel); }
a:hover{ color:var(--roundel-deep); }
:focus-visible{ outline:3px solid var(--amber-bright); outline-offset:2px; border-radius:2px; }

.wrap{ max-width:1100px; margin:0 auto; padding:0 20px; }
.eyebrow{
  font-family:'Big Shoulders'; font-weight:600; font-size:14px; letter-spacing:.16em;
  text-transform:uppercase; color:var(--roundel); margin:0 0 6px;
}
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ---------------- header / nav ---------------- */
.mtnav{
  display:flex; align-items:center; gap:18px; padding:10px 20px;
  background:#fffdfa; border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:50;
}
.mtnav .logo img{ height:52px; width:auto; display:block; }
.mtnav-links{ display:flex; gap:16px; flex:1; }
.mtnav-links a{
  font-family:'Big Shoulders'; font-weight:600; font-size:15px; letter-spacing:.1em;
  text-transform:uppercase; color:#4b453d; text-decoration:none;
  padding:6px 2px; border-bottom:2px solid transparent;
}
.mtnav-links a:hover{ color:var(--roundel); }
.mtnav-links a.on{ color:var(--roundel); border-bottom-color:var(--roundel); }
.mtnav .signin{
  border:1.5px solid #d8d2c8; border-radius:8px; padding:7px 14px;
  font-size:13px; color:var(--muted); text-decoration:none; white-space:nowrap;
}
.mtnav .signin:hover{ border-color:var(--roundel); color:var(--roundel); }
.mtnav .burger{
  display:none; background:none; border:1.5px solid #d8d2c8; border-radius:8px;
  font-size:20px; line-height:1; padding:6px 10px; color:#4b453d; cursor:pointer;
}
.mtnav-sheet{ display:none; }
@media(max-width:840px){
  .mtnav{ padding:8px 14px; gap:10px; }
  .mtnav .logo img{ height:44px; }
  .mtnav-links{ display:none; }
  .mtnav .signin{ display:none; }
  .mtnav .burger{ display:block; margin-left:auto; }
  .mtnav-sheet{
    display:none; position:fixed; top:61px; left:0; right:0; z-index:49;
    background:#fffdfa; border-bottom:1px solid var(--line);
    padding:8px 14px 14px; flex-direction:column; gap:2px;
    box-shadow:0 18px 30px -18px rgba(28,24,20,.35);
  }
  .mtnav-sheet.open{ display:flex; }
  .mtnav-sheet a{
    font-family:'Big Shoulders'; font-weight:600; font-size:18px; letter-spacing:.1em;
    text-transform:uppercase; color:#4b453d; text-decoration:none; padding:10px 4px;
    border-bottom:1px solid #f0ece4;
  }
  .mtnav-sheet a.on{ color:var(--roundel); }
  .mtnav-sheet a.signin-m{ font-size:14px; color:var(--muted); border-bottom:0; }
}

/* ---------------- hero (home) ---------------- */
.hero{ background:var(--board); border-bottom:4px solid var(--roundel); }
.hero-inner{
  max-width:1100px; margin:0 auto; padding:36px 20px 30px;
  display:grid; grid-template-columns:1.05fr 1fr; gap:30px; align-items:center;
}
.hero .eyebrow{ color:var(--cis); }
.hero h1{
  font-family:'Big Shoulders'; font-weight:800; text-transform:uppercase;
  font-size:clamp(34px,4.6vw,54px); line-height:.98; color:#fff; margin:0 0 12px;
  max-width:13ch;
}
.hero .sub{ color:#b9c2cb; font-size:16.5px; max-width:46ch; margin:0 0 18px; }
.hero-ctas{ display:flex; gap:12px; flex-wrap:wrap; }
.btn{
  display:inline-block; border-radius:9px; padding:12px 22px; font-weight:700;
  font-size:15px; text-decoration:none; border:0; cursor:pointer; font-family:inherit;
}
.btn.go{ background:var(--go); color:#fff; box-shadow:0 10px 24px -10px rgba(23,128,61,.7); }
.btn.go:hover{ background:var(--go-deep); color:#fff; }
.btn.ghost-dark{ border:1.5px solid #39424d; color:#dfe5ea; background:transparent; }
.btn.ghost-dark:hover{ border-color:var(--cis); color:var(--cis); }
.gwr-chip{
  margin-top:18px; display:inline-flex; gap:8px; align-items:center;
  border:1px solid #2c343e; border-radius:999px; padding:6px 14px;
  font-size:12.5px; color:#c8cfd6; text-decoration:none;
}
.gwr-chip b{ color:#f5c452; }
.gwr-chip:hover{ border-color:#f5c452; color:#e8edf2; }
@media(max-width:840px){
  .hero-inner{ grid-template-columns:1fr; padding:24px 16px 22px; gap:18px; }
  .hero h1{ font-size:clamp(30px,9vw,40px); }
}

/* ---------------- departure board ---------------- */
.board{
  background:#0a0d10; border:1px solid var(--board-line); border-radius:10px;
  overflow:hidden; box-shadow:0 22px 60px -28px rgba(0,0,0,.85);
}
.board .bhead{
  display:flex; justify-content:space-between; align-items:center; padding:9px 14px;
  border-bottom:1px solid var(--board-line); background:var(--board-2);
  font-family:'Big Shoulders'; font-weight:600; letter-spacing:.14em; font-size:13px;
  color:#d7dde3; text-transform:uppercase;
}
.board .bhead .live{ display:flex; align-items:center; gap:6px; color:var(--cis); font-size:12px; }
.board .bhead .live i{
  width:7px; height:7px; border-radius:50%; background:var(--live); display:inline-block;
  box-shadow:0 0 7px var(--live); animation:mt-pulse 1.6s infinite;
}
@keyframes mt-pulse{ 50%{ opacity:.35; } }
.board table{ width:100%; border-collapse:collapse; }
.board td{
  font-family:'Doto'; font-weight:700; color:var(--cis); font-size:13.5px;
  letter-spacing:.02em; padding:9px 14px; border-bottom:1px solid #14181d;
  white-space:nowrap;
}
.board td.d{ color:#e8b96a; width:72px; }
.board td.mid{ width:100%; max-width:0; overflow:hidden; text-overflow:ellipsis; }
.board td.st{ text-align:right; }
.board td .ok{ color:#4ade80; }
.board td .warn{ color:#fbbf24; }
.board td .due{ color:#f87171; }
.board tr:last-child td{ border-bottom:0; }
.board a{ color:inherit; text-decoration:none; }
@media(max-width:520px){ .board td{ font-size:11.5px; padding:8px 10px; } .board td.d{ width:58px; } }
@media(prefers-reduced-motion:no-preference){
  .board.play td.mid span{
    display:inline-block; overflow:hidden; white-space:nowrap; vertical-align:bottom;
    width:0; animation:mt-type 1s steps(24,end) forwards;
  }
  .board.play tr:nth-child(2) td.mid span{ animation-delay:.3s; }
  .board.play tr:nth-child(3) td.mid span{ animation-delay:.6s; }
  .board.play tr:nth-child(4) td.mid span{ animation-delay:.9s; }
  .board.play tr:nth-child(5) td.mid span{ animation-delay:1.2s; }
  @keyframes mt-type{ from{ width:0; } to{ width:100%; } }
}

/* ---------------- ticker ---------------- */
.ticker{
  display:flex; overflow:hidden; background:var(--board-2); color:var(--cis);
  font-family:'Doto'; font-weight:700; font-size:12.5px; padding:8px 0;
  white-space:nowrap; border-bottom:1px solid var(--board-line);
}
.ticker span{ flex-shrink:0; min-width:100%; padding-left:12px; }
@media(prefers-reduced-motion:no-preference){
  .ticker span{ animation:mt-ticker 40s linear infinite; }
  .ticker:hover span{ animation-play-state:paused; }
  @keyframes mt-ticker{ to{ transform:translateX(-100%); } }
}

/* ---------------- sections ---------------- */
.sec{ padding:40px 0 34px; }
.sec-head{
  display:flex; align-items:baseline; justify-content:space-between;
  gap:14px; flex-wrap:wrap; margin-bottom:6px;
}
.sec-head h2{
  font-family:'Big Shoulders'; font-weight:800; font-size:clamp(26px,3.4vw,34px);
  letter-spacing:.02em; text-transform:uppercase; margin:0;
}
.sec-sub{ color:var(--muted); font-size:14.5px; margin:0 0 20px; max-width:70ch; }
.more{ font-weight:700; font-size:14px; color:var(--roundel); text-decoration:none; white-space:nowrap; }
.more:hover{ text-decoration:underline; }
.sec.dark{ background:var(--board); }
.sec.dark h2{ color:#fff; }
.sec.dark .sec-sub{ color:#95a0ab; }
.sec.dark .more{ color:var(--cis); }

/* ---------------- event cards ---------------- */
.ev-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media(max-width:840px){ .ev-grid{ grid-template-columns:1fr; } }
.ev-card{
  background:var(--card); border:1px solid var(--line); border-radius:12px;
  padding:16px 18px; box-shadow:0 12px 30px -22px rgba(28,24,20,.4);
  display:flex; flex-direction:column; gap:10px; position:relative;
}
.ev-card .ev-top{ display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.ev-card .ev-title{
  font-size:17px; font-weight:700; line-height:1.3;
  display:flex; align-items:baseline; flex-wrap:wrap; gap:6px;
}
.ev-card .ev-when{ font-size:13px; color:var(--muted); margin-top:2px; }
.ev-card .ev-desc{ font-size:13.5px; color:#57504a; margin:0; line-height:1.55; }
.ev-desc .ev-desc-toggle{ color:var(--roundel); font-size:12px; font-weight:700; text-decoration:none; }
.pill{
  display:inline-block; border-radius:999px; font-size:10.5px; font-weight:700;
  letter-spacing:.05em; padding:2.5px 10px; text-transform:uppercase; white-space:nowrap;
}
.pill.amber{ background:#fdf0dc; color:var(--amber); }
.pill.go{ background:var(--go); color:#fff; }
.pill.today{ background:#dcefe2; color:var(--go-deep); }
.pill.done{ background:#eee9df; color:#57504a; }
.ev-map{
  flex-shrink:0; width:130px; height:92px; border-radius:8px;
  border:1px solid var(--line); cursor:pointer; overflow:hidden;
}
.ev-past{ opacity:.55; }
.ev-past-mark{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  pointer-events:none; font-family:'Big Shoulders'; font-weight:800; font-size:26px;
  letter-spacing:.3em; text-transform:uppercase; color:rgba(28,24,20,.1);
  transform:rotate(-14deg); white-space:nowrap;
}
@media(max-width:600px){
  .ev-card .ev-top{ flex-direction:column; }
  .ev-map{ width:100%; height:120px; }
}

/* RailBoard (shared js/rail-board.js injects its own base CSS; these
   overrides sit it on the new card style) */
.ev-card .rb-wrap{ border-radius:8px; overflow:hidden; }

/* ---------------- show posters ---------------- */
.posters{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
@media(max-width:960px){ .posters{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:420px){ .posters{ grid-template-columns:1fr; } }
.poster{
  aspect-ratio:3/4; background:var(--board-2); border:1px solid var(--board-line);
  border-radius:12px; display:flex; flex-direction:column; justify-content:space-between;
  padding:14px 15px; text-decoration:none; position:relative; overflow:hidden;
  transition:transform .18s ease, border-color .18s ease;
}
.poster::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:3px;
  background:linear-gradient(90deg, var(--roundel), var(--cis));
}
.poster:hover{ transform:translateY(-4px); border-color:var(--cis); }
@media(prefers-reduced-motion:reduce){ .poster:hover{ transform:none; } }
.poster .p-top{
  font-family:'Doto'; font-weight:700; font-size:11px; color:var(--board-dim);
  letter-spacing:.06em;
}
.poster .p-title{
  font-family:'Big Shoulders'; font-weight:800; font-size:clamp(19px,2vw,24px);
  line-height:1.02; text-transform:uppercase; color:#fff;
}
.poster .p-foot{
  display:flex; align-items:center; gap:7px; font-size:10.5px; color:var(--board-dim);
  min-height:16px; flex-wrap:wrap;
}
.poster .p-foot em{
  font-style:normal; font-family:'Big Shoulders'; font-weight:600;
  letter-spacing:.14em; font-size:11px;
}
.poster .p-foot .doto{ font-family:'Doto'; font-weight:700; color:var(--cis); }
.sig{ width:9px; height:9px; border-radius:50%; display:inline-block; }
.sig.g{ background:#22c55e; box-shadow:0 0 6px #22c55e; }
.sig.y{ background:#fbbf24; box-shadow:0 0 6px #fbbf24; }
.sig.r{ background:#ef4444; box-shadow:0 0 6px #ef4444; }
.livechip{
  display:inline-flex; align-items:center; gap:5px; color:var(--cis);
  font-family:'Big Shoulders'; font-weight:600; letter-spacing:.12em; font-size:11px;
}
.livechip i{
  width:6px; height:6px; border-radius:50%; background:var(--live);
  box-shadow:0 0 6px var(--live); animation:mt-pulse 1.6s infinite;
}

/* ---------------- crowd strip ---------------- */
.crowd{
  border-radius:14px; overflow:hidden; border:1px solid var(--line);
  box-shadow:0 18px 44px -26px rgba(28,24,20,.5); position:relative;
}
.crowd img{ display:block; width:100%; height:auto; }
.crowd .crowd-cap{
  position:absolute; left:0; right:0; bottom:0; padding:26px 18px 12px;
  background:linear-gradient(transparent, rgba(15,18,22,.82));
  color:#fff; font-size:13.5px;
}
.crowd .crowd-cap b{ font-family:'Big Shoulders'; font-weight:600; letter-spacing:.1em; text-transform:uppercase; }

/* ---------------- volunteer band ---------------- */
.volband{ background:var(--roundel); }
.volband-inner{
  max-width:1100px; margin:0 auto; padding:34px 20px;
  display:grid; grid-template-columns:1.5fr 1fr; gap:24px; align-items:center;
}
@media(max-width:840px){ .volband-inner{ grid-template-columns:1fr; } }
.volband .eyebrow{ color:#f3c9b9; }
.volband h2{
  font-family:'Big Shoulders'; font-weight:800; font-size:clamp(28px,4vw,38px);
  text-transform:uppercase; line-height:1; margin:2px 0 10px; color:#fff;
}
.volband p{ color:#f6ddd3; font-size:15px; max-width:52ch; margin:0; }
.volband-cta{ display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
.volband-cta .btn.go{ font-size:16.5px; padding:14px 28px; }
.volband-note{ font-size:12.5px; color:#f0c9ba; }

/* ---------------- news ---------------- */
.news-list{
  display:flex; flex-direction:column; gap:1px; background:var(--line);
  border:1px solid var(--line); border-radius:11px; overflow:hidden;
}
.news-row{ display:flex; gap:16px; background:var(--card); padding:13px 17px; align-items:baseline; }
.news-date{
  font-family:'Big Shoulders'; font-weight:800; font-size:13.5px; color:var(--roundel);
  letter-spacing:.06em; white-space:nowrap; min-width:52px; text-transform:uppercase;
}
.news-row .n-title{ font-size:15px; font-weight:700; line-height:1.35; }
.news-row .n-sum{ font-size:13.5px; color:#57504a; margin:2px 0 0; line-height:1.5; }
.news-row .n-src{ font-size:11.5px; color:var(--muted); margin-top:2px; }
.news-row .n-src a{ color:var(--roundel); text-decoration:none; }
.badge-new{
  display:inline-block; background:var(--live); color:#fff; font-size:9.5px; font-weight:700;
  padding:1.5px 7px; border-radius:4px; margin-left:7px; vertical-align:middle;
  letter-spacing:.06em;
}
.badge-done{
  display:inline-block; background:#8d867c; color:#fff; font-size:9.5px; font-weight:700;
  padding:1.5px 7px; border-radius:4px; margin-left:7px; vertical-align:middle;
  letter-spacing:.04em;
}
.pager{ display:flex; align-items:center; justify-content:center; gap:14px; margin-top:14px; }
.pager button{
  background:var(--card); border:1px solid var(--line); border-radius:7px;
  padding:6px 14px; cursor:pointer; font-size:13px; font-family:inherit; color:var(--ink);
}
.pager button:disabled{ opacity:.35; cursor:default; }
.pager .pg{ font-size:13px; color:var(--muted); }

/* ---------------- YouTube (watch page) ---------------- */
.yt-row{
  display:flex; gap:14px; overflow-x:auto; padding-bottom:12px;
  scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
  flex-wrap:nowrap; /* never let a blanket rule stack this again (blueprint F-02) */
}
.yt-card{
  flex:0 0 280px; scroll-snap-align:start; background:#000;
  border:1px solid var(--board-line); border-radius:10px; overflow:hidden;
  text-decoration:none; color:inherit; display:block;
}
.yt-thumb{ position:relative; width:280px; height:158px; overflow:hidden; background:#0a0d10; }
.yt-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.yt-thumb .play{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background:rgba(0,0,0,.15);
}
.yt-thumb .play i{
  width:44px; height:44px; background:rgba(225,29,46,.9); border-radius:9px;
  display:flex; align-items:center; justify-content:center;
}
.yt-thumb .play i::after{
  content:""; width:0; height:0; border-style:solid; border-width:9px 0 9px 16px;
  border-color:transparent transparent transparent #fff; margin-left:3px;
}
.yt-meta{ padding:8px 12px; background:var(--card); }
.yt-meta .t{
  font-size:12px; font-weight:700; white-space:nowrap; overflow:hidden;
  text-overflow:ellipsis; color:var(--ink);
}
.yt-meta .c{ font-size:10.5px; color:var(--muted); }
.yt-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:14px; }
.yt-grid .yt-card{ flex:none; width:100%; }
.yt-grid .yt-thumb{ width:100%; height:auto; aspect-ratio:16/9; }
.yt-search{
  width:100%; border:1.5px solid var(--line); border-radius:10px; background:var(--card);
  font-size:14px; padding:11px 40px 11px 14px; font-family:inherit; color:var(--ink);
}
.yt-search:focus{ outline:none; border-color:var(--go); box-shadow:0 0 0 3px rgba(23,128,61,.14); }
.yt-search-wrap{ position:relative; margin:6px 0 14px; }
.yt-search-clear{
  position:absolute; right:8px; top:50%; transform:translateY(-50%);
  background:none; border:0; font-size:18px; color:var(--muted); cursor:pointer;
  padding:4px 8px; display:none;
}
.yt-count{ font-weight:400; font-size:12.5px; color:var(--muted); }
.yt-year{
  font-family:'Big Shoulders'; font-weight:600; font-size:16px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--muted); margin:20px 0 10px;
}
.yt-toggle{
  display:flex; align-items:center; gap:8px; cursor:pointer; user-select:none;
  background:none; border:1px solid var(--line); border-radius:9px; width:100%;
  text-align:left; padding:11px 14px; font-family:inherit; font-size:14px;
  font-weight:700; color:var(--ink); margin-top:8px;
}
.yt-toggle .chev{ display:inline-block; transition:transform .2s; font-size:12px; }
.yt-toggle[aria-expanded="true"] .chev{ transform:rotate(90deg); }
.yt-body{ display:none; }
.yt-body.open{ display:block; }
.follow-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:12px; }
.follow-card{
  text-decoration:none; color:inherit; background:var(--card); border:1px solid var(--line);
  border-radius:10px; padding:14px 15px; display:flex; flex-direction:column; gap:4px;
  transition:box-shadow .15s;
}
.follow-card:hover{ box-shadow:0 8px 22px -14px rgba(28,24,20,.45); }
.follow-card .f-src{
  font-family:'Big Shoulders'; font-weight:600; font-size:11px; letter-spacing:.14em;
  text-transform:uppercase; color:var(--roundel);
}
.follow-card .f-title{ font-size:13.5px; font-weight:700; }
.follow-card p{ font-size:11.5px; color:var(--muted); margin:0; line-height:1.45; }

/* ---------------- volunteer page ---------------- */
.volpage{ display:grid; grid-template-columns:1.15fr .85fr; gap:22px; align-items:start; }
@media(max-width:840px){ .volpage{ grid-template-columns:1fr; } }
.form-card{
  background:var(--card); border:1px solid var(--line); border-radius:14px;
  padding:22px 24px; box-shadow:0 16px 40px -26px rgba(28,24,20,.45);
}
.form-card h2{
  font-family:'Big Shoulders'; font-weight:800; font-size:26px; text-transform:uppercase;
  margin:0 0 4px;
}
.form-card .lead{ font-size:13px; color:var(--muted); margin:0 0 6px; }
.f-label{ display:block; font-size:13px; font-weight:700; margin:14px 0 5px; color:#3c362f; }
.f-label em{ color:#8d867c; font-weight:400; font-style:normal; }
.f-input, .f-area{
  width:100%; border:1.5px solid #ddd6cb; border-radius:8px; padding:10px 13px;
  font-size:14.5px; background:#fffdfa; color:var(--ink); font-family:inherit;
}
.f-input:focus, .f-area:focus{
  outline:none; border-color:var(--go); box-shadow:0 0 0 3px rgba(23,128,61,.14);
}
.f-area{ min-height:88px; resize:vertical; }
.f-checks{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:2px; }
@media(max-width:520px){ .f-checks{ grid-template-columns:1fr; } }
.f-check{
  display:flex; gap:9px; align-items:center; border:1.5px solid #ddd6cb; border-radius:8px;
  padding:10px 11px; font-size:13px; background:#fffdfa; cursor:pointer; user-select:none;
}
.f-check input{ accent-color:var(--go); width:16px; height:16px; margin:0; flex-shrink:0; }
.f-check:has(input:checked){ border-color:var(--go); background:#f0f7f2; }
.f-priv{ font-size:12px; color:#8d867c; margin-top:12px; }
.f-msg{ display:none; font-size:14px; padding:10px 13px; border-radius:8px; margin:14px 0 0; }
.f-msg.err{ display:block; background:#fbe3e3; color:#9f1223; border:1px solid #f3c1c1; }
.f-msg.ok{ display:block; background:#dcefe2; color:var(--go-deep); border:1px solid #bfdcc9; }
.hp-field{ position:absolute; left:-9999px; top:-9999px; height:1px; width:1px; overflow:hidden; }
.aside-cards{ display:flex; flex-direction:column; gap:12px; }
.aside-card{
  background:var(--card); border:1px solid var(--line); border-radius:11px;
  padding:15px 17px; font-size:13.5px; line-height:1.55;
}
.aside-card b.h{
  font-family:'Big Shoulders'; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  font-size:13px; color:var(--roundel); display:block; margin-bottom:4px;
}
.aside-card.grn{ background:#f0f7f2; border-color:#cfe4d6; }
.success-panel{ text-align:center; padding:36px 18px; }
.success-panel .tick{
  width:56px; height:56px; border-radius:50%; background:var(--go); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:26px; margin:0 auto 14px;
}
.success-panel h3{
  font-family:'Big Shoulders'; font-weight:800; font-size:24px;
  text-transform:uppercase; margin:0 0 8px;
}
.success-panel p{ color:#57504a; font-size:14.5px; max-width:44ch; margin:0 auto; }

/* ---------------- page hero (subpages) ---------------- */
.page-hero{ background:var(--board); border-bottom:4px solid var(--roundel); }
.page-hero.red{ background:var(--roundel); border-bottom-color:var(--roundel-deep); }
.page-hero-inner{ max-width:1100px; margin:0 auto; padding:28px 20px 24px; }
.page-hero .eyebrow{ color:var(--cis); }
.page-hero.red .eyebrow{ color:#f3c9b9; }
.page-hero h1{
  font-family:'Big Shoulders'; font-weight:800; font-size:clamp(30px,4.4vw,44px);
  text-transform:uppercase; line-height:1; color:#fff; margin:0 0 8px;
}
.page-hero .sub{ color:#b9c2cb; font-size:15px; max-width:62ch; margin:0; }
.page-hero.red .sub{ color:#f6ddd3; }

/* ---------------- footer ---------------- */
.mtfoot{ background:var(--board); color:#95a0ab; margin-top:44px; }
.mtfoot-inner{ max-width:1100px; margin:0 auto; padding:28px 20px 22px; }
.mtfoot-grid{ display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.mtfoot-brand{
  font-family:'Big Shoulders'; font-weight:800; letter-spacing:.1em; color:#fff;
  font-size:18px; display:block; text-transform:uppercase;
}
.mtfoot-line{ font-size:12.5px; }
.mtfoot-links{ display:flex; gap:16px; flex-wrap:wrap; align-items:baseline; }
.mtfoot-links a{ color:#c3cbd3; font-size:13px; text-decoration:none; }
.mtfoot-links a:hover{ color:var(--cis); }
.mtfoot-sponsor{
  border-top:1px solid var(--board-line); margin-top:16px; padding-top:14px;
  font-size:12.5px; display:flex; align-items:center; gap:14px; flex-wrap:wrap;
}
.mtfoot-sponsor img{ height:26px; width:auto; border-radius:4px; }
.mtfoot-sponsor b{ color:#e8edf2; }
.mtfoot-priv{ font-size:11.5px; color:#5f6b76; margin-top:10px; }

/* ---------------- modals (operator login on home) ---------------- */
.modal-backdrop{
  position:fixed; inset:0; background:rgba(15,18,22,.6); z-index:100;
  display:none; align-items:center; justify-content:center; padding:16px;
  opacity:0; transition:opacity .2s;
}
.modal-backdrop.active{ opacity:1; }
.modal-panel{
  background:var(--card); border-radius:14px; width:100%; max-width:26rem;
  box-shadow:0 30px 80px -30px rgba(0,0,0,.6); position:relative;
  max-height:calc(100vh - 40px); overflow-y:auto;
}
.modal-header{ padding:20px 22px 0; display:flex; flex-direction:column; align-items:center; gap:8px; }
.modal-title{
  font-family:'Big Shoulders'; font-weight:800; font-size:22px;
  text-transform:uppercase; margin:0;
}
.modal-body{ padding:16px 22px 22px; }
.modal-close-x{
  position:absolute; top:10px; right:12px; background:none; border:0; font-size:24px;
  color:var(--muted); cursor:pointer; padding:6px 10px; line-height:1;
}
.form-label{ display:block; font-size:13px; font-weight:700; margin-bottom:5px; color:#3c362f; }
.form-input{
  width:100%; border:1.5px solid #ddd6cb; border-radius:8px; padding:10px 13px;
  font-size:14.5px; background:#fffdfa; color:var(--ink); font-family:inherit;
}
.form-input:focus{ outline:none; border-color:var(--go); box-shadow:0 0 0 3px rgba(23,128,61,.14); }
.btn-primary{
  background:var(--go); color:#fff; border:0; border-radius:8px; padding:11px 18px;
  font-size:14.5px; font-weight:700; cursor:pointer; font-family:inherit; text-decoration:none;
}
.btn-primary:hover{ background:var(--go-deep); }
.btn-primary:disabled{ opacity:.6; cursor:default; }
.spinner{
  display:inline-block; width:20px; height:20px; border:3px solid rgba(0,0,0,.15);
  border-top-color:var(--go); border-radius:50%; animation:mt-spin .8s linear infinite;
}
.spinner-lg{ width:34px; height:34px; }
.spinner-sm{ width:14px; height:14px; border-width:2px; }
.spinner-white{ border-color:rgba(255,255,255,.35); border-top-color:#fff; }
@keyframes mt-spin{ to{ transform:rotate(360deg); } }

/* ---------------- misc ---------------- */
.center-note{ text-align:center; color:var(--muted); font-size:14px; padding:32px 0; }
.skip-link{
  position:absolute; left:-9999px; top:0; background:var(--ink); color:#fff;
  padding:8px 14px; border-radius:0 0 8px 0; z-index:200; text-decoration:none;
}
.skip-link:focus{ left:0; }
