/* palette: generated from brand.json */
:root{color-scheme:light;--bg:#ffffff;--surface:#f5f8f4;--ink:#17201b;--muted:#4b5a51;--line:#d9e2da;--brand:#0b5d3b;--brand-hover:#094b30;--chrome:#062c13;--chrome-ink:#ffffff;--chrome-muted:#c9d6cc;--gold:#d4af37;--gold-ink:#806312;--emph:#b34a00;--btn:#0b5d3b;--btn-hover:#094b30;}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){color-scheme:dark;--bg:#0c1510;--surface:#121f17;--ink:#e8efe9;--muted:#a9b9ae;--line:#27392d;--brand:#6fd29e;--brand-hover:#8fdcb3;--gold-ink:#e2bf55;--emph:#ff9b57;}}
:root[data-theme="dark"]{color-scheme:dark;--bg:#0c1510;--surface:#121f17;--ink:#e8efe9;--muted:#a9b9ae;--line:#27392d;--brand:#6fd29e;--brand-hover:#8fdcb3;--gold-ink:#e2bf55;--emph:#ff9b57;}
/* Regional NDFL sites (southeast = SEDFL, northeast = NEDFL) — shared stylesheet.
   BYTE-IDENTICAL in both repos. Brand colours come only from the :root block that
   build.py prepends from brand.json:
     brand       headings, links, primary buttons      chrome   header + footer ground
     gold        trim, gold buttons, format tags       gold-ink gold-coloured TEXT on light grounds
     emph        small accent text (eyebrows, numbers) — every pairing measured >= 4.5:1
   Light page, dark chrome — the look of the league's own SEDFL page (white ground,
   deep green, gold trim). The one hard-coded set is .region-*: each card always
   wears ITS league's colours, whichever site it is shown on. */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:var(--bg);color:var(--ink);font:16px/1.65 system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
img{max-width:100%;height:auto}
a{color:var(--brand);text-underline-offset:2px}
.container{max-width:1120px;margin:0 auto;padding:0 1.25rem}
:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.site-header :focus-visible,.site-footer :focus-visible,.region:focus-visible{outline-color:var(--gold)}
.skip{position:absolute;left:-9999px}
.skip:focus{left:1rem;top:1rem;position:fixed;background:var(--gold);color:var(--chrome);padding:.6rem 1rem;border-radius:8px;z-index:100;font-weight:700}

/* ---------------------------------------------------------------- header */
.site-header{position:sticky;top:0;z-index:50;background:var(--chrome);border-bottom:3px solid var(--gold)}
.nav{display:flex;align-items:center;gap:1rem;min-height:72px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--chrome-ink)}
.brand-mark{height:calc(2.4rem * var(--mark-scale, 1));width:auto;display:block}   /* --mark-scale: per-site, from brand.json palette */
.brand-name{font-weight:800;text-transform:uppercase;font-size:.78rem;line-height:1.12;letter-spacing:.05em}
.nav-menu{display:flex;gap:.25rem;list-style:none;margin:0 auto 0 .75rem;padding:0;flex-wrap:wrap}
.nav-menu a{display:block;padding:.5rem .75rem;border-radius:8px;text-decoration:none;color:var(--chrome-ink);font-weight:600;font-size:.93rem}
.nav-menu a:hover{color:var(--gold);background:rgba(255,255,255,.07)}
.nav-menu a[aria-current=page]{color:var(--gold);box-shadow:inset 0 -2px 0 var(--gold);border-radius:8px 8px 0 0}
.affil{display:flex;flex-direction:column;align-items:center;gap:.3rem;text-decoration:none;line-height:1}
.affil img{height:2rem;width:auto;display:block}
.affil span{font-size:.64rem;text-transform:uppercase;letter-spacing:.15em;color:var(--chrome-muted);font-weight:700;text-align:center}
.affil:hover span{color:var(--gold)}
.nav-toggle{display:none;align-items:center;gap:.5rem;background:transparent;color:var(--chrome-ink);border:1px solid rgba(255,255,255,.3);border-radius:8px;padding:.45rem .75rem;font:inherit;font-weight:600;cursor:pointer}
.nav-toggle-bar{display:block;width:16px;height:2px;background:currentColor;box-shadow:0 5px 0 currentColor,0 -5px 0 currentColor}
@media (max-width:900px){
  .nav-toggle{display:inline-flex;order:3;margin-left:auto}
  .nav-menu{display:none;order:4;flex-direction:column;width:100%;margin:.25rem 0 .75rem}
  .nav-menu.is-open{display:flex}
  .brand{order:1}
  .affil{order:2;margin-left:.9rem;padding-left:.9rem;border-left:1px solid rgba(255,255,255,.2)}
}
/* Below ~520px brand + affil + toggle cannot share a row. As on east.*: the mark
   already reads SEDFL / NEDFL, so drop the wordmark TEXT -- never the region label
   under the NDFL mark, which only shrinks. The toggle tightens to make room. */
@media (max-width:680px){.brand-name{display:none}}
@media (max-width:520px){
  .nav{gap:.5rem}
  .brand-mark{height:calc(1.85rem * var(--mark-scale, 1))}
  .affil{margin-left:.6rem;padding-left:.6rem}
  .affil img{height:1.55rem}
  .affil span{font-size:.56rem;letter-spacing:.1em}
  .nav-toggle{padding:.4rem .6rem;font-size:.9rem}
  .container{padding:0 .85rem}
}
@media (max-width:380px){.brand-mark{height:calc(1.6rem * var(--mark-scale, 1))}.affil{margin-left:.45rem;padding-left:.45rem}.affil span{letter-spacing:.06em}}
/* Oldest small phones (320px): the toggle shows only its icon; "Menu" stays as
   visually-hidden text so the button keeps its accessible name. */
@media (max-width:340px){
  .nav-toggle{padding:.55rem .6rem}
  .nav-toggle-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
}

/* ---------------------------------------------------------------- home hero */
.hero{padding:3.25rem 0 3.5rem;border-bottom:1px solid var(--line)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:2.75rem;align-items:center}
.hero h1{font-size:clamp(1.9rem,4.4vw,3rem);line-height:1.08;margin:.35rem 0 .9rem;color:var(--brand);font-weight:800;letter-spacing:-.015em}
.eyebrow{font-size:.76rem;letter-spacing:.15em;text-transform:uppercase;color:var(--emph);font-weight:800;margin:0 0 .45rem}
.motto{font-weight:800;color:var(--gold-ink);letter-spacing:.08em;text-transform:uppercase;font-size:.92rem;margin:0 0 1rem}
.lead{color:var(--muted);font-size:1.05rem;max-width:56ch;margin:0 0 .75rem}
.hero-art img{display:block;width:100%;max-width:440px;margin:0 auto}
.hero-art.framed img{max-width:380px;border-radius:16px;border:3px solid var(--gold);box-shadow:0 18px 40px rgba(0,0,0,.28)}
.status{display:inline-block;margin-top:.5rem;padding:.4rem 1rem;border:1px solid var(--gold-ink);border-radius:999px;color:var(--gold-ink);font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;font-weight:800}
@media (max-width:840px){
  .hero{padding-top:2rem}
  .hero-grid{grid-template-columns:1fr;gap:1.5rem}
  .hero-art{order:-1}
  .hero-art img{max-width:300px}
  .hero-art.framed img{max-width:280px}
}

/* ---------------------------------------------------------------- page furniture */
.page-hero{padding:2.75rem 0 2.25rem;background:var(--surface);border-bottom:1px solid var(--line)}
.page-hero h1{font-size:clamp(1.7rem,4vw,2.5rem);margin:.2rem 0 .5rem;color:var(--brand);font-weight:800;letter-spacing:-.01em}
.page-hero p:last-child{color:var(--muted);max-width:62ch;margin:0}
section{padding:3rem 0;border-bottom:1px solid var(--line)}
section:last-of-type{border-bottom:0}
section.tinted{background:var(--surface)}
main h2{font-size:clamp(1.35rem,2.6vw,1.75rem);color:var(--brand);margin:0 0 1.4rem;font-weight:800;letter-spacing:-.01em;line-height:1.2}
main h2::after{content:"";display:block;width:3rem;height:3px;margin-top:.55rem;background:var(--gold);border-radius:2px}
h3{font-size:1.05rem;margin:0 0 .45rem;color:var(--ink)}
.sub-h{margin:2.4rem 0 1rem;font-size:.9rem;text-transform:uppercase;letter-spacing:.1em}
.prose p{max-width:70ch;margin:0}
.prose p + p{margin-top:.9rem}
.prose-lead{color:var(--muted);max-width:70ch;margin:0 0 1.25rem}
.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}
.card{background:var(--bg);border:1px solid var(--line);border-top:3px solid var(--gold);border-radius:12px;padding:1.35rem 1.4rem}
.card p{margin:0;color:var(--muted);font-size:.95rem}
.num{color:var(--emph);font-weight:800;margin-right:.45rem}
.fmt{display:inline-block;margin-top:.9rem;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-weight:800;color:var(--chrome);background:var(--gold);padding:.2rem .6rem;border-radius:4px}
.btn{display:inline-flex;align-items:center;gap:.3rem;padding:.7rem 1.2rem;border-radius:10px;font-weight:800;font-size:.95rem;text-decoration:none;border:1px solid transparent;line-height:1.2}
.btn-primary{background:var(--btn);color:#fff}   /* own token: dark mode lightens --brand for text, not the button */
.btn-primary:hover{background:var(--btn-hover)}
.btn-gold{background:var(--gold);color:var(--chrome);border-color:var(--gold-ink)}
.btn-gold:hover{filter:brightness(1.07)}
.btn-ghost{background:transparent;color:var(--brand);border-color:var(--line)}
.btn-ghost:hover{background:var(--surface)}
.btn-row{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.4rem}
.form-card{display:flex;flex-direction:column}
.form-card p{margin-bottom:1.1rem}
.form-card .btn{margin-top:auto;align-self:flex-start}
.doc-list{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.doc-list li{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.2rem;background:var(--bg);border-top:1px solid var(--line)}
.doc-list li:first-child{border-top:0}
.doc-list p{margin:.15rem 0 0;color:var(--muted);font-size:.92rem}
.doc-list a{font-weight:700;white-space:nowrap}
.pending{color:var(--muted);font-style:italic;font-size:.9rem;white-space:nowrap}
.fee-table{width:100%;border-collapse:collapse;font-size:.95rem}
.fee-table th,.fee-table td{padding:.5rem 0;border-bottom:1px solid var(--line)}
.fee-table th{text-align:left;font-weight:500}
.fee-table td{text-align:right;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;padding-left:1rem}
.fee-table tbody tr:last-child th,.fee-table tbody tr:last-child td{border-bottom:0}
.fee-table tfoot th,.fee-table tfoot td{border-top:2px solid var(--line);border-bottom:0;padding-top:.7rem;font-weight:800;color:var(--brand)}
.covers{margin:0;padding-left:1.2rem}
.covers li{margin:.35rem 0}
.note{margin:1.75rem 0 0;background:var(--bg);border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:8px;padding:1rem 1.15rem;color:var(--muted);font-size:.93rem}
.empty{text-align:center;padding:2.5rem 1.25rem}
.empty p{color:var(--muted);max-width:56ch;margin:0 auto}

/* ---------------------------------------------------------------- region strip
   On EVERY page of all three sites (nationaldeaf.football has the same rules). */
main section.regions-band{border-top:1px solid var(--line)}
.regions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.region{display:flex;flex-direction:column;gap:.15rem;padding:1.2rem 1.3rem 1.1rem;border-radius:12px;border-top:4px solid;color:#fff;text-decoration:none;transition:transform .15s ease}
.region:hover{transform:translateY(-2px)}
.region strong{font-size:1.45rem;letter-spacing:.05em;line-height:1.1}
.region span{color:rgba(255,255,255,.86);font-size:.92rem}
.region .here,.region .go{margin-top:.65rem;font-size:.72rem;letter-spacing:.13em;text-transform:uppercase;font-weight:800;color:#fff}
.region .here{color:#d4af37}
/* "You are here" ring = the card's OWN league accent (its top-border colour). Gold on white is
   only 2.10:1, so the NEDFL ring gets a 1px darker-gold edge (#806312, 5.66:1); orange/red clear 3:1. */
.region[aria-current]{box-shadow:0 0 0 3px var(--bg),0 0 0 5px var(--ring),0 0 0 6px var(--ring-edge,transparent)}
.region-se{background:#062c13;border-color:#e36302;--ring:#e36302}   /* SEDFL: green / orange */
.region-nat{background:#113c7e;border-color:#c1121f;--ring:#c1121f}  /* NDFL: blue / red (logo #14458e deepened: gold "here" 5.07:1) */
.region-ne{background:#031329;border-color:#d4af37;--ring:#d4af37;--ring-edge:#806312}   /* NEDFL: navy / gold */
@media (max-width:640px){.regions{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.region{transition:none}.region:hover{transform:none}}

/* ---------------------------------------------------------------- teams */
/* Divisions sit side by side as columns (they hold 1-3 teams each); they stack on phones. */
.teams-by-div{display:grid;gap:2.5rem 2rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));align-items:start}
.grid-teams{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.team{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.55rem}
/* Crests vary in aspect: pin them to a square well, contain (never crop) the artwork. */
.team img{width:100%;max-width:210px;aspect-ratio:1;object-fit:contain;border-radius:12px;background:#0b0b0d}
.team h3{margin:.3rem 0 0}
.team .loc{font-size:.76rem;letter-spacing:.11em;text-transform:uppercase;color:var(--muted)}

/* ---------------------------------------------------------------- footer */
.site-footer{background:var(--chrome);color:var(--chrome-muted);border-top:3px solid var(--gold);padding:2.75rem 0 2.25rem;font-size:.92rem}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:2rem}
.footer-brand{display:flex;align-items:center;gap:.7rem}
.footer-brand .brand-mark{height:calc(2rem * var(--mark-scale, 1))}
.footer-brand p{margin:0;color:var(--chrome-ink);font-weight:700}
.slogan{margin:.9rem 0 0;color:var(--gold);letter-spacing:.14em;text-transform:uppercase;font-size:.76rem;font-weight:800}
.footer-h{margin:0 0 .6rem;font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.footer-list{list-style:none;margin:0;padding:0}
.footer-list li{margin:.25rem 0;overflow-wrap:anywhere}
.site-footer p{margin:0 0 .5rem}
.site-footer a{color:var(--chrome-ink)}
.site-footer a:hover{color:var(--gold)}
.footer-legal{display:flex;align-items:center;justify-content:space-between;gap:.6rem 1.5rem;flex-wrap:wrap;
  margin-top:1.6rem;padding-top:1.1rem;border-top:1px solid rgba(255,255,255,.14)}
.legal-text p{margin:.15rem 0}
.legal{font-size:.8rem;margin:0}
/* "Design and Hosted by Signers Media" + the Signers logo (signers.online site icon, as published) */
.credit{line-height:24px;font-size:.8rem}
.credit-mark{display:inline-block;width:24px;height:24px;vertical-align:middle;margin:-3px .1rem 0}   /* in the sentence: "by [logo] Signers Media" */
.credit strong{color:var(--chrome-ink)}
/* dark/light toggle -- bottom-right of the footer, as on nationaldeaf.football. The footer is
   dark chrome in BOTH themes, so the button is styled for chrome, not for the page palette. */
.theme-toggle{display:inline-flex;align-items:center;gap:.45rem;margin-left:auto;background:rgba(255,255,255,.06);
  color:var(--chrome-ink);border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:.4rem .8rem;
  font:inherit;font-size:.78rem;font-weight:700;line-height:1;cursor:pointer}
.theme-toggle:hover{border-color:var(--gold);color:var(--gold)}
.theme-toggle svg{width:1rem;height:1rem;display:block}
/* icon mirrors the RENDERED theme: sun while light (the base here), moon while dark */
.theme-toggle .icon-moon{display:none}
:root[data-theme="dark"] .theme-toggle .icon-moon{display:block}
:root[data-theme="dark"] .theme-toggle .icon-sun{display:none}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .theme-toggle .icon-moon{display:block}
  :root:not([data-theme="light"]) .theme-toggle .icon-sun{display:none}
}
@media (max-width:760px){.footer-grid{grid-template-columns:1fr;gap:1.5rem}}
