/* ============================================================
   Royal Canadian Legion — Sarnia Branch 62
   Theme v2 "Inked Navy": cinematic dark hero, editorial type,
   full-bleed photo bands, linen content sections.
   Mobile-first. No build step.
   ============================================================ */

/* ---------- Theme tokens: light (default) and dark ---------- */
:root {
  --ink: #0b1220;          /* brand dark, used by hero/nav/footer in BOTH themes */
  --ink-2: #111a2c; --ink-3: #182238;
  --on-dark: #f3f0ea; --on-dark-2: rgba(243, 240, 234, .72); --on-dark-3: rgba(243, 240, 234, .45);
  --red: #e8232e; --red-deep: #b8121c; --gold: #d4a72c;
  --ok: #1f8a4c; --warn: #b26a00;
  --radius: 18px; --radius-sm: 10px; --pill: 999px;
  --max: 1200px; --gutter: 20px; --nav-h: 72px;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* light theme surfaces */
  --bg: #f6f3ee; --surface: #ffffff; --soft: #e9ecf3; --soft-2: #f1ede6;
  --text: #0e1320; --text-2: #4a5160; --text-3: #7a8192;
  --line: #e6e1d8; --line-strong: #d6cfc3;
  --red-soft: #fde9ea; --gold-soft: #fbf3d9; --ok-soft: #e4f4ea; --warn-soft: #fff1d6;
  --inverse: #0b1220; --on-inverse: #ffffff;
  --shadow: 0 20px 60px rgba(11, 18, 32, .18); --shadow-sm: 0 4px 16px rgba(11, 18, 32, .08);
  color-scheme: light;

  /* legacy aliases used by component CSS */
  --navy: var(--ink); --navy-deep: var(--ink); --navy-soft: var(--soft); --cream: var(--bg); --muted: var(--text-2); --red-dark: var(--red-deep); --paper: var(--surface); --linen: var(--bg);
}
:root[data-theme="dark"] {
  --bg: #0b1220; --surface: #121b2d; --soft: #1b2640; --soft-2: #162038;
  --text: #f3f0ea; --text-2: rgba(243, 240, 234, .74); --text-3: rgba(243, 240, 234, .5);
  --line: #1f2a42; --line-strong: #2d3a57;
  --red-soft: rgba(232, 35, 46, .18); --gold-soft: rgba(212, 167, 44, .16); --ok-soft: rgba(31, 138, 76, .2); --warn-soft: rgba(178, 106, 0, .22);
  --inverse: #f3f0ea; --on-inverse: #0b1220;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45); --shadow-sm: 0 4px 16px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); letter-spacing: -.01em; }
h1 em, h2 em { font-style: normal; color: var(--red); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
small, .small { font-size: .9rem; }
.muted { color: var(--text-2); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(36px, 5vw, 64px) 0; }
.section.alt { background: var(--surface); }
.section.navy, .section.dark { background: var(--ink); color: var(--on-dark); }
.section.navy h2, .section.navy h3, .section.dark h2, .section.dark h3 { color: var(--on-dark); }
.section.navy p, .section.dark p { color: var(--on-dark-2); }
.section.navy a:not(.btn), .section.dark a:not(.btn) { color: #ffb3b8; }
.section.red { background: var(--red-deep); color: #fff; }
.section.red h2, .section.red h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.section.navy .eyebrow, .section.dark .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: #ff8a90; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--text-2); max-width: 62ch; line-height: 1.6; }
.section.navy .lede, .section.dark .lede, .page-hero .lede { color: var(--on-dark-2); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.45rem; border-radius: var(--pill); font-weight: 700; font-size: .97rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; text-decoration: none !important; line-height: 1.2; font-family: var(--font-body); letter-spacing: -.005em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(232, 35, 46, .28); }
.btn-red:hover { background: var(--red-deep); }
.btn-navy, .btn-ink { background: var(--inverse); color: var(--on-inverse); }
.btn-navy:hover, .btn-ink:hover { opacity: .9; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-white { background: #ffffff; color: #0b1220; }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover { background: var(--soft); border-color: var(--text); }
.btn-outline.light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline.light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .arrow { transition: transform .15s; } .btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header (fixed, transparent over hero, solid when scrolled) ---------- */
.topbar { display: none; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .25s, box-shadow .25s, backdrop-filter .25s; color: #fff; }
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11,18,32,.75), rgba(11,18,32,0)); pointer-events: none; opacity: 1; transition: opacity .25s; }
.site-header.solid { background: rgba(11, 18, 32, .86); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header.solid::before { opacity: 0; }
.site-header .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); gap: 12px; }
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none !important; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.brand .brand-text { line-height: 1.05; }
.brand .brand-text strong { display: block; font-family: var(--font-display); font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; }
.brand .brand-text span { display: block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; font-weight: 700; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: 8px; }
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.main-nav { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
/* Phone menu overlay (rendered by site.js as a sibling of the header, so the header's blur can't trap it) */
.mobile-menu { position: fixed; inset: 0; z-index: 48; background: var(--ink); color: #fff; padding: calc(var(--nav-h) + 12px) var(--gutter) 28px; display: flex; flex-direction: column; overflow-y: auto; animation: menuIn .22s ease both; }
.mobile-menu::before { content: ""; position: absolute; right: -30%; top: -20%; width: 90vw; height: 90vw; border-radius: 50%; background: radial-gradient(circle, rgba(232,35,46,.22), transparent 62%); pointer-events: none; }
.mobile-menu nav, .mobile-menu .mm-foot { position: relative; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 6.5vw, 1.9rem); letter-spacing: -.02em; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); text-decoration: none !important; }
.mobile-menu li a::after { content: "→"; font-size: 1.1rem; color: rgba(255,255,255,.35); }
.mobile-menu li a.active { color: #ff8a90; }
.mobile-menu li a.active::after { color: #ff8a90; }
.mobile-menu .mm-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 14px; }
.mobile-menu .mm-contact { display: flex; gap: 16px; flex-wrap: wrap; }
.mobile-menu .mm-contact a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none !important; }
.mobile-menu .mm-contact svg { color: #ff8a90; }
.mobile-menu .mm-social { display: flex; align-items: center; gap: 14px; font-size: .85rem; color: var(--on-dark-3); }
.mobile-menu .mm-social a { color: #fff; opacity: .8; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 1180px) { .mobile-menu { display: none !important; } }
@media (min-width: 1180px) {
  .nav-toggle { display: none; }
  .main-nav { display: block !important; }
  .main-nav ul { display: flex; align-items: center; gap: 2px; }
  .main-nav li a { padding: 8px 12px; border: 0; font-family: var(--font-body); font-size: .93rem; font-weight: 600; letter-spacing: 0; color: inherit; opacity: .85; border-radius: 8px; }
  .main-nav li a:hover { opacity: 1; background: rgba(255,255,255,.08); }
  .main-nav li a.active { opacity: 1; color: inherit; position: relative; }
  .main-nav li a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--red); border-radius: 2px; }
  .main-nav .nav-cta { margin: 0 0 0 10px; }
  .main-nav .nav-cta .btn { width: auto; }
}

/* ---------- Home hero (full viewport) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero .media { position: absolute; inset: 0; }
.hero .media video, .hero .media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero .media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(11,18,32,.25) 0%, rgba(11,18,32,.05) 35%, rgba(11,18,32,.78) 72%, var(--ink) 100%); }
.hero .content { position: relative; width: 100%; padding: calc(var(--nav-h) + 40px) 0 clamp(56px, 9vh, 110px); }
/* Desktop: the hero image keeps the poppy on the left, so the copy sits in the right half over a soft scrim */
@media (min-width: 900px) {
  .hero .media::after { background:
    linear-gradient(180deg, rgba(11,18,32,.3) 0%, rgba(11,18,32,0) 30%, rgba(11,18,32,.45) 100%),
    linear-gradient(270deg, rgba(11,18,32,.88) 0%, rgba(11,18,32,.72) 38%, rgba(11,18,32,.15) 62%, rgba(11,18,32,0) 100%); }
  .hero { align-items: center; }
  .hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); }
  .hero .wrap > * { grid-column: 2; }
  .hero .content { padding-top: calc(var(--nav-h) + 24px); }
}
.hero .badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 9px; border-radius: var(--pill); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 26px; animation: fadeUp .6s ease both; }
.hero .badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(232,35,46,.25); animation: pulse 2s infinite; }
.hero h1 { color: #fff; max-width: 13ch; margin-bottom: .35em; animation: fadeUp .7s .08s ease both; }
.hero h1 em { color: #ff6b73; }
.hero .sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--on-dark-2); max-width: 54ch; margin-bottom: 1.6em; animation: fadeUp .7s .16s ease both; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; animation: fadeUp .7s .24s ease both; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: .88rem; color: var(--on-dark-2); animation: fadeUp .7s .32s ease both; }
.hero .facts span { display: inline-flex; align-items: center; gap: 7px; }
.hero .facts svg { color: #ff8a90; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 22px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-3); display: none; align-items: center; gap: 8px; }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent); display: block; }
@media (min-width: 900px) { .scroll-cue { display: flex; flex-direction: column; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(232,35,46,.25); } 50% { box-shadow: 0 0 0 8px rgba(232,35,46,.08); } }

/* Stats strip */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: 1fr 1fr; }
.stats .stat { padding: 26px 10px; text-align: center; border-right: 1px solid var(--line); }
.stats .stat:nth-child(2n) { border-right: 0; }
.stats .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stats .num { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; color: var(--red); line-height: 1; letter-spacing: -.03em; }
.stats .label { font-size: .86rem; color: var(--text-2); margin-top: 6px; }
@media (min-width: 760px) { .stats .wrap { grid-template-columns: repeat(4, 1fr); } .stats .stat { padding: 34px 16px; } .stats .stat:nth-child(2n) { border-right: 1px solid var(--line); } .stats .stat:nth-child(-n+2) { border-bottom: 0; } .stats .stat:last-child { border-right: 0; } }

/* Week rail */
.week { display: grid; gap: 14px; }
@media (min-width: 760px) { .week { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.day-card { position: relative; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 26px 24px 24px; color: var(--on-dark); overflow: hidden; display: flex; flex-direction: column; min-height: 230px; transition: transform .2s, border-color .2s; }
.day-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.22); }
.day-card .dow { font-family: var(--font-display); font-size: clamp(3.2rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; color: #fff; }
.day-card .dow small { font-size: .32em; letter-spacing: .14em; font-weight: 700; color: #ff8a90; margin-left: 10px; vertical-align: middle; }
.day-card h3 { color: #fff; margin: 14px 0 4px; font-size: 1.35rem; }
.day-card p { color: var(--on-dark-2); font-size: .95rem; margin: 0; }
.day-card .next { margin-top: auto; padding-top: 16px; font-size: .82rem; color: var(--on-dark-3); display: flex; justify-content: space-between; align-items: center; }
.day-card .next b { color: var(--gold); font-weight: 700; }
.day-card .glow { position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(232,35,46,.28), transparent 65%); pointer-events: none; }

/* Full-bleed photo band */
.photo-band { position: relative; min-height: clamp(420px, 60vh, 640px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.photo-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s ease; }
.photo-band.in img.bg { transform: scale(1); }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,.1) 0%, rgba(11,18,32,.45) 40%, rgba(11,18,32,.93) 100%), linear-gradient(90deg, rgba(11,18,32,.55), rgba(11,18,32,0) 70%); }
.photo-band .wrap { position: relative; z-index: 1; padding-top: 60px; padding-bottom: clamp(40px, 6vw, 72px); }
.photo-band h2 { color: #fff; max-width: 16ch; }
.photo-band p { color: var(--on-dark-2); max-width: 52ch; }
.photo-band .eyebrow { color: #ff8a90; }

/* Page hero (interior pages) */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: calc(var(--nav-h) + clamp(40px, 8vw, 90px)) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.page-hero.has-img { min-height: clamp(460px, 64vh, 680px); display: flex; align-items: flex-end; }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,.35), rgba(11,18,32,.2) 40%, rgba(11,18,32,.92) 100%), linear-gradient(90deg, rgba(11,18,32,.5), rgba(11,18,32,0) 70%); }
.page-hero:not(.has-img)::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(232,35,46,.22), transparent 62%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .3em; max-width: 16ch; }
.page-hero .lede { color: var(--on-dark-2); }
.page-hero .crumbs { font-size: .8rem; color: var(--on-dark-3); margin-bottom: 14px; letter-spacing: .04em; }
.page-hero .crumbs a { color: var(--on-dark-2); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.section.navy .card, .section.dark .card { background: var(--ink-2); border-color: var(--ink-3); color: var(--on-dark); }
.section.navy .card h3, .section.dark .card h3 { color: #fff; }
.card .card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card .card-body > :last-child { margin-bottom: 0; }
.card .card-body .btn { align-self: flex-start; margin-top: auto; }
.card img.cover { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card.link-card { transition: transform .2s, box-shadow .2s; }
.card.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card.accent-top { border-top: 4px solid var(--red); }
.icon-circle { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: var(--red-soft); color: var(--red); }
.icon-circle.navy { background: var(--soft); color: var(--text); }
.icon-circle.gold { background: var(--gold-soft); color: #8a6c0e; }
.section.navy .icon-circle, .section.dark .icon-circle { background: rgba(255,255,255,.08); color: #ff8a90; }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.rev > :first-child { order: 2; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

.feature-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8232e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; margin-top: .3em; }
.section.navy .feature-list li::before, .section.dark .feature-list li::before { background-color: rgba(255,255,255,.1); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: .3rem .75rem; border-radius: var(--pill); background: var(--red-soft); color: var(--red-deep); font-weight: 700; font-size: .82rem; }
.chip.navy { background: var(--soft); color: var(--text); }
.chip.gold { background: var(--gold-soft); color: #7a5d05; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }

.notice { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--gold-soft); border-left: 4px solid var(--gold); margin-bottom: 1.2em; }
.notice.red { background: var(--red-soft); border-color: var(--red); }
.notice.ok { background: var(--ok-soft); border-color: var(--ok); }
.notice.navy { background: var(--soft); border-color: var(--text); }
.notice > :last-child { margin-bottom: 0; }

.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--red); line-height: 1; letter-spacing: -.03em; }
.stat .label { font-size: .95rem; color: var(--text-2); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a.wide { grid-column: span 2; aspect-ratio: 2/1; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.lightbox { position: fixed; inset: 0; background: rgba(11,18,32,.94); display: none; place-items: center; z-index: 100; padding: 20px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); color: var(--text); font-size: 22px; cursor: pointer; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .team { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.member { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s; }
.member:hover { transform: translateY(-3px); }
.member img, .member .initials { width: 100%; aspect-ratio: 1; object-fit: cover; }
.member .initials { display: grid; place-items: center; background: var(--soft); color: var(--text); font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; }
.member .info { padding: 14px 16px 16px; }
.member .info strong { display: block; font-size: 1.02rem; color: var(--text); font-family: var(--font-display); }
.member .info .role { color: var(--red); font-weight: 700; font-size: .88rem; }
.member .info .extra { color: var(--text-2); font-size: .83rem; margin-top: 4px; }
.member .info a { font-size: .83rem; word-break: break-all; }

/* ---------- Forms ---------- */
form .row { display: grid; gap: 14px; margin-bottom: 14px; }
@media (min-width: 640px) { form .row.cols-2 { grid-template-columns: 1fr 1fr; } form .row.cols-3 { grid-template-columns: repeat(3, 1fr); } }
label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--text); }
label .req { color: var(--red); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="time"], input[type="password"], select, textarea { width: 100%; padding: .78rem .9rem; font: inherit; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--text); box-shadow: 0 0 0 3px var(--soft); }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); }
.checks { display: grid; gap: 10px; }
@media (min-width: 640px) { .checks.cols-2 { grid-template-columns: 1fr 1fr; } }
.help { font-size: .85rem; color: var(--text-2); margin-top: 4px; }
.form-msg { display: none; margin-top: 14px; }
.form-msg.show { display: block; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding: clamp(56px, 8vw, 96px) 0 28px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: -10%; bottom: -50%; width: 50vw; height: 50vw; max-width: 640px; max-height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(232,35,46,.14), transparent 62%); pointer-events: none; }
.site-footer .wrap { position: relative; }
.site-footer a { color: #fff; }
.site-footer h4 { color: #ff8a90; font-family: var(--font-body); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; font-weight: 800; }
.site-footer .cols { display: grid; gap: 36px; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .big { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.05; margin-bottom: 18px; }
.site-footer .big em { font-style: normal; color: var(--red); }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; font-size: .82rem; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; color: var(--on-dark-3); }
.site-footer .bottom a { color: var(--on-dark-2); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero .badge, .hero h1, .hero .sub, .hero .actions, .hero .facts { animation: none; } }

/* ---------- Events calendar ---------- */
.cal-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cal-toolbar .nav { display: flex; align-items: center; gap: 6px; }
.cal-toolbar .nav button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-size: 18px; color: var(--text); }
.cal-toolbar .nav button:hover { background: var(--soft); }
.cal-toolbar .month { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; color: var(--text); min-width: 200px; text-align: center; }
.seg { display: inline-flex; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--pill); padding: 3px; }
.seg button { border: 0; background: transparent; padding: .45rem .95rem; border-radius: var(--pill); font-weight: 700; cursor: pointer; color: var(--text-2); font-family: inherit; font-size: .9rem; }
.seg button.on { background: var(--inverse); color: var(--on-inverse); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button { border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--pill); padding: .35rem .85rem; font-weight: 700; cursor: pointer; font-size: .84rem; font-family: inherit; color: var(--text-2); }
.filters button.on { border-color: var(--inverse); color: var(--on-inverse); background: var(--inverse); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .dow { text-align: center; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); padding: 6px 0; }
.cal-day { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; min-height: 64px; padding: 6px; position: relative; display: flex; flex-direction: column; gap: 3px; cursor: pointer; transition: box-shadow .15s, transform .15s; }
.cal-day:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.cal-day.other { opacity: .4; background: transparent; }
.cal-day.today { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.cal-day .d { font-size: .85rem; font-weight: 800; color: var(--text); font-family: var(--font-display); }
.cal-day.today .d { color: var(--red); }
.cal-day .dots { display: flex; flex-wrap: wrap; gap: 3px; }
.cal-day .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.cal-day .ev { display: none; }
@media (min-width: 760px) {
  .cal-day { min-height: 110px; }
  .cal-day .dots { display: none; }
  .cal-day .ev { display: block; font-size: .73rem; line-height: 1.25; padding: 3px 7px; border-radius: 6px; background: var(--red-soft); color: var(--red-deep); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cal-day .ev.c-club { background: var(--soft); color: var(--text); }
  .cal-day .ev.c-remembrance { background: var(--inverse); color: var(--on-inverse); }
  .cal-day .ev.c-branch { background: var(--gold-soft); color: #6d5305; }
  .cal-day .ev.c-sports { background: var(--ok-soft); color: var(--ok); }
  .cal-day .ev.c-la { background: #f3e6f7; color: #6a2a8a; }
  .cal-day .more { font-size: .72rem; color: var(--text-3); }
}
.cal-day .dot.c-club { background: var(--text-2); } .cal-day .dot.c-remembrance { background: var(--text); } .cal-day .dot.c-branch { background: var(--gold); } .cal-day .dot.c-sports { background: var(--ok); } .cal-day .dot.c-la { background: #8a3fa8; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: .85rem; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: var(--red); }
.ev-list { display: grid; gap: 14px; }
.ev-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: 82px 1fr; overflow: hidden; box-shadow: var(--shadow-sm); }
.ev-item .date { background: var(--inverse); color: var(--on-inverse); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 6px; }
.ev-item .date .m { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 800; }
.ev-item .date .d { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.ev-item .date .w { font-size: .72rem; opacity: .75; }
.ev-item .body { padding: 16px 18px; }
.ev-item .body h3 { margin-bottom: 4px; font-size: 1.15rem; }
.ev-item .meta { font-size: .86rem; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 6px; }
.ev-item .desc { font-size: .95rem; margin: 0; }
.ev-item .actions { margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.ev-item .actions a, .ev-item .actions button { font-size: .85rem; font-weight: 700; background: none; border: 0; padding: 0; cursor: pointer; color: var(--red); font-family: inherit; }
.ev-empty { padding: 30px; text-align: center; color: var(--text-2); background: var(--surface); border-radius: var(--radius); border: 1px dashed var(--line); }
.modal-bg { position: fixed; inset: 0; background: rgba(11,18,32,.7); display: none; align-items: flex-end; justify-content: center; z-index: 90; }
.modal-bg.open { display: flex; }
.modal { background: var(--surface); color: var(--text); width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 22px; box-shadow: 0 -10px 40px rgba(0,0,0,.3); }
@media (min-width: 640px) { .modal-bg { align-items: center; padding: 20px; } .modal { border-radius: var(--radius); } }
.modal .modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.modal .close { border: 0; background: var(--soft); color: var(--text); width: 38px; height: 38px; border-radius: 50%; font-size: 20px; cursor: pointer; flex: none; }

/* Upcoming cards (home + reused) */
.upcoming { display: grid; gap: 14px; }
@media (min-width: 760px) { .upcoming { grid-template-columns: repeat(3, 1fr); } }
.up-card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 18px; box-shadow: var(--shadow-sm); display: flex; gap: 14px; align-items: flex-start; color: var(--text); text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.up-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.up-card .date { flex: none; width: 58px; text-align: center; background: var(--inverse); color: var(--on-inverse); border-radius: 12px; padding: 9px 4px; }
.up-card .date .m { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 800; }
.up-card .date .d { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; line-height: 1; }
.up-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.up-card .meta { font-size: .84rem; color: var(--text-2); }

/* ---------- Booking / availability ---------- */
.booking-layout { display: grid; gap: 28px; }
@media (min-width: 960px) { .booking-layout { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.avail-panel { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--nav-h) + 16px); }
@media (max-width: 959px) { .avail-panel { position: static; } }
.avail-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.avail-grid .dow { text-align: center; font-size: .68rem; font-weight: 800; text-transform: uppercase; color: var(--text-3); padding: 4px 0; letter-spacing: .08em; }
.avail-day { aspect-ratio: 1; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; font-weight: 700; font-size: .92rem; cursor: pointer; position: relative; color: var(--text); font-family: var(--font-display); padding: 0; transition: border-color .15s, transform .15s; }
.avail-day:hover { border-color: var(--text); transform: translateY(-1px); }
.avail-day.other { visibility: hidden; }
.avail-day.past { color: var(--text-3); background: var(--soft-2); cursor: not-allowed; border-color: transparent; }
.avail-day.booked { background: var(--red-soft); color: var(--red-deep); border-color: transparent; cursor: not-allowed; text-decoration: line-through; }
.avail-day.pending { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.avail-day.blocked { background: var(--soft-2); color: var(--text-3); border-color: transparent; cursor: not-allowed; }
.avail-day.selected { background: var(--inverse); color: var(--on-inverse); border-color: var(--inverse); }
.avail-day.today::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.avail-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--text-2); margin-top: 12px; }
.avail-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 5px; border: 1px solid var(--line); background: var(--surface); }
.avail-legend i.booked { background: var(--red-soft); border-color: transparent; }
.avail-legend i.pending { background: var(--warn-soft); border-color: transparent; }
.avail-legend i.blocked { background: var(--soft-2); border-color: transparent; }
.avail-legend i.selected { background: var(--inverse); border-color: transparent; }
.booking-form { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 26px; box-shadow: var(--shadow-sm); color: var(--text); }
.booking-form .selected-date { background: var(--soft); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.booking-form .selected-date.none { background: var(--gold-soft); color: #6d5305; }
.steps { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps .step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.steps .step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--inverse); color: var(--on-inverse); font-weight: 800; font-family: var(--font-display); margin-bottom: 12px; }
.steps .step strong { display: block; color: var(--text); margin-bottom: 4px; font-family: var(--font-display); font-size: 1.05rem; }
.steps .step p { margin: 0; font-size: .92rem; color: var(--text-2); }
.spaces { display: grid; gap: 18px; }
@media (min-width: 760px) { .spaces { grid-template-columns: 1fr 1fr; } }
.space-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.space-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.space-card .body { padding: 22px; }
.space-card .facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--text-2); margin: 8px 0 12px; }
.space-card .facts strong { color: var(--text); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--text); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 14px; margin: 0; color: var(--text-2); }

/* ---------- Tables, docs, contact, misc ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; background: var(--surface); font-size: .92rem; }
table.tbl th, table.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.tbl th { background: var(--soft); color: var(--text); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
table.tbl tr:hover td { background: var(--soft-2); }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.doc-list a { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--text); font-weight: 700; text-decoration: none !important; transition: box-shadow .15s, transform .15s; }
.doc-list a:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); color: var(--red); }
.doc-list a .ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: .7rem; font-weight: 800; }
.doc-list a small { display: block; font-weight: 400; color: var(--text-2); }
.contact-card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 24px; box-shadow: var(--shadow-sm); }
.contact-card .line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.contact-card .line svg { flex: none; color: var(--red); margin-top: 3px; }
.contact-card .line strong { display: block; color: var(--text); font-family: var(--font-display); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; }
.cta-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-band .poppy-bg { position: absolute; right: -60px; bottom: -80px; width: 380px; opacity: .22; pointer-events: none; filter: saturate(1.2); }
.cta-band::before { content: ""; position: absolute; left: -10%; top: -60%; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(232,35,46,.25), transparent 62%); pointer-events: none; }
.cta-band .wrap { position: relative; z-index: 1; display: grid; gap: 22px; align-items: center; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
@media (min-width: 800px) { .cta-band .wrap { grid-template-columns: 1.3fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: var(--on-dark-2); max-width: 56ch; }
.countdown { display: inline-flex; gap: 14px; margin-top: 22px; }
.countdown div { text-align: center; min-width: 70px; padding: 12px 10px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.countdown b { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: #fff; }
.countdown span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); font-weight: 700; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-left: 36px; margin-bottom: 16px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--red); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--red); }
.timeline li strong { display: block; color: var(--text); font-family: var(--font-display); }
.badge-new { display: inline-block; background: var(--gold); color: var(--ink); font-size: .68rem; font-weight: 800; letter-spacing: .08em; padding: 2px 8px; border-radius: var(--pill); vertical-align: middle; margin-left: 6px; }
.divider { height: 1px; background: var(--line); margin: 30px 0; }
.sticky-cta { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 40; display: none; }
.sticky-cta .btn { width: 100%; }
@media (max-width: 759px) { .sticky-cta.show { display: block; } body.has-sticky { padding-bottom: 84px; } }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 999; }
.skip:focus { left: 8px; }
@media print { .site-header, .site-footer, .sticky-cta, .nav-toggle { display: none !important; } }

/* ---------- Theme toggle ---------- */
.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: inherit; display: inline-grid; place-items: center; cursor: pointer; padding: 0; flex: none; transition: background .15s; }
.theme-toggle:hover { background: rgba(255,255,255,.16); }
.theme-toggle .sun, :root[data-theme="dark"] .theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
@media (min-width: 1180px) { .main-nav .nav-cta { display: none; } }
@media (max-width: 1179px) { .header-actions .btn { display: none; } }
/* menu labels, brand and button never break onto two lines */
.main-nav li a, .header-actions .btn, .brand .brand-text strong, .brand .brand-text span { white-space: nowrap; }
/* big and ultrawide screens: wider layout and larger header so it isn't a small strip in the middle */
@media (min-width: 1800px) {
  :root { --max: 1440px; --nav-h: 84px; }
  .main-nav li a { font-size: 1.02rem; padding: 9px 14px; }
  .brand img { width: 48px; height: 48px; }
  .brand .brand-text strong { font-size: 1.25rem; }
  .brand .brand-text span { font-size: .7rem; }
  .header-actions .btn { font-size: 1rem; padding: .7rem 1.3rem; }
}
@media (min-width: 2400px) {
  :root { --max: 1720px; --nav-h: 92px; }
  body { font-size: 19px; }
  .main-nav li a { font-size: 1.1rem; padding: 10px 16px; }
  .brand img { width: 54px; height: 54px; }
  .brand .brand-text strong { font-size: 1.4rem; }
}
