/* ============================================================
   APORA — design system + motion
   White-red-white + dark · Oswald/Inter · energetic, disciplined
   ============================================================ */

:root {
  --red:      #d81e2c;
  --red-700:  #b5121f;
  --ink:      #0f1115;
  --ink-2:    #171a22;
  --ink-3:    #20242e;
  --paper:    #ffffff;
  --paper-2:  #f4f5f7;
  --muted:    #6b7280;
  --line:     rgba(15, 17, 21, .10);
  --line-dk:  rgba(255, 255, 255, .14);

  --font-head: "Oswald", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 17, 21, .12);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .01em;
  margin: 0;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* white-red-white accent bar */
.wrw-bar {
  height: 6px;
  background: linear-gradient(to bottom, #fff 0 33.33%, var(--red) 33.33% 66.66%, #fff 66.66% 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: .03em;
  text-transform: uppercase;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(216, 30, 44, .35); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--red-700); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(216, 30, 44, .45); }
.btn-ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn-ghost:hover, .btn-ghost:focus-visible { transform: translateY(-3px); background: rgba(255, 255, 255, .1); }

:where(a, button):focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 17, 21, .0);
  transition: background-color .3s var(--ease), backdrop-filter .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(15, 17, 21, .92);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 1px 0 var(--line-dk);
}
.header-inner { display: flex; align-items: center; gap: 18px; padding-block: 14px; transition: padding-block .3s var(--ease); }
.site-header.scrolled .header-inner { padding-block: 9px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-mark { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: .12em; }

.nav { margin-left: auto; display: flex; gap: 26px; }
.nav a {
  color: #fff; font-family: var(--font-head); font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase; font-size: .95rem; padding: 6px 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--red); transition: right .3s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }

.lang-switch { display: flex; gap: 2px; }
.lang-switch button {
  background: transparent; border: 0; color: rgba(255, 255, 255, .65);
  font: 600 .82rem/1 var(--font-head); letter-spacing: .06em; padding: 7px 8px; cursor: pointer;
  border-radius: 6px; transition: color .2s, background-color .2s;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.active { color: #fff; background: var(--red); }

/* compact language dropdown (mobile only) */
.lang-dd { display: none; position: relative; }
.lang-dd-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255, 255, 255, .1); border: 1px solid var(--line-dk); color: #fff;
  font: 700 .82rem/1 var(--font-head); letter-spacing: .06em; padding: 9px 11px; border-radius: 8px; cursor: pointer;
}
.lang-dd-caret { font-size: .7rem; transition: transform .25s var(--ease); }
.lang-dd.open .lang-dd-caret { transform: rotate(180deg); }
.lang-dd-menu {
  list-style: none; margin: 8px 0 0; padding: 6px; position: absolute; right: 0; top: 100%;
  background: var(--ink); border: 1px solid var(--line-dk); border-radius: 10px; box-shadow: var(--shadow);
  display: none; min-width: 92px; z-index: 65;
}
.lang-dd.open .lang-dd-menu { display: block; animation: menuIn .2s var(--ease); }
.lang-dd-menu button {
  display: block; width: 100%; text-align: left; background: transparent; border: 0; color: rgba(255, 255, 255, .75);
  font: 600 .9rem/1 var(--font-head); letter-spacing: .05em; padding: 10px 12px; border-radius: 6px; cursor: pointer;
}
.lang-dd-menu button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.lang-dd-menu button.active { background: var(--red); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: 0; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: grid; align-items: center;
  color: #fff; overflow: hidden; margin-top: -76px; padding-top: 76px;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(7px) brightness(.8);
  transform: scale(1.12); animation: heroZoom 20s ease-out forwards;   /* overscan hides blurred edges */
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(15, 17, 21, .28), rgba(15, 17, 21, .12)),
    linear-gradient(180deg, rgba(15, 17, 21, .55) 0%, rgba(15, 17, 21, .82) 100%);
}
.hero .wrw-bar { position: absolute; top: 76px; left: 0; right: 0; opacity: .9; }
.hero-content { text-align: center; padding-block: 80px; }
.hero-crest-wrap {
  display: inline-block; border-radius: 50%; margin: 0 auto 30px;
  /* static fallback (reduced-motion): white + red halo */
  box-shadow: 0 0 30px 5px rgba(216, 30, 44, .4), 0 0 64px 16px rgba(255, 255, 255, .18);
  animation: float 6s ease-in-out infinite, crestGlow 9s ease-in-out infinite;
}
.hero-crest { width: clamp(210px, 30vw, 360px); height: auto; display: block; filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .6)); }
/* blinks in the traditional white-red-white colours of Belarus */
@keyframes crestGlow {
  0%, 100% { box-shadow: 0 0 26px 5px rgba(216, 30, 44, .30); }                                   /* red — dim */
  25%      { box-shadow: 0 0 62px 18px rgba(216, 30, 44, .80), 0 0 100px 26px rgba(216, 30, 44, .30); }  /* red — bright */
  50%      { box-shadow: 0 0 26px 5px rgba(255, 255, 255, .40); }                                 /* white — dim */
  75%      { box-shadow: 0 0 64px 20px rgba(255, 255, 255, .90), 0 0 110px 30px rgba(255, 255, 255, .35); } /* white — bright */
}
.hero-tagline { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 700; text-transform: uppercase; }
.hero-subtitle { max-width: 640px; margin: 18px auto 32px; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: rgba(255, 255, 255, .85); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-more {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255, 255, 255, .85); font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; font-size: .82rem;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.scroll-more:hover, .scroll-more:focus-visible { color: #fff; transform: translateX(-50%) translateY(3px); }
.scroll-more-arrow {
  width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round; animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@keyframes heroZoom { to { transform: scale(1.08); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-about { background: var(--paper); }
.section-support { background: var(--paper-2); }
.section-join { background: var(--ink); color: #fff; }
.section-news { background: var(--paper); }
.section-contact { background: var(--ink-2); color: #fff; }

.section-title { font-size: clamp(2rem, 4.5vw, 3.2rem); text-transform: uppercase; position: relative; padding-bottom: 16px; margin-bottom: 12px; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 5px; background: var(--red); }
.section-intro { max-width: 720px; font-size: 1.12rem; color: inherit; opacity: .9; margin-bottom: 40px; }
.subhead { font-size: 1.4rem; text-transform: uppercase; letter-spacing: .04em; margin: 48px 0 22px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.about-lead { font-size: 1.18rem; }
.about-figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-figure img { width: 100%; height: 100%; object-fit: cover; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.directions { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-kicker { font-family: var(--font-head); font-weight: 700; color: var(--red); font-size: 1.1rem; }
.card h4 { font-size: 1.2rem; text-transform: uppercase; margin: 8px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Support paths ---------- */
.support-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.support-card {
  position: relative; background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.support-card:hover { transform: translateY(-6px); }
.support-media { aspect-ratio: 16 / 9; overflow: hidden; }
.support-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.support-card:hover .support-media img { transform: scale(1.05); }
.support-body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.support-card h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 8px; }
.support-card.accent-red h3 { color: var(--red); }
.support-desc { color: var(--muted); margin: 0 0 18px; }
.uses { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.uses li { position: relative; padding-left: 28px; font-weight: 500; }
.uses li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 9px;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg);
}
.progress { margin: 6px 0 20px; }
.progress-head { display: flex; justify-content: space-between; font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.bar { height: 12px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--red-700)); border-radius: 999px; transition: width 1.4s var(--ease); }
.support-cta { margin-top: auto; }
.support-soon { margin-top: auto; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border: 2px dashed var(--line); border-radius: 999px; text-align: center; padding: 13px; }

/* ---------- Join ---------- */
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.join-figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.join-figure img { width: 100%; height: 100%; object-fit: cover; }
.join-copy p { font-size: 1.12rem; color: rgba(255, 255, 255, .85); margin: 16px 0 28px; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.news-loading { color: var(--muted); }
.news-card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.news-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-photo img { transform: scale(1.06); }
.news-text { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-body { margin: 0; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .85rem; }
.news-more { margin-top: 34px; text-align: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-list { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 22px 0 0; }
.contact-list dt { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: rgba(255, 255, 255, .6); }
.contact-list dd { margin: 0; }
.contact-list a { color: #fff; }
.socials { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.socials a { color: #fff; border: 1px solid var(--line-dk); border-radius: 999px; padding: 10px 20px; transition: background-color .25s, transform .25s; }
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); }
.footer-inner { display: flex; align-items: center; gap: 16px; padding-block: 28px; }
.footer-legal { margin: 0; font-size: .92rem; }

/* ---------- Donation dialog ---------- */
.btn.small { padding: 11px 22px; font-size: .9rem; }

.donate-dialog {
  border: 0; border-radius: 18px; padding: 0; width: min(680px, 94vw); max-height: 92vh;
  background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.5); overflow: hidden;
}
.donate-dialog::backdrop { background: rgba(15,17,21,.66); backdrop-filter: blur(3px); }
.donate-dialog[open] { animation: dlgIn .35s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

.donate-inner { padding: 30px 30px 34px; overflow-y: auto; max-height: 92vh; }
.donate-inner > h2 { font-size: 1.9rem; text-transform: uppercase; padding-right: 36px; }
.donate-intro { color: var(--muted); margin: 6px 0 4px; }
.donate-safety { background: #fff4d6; color: #6b5200; border-radius: 10px; padding: 10px 14px; font-size: .92rem; margin: 12px 0 0; }
.donate-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: var(--paper-2); color: var(--ink); font-size: 1.1rem; cursor: pointer; transition: background-color .2s, transform .2s;
}
.donate-close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }

.donate-block { margin-top: 24px; }
.donate-block h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 12px; }
.donate-desc { color: var(--muted); margin: 0 0 12px; font-size: .95rem; }
.donate-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 26px; }

.amount-row { display: flex; gap: 10px; flex-wrap: wrap; }
.amount-btn {
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 12px; padding: 12px 20px; min-width: 72px; text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.amount-btn:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.amount-btn.wide { display: block; }

.method-row { display: flex; gap: 10px; flex-wrap: wrap; }
.method-btn {
  font-family: var(--font-body); font-weight: 600; font-size: .92rem; color: var(--ink); background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.method-btn:hover, .method-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.donate-panel { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--paper-2); }
.bank-details { margin: 0; display: grid; gap: 10px; }
.bank-row { display: grid; grid-template-columns: 200px 1fr; gap: 10px; align-items: center; }
.bank-row dt { font-weight: 600; color: var(--muted); font-size: .88rem; margin: 0; }
.bank-row dd { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bank-row code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .95rem; word-break: break-all; }
.copy-btn { border: 1px solid var(--line); background: var(--paper); border-radius: 7px; padding: 4px 10px; font-size: .78rem; cursor: pointer; transition: background-color .2s, color .2s; }
.copy-btn:hover { background: var(--ink); color: #fff; }
.copy-btn.done { background: var(--ok, #1a8f3c); color: #fff; border-color: transparent; }

@media (max-width: 560px) {
  .donate-cols { grid-template-columns: 1fr; gap: 18px; }
  .bank-row { grid-template-columns: 1fr; gap: 2px; }
  .donate-inner { padding: 24px 20px 28px; }
}

/* ---------- Icons & micro-interactions ---------- */
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

/* button icons */
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon, .btn:focus-visible .icon { transform: scale(1.12); }
.btn:hover .icon:last-child, .btn:focus-visible .icon:last-child { transform: translateX(4px); }   /* trailing arrows nudge */
.btn-primary[data-icon="heart"]:hover .icon { animation: beat .7s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1.1); } 25% { transform: scale(1.34); } 50% { transform: scale(1.05); } }

/* sheen sweep across buttons on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -150%; width: 55%; z-index: -1;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { left: 160%; }

/* card icons */
.card { position: relative; }
.card > .icon { width: 42px; height: 42px; color: var(--red); margin-bottom: 12px; transition: transform .4s var(--ease); }
.card:hover > .icon { transform: translateY(-5px) scale(1.14) rotate(-5deg); }
.card-kicker { position: absolute; top: 18px; right: 22px; opacity: .4; }

/* support title icon */
.support-title { display: flex; align-items: center; gap: 10px; }
.support-title .icon { width: 26px; height: 26px; flex: 0 0 auto; color: var(--red); }
.support-card.accent-dark .support-title .icon { color: var(--ink); }

/* social pills */
.socials a { display: inline-flex; align-items: center; gap: 8px; }
.socials a .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.socials a:hover .icon { transform: rotate(-8deg) scale(1.18); }

/* dialog bits */
.news-link { display: inline-flex; align-items: center; gap: 6px; }
.news-link .icon { width: 15px; height: 15px; }
.method-btn { display: inline-flex; align-items: center; gap: 7px; }
.method-btn .icon { width: 15px; height: 15px; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; }
.copy-btn .icon { width: 14px; height: 14px; }

/* ambient sheen sweeping across the white-red-white bars */
.wrw-bar { position: relative; overflow: hidden; }
.wrw-bar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .65) 50%, transparent 65%);
  transform: translateX(-100%); animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.cards .card, .support-paths > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Responsive ---------- */
/* lock background scroll while the full-screen menu is open */
body.nav-lock { overflow: hidden; }

@media (max-width: 920px) {
  .nav, .lang-switch { display: none; }
  .lang-dd { display: block; margin-left: auto; }       /* dropdown next to the hamburger */
  .nav-toggle { display: flex; margin-left: 10px; position: relative; z-index: 62; }

  /* the dropdown is only for the collapsed header; the open menu has its own switcher */
  .site-header.menu-open .lang-dd { display: none; }

  /* keep brand + toggle above the overlay */
  .site-header.menu-open .brand { position: relative; z-index: 62; }

  /* full-screen overlay menu */
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
    position: fixed; inset: 0; z-index: 60;
    background: rgba(13, 15, 19, .985);
    padding: 90px 22px 100px;
    animation: menuIn .3s var(--ease);
  }
  .site-header.menu-open .nav a { font-size: 1.75rem; }
  .site-header.menu-open .nav a::after { display: none; }
  .site-header.menu-open .lang-switch {
    display: flex; gap: 6px; justify-content: center;
    position: fixed; left: 0; right: 0; bottom: 38px; z-index: 61;
  }
  .site-header.menu-open .lang-switch button { font-size: 1rem; padding: 10px 14px; }

  /* hamburger morphs into a close (X) */
  .site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .about-grid, .join-grid, .contact-grid { grid-template-columns: 1fr; }
  .directions { grid-template-columns: repeat(2, 1fr); }
  .support-paths { grid-template-columns: 1fr; }
}
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 520px) {
  .directions { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-video { transform: scale(1.08); }   /* keep overscan so blur doesn't show edges */
}
