/* Dolphin Gaming — site stylesheet. The hall-sign look carried across the site: warm black, brushed gold,
   teal accents, Oswald headings and numerals, Inter body. The jackpot board itself is css/board.css. */

@font-face { font-family: "Oswald"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/oswald-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); }

:root {
  --paper: #08080a; --paper-2: #0c0b09; --paper-3: #15130f;
  --surface: #0f0e0c; --surface-2: #17150f;
  --ink: #f4efe4; --ink-2: #d6cdbb; --ink-3: #a39d92;
  --line: rgba(195, 146, 46, .22); --line-2: rgba(195, 146, 46, .45);
  --gold: #e6bf62; --gold-deep: #c3922e; --gold-ink: #fbe3a0;
  --goldfill: linear-gradient(180deg, #fbe3a0, #e6bf62 45%, #c3922e);
  --goldtext: linear-gradient(180deg, #fbe3a0 0%, #e6bf62 38%, #c3922e 72%, #9a7425 100%);
  --teal: #6fd6ea; --aqua: #6fd6ea; --sea: #2eaac3; --ok: #3ccf7a;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --num: "Oswald", "Arial Narrow", sans-serif;
  --r: 14px; --r-lg: 22px;
  --wrap: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1400px 800px at 50% 0%, #1a1408 0%, #0c0b09 55%, var(--paper) 100%) no-repeat, var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.15; letter-spacing: .02em; margin: 0 0 .5rem; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); text-transform: uppercase; letter-spacing: .08em; }
h3 { font-size: 1.3rem; letter-spacing: .04em; }
small { font-size: .85em; }
ul, ol { padding-left: 1.3rem; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #000; padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-2); }
.gold-t { color: var(--gold); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(8, 8, 10, .96); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.brand img { width: 28px; height: 32px; }
.nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; font-family: var(--display); font-weight: 500; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--ink-2); padding: .25rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.nav-lang { font-weight: 700; }
.nav .nav-cta { color: #000; border-bottom: 0; padding: .65rem 1.2rem; font-size: .9rem; }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: .6rem; background: transparent; color: var(--ink); border: 1px solid var(--line-2); border-radius: 999px; padding: .5rem .9rem; font: inherit; font-family: var(--display); font-size: .9rem; font-weight: 600; cursor: pointer; }
.nav-toggle-bar { width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle-bar::before { top: -6px; } .nav-toggle-bar::after { top: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; white-space: nowrap; cursor: pointer; line-height: 1.2; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--goldfill); color: #15120c; box-shadow: 0 6px 18px rgba(230, 191, 98, .25); }
.btn-gold:hover { box-shadow: 0 10px 24px rgba(230, 191, 98, .35); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.link { color: var(--gold); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-family: var(--display); text-decoration: none; }
.link:hover { color: var(--gold-ink); text-decoration: underline; }
.link::after { content: " →"; }

/* ---------- hero (home) ---------- */
.hero { position: relative; background: #000; color: #fff; overflow: hidden; min-height: 560px; display: flex; align-items: center; padding-block: 5rem; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .9) 100%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; }
.badge { display: inline-block; background: var(--goldfill); color: #15120c; font-family: var(--display); font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; padding: .45rem 1rem; border-radius: 999px; margin: 0 .75rem 1rem 0; box-shadow: 0 6px 18px rgba(230, 191, 98, .3); }
.eyebrow { display: inline-block; font-family: var(--display); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: .75rem; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1.1; max-width: 18ch; margin: 0 0 1.25rem; text-transform: uppercase; }
.hero h1 em, .page-hero h1 em { font-style: normal; background: var(--goldtext); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.125rem; color: rgba(255, 255, 255, .82); max-width: 52ch; margin: 0 0 1.75rem; }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.proof { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; color: rgba(255, 255, 255, .72); }
.proof b { color: #fff; font-family: var(--display); font-weight: 700; }

/* ---------- big-wins ticker ---------- */
.rail { overflow: hidden; padding: .8rem 0; background: #060606; border-top: 1px solid var(--line); border-bottom: 3px solid var(--gold-deep); }
.rail-h { margin: 0 0 .35rem; text-align: center; font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); }
.rail-track { display: flex; align-items: center; gap: 2.5rem; width: max-content; white-space: nowrap; animation: ticker 90s linear infinite; }
.rail:hover .rail-track { animation-play-state: paused; }
.rail-pause { margin-left: .8rem; padding: .2rem .7rem; border: 1px solid var(--line-2); border-radius: 999px; background: none; color: var(--ink-2); font: inherit; letter-spacing: .12em; cursor: pointer; }
.rail-pause::before { content: "❚❚ "; }
.rail-pause[aria-pressed="true"] { color: #15120c; background: var(--gold); border-color: var(--gold); }
.rail-pause[aria-pressed="true"]::before { content: "▶ "; }
/* WCAG 2.2.2: the visitor's "pause animations" choice stops every animation on the page */
.still *, .still *::before, .still *::after { animation-play-state: paused !important; }
.rail-dup { display: contents; }
.rail-badge { padding: .15rem .9rem; border-radius: 999px; background: var(--goldfill); color: #15120c; font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.rail-item { color: var(--ink-2); }
.rail-item b { font-family: var(--num); font-size: 1.35rem; color: var(--gold); margin-right: .3rem; }
.rail-item small { color: var(--ink-3); margin-left: .3rem; }
@keyframes ticker { to { transform: translateX(calc(-50% - 1.25rem)); } }

/* ---------- sections ---------- */
.sec { padding-block: 4rem; }
.sec-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-h { text-align: center; max-width: 64ch; margin: 0 auto 2rem; }
.sec-h h2 { margin-bottom: .5rem; }
.sec-h p { color: var(--ink-2); margin: 0; }
.sec-foot { margin-top: 2rem; text-align: center; }
.page-hero { padding-block: 4rem 3rem; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .35); }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); text-transform: uppercase; margin: .5rem 0 1rem; max-width: 20ch; }
.page-hero .lede { margin-bottom: 0; max-width: 60ch; }
.page-hero .ctas { margin-top: 1.5rem; }
.prose { max-width: 66ch; }
.prose h3 { margin-top: 1.6rem; }

.tbl { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.tbl th, .tbl td { padding: .9rem 1.1rem; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-family: var(--display); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); border-top: 0; background: rgba(255, 255, 255, .03); }
.tbl tbody th { font-family: var(--display); font-weight: 700; }
.tbl tbody th small { display: block; font-family: var(--body); font-weight: 400; color: var(--ink-3); font-size: .78rem; }
.tbl td { font-family: var(--display); font-weight: 600; color: var(--gold-ink); }
.tbl-wrap { overflow-x: auto; }
.week-h { margin-top: 3rem; }
.day { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-top: .6rem; }
.day summary { cursor: pointer; padding: .9rem 1.1rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; }
.day[open] summary { color: var(--gold); }
.day summary small { margin-left: .6rem; font-size: .72rem; letter-spacing: .16em; color: var(--teal); }
.ses-row { display: grid; grid-template-columns: 6.5rem 1fr repeat(5, auto); gap: .4rem 1.5rem; align-items: baseline; padding: .8rem 1.1rem; border-top: 1px solid var(--line); font-family: var(--display); }
summary.ses-row { cursor: pointer; font-size: 1rem; letter-spacing: 0; text-transform: none; color: inherit; }
.ses-d[open] > summary { background: rgba(230, 191, 98, .08); }
.ses-p { color: var(--gold); font-weight: 700; }
.ses-d .ses-p::after { content: " ▾"; color: var(--teal); }
.ses-x { color: var(--ink-3); font-size: .85rem; }
.ses-x b { color: var(--gold-ink); font-size: 1rem; margin-left: .2rem; }
.prog { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; align-items: start; padding: 1rem 1.1rem .4rem; }
.half { margin: 0 0 .5rem; font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); }
.gm, .gm-break { margin: 0 0 .8rem; border: 1px solid var(--line); border-radius: var(--r); padding: .8rem 1rem; background: var(--paper-2); }
.gm h4 { margin: 0; font-size: 1.05rem; }
.gm-s { margin: .1rem 0 .5rem; font-size: .8rem; color: var(--ink-3); }
.gm ul { list-style: none; margin: 0; padding: 0; }
.gm li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.gm li b { font-family: var(--num); color: var(--gold); }
.gm-break { text-align: center; font-family: var(--display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }

/* ---------- sessions list ---------- */
.srows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.srow { position: relative; display: block; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem 1.5rem 1.4rem; background: var(--surface); text-decoration: none; transition: border-color .2s, transform .2s; }
a.srow:hover { border-color: var(--sea); transform: translateY(-3px); }
.srow-t { display: block; font-family: var(--num); font-size: 2.6rem; line-height: 1; margin: .3rem 0 .4rem; }
.srow-n { display: block; font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.srow-b { display: block; color: var(--ink-2); font-size: .95rem; }
.srow.is-next { border-color: var(--gold); background: rgba(230, 191, 98, .07); box-shadow: 0 0 40px rgba(230, 191, 98, .12); }
.srow.is-live { border: 2px solid var(--aqua); background: linear-gradient(180deg, rgba(46, 170, 195, .16), rgba(46, 170, 195, .03)); }

/* ---------- cards, steps, stats ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; background: var(--surface); min-width: 0; }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card .k { font-family: var(--display); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: .5rem; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.steps li { counter-increment: step; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; background: var(--surface); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--goldfill); color: #15120c; font-family: var(--num); font-size: 1.6rem; margin-bottom: 1rem; }
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 0; color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 1.25rem; }
.stat { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; background: var(--surface); text-align: center; }
.stat-v { font-family: var(--num); font-size: 3.2rem; line-height: 1.05; }
.stat-v, .srow-t { font-weight: 700; background: var(--goldtext); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hours td, a.tel, .steps li::before { font-weight: 700; }
.stat-l { color: var(--ink-2); margin-top: .4rem; font-size: .95rem; }

/* ---------- split text + photo ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-rev > .photo { order: -1; }
.photo { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split h2 { margin-bottom: .75rem; text-align: left; }
.split p { color: var(--ink-2); }
.split .ctas { margin-top: 1.25rem; }

/* ---------- callout ---------- */
.callout { border: 1px solid rgba(230, 191, 98, .4); border-radius: var(--r-lg); padding: 2.25rem; background: linear-gradient(135deg, rgba(230, 191, 98, .14), rgba(230, 191, 98, .03)); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.callout h2 { margin-bottom: .5rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.callout p { color: var(--ink-2); margin: 0; max-width: 60ch; }

/* ---------- lists, glossary, patterns, partners ---------- */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 1.7rem; margin-bottom: .6rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.gloss { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 0; }
.gloss div { border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.4rem; background: var(--surface); }
.gloss dt { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--gold); margin-bottom: .3rem; }
.gloss dd { margin: 0; color: var(--ink-2); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; justify-content: center; }
.split .chips { justify-content: flex-start; }
.chips li { border: 1px solid var(--line-2); border-radius: 999px; padding: .45rem 1rem; font-family: var(--display); font-weight: 600; font-size: .9rem; background: var(--surface); }
.chips-gold li { border-color: rgba(230, 191, 98, .5); color: var(--gold); }
/* pattern guide (How to Play, js/patterns.js): a sliding row on phones */
.pats { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 1.2rem .8rem; list-style: none; padding: .3rem; margin: 0 0 1.5rem; }
.pats li { text-align: center; font-family: var(--display); font-weight: 600; font-size: .9rem; }
.pat { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; width: 7.5rem; margin: 0 auto .5rem; padding: 6px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); }
.pat i { aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .09); transition: background .3s; }
.pat i.on { background: var(--gold); }
.pat i.free { background: url(/assets/img/dolphin-gaming-logo.svg) center / 85% no-repeat; border-radius: 0; }
.pat i.hard { background: linear-gradient(45deg, transparent 44%, #ff7b7b 44% 56%, transparent 56%), url(/assets/img/dolphin-gaming-logo.svg) center / 85% no-repeat; }
@media (max-width: 40em) { .pats { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 8.5rem; overflow-x: auto; scroll-snap-type: x mandatory; } .pats li { scroll-snap-align: start; } }
.partners { columns: 3; column-gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.partners li { break-inside: avoid; padding: .5rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.mega { display: block; width: max-content; font-family: var(--num); font-size: clamp(2.8rem, 12vw, 9rem); line-height: 1; background: var(--goldtext); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lede + .lede { margin-top: 1rem; }
.video { padding: 0; overflow: hidden; color: inherit; text-decoration: none; }
.video:hover, .video:focus-visible { border-color: var(--gold); }
.video-i { display: block; position: relative; }
.video-i img { display: block; width: 100%; height: auto; }
.video-i::before, .video-i::after { content: ""; position: absolute; inset: 0; margin: auto; }
.video-i::before { width: 64px; height: 64px; border-radius: 50%; background: var(--goldfill); box-shadow: 0 4px 18px rgba(0, 0, 0, .5); }
.video-i::after { width: 22px; height: 26px; left: 5px; background: #15120c; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.video-b { display: grid; gap: .35rem; padding: 1.2rem 1.4rem 1.4rem; color: var(--ink-2); }
.video-b b { font-family: var(--display); font-size: 1.2rem; color: var(--ink); }
.video-b .k { margin: .4rem 0 0; }
.fine { font-size: .9rem; color: var(--ink-3); }

/* ---------- hours & contact ---------- */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .6rem 0; border-top: 1px solid var(--line); text-align: left; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 0; }
.hours th { font-weight: 500; color: var(--ink-2); }
.hours td { font-family: var(--num); font-size: 1.5rem; text-align: right; color: var(--gold); letter-spacing: .02em; }
.hours-cap { font-family: var(--display); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin: 1.25rem 0 .4rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.map img { width: 100%; object-fit: cover; }
a.tel { font-family: var(--num); font-size: 1.9rem; letter-spacing: .03em; text-decoration: none; display: inline-block; color: var(--gold); }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; font-family: var(--display); margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem 1rem; font: inherit; font-size: 1rem; color: var(--ink); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); border-radius: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--aqua); outline-offset: 1px; border-color: var(--aqua); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--ink-3); margin: 0; }
.form-ok { display: none; border: 1px solid var(--ok); border-radius: var(--r); padding: 1rem 1.2rem; background: rgba(60, 207, 122, .1); }
.form-err { display: none; border: 1px solid #ff7b7b; border-radius: var(--r); padding: 1rem 1.2rem; background: rgba(255, 99, 99, .08); }
.form-ok.is-on, .form-err.is-on { display: block; }
.form-ok:focus, .form-err:focus { outline: none; }
.hp { position: absolute; left: -9999px; } /* spam trap: people never see it, bots fill it in */

/* ---------- footer ---------- */
.ftr { border-top: 3px solid var(--gold-deep); background: #060606; margin-top: 3rem; color: var(--ink-2); font-size: .92rem; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-block: 3rem 2rem; }
.ftr-about p { margin: .9rem 0; max-width: 40ch; }
.ftr-h { font-family: var(--display); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin: 0 0 .8rem; }
.ftr-links { list-style: none; padding: 0; margin: 0; }
.ftr-links li { margin-bottom: .45rem; }
.ftr a { color: var(--ink-2); text-decoration: none; }
.ftr a:hover { color: var(--gold); }
.ftr-addr a { text-decoration: underline; }
.ftr-addr { line-height: 1.7; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; gap: .75rem; align-items: center; }
.badges img { height: 24px; width: auto; opacity: .85; }
.ftr-legal { border-top: 1px solid var(--line); padding-block: 1.1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .85rem; color: var(--ink-3); }
.ftr-legal p { margin: 0; }
.ftr-legal a { text-decoration: underline; text-underline-offset: 2px; } /* links inside a sentence need more than colour (WCAG 1.4.1) */

/* ---------- responsive ---------- */
@media (max-width: 70em) { /* the menu folds into the Menu button before it runs out of room (French is widest) */
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 16px 1rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .nav-cta { margin-top: .9rem; justify-content: center; border-bottom: 0; }
}
@media (max-width: 56.25em) {
  .hero { min-height: 0; padding-block: 3.5rem; }
  .cards-4, .stats, .srows { grid-template-columns: 1fr 1fr; }
  .cards, .steps { grid-template-columns: 1fr; }
  .split, .split-rev { grid-template-columns: 1fr; gap: 1.5rem; }
  .split-rev > .photo { order: 0; }
  .callout { grid-template-columns: 1fr; }
  .partners { columns: 2; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 37.5em) {
  .cards-4, .gloss, .form { grid-template-columns: 1fr; }
  .stats, .srows { gap: .75rem; }
  .srow { padding: 1rem 1rem .9rem; }
  .srow-t { font-size: 1.85rem; }
  .srow-b { font-size: .9rem; }
  .ftr-grid { grid-template-columns: 1fr; }
  .partners { columns: 1; }
  .ses-row { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
  .ses-p { flex: 1 0 60%; }
  .prog { grid-template-columns: 1fr; }
  .callout { padding: 1.5rem; }
  .sec { padding-block: 3rem; }
}
/* Touch screens (any phone or tablet, whatever its width): every tap target at least 44 x 44 px (Apple HIG, WCAG 2.5.5) */
@media (pointer: coarse) {
  .brand, .nav-toggle, .btn-sm, .rail-pause, .link, .card-links a, .ftr-links a, .ftr-addr a, .ftr-legal a { min-height: 44px; }
  .link, .card-links a, .ftr-links a, .ftr-addr a, .ftr-legal a { display: inline-flex; align-items: center; }
  .ftr-links li + li { margin-top: 0; }
  .btn-sm { min-width: 44px; }
  a, button, summary { -webkit-tap-highlight-color: rgba(230, 191, 98, .25); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rail { overflow-x: auto; }
  .rail-track { animation: none; }
  .rail-dup { display: none; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .hdr, .ftr, .nav-toggle, .ctas, .skip, .rail { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .srow, .tbl { background: #fff; border-color: #999; }
}
