/* RO40 Pro Ump — "night game" design system */
:root {
  --ink: #070d18;
  --navy: #0d1829;
  --panel: #13223a;
  --panel-2: #182b48;
  --line: rgba(255, 255, 255, .12);
  --chalk: #f4f6f8;
  --muted: #a6b2c3;
  --blue: #3fa9e0;
  --blue-2: #82cdf3;
  --pink: #ec5a9d;
  --paper: #f4f1ec;
  --paper-ink: #0d1829;
  --paper-muted: #4f5b6b;
  --radius: 14px;
  --wrap: 1200px;
  --nav-h: 96px;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --plate: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--chalk);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--blue-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: .01em; margin: 0 0 .5em; text-transform: uppercase; }
h1 { font-size: clamp(3rem, 9vw, 7.25rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--navy { background: var(--navy); }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper a:not(.btn) { color: #1a6fa0; }
.section--paper .eyebrow { color: #1a7bb3; }
.section--paper .lead, .section--paper .muted { color: var(--paper-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .82rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue-2); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.accent { color: var(--blue); }
.pink { color: var(--pink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 1rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
  padding: 16px 26px; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #04121f; }
.btn--primary:hover { background: #fff; color: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-solid, .site-header--solid { background: rgba(7, 13, 24, .96); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--nav-h); }
.brand.brand--header img { width: 80px; height: 80px; }
@media (max-width: 1080px) { :root { --nav-h: 80px; } .brand.brand--header img { width: 64px; height: 64px; } }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 52px; height: 52px; }
.brand span { font: 700 1.35rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.brand small { display: block; font: 600 .68rem/1.2 var(--body); letter-spacing: .2em; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 12px; color: #dfe6ee; text-decoration: none;
  font: 600 .95rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; border-radius: 8px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); border-radius: 8px 8px 0 0; }
.nav-cta { padding: 12px 20px; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 0 0; background: var(--ink); padding: 24px 16px 40px;
    display: none; flex-direction: column; gap: 18px; overflow-y: auto;
  }
  .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { font-size: 1.5rem; padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--blue-2); background: none; }
  .nav-cta { align-self: flex-start; font-size: 1.05rem; padding: 16px 28px; }
}
@media (min-width: 1081px) { .nav-menu { display: flex; align-items: center; gap: 18px; } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero__media, .hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,13,24,.55) 0%, rgba(7,13,24,.05) 35%, rgba(7,13,24,.35) 60%, var(--ink) 100%),
    linear-gradient(90deg, rgba(7,13,24,.75) 0%, rgba(7,13,24,0) 65%);
}
.hero__content { padding: 140px 0 clamp(56px, 9vh, 110px); }
.hero h1 { margin-bottom: .2em; text-wrap: balance; }
.hero h1 .accent { display: block; color: var(--blue); }
.hero .lead { color: #d5dde7; margin-bottom: 32px; }
.hero--page { min-height: 62svh; }
.hero--page h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(7,13,24,.6); border: 1px solid var(--line);
  font: 600 .8rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
}
.hero__badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(236,90,157,.25); }
.video-toggle {
  position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(7,13,24,.6); border: 1px solid var(--line); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.video-toggle svg { width: 18px; height: 18px; }

/* Plain page header (no media) */
.page-head { padding: 160px 0 70px; background: radial-gradient(1200px 500px at 80% -10%, rgba(63,169,224,.22), transparent 60%), var(--navy); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--navy); padding: 34px 28px; }
.stat b { display: block; font: 700 clamp(3.2rem, 6vw, 4.8rem)/1 var(--display); color: #fff; }
.stat b em { font-style: normal; color: var(--blue); }
.stat > span { color: var(--muted); font-size: 1rem; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }

/* Layout helpers */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; }
.head-row h2 { margin: 0; }
.stack > * + * { margin-top: 1em; }

/* Photo mosaic */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; gap: 10px; }
.mosaic a, .mosaic figure { margin: 0; border-radius: 10px; overflow: hidden; position: relative; background: var(--panel); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic a:hover img { transform: scale(1.04); }
.m-a { grid-column: span 4; grid-row: span 3; }
.m-b { grid-column: span 2; grid-row: span 3; }
.m-c { grid-column: span 2; grid-row: span 2; }
.m-d { grid-column: span 2; grid-row: span 2; }
.m-e { grid-column: span 2; grid-row: span 2; }
@media (max-width: 720px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .m-a { grid-column: span 2; grid-row: span 2; }
  .m-b, .m-c, .m-d, .m-e { grid-column: span 1; grid-row: span 2; }
  .m-e { display: none; }
}

/* Reels */
.reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel__play {
  position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 50%, rgba(7,13,24,.8));
  border: 0; color: #fff; cursor: pointer; padding: 0;
}
.reel__play svg { width: 64px; height: 64px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); transition: transform .2s ease; }
.reel__play:hover svg { transform: scale(1.08); }
.reel__label { position: absolute; left: 14px; bottom: 12px; right: 14px; font: 700 1.1rem/1.1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-align: left; }
.reel.is-playing .reel__play { display: none; }

/* Gallery grid */
.gallery { columns: 4 150px; column-gap: 12px; }
.gallery a { display: block; margin-bottom: 12px; border-radius: 10px; overflow: hidden; break-inside: avoid; background: var(--panel); }
.gallery img { width: 100%; height: auto; transition: transform .4s ease, opacity .3s; }
.gallery a:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4,8,15,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: .9rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section--paper .card { background: #fff; border-color: #e6e0d6; }
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; color: var(--muted); }
.section--paper .card p { color: var(--paper-muted); }
.icon-plate {
  width: 54px; height: 60px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--blue); color: #04121f; clip-path: var(--plate); padding-bottom: 10px;
}
.icon-plate svg { width: 26px; height: 26px; }

/* Quote */
.quote { position: relative; padding: 36px 36px 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.quote::before { content: "“"; position: absolute; top: -28px; left: 24px; font: 700 7rem/1 var(--display); color: var(--blue); }
.quote p { font-size: 1.2rem; line-height: 1.6; color: #e6ecf2; }
.quote footer { font: 600 .95rem/1.3 var(--body); color: var(--muted); }
.quote footer b { color: #fff; display: block; font-family: var(--display); font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; }

.portrait { position: relative; }
.portrait img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.portrait__tag {
  position: absolute; left: -12px; bottom: 28px; background: var(--blue); color: #04121f; padding: 12px 18px;
  font: 700 1.05rem/1.1 var(--display); letter-spacing: .06em; text-transform: uppercase; border-radius: 8px;
}
@media (max-width: 600px) { .portrait__tag { left: 12px; } }

/* Team */
.team { display: grid; gap: 22px; }
.member { display: grid; grid-template-columns: 220px 1fr; gap: 30px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.member img { width: 220px; height: 260px; object-fit: cover; border-radius: 10px; background: var(--panel-2); }
.member h3 { margin-bottom: .1em; }
.member .role { color: var(--blue-2); font: 600 .85rem/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.member p { color: #cfd8e3; }
.member ul { margin: 0; padding-left: 1.1em; color: #cfd8e3; columns: 2 240px; column-gap: 28px; }
.member li { margin-bottom: 4px; break-inside: avoid; }
.member details summary { cursor: pointer; color: var(--blue-2); font-weight: 600; margin-top: 6px; }
@media (max-width: 720px) { .member { grid-template-columns: 1fr; } .member img { width: 100%; height: 320px; } }

/* Feature video */
.video-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-frame video { width: 100%; height: auto; }

/* Donate band */
.donate { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; background: linear-gradient(120deg, #0f3b5c 0%, #13223a 60%); border: 1px solid rgba(130,205,243,.25); border-radius: 22px; padding: clamp(28px, 5vw, 56px); overflow: hidden; position: relative; }
.donate::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 360px; background: rgba(63,169,224,.12); clip-path: var(--plate); }
.donate h2 { margin-bottom: .3em; }
.qr { background: #fff; color: var(--ink); border-radius: 16px; padding: 16px; text-align: center; position: relative; z-index: 1; max-width: 260px; justify-self: end; }
.qr img { border-radius: 8px; width: 100%; }
.qr p { margin: 10px 0 0; font-weight: 600; font-size: .95rem; }
@media (max-width: 820px) { .donate { grid-template-columns: 1fr; } .qr { justify-self: start; } }

/* Sponsors */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.logos div { background: #fff; border-radius: 12px; height: 120px; display: flex; align-items: center; justify-content: center; padding: 14px 18px; }
.logos img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: ""; flex: none; width: 18px; height: 20px; margin-top: 4px; background: var(--blue); clip-path: var(--plate); }

/* Community blocks */
.initiative { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.initiative:first-child { border-top: 0; padding-top: 0; }
.initiative:nth-child(even) .initiative__media { order: -1; }
.initiative__media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.initiative__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.initiative__media img:first-child { grid-column: span 2; grid-row: span 2; }
.initiative__media video { grid-column: 1 / -1; border-radius: 10px; width: 100%; }
.place { color: var(--blue-2); font: 600 .85rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; display: block; }
@media (max-width: 860px) { .initiative { grid-template-columns: 1fr; } .initiative:nth-child(even) .initiative__media { order: 0; } }

/* Form embed */
.embed { background: #fff; border-radius: var(--radius); overflow: hidden; }
.embed iframe { width: 100%; height: 1400px; border: 0; display: block; }

/* Prose (privacy) */
.prose { max-width: 75ch; }
.prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: #050a13; border-top: 1px solid var(--line); padding: 72px 0 32px; color: var(--muted); font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; letter-spacing: .14em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--blue); color: var(--ink); border-color: var(--blue); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .mosaic img, .gallery img { transition: none; }
}

/* Roadmap to the Big Leagues */
.roadmap { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.roadmap__steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; counter-reset: step; }
.roadmap__steps::before {
  content: ""; position: absolute; left: 35px; top: 30px; bottom: 30px; width: 3px;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.55) 0 10px, transparent 10px 18px);
}
.step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 22px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px 20px 0;
  margin-left: 0; }
.step__num {
  position: relative; z-index: 1; width: 72px; height: 80px; margin-left: 0; display: grid; place-items: center; padding-bottom: 14px;
  background: var(--blue); color: #04121f; clip-path: var(--plate);
  font: 700 2.4rem/1 var(--display);
}
.step h3 { margin: 0 0 .2em; font-size: clamp(1.35rem, 2.3vw, 1.7rem); }
.step p { margin: 0; color: var(--muted); font-size: 1rem; }
.step--final { background: linear-gradient(120deg, #0f3b5c, var(--panel) 70%); border-color: rgba(130,205,243,.35); }
.goals { position: sticky; top: calc(var(--nav-h) + 20px); background: var(--blue); color: #04121f; border-radius: 18px; padding: 30px 28px; overflow: hidden; }
.goals::after { content: ""; position: absolute; right: -50px; bottom: -60px; width: 200px; height: 220px; background: rgba(4,18,31,.12); clip-path: var(--plate); }
.goals .eyebrow { color: #04121f; }
.goals h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .6em; }
.goals ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.goals li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; font: 700 1.3rem/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.goals li b { width: 40px; height: 40px; border-radius: 50%; background: #04121f; color: var(--blue); display: grid; place-items: center; font-size: 1.15rem; }
.goals li:last-child { font-size: 1.55rem; }
@media (max-width: 900px) { .roadmap { grid-template-columns: 1fr; } .goals { position: static; } }
@media (max-width: 520px) {
  .step { grid-template-columns: 56px 1fr; gap: 14px; padding-right: 16px; }
  .step__num { width: 56px; height: 64px; font-size: 1.9rem; padding-bottom: 10px; }
  .roadmap__steps::before { left: 27px; }
}

/* Staff group photo */
.staff-photo { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.staff-photo img { width: 100%; height: auto; display: block; }
.staff-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 18px; background: linear-gradient(transparent, rgba(7,13,24,.85)); color: #e6ecf2; font-size: .95rem; }

/* Three-up photo row (Facilities) */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trio a { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--panel); }
.trio img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.trio a:hover img { transform: scale(1.04); }
@media (max-width: 640px) { .trio { grid-template-columns: 1fr 1fr; } .trio a:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; } }

/* Language switch */
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: rgba(7,13,24,.5); }
.lang-switch a, .lang-switch span {
  display: block; padding: 7px 11px; border-radius: 999px; text-decoration: none;
  font: 700 .82rem/1 var(--display); letter-spacing: .12em; color: #dfe6ee;
}
.lang-switch a:hover { background: rgba(255,255,255,.1); color: #fff; }
.lang-switch [aria-current] { background: #fff; color: var(--ink); }
@media (min-width: 1081px) {
  .nav { display: grid; grid-template-columns: auto 1fr auto; }
  .nav-menu { justify-content: flex-end; }
  .nav-right { order: 3; }
}
