:root {
  color-scheme: dark;
  --ink: oklch(13% 0.014 262);
  --ink-2: oklch(10% 0.014 262);
  --panel: oklch(20% 0.02 262);
  --panel-2: oklch(24% 0.022 262);
  --text: oklch(96% 0.012 90);
  --muted: oklch(72% 0.02 258);
  --gold: oklch(78% 0.14 85);
  --gold-bright: oklch(88% 0.1 92);
  --ember: oklch(70% 0.16 27);
  --ember-bright: oklch(80% 0.14 35);
  --line: oklch(78% 0.14 85 / 0.28);
  --danger: oklch(72% 0.15 25);
  --radius: 5px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, oklch(9% 0.012 262 / .58), oklch(9% 0.012 262 / .86) 42%, var(--ink) 88%),
    url("hero-bg.webp") center 30% / cover fixed no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: var(--gold-bright); text-decoration-thickness: 1px; }
a:hover { color: var(--ember-bright); }

.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  padding: .7rem 1rem; background: var(--gold); color: #14100a; border-radius: 4px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* header + nav */
.site-header {
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: oklch(13% 0.014 262 / 0.82);
  backdrop-filter: blur(18px);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); background: oklch(10% 0.014 262 / 0.95); }

.nav-shell, .shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.shell-wide { width: min(1320px, calc(100% - 40px)); margin-inline: auto; }

.nav-shell { position: relative; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: .03em; }
.brand img { width: 38px; height: 38px; border-radius: 6px; transition: filter .3s ease, transform .3s ease; }
.brand:hover img { filter: drop-shadow(0 0 10px oklch(78% 0.14 85 / 0.65)); transform: rotate(-4deg); }
.brand span span { color: var(--gold-bright); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px; background: rgba(255, 255, 255, 0.03); cursor: pointer;
}
.nav-toggle span { display: block; margin-inline: auto; width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px; }
.site-nav a { position: relative; padding: .55rem .7rem; border-radius: 4px; color: var(--muted); text-decoration: none; font-size: .84rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; transition: color .2s ease, background .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: oklch(78% 0.14 85 / 0.12); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--ember)); }

main { min-height: 62vh; }

/* ornamental divider */
.rule-orn { display: flex; align-items: center; gap: 14px; width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.rule-orn::before, .rule-orn::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.rule-orn::after { background: linear-gradient(90deg, var(--gold), transparent); }
.rule-orn span { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); flex: 0 0 auto; box-shadow: 0 0 12px oklch(78% 0.14 85 / .7); }

/* hero */
.hero {
  position: relative; overflow: hidden; min-height: 92vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 150px 20px 40px; text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, transparent 30%, oklch(9% 0.012 262 / .78) 100%),
    linear-gradient(180deg, oklch(9% 0.012 262 / .35), oklch(9% 0.012 262 / .55) 60%, var(--ink) 100%);
}
.hero .shell { position: relative; z-index: 1; }
.hero-content-center { display: flex; flex-direction: column; align-items: center; max-width: 760px; margin-inline: auto; position: relative; z-index: 1; }
.hero-content-center > * { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.16, 1, .3, 1) forwards; }
.hero-content-center > *:nth-child(1) { animation-delay: .05s; }
.hero-content-center > *:nth-child(2) { animation-delay: .16s; }
.hero-content-center > *:nth-child(3) { animation-delay: .28s; }
.hero-content-center > *:nth-child(4) { animation-delay: .4s; }
.hero-content-center > *:nth-child(5) { animation-delay: .52s; }
.hero-content-center .lead { text-align: center; }

/* HUD corner frame, game-menu style */
.hero-frame { position: absolute; inset: 18px; z-index: 2; pointer-events: none; }.hf-corner { position: absolute; width: 46px; height: 46px; }
.hf-corner.tl { top: 0; left: 0; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.hf-corner.tr { top: 0; right: 0; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.hf-corner.bl { bottom: 0; left: 0; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.hf-corner.br { bottom: 0; right: 0; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

.hero-hud {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 26px; margin-top: 56px; padding: 16px 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: oklch(10% 0.014 262 / .55); backdrop-filter: blur(6px);
  opacity: 0; animation: rise .8s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: .64s;
}
.hud-stat { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hud-stat .shield { width: 16px; height: 19px; border: 1px solid rgba(255, 255, 255, .35); clip-path: polygon(50% 0%, 100% 20%, 100% 72%, 50% 100%, 0% 72%, 0% 20%); }
.hud-stat.status { margin-left: 4px; }
@media (max-width: 640px) { .hero-hud { gap: 10px 16px; } .hero { min-height: auto; padding-top: 120px; } .hero-frame { inset: 10px; } .hf-corner { width: 30px; height: 30px; } }

.hero-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.hero-crest-ring {
  position: relative; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%;
  display: grid; place-items: center;
}
.hero-crest-ring::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  background: conic-gradient(from var(--angle), transparent 0 55%, var(--gold) 75%, var(--ember-bright) 88%, transparent 100%);
  animation: spin 6s linear infinite;
}
.hero-crest-ring img { position: relative; width: 32px; height: 32px; border-radius: 50%; }
.hero-brand-row .eyebrow { margin: 0; }

.eyebrow { margin: 0 0 16px; color: var(--gold-bright); font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }

h1, h2, h3 { margin-top: 0; font-family: var(--font-display); line-height: 1.14; text-wrap: balance; }
h1 { margin-bottom: 22px; font-size: clamp(2.65rem, 6.6vw, 5.2rem); letter-spacing: -.01em; font-weight: 700; }
.hero h1 em {
  display: block; font-style: normal; font-weight: 500;
  background: linear-gradient(100deg, var(--gold-bright), var(--ember-bright) 60%, var(--gold-bright));
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s linear infinite;
}
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }

.lead { max-width: 640px; margin: 0 0 30px; color: #d3d7de; font-size: clamp(1.05rem, 2vw, 1.22rem); }
.hero .lead { color: #e3e6ea; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .72rem 1.4rem .72rem 1.2rem;
  border: 1px solid var(--gold);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  background: linear-gradient(135deg, var(--gold-bright), var(--ember));
  color: #17110a; text-decoration: none; font-weight: 800; letter-spacing: .02em;
  overflow: hidden; isolation: isolate;
  box-shadow: 0 12px 28px oklch(60% 0.14 60 / 0.3);
  transition: transform .25s ease, filter .25s ease, box-shadow .25s ease;
}
.button::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 46%, transparent 62%);
  transform: translateX(-120%); transition: transform .55s ease;
}
.button:hover::before { transform: translateX(120%); }
.button:hover { color: #000; filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 16px 36px oklch(60% 0.14 60 / 0.4); }
.button:active { transform: translateY(0); }
.button.secondary { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.05); color: var(--text); box-shadow: none; }
.button.secondary:hover { color: var(--text); background: rgba(255, 255, 255, 0.09); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }

.shield-trio { display: flex; align-items: center; gap: 10px; }
.shield-trio .shield {
  width: 24px; height: 28px; border: 1px solid rgba(255, 255, 255, .3);
  clip-path: polygon(50% 0%, 100% 20%, 100% 72%, 50% 100%, 0% 72%, 0% 20%);
}
.shield-trio .shield.blue { background: linear-gradient(160deg, oklch(58% 0.13 255), oklch(28% 0.09 255)); }
.shield-trio .shield.green { background: linear-gradient(160deg, oklch(58% 0.12 150), oklch(28% 0.08 150)); }
.shield-trio .shield.crimson { background: linear-gradient(160deg, var(--ember-bright), oklch(32% 0.12 20)); }
.shield-trio span { color: var(--muted); font-size: .82rem; letter-spacing: .05em; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue::after { content: ""; width: 1px; height: 26px; background: linear-gradient(180deg, var(--gold), transparent); }

/* ember particles */
.ember-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ember-field span { position: absolute; bottom: -12px; border-radius: 50%; background: radial-gradient(circle, var(--gold-bright), var(--ember) 65%, transparent); box-shadow: 0 0 8px oklch(78% 0.14 85 / .8); opacity: 0; animation: ember-rise linear infinite; }

.section { padding: 82px 0; position: relative; }
.section.tight { padding-top: 28px; padding-bottom: 28px; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p:last-child { color: var(--muted); }

/* gallery */
.gallery-section { padding: 66px 0 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gallery-frame { position: relative; margin: 0; padding: 0; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); border-radius: var(--radius); aspect-ratio: 16/9; }
.gallery-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.gallery-frame:hover img { transform: scale(1.045); }
.gallery-frame-wide { aspect-ratio: 1672/941; }
.gallery-frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px 14px;
  background: linear-gradient(180deg, transparent, oklch(8% 0.01 262 / .92));
  color: var(--gold-bright); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}

/* bracket-corner panels: cards, gallery frames, notices, contact/status panels */
.card, .gallery-frame, .contact-card, .status-strip, .pillar {
  position: relative;
}
.card::before, .gallery-frame::before, .contact-card::before, .status-strip::before, .pillar::before,
.card::after, .gallery-frame::after, .contact-card::after, .status-strip::after, .pillar::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
  transition: width .3s ease, height .3s ease, opacity .3s ease; opacity: .85;
}
.card::before, .gallery-frame::before, .contact-card::before, .status-strip::before, .pillar::before { top: -1px; left: -1px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.card::after, .gallery-frame::after, .contact-card::after, .status-strip::after, .pillar::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.card:hover::before, .card:hover::after, .gallery-frame:hover::before, .gallery-frame:hover::after,
.pillar:hover::before, .pillar:hover::after { width: 20px; height: 20px; opacity: 1; }

.grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  padding: 28px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, .04), transparent 55%), var(--panel);
  --tiltX: 0deg; --tiltY: 0deg;
  transform: perspective(1000px) rotateX(var(--tiltX)) rotateY(var(--tiltY));
  transition: transform .2s ease;
}
.card:hover { transform: perspective(1000px) rotateX(var(--tiltX)) rotateY(var(--tiltY)) translateY(-4px); }
.card p:last-child { margin-bottom: 0; color: var(--muted); }
.card-number {
  display: inline-grid; width: 34px; height: 34px; place-items: center; margin-bottom: 18px;
  border: 1px solid var(--line); border-radius: 50%; color: var(--gold-bright); font-weight: 800;
  font-family: var(--font-display); transition: box-shadow .3s ease;
}
.card:hover .card-number { box-shadow: 0 0 0 4px oklch(78% 0.14 85 / .14); }

/* feature pillars */
.pillar-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pillar {
  padding: 22px 14px 20px; text-align: center; border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius); background: var(--panel);
}
.pillar .pillar-mark {
  width: 46px; height: 46px; margin: 0 auto 14px; display: grid; place-items: center;
  border: 1px solid var(--gold); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  color: var(--gold-bright); font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  background: oklch(78% 0.14 85 / .08);
}
.pillar h3 { font-size: .98rem; text-transform: uppercase; letter-spacing: .04em; }
.pillar p { margin: 0; color: var(--muted); font-size: .86rem; }

.status-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: oklch(78% 0.14 85 / .07);
}
.status-strip p { margin: 0; color: #d8d3c8; }
.status-pill {
  position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  padding: .38rem .8rem .38rem .6rem; border: 1px solid oklch(78% 0.14 85 / .4); border-radius: 99px;
  color: var(--gold-bright); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.status-pill::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-bright);
  box-shadow: 0 0 0 0 oklch(78% 0.14 85 / .6); animation: pulse-dot 2s ease-out infinite;
}

.page-hero {
  position: relative; overflow: hidden; padding: 108px 0 54px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(100deg, oklch(9% 0.012 262 / .82) 0%, oklch(9% 0.012 262 / .55) 45%, transparent 85%),
    linear-gradient(180deg, transparent 55%, var(--ink) 100%),
    url("hero-bg.webp") center 25% / cover no-repeat;
}
.page-hero .hero-frame { inset: 12px; }
.page-hero .shell { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.5rem, 6vw, 4.8rem); }
.page-hero .lead { margin-bottom: 0; }
.page-hero .shell > * { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.16, 1, .3, 1) forwards; }
.page-hero .shell > *:nth-child(1) { animation-delay: .04s; }
.page-hero .shell > *:nth-child(2) { animation-delay: .14s; }
.page-hero .shell > *:nth-child(3) { animation-delay: .26s; }

.policy-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); align-items: start; gap: 58px; padding-bottom: 100px; }
.policy-nav { position: sticky; top: 100px; padding: 18px; border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); background: var(--panel); }
.policy-nav strong { display: block; margin-bottom: 8px; color: var(--gold-bright); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.policy-nav a { display: block; padding: .38rem .5rem; margin: 0 -.5rem; border-radius: 4px; color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s ease, background .2s ease; }
.policy-nav a:hover { color: var(--text); }
.policy-nav a.is-active { color: var(--gold-bright); background: oklch(78% 0.14 85 / .1); }

.policy-content section { padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid rgba(255, 255, 255, .08); scroll-margin-top: 100px; }
.policy-content section:last-child { border-bottom: 0; }
.policy-content h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.policy-content h3 { margin-top: 28px; }
.policy-content p, .policy-content li { color: #c2c9d2; }
.policy-content li + li { margin-top: .48rem; }
.policy-content strong { color: var(--text); }

.notice { margin: 0 0 34px; padding: 22px 24px; border-left: 3px solid var(--gold); border-radius: 0 4px 4px 0; background: oklch(78% 0.14 85 / .09); color: #ddd8cc; }

.steps { counter-reset: steps; padding: 0; list-style: none; }
.steps li { position: relative; min-height: 56px; padding: 0 0 26px 66px; }
.steps li::before {
  counter-increment: steps; content: counter(steps); position: absolute; left: 0; top: -4px;
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--gold); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  color: var(--gold-bright); font-weight: 800; font-family: var(--font-display);
}

.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .94rem; }
.data-table th, .data-table td { padding: 14px; border: 1px solid rgba(255, 255, 255, .09); text-align: left; vertical-align: top; }
.data-table th { color: var(--gold-bright); background: oklch(78% 0.14 85 / .07); }
.data-table td { color: #c2c9d2; }

.contact-card { padding: clamp(26px, 5vw, 46px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, oklch(78% 0.14 85 / .12), transparent 45%), var(--panel); }
.contact-card .button { margin-top: 8px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.site-footer { position: relative; padding: 42px 0; border-top: 1px solid rgba(255, 255, 255, .08); color: var(--muted); font-size: .88rem; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 32px; }
.footer-grid p { margin: 10px 0 0; max-width: 580px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.fine-print { color: #8e97a4; font-size: .86rem; }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { --angle: 360deg; } }
@keyframes sheen { to { background-position: -220% center; } }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 oklch(78% 0.14 85 / .55); } 70% { box-shadow: 0 0 0 8px oklch(78% 0.14 85 / 0); } 100% { box-shadow: 0 0 0 0 oklch(78% 0.14 85 / 0); } }
@keyframes ember-rise { 0% { transform: translateY(0) translateX(0); opacity: 0; } 8% { opacity: .9; } 85% { opacity: .35; } 100% { transform: translateY(-340px) translateX(14px); opacity: 0; } }

@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .pillar-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    max-height: 0; overflow: hidden; opacity: 0; padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08); background: oklch(10% 0.014 262 / .97); backdrop-filter: blur(18px);
    transition: max-height .35s ease, opacity .3s ease, padding .35s ease;
  }
  .site-nav.is-open { max-height: 70vh; opacity: 1; padding: 14px 20px 20px; }
  .site-nav a { width: 100%; padding: .8rem .7rem; }
  .nav-shell { align-items: center; padding-block: 12px; }
  .grid-3 { grid-template-columns: 1fr; }
  .policy-layout { grid-template-columns: 1fr; gap: 26px; }
  .policy-nav { position: static; display: none; }
  .hero { min-height: auto; padding-top: 120px; }
}

@media (max-width: 640px) {
  body { background-attachment: scroll; }
  .nav-shell, .shell, .shell-wide { width: min(100% - 28px, 1120px); }
  .grid-2 { grid-template-columns: 1fr; }
  .pillar-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-strip { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; }
  .data-table tr { margin-bottom: 14px; }
  .data-table th { border-bottom: 0; }
  .scroll-cue { display: none; }
}

@media (hover: none) { .card:hover, .gallery-frame:hover { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-content > *, .page-hero .shell > * { opacity: 1; transform: none; }
}
