/* Sports in Bars - "Match Night" design system (see site/DESIGN.md).
   Two themes on the SAME token names as before so the markup is untouched:
   - default / dark  = MATCH NIGHT (stout ground, floodlight amber, broadcast
     scoreboard). Applied pre-render via the inline <head> script.
   - [data-theme="light"] absent, i.e. :root = MATCHDAY AFTERNOON (warm paper).
   The fixture board stays a dark broadcast screen in BOTH themes. */

:root {
  /* brand constants (same in both themes) */
  --brass: #f6b23d;          /* floodlight amber - key accent, links, CTA */
  --brass-bright: #ffcd6b;
  --green: #2fa968;          /* floodlit pitch green */
  --green-deep: #12603f;
  --live: #ff3b30;           /* broadcast LIVE red */
  /* Bahnschrift first so Windows matches the concept exactly; Saira Semi
     Condensed (webfont) is the DIN-style fallback everywhere else. */
  --font-display: "Bahnschrift", "Saira Semi Condensed", "DIN Alternate", "Oswald", "Arial Narrow", sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --wrap: 1140px;

  /* the fixture board is a dark screen in BOTH themes */
  --board-bg: #120d07;
  --board-fg: #f4ecd8;
  --board-line: rgba(246, 238, 218, .1);

  /* MATCHDAY AFTERNOON (light) - warm paper, cooler than a cream cliche */
  --bg: #ece6da;
  --surface: #fbf8f1;
  --surface-2: #f2ecdd;
  --ink: #211a11;
  --ink-dim: #6a5d45;
  --line: #d8ccb2;
  --line-soft: #e6dcc7;
  --brass-link: #a86f0c;      /* accessible amber on light */
  --shadow: 0 20px 50px rgba(60, 42, 10, .12);
  --hero-scrim-top: rgba(18, 12, 5, .35);
  --hero-scrim-bot: rgba(18, 12, 5, .92);
  --header-bg: color-mix(in srgb, var(--bg) 82%, transparent);
  --footer-grad: linear-gradient(180deg, #16744d, var(--green-deep));
  --tag-bg: rgba(120, 90, 30, .07);
  --glow: 0 0 60px rgba(246, 178, 61, .22);
}

[data-theme="dark"] {
  /* MATCH NIGHT (default via inline script) */
  --bg: #0e0b08;
  --surface: #171009;
  --surface-2: #211710;
  --ink: #f4ecd8;
  --ink-dim: #b3a487;
  --line: #33271a;
  --line-soft: #241a10;
  --brass-link: var(--brass);
  --shadow: 0 24px 60px rgba(0, 0, 0, .5);
  --hero-scrim-top: rgba(14, 11, 8, .32);
  --hero-scrim-bot: rgba(14, 11, 8, .94);
  --header-bg: rgba(14, 11, 8, .72);
  --footer-grad: linear-gradient(180deg, #103a2b, #0a2c1d);
  --tag-bg: rgba(255, 255, 255, .05);
  --glow: 0 0 80px rgba(246, 178, 61, .16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
  overflow-x: hidden;
  background-image:
    radial-gradient(120% 80% at 84% -8%, rgba(246, 178, 61, .10), transparent 55%),
    radial-gradient(90% 60% at 8% 0%, rgba(47, 169, 104, .06), transparent 50%);
  background-attachment: fixed;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; font-stretch: 88%; line-height: 1; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); font-weight: 700; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; text-transform: uppercase; margin-bottom: 0.5em; }
h3 { font-size: 1.4rem; font-weight: 600; }

a { color: var(--brass-link); text-decoration: none; }
a:hover { color: var(--brass); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
/* padding-block only: the shorthand used to wipe .wrap's 24px inline padding
   on every `wrap section` element, so that content ran edge to edge on mobile */
.section { padding-block: 64px; }
.narrow { max-width: 680px; }

@media (min-width: 1440px) { :root { --wrap: 1320px; } }
@media (min-width: 1800px) { :root { --wrap: 1560px; } }
.full-bleed { width: 100vw; margin-inline: calc(50% - 50vw); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--brass); color: #241400; padding: 8px 16px; border-radius: 6px; }

.eyebrow { font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--brass-link); margin-bottom: 14px; }
.eyebrow a { color: inherit; }

/* section headings keep a short amber underline as a "touchline" mark */
.section > h2, .hero h2 { position: relative; padding-bottom: 16px; }
.section > h2::after, .hero h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 52px; height: 3px; border-radius: 3px; background: var(--brass); }

/* ------------------------------------------------------------- header */

.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line-soft); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-name { font-family: var(--font-display); font-size: 1.42rem; font-weight: 700; font-stretch: 90%; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.brand-name em { color: var(--brass); font-style: normal; }
/* brand mark: rounded stout tile with a soft gradient + top highlight, an
   Oswald/Bahnschrift "S" and a live-red dot. Stays dark on any background. */
.logo-mark { width: 30px; height: 30px; flex: none; border-radius: 8px; display: inline-grid; place-items: center; background: linear-gradient(150deg, #241a10, #0b0805); border: 1px solid #3a2c1a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1; color: var(--brass); position: relative; }
.logo-mark::after { content: ""; position: absolute; top: 5px; right: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--live); box-shadow: 0 0 6px rgba(255, 59, 48, .55); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--ink-dim); font-weight: 500; font-size: 0.96rem; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: #241400; }

/* theme toggle */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .16s, color .16s; }
.theme-toggle:hover { border-color: var(--brass); color: var(--brass-link); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .i-sun { display: none; }
.theme-toggle .i-moon { display: block; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* facebook icon in header */
.fb-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; color: #4a9bff; transition: transform .16s ease-out, background .16s; }
.fb-icon svg { width: 21px; height: 21px; }
.fb-icon:hover { transform: translateY(-2px); background: var(--surface-2); color: #4a9bff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ------------------------------------------------------------ buttons */

.btn { display: inline-block; padding: 13px 24px; border-radius: 11px; font-family: var(--font-body); font-weight: 650; font-size: 0.96rem; line-height: 1.2; transition: transform .16s ease-out, background .16s, border-color .16s, box-shadow .16s; }
.btn-brass { background: linear-gradient(180deg, var(--brass-bright), var(--brass)); color: #241400 !important; box-shadow: 0 8px 22px rgba(246, 178, 61, .3); }
.btn-brass:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(246, 178, 61, .42); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.btn-ghost:hover { border-color: var(--brass); color: var(--ink); transform: translateY(-2px); }

/* --------------------------------------------------------------- hero */

.hero { padding: 88px 0 60px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -34%; right: -6%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 178, 61, .18), transparent 62%); filter: blur(8px); pointer-events: none; z-index: 0; }
.hero-sub { padding: 66px 0 44px; }
.hero .wrap, .hero-grid { position: relative; z-index: 1; }
/* narrow measure only on the home hero, where the lede shares its row with the
   kick-off board; sub-page ledes sit under a full-width h1 and get a normal
   reading measure so they don't read as a stubby 3-line column */
.hero-home .lede { max-width: 34ch; }
.hero-sub .lede { max-width: 62ch; }
.hero h1 .glow, .hero h1 em { color: var(--brass); font-style: normal; text-shadow: 0 0 34px rgba(246, 178, 61, .4); }
/* big, tight home headline to match the concept (3 forced lines) */
.hero-home h1 { font-size: clamp(3rem, 7.8vw, 6.5rem); line-height: .95; }

/* home hero: copy + live kick-off board */
.hero-home { padding: 78px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 52px; align-items: start; }
/* hero eyebrow stays the bright floodlight amber in both themes (matches the
   original concept); other eyebrows keep the darker, higher-contrast amber */
.hero-home .eyebrow { color: var(--brass); }
.hero-badge { position: absolute; top: 8%; left: 2%; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--board-bg); color: var(--board-fg); font-size: 0.82rem; font-weight: 600; box-shadow: var(--shadow); }
.hero-badge .live-dot { margin: 0; }
.lede { color: var(--ink-dim); font-size: 1.16rem; margin-top: 22px; }
.lede strong { color: var(--ink); font-weight: 650; }
.lede a { text-decoration: underline; text-underline-offset: 3px; }
.hero-cities { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; color: var(--ink); font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; background: var(--surface); transition: border-color .16s, transform .16s ease-out; }
.pill span { color: var(--brass-link); font-weight: 700; margin-left: 6px; font-variant-numeric: tabular-nums; }
.pill:hover { border-color: var(--brass); transform: translateY(-2px); }
.hero-stats { margin-top: 30px; color: var(--ink-dim); font-size: 0.96rem; }
.hero-stats strong { color: var(--ink); font-family: var(--font-display); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* photo hero on bar pages - scrim keeps white text readable in both themes */
.bar-hero { position: relative; padding: 100px 0 50px; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); color: #fff; }
.bar-hero .eyebrow { color: var(--brass-bright); }
.bar-hero .eyebrow a { color: #fff; }
.bar-hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.bar-address { color: #fff; font-size: 1.15rem; margin-top: 12px; opacity: .95; }
.bar-hero .sports li { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .12); }
.bar-hero .sport-ic { color: var(--brass-bright); }
.photo-credit { position: absolute; right: 14px; bottom: 9px; max-width: min(75vw, 680px); color: rgba(255, 255, 255, .78); font-size: .7rem; text-align: right; }
.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------- sport tags + icons */

.sports { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px; }
.sports li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 9px; border-radius: 8px; background: var(--tag-bg); border: 1px solid var(--line); font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); }
.sport-ic { display: inline-flex; width: 17px; height: 17px; color: var(--brass-link); }
.sport-ic svg { width: 100%; height: 100%; }
.sports-mini { margin: 12px 0 0; gap: 6px; }
.sports-mini li { padding: 4px 9px 4px 7px; font-size: 0.68rem; }
.sports-mini .sport-ic { width: 13px; height: 13px; }

/* -------------------------------------------------- broadcast fixture board */
/* dark in both themes - it is a screen / scoreboard */

.board { background: linear-gradient(180deg, #2b1f13, #0d0a06); color: var(--board-fg); border: 1px solid #3a2c1a; border-radius: var(--radius); padding: 0; box-shadow: var(--shadow), var(--glow); overflow: hidden; }
.board .eyebrow { color: var(--brass); margin: 0; }
.board > .eyebrow, .board > h2 { padding: 0 30px; }
.board > .eyebrow { padding-top: 26px; }
.board h2 { padding-bottom: 0; color: var(--board-fg); margin: 8px 0 4px; }
.board h2::after { display: none; }
.board-list { list-style: none; margin-top: 16px; border-top: 1px solid var(--board-line); }
.board-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 14px 30px; border-bottom: 1px solid var(--board-line); font-variant-numeric: tabular-nums; transition: background .16s; }
.board-list li:hover { background: rgba(246, 178, 61, .07); }
.board-list li:last-child { border-bottom: 0; }
.fx-comp { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .92rem; min-width: 220px; color: var(--board-fg); }
.fx-when { color: var(--brass-bright); font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; letter-spacing: .02em; margin-left: auto; }
.fx-note, .fx-match { color: #c4b79a; font-size: 0.95rem; }
.fx-day { margin: 20px 0 0; padding: 0 30px; color: var(--brass-bright); font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.board-foot { padding: 16px 30px 26px; color: #9c8e72; font-size: 0.9rem; }
.board-foot a { color: var(--brass-bright); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); margin-right: 4px; box-shadow: 0 0 0 0 rgba(255, 59, 48, .6); animation: pulse 1.6s cubic-bezier(.2,.7,.2,1) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,59,48,.55); } 70% { box-shadow: 0 0 0 7px rgba(255,59,48,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); } }

/* fixtures marquee ticker */
.ticker { border-block: 1px solid var(--line-soft); background: color-mix(in srgb, var(--surface) 55%, transparent); overflow: hidden; }
.ticker-track { display: flex; gap: 44px; padding: 12px 0; white-space: nowrap; width: max-content; animation: slide 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .09em; font-size: 0.82rem; font-weight: 500; color: var(--ink-dim); display: inline-flex; align-items: center; gap: 12px; }
.ticker span b { color: var(--brass-link); font-weight: 700; }
.ticker .sep { color: var(--ink-dim); opacity: .5; }
@keyframes slide { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- cards */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

.card { display: block; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .18s ease-out, border-color .18s, box-shadow .18s; }
.card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--brass) 45%, var(--line)); color: var(--ink); box-shadow: var(--shadow); }
.card-img { display: block; height: 170px; background-size: cover; background-position: center; position: relative; }
.bar-card .card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,7,4,.55)); }
.card-body { display: block; padding: 20px 22px 22px; }
.bar-card h3 { margin-bottom: 4px; text-transform: uppercase; letter-spacing: .01em; }
.card-meta { color: var(--ink-dim); font-size: 0.92rem; }
.card-chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 4px 11px; border-radius: 7px; border: 1px solid var(--line); color: var(--ink-dim); }
.chip-green { background: var(--green-deep); border-color: var(--green); color: #d5f0e2; }
.card-cta { display: inline-block; margin-top: 16px; color: var(--brass-link); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: 0.9rem; }
.card:hover .card-cta { color: var(--brass); }
.city-card p { color: var(--ink-dim); font-size: 0.97rem; margin-top: 4px; }
.city-card h3 { text-transform: uppercase; }

/* -------------------------------------------- city pages: list + map */

.city-split { padding: 44px 24px 60px; }
.city-map { display: none; }
.map-toggle { display: none; }

@media (min-width: 1000px) {
  .city-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(360px, 36vw, 640px);
    gap: 32px;
    padding: 44px 0 0 max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
  }
  .city-list { padding-bottom: 60px; }
  .city-list .grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .city-map {
    display: block;
    position: sticky;
    top: 68px;
    height: calc(100vh - 68px);
    border-left: 1px solid var(--line);
    background: var(--surface-2);
  }
}

@media (max-width: 999px) {
  .map-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
    z-index: 70; border: 0; cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  }
  .map-toggle svg { width: 17px; height: 17px; }
  .city-split.map-open .city-map {
    display: block;
    position: fixed; inset: 68px 0 0 0; z-index: 60;
    background: var(--surface-2);
  }
}

#city-map { width: 100%; height: 100%; }

/* Leaflet chrome, themed */
.city-map .leaflet-container { font-family: var(--font-body); background: var(--surface-2); }
[data-theme="dark"] .city-map .leaflet-tile { filter: invert(1) hue-rotate(190deg) brightness(.85) contrast(.88) saturate(.55); }
.pin { width: 26px; height: 26px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--brass); border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.pin::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.city-map .leaflet-popup-content-wrapper { background: var(--surface); color: var(--ink); border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.city-map .leaflet-popup-tip { background: var(--surface); }
.city-map .leaflet-popup-content { margin: 14px 16px; line-height: 1.45; }
.pop-name { display: block; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 1.06rem; color: var(--ink); }
.pop-meta { display: block; color: var(--ink-dim); font-size: 0.84rem; margin-top: 2px; }
.pop-link { display: inline-block; margin-top: 8px; color: var(--brass-link); font-weight: 600; font-size: 0.88rem; }

/* video cards (lazy YouTube) */
.video-card { text-align: left; border: 1px solid var(--line-soft); cursor: pointer; font: inherit; padding: 0; width: 100%; }
.video-card .card-img { position: relative; }
.video-card .play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(246, 178, 61, .95); box-shadow: 0 4px 20px rgba(0, 0, 0, .4); transition: transform .16s ease-out, background .16s; }
.video-card .play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #241400; }
.video-card:hover .play { transform: scale(1.08); background: var(--brass-bright); }
.video-embed { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------- cta panel */

.cta-panel { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: linear-gradient(120deg, var(--green-deep), #0c3a26 70%, #0a2c1d); border: 1px solid color-mix(in srgb, var(--green) 40%, transparent); border-radius: 18px; padding: 42px 46px; box-shadow: var(--shadow); color: #fff; }
.cta-panel::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 2px, transparent 2px 46px); pointer-events: none; }
.cta-panel h2 { padding: 0; color: #eafff4; position: relative; }
.cta-panel h2::after { display: none; }
.cta-panel p { color: #a9dcc4; margin-top: 10px; max-width: 520px; position: relative; }
.cta-panel .btn { position: relative; }

/* ---------------------------------------------------- bar page detail */

.bar-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.bar-cols aside { position: sticky; top: 92px; }
.bar-cols h2 { margin-top: 40px; }
.bar-cols > div > h2:first-child { margin-top: 0; }

.prose { max-width: 720px; }
.prose p { margin-bottom: 16px; color: var(--ink); }
.prose p + p { color: var(--ink-dim); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose.narrow h2 { margin-top: 40px; }

.factbar { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 8px; }
.fact { flex: 1; min-width: 110px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; padding: 18px 20px; }
.fact-n { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; color: var(--brass-link); line-height: 1; font-variant-numeric: tabular-nums; }
.fact-l { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-dim); }
.evidence-note { max-width: 720px; margin: 14px 0 24px; padding: 12px 16px; border-left: 3px solid var(--brass); background: var(--surface); color: var(--ink-dim); font-size: .88rem; border-radius: 0 8px 8px 0; }

.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 8px; line-height: 0; }

/* ---------------------------------------------------------- logo lab */

.logo-lab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.logo-lab-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.logo-lab-stage { display: grid; place-items: center; min-height: 176px; padding: 28px; background: #120d07; }
.logo-lab-stage.light { background: var(--bg); }
.logo-lab-stage img { display: block; width: min(100%, 430px); height: auto; }
.logo-lab-copy { padding: 22px 24px 24px; }
.logo-lab-copy p { color: var(--ink-dim); margin-top: 8px; font-size: 0.96rem; }
.logo-lab-current { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; }
.logo-lab-current em { color: var(--brass-link); font-style: italic; }
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 18px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); }
.logo-strip img { height: 38px; width: auto; max-width: 100%; }
.logo-strip .logo-mark { flex: 0 0 auto; }

.steps { margin-left: 20px; }
.steps li { margin-bottom: 14px; color: var(--ink-dim); }
.steps li strong { color: var(--ink); }

/* -------------------------------------------------------------- forms */

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form label { display: block; font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-dim); margin-bottom: 14px; }
.form input, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; color: var(--ink); font: inherit; font-size: 0.97rem; text-transform: none; letter-spacing: 0; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { border: 0; cursor: pointer; width: 100%; margin-top: 4px; }
.form-note { font-size: 0.82rem; color: var(--ink-dim); margin-top: 12px; text-align: center; }
.form .cf-turnstile { margin-bottom: 14px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-error { margin-top: 12px; font-size: 0.88rem; color: #ff6b61; text-align: center; }
.form-done { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); text-align: center; }
.form-done strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.form-done span { color: var(--ink-dim); font-size: 0.92rem; }

/* ------------------------------------------------------- social band */

.social-band { background: linear-gradient(115deg, var(--green-deep), #0c3a26 55%, #0a2c1d); color: #fff; position: relative; overflow: hidden; }
.social-band::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 2px, transparent 2px 46px); pointer-events: none; }
.social-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 46px 24px; position: relative; }
.social-copy .eyebrow { color: #7ee0b0; }
.social-copy h2 { color: #eafff4; padding: 0; margin-bottom: 8px; }
.social-copy h2::after { display: none; }
.social-copy p { color: #a9dcc4; max-width: 540px; }
.btn-fb { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #0f5bc4; font-weight: 650; padding: 14px 24px; border-radius: 11px; box-shadow: var(--shadow); transition: transform .16s ease-out; white-space: nowrap; }
.btn-fb svg { width: 20px; height: 20px; }
.btn-fb:hover { transform: translateY(-2px); color: #0f5bc4; }

/* -------------------------------------------------------------- footer */

.site-footer { background: var(--footer-grad); border-top: 1px solid color-mix(in srgb, var(--green) 45%, transparent); margin-top: 0; color: #e0f2e8; }
.foot-fb { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #cfe7d9; font-size: 0.9rem; }
.foot-fb svg { width: 17px; height: 17px; }
.foot-fb:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 58px 24px 40px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; font-stretch: 90%; line-height: 1; text-transform: uppercase; color: #fff; }
.foot-tag { color: #a9d3bf; font-size: 0.92rem; margin-top: 10px; }
.site-footer h3 { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: #a9d3bf; margin-bottom: 14px; }
.site-footer nav a { display: block; color: #e0f2e8; font-size: 0.95rem; padding: 4px 0; }
.site-footer nav a:hover { color: #fff; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .14); padding: 20px 24px; color: #a9d3bf; font-size: 0.88rem; }

/* ------------------------------------------------------------- mobile */

@media (max-width: 900px) {
  .bar-cols { grid-template-columns: 1fr; gap: 32px; }
  .bar-cols aside { position: static; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 56px 0 40px; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .theme-toggle { margin-left: auto; }
  .fb-icon { order: 3; }
  .social-in { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .board > .eyebrow, .board > h2, .fx-day { padding-inline: 22px; }
  .board-list li { padding-inline: 22px; }
  .board-foot { padding-inline: 22px; }
  .fx-comp { min-width: 0; }
  .cta-panel { padding: 32px 26px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
