:root {
  --bg: #03070d;
  --bg-soft: #07101c;
  --panel: #0a111c;
  --panel-light: #0d1724;
  --text: #f3f6fb;
  --muted: #93a2b8;
  --muted-dark: #66758b;
  --line: rgba(151, 170, 198, 0.17);
  --blue: #4e91f9;
  --blue-light: #68a6ff;
  --cyan: #38d9b0;
  --radius: 22px;
  --page: min(1110px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #02050a; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 74% 10%, rgba(25, 77, 151, .14), transparent 30%),
    radial-gradient(circle at 14% 48%, rgba(4, 88, 112, .09), transparent 34%),
    linear-gradient(115deg, #02050a 0%, #03070d 52%, #06101d 100%);
  background-attachment: fixed;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.page-width { width: var(--page); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; border-radius: 9px; color: #06101e; background: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; top: 12px; left: 0; width: 100%; }
.nav-shell {
  width: min(1080px, calc(100% - 40px));
  min-height: 62px;
  display: flex;
  align-items: center;
  margin-inline: auto;
  padding: 8px 12px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 10, 18, 0.79);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px);
  transition: width .45s cubic-bezier(.16,.75,.22,1), min-height .45s cubic-bezier(.16,.75,.22,1), padding .45s cubic-bezier(.16,.75,.22,1), background .25s ease, border-color .25s ease;
  animation: navEnter .7s cubic-bezier(.2,.8,.2,1) both;
}
.site-header.scrolled .nav-shell { width: min(720px, calc(100% - 24px)); min-height: 52px; padding: 6px 8px 6px 12px; border-color: rgba(151, 170, 198, 0.25); background: rgba(5, 10, 18, 0.93); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 780; letter-spacing: -.02em; transition: gap .35s ease; }
.brand > span:last-child { max-width: 100px; overflow: hidden; white-space: nowrap; opacity: 1; transform: translateX(0); transition: max-width .35s cubic-bezier(.16,.75,.22,1), opacity .25s ease, transform .35s cubic-bezier(.16,.75,.22,1); }
.brand-badge { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 31px; transition: width .35s ease, height .35s ease, flex-basis .35s ease; }
.brand-badge img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 9px rgba(0,0,0,.4)); }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; margin-left: 25px; transition: margin-left .35s ease; }
.nav-links, .nav-actions { display: flex; align-items: center; }
.nav-links { gap: 28px; transition: gap .35s ease; }
.nav-links a { position: relative; padding: 12px 0; color: var(--muted); font-size: 14px; font-weight: 560; transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active { color: white; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; width: 4px; height: 4px; margin: auto; border-radius: 50%; background: var(--blue); }
.nav-actions { gap: 8px; }
.nav-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 720; transition: min-height .35s ease, padding .35s ease, transform .2s ease, border-color .2s ease, background .2s ease; }
.nav-button:hover { transform: translateY(-1px); }
.nav-button-ghost:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.04); }
.nav-button-primary { border-color: transparent; background: linear-gradient(135deg, var(--blue-light), #377ce5); box-shadow: 0 10px 28px rgba(62, 131, 235, .25); }
[data-discord-login][hidden] { display: none; }
.discord-account { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 4px 6px 4px 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(12, 20, 32, .82); }
.discord-account[hidden] { display: none; }
.discord-avatar { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; object-fit: cover; background: #101a29; }
.discord-name { max-width: 116px; overflow: hidden; color: #e9eef7; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.discord-logout { min-height: 30px; padding: 0 10px; border: 0; border-radius: 999px; color: #aebbd0; background: rgba(255,255,255,.055); font: inherit; font-size: 10px; font-weight: 720; cursor: pointer; transition: color .2s ease, background .2s ease; }
.discord-logout:hover { color: white; background: rgba(255,255,255,.1); }
.site-header.scrolled .brand { gap: 0; }
.site-header.scrolled .brand > span:last-child { max-width: 0; opacity: 0; transform: translateX(-8px); }
.site-header.scrolled .brand-badge { width: 25px; height: 25px; flex-basis: 25px; }
.site-header.scrolled .site-nav { margin-left: 14px; }
.site-header.scrolled .nav-links { gap: 22px; }
.site-header.scrolled .nav-button { min-height: 38px; padding-inline: 14px; }
.site-header.scrolled .nav-links a.active::after { opacity: 0; }
.menu-button { display: none; width: 44px; height: 44px; margin-left: auto; padding: 11px; border: 0; border-radius: 50%; background: #111b29; }
.menu-button > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; border-radius: 3px; background: white; transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; z-index: 0; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 120px 0 80px; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: -8%; background: radial-gradient(circle at 66% 17%, rgba(40, 102, 198, .16), transparent 35%); background-size: 112% 112%; animation: backgroundDrift 14s ease-in-out infinite alternate; }
.ambient { position: absolute; z-index: -1; pointer-events: none; filter: blur(12px); }
.ambient-blue { width: 650px; height: 650px; right: -120px; top: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 119, 224, .16), transparent 68%); animation: floatBlue 10s ease-in-out infinite alternate; }
.ambient-cyan { display: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 506px); align-items: center; gap: 78px; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--blue-light); font-size: 10px; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
.kicker span { width: 25px; height: 1px; background: currentColor; }
.hero h1, .section-heading h2, .gallery-copy h2, .join-card h2 { margin: 0; font-size: clamp(56px, 5vw, 68px); font-weight: 760; letter-spacing: -.065em; line-height: .92; }
.hero-lead { max-width: 490px; margin: 23px 0 0; color: #aab8ca; font-size: 21px; line-height: 1.45; letter-spacing: -.025em; }
.hero-detail { max-width: 500px; margin: 19px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 29px; }
.button { min-height: 55px; display: inline-flex; align-items: center; justify-content: center; padding: 0 28px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 740; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, #60a7ff, #357dec); box-shadow: 0 15px 35px rgba(48, 118, 230, .24), inset 0 -2px 0 rgba(0,0,0,.12); }
.button-primary:hover { box-shadow: 0 18px 40px rgba(48, 118, 230, .35), inset 0 -2px 0 rgba(0,0,0,.12); }
.button-secondary { border-color: rgba(151, 170, 198, .28); background: rgba(9, 15, 24, .66); }
.button-secondary:hover { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.04); }
.server-status { width: fit-content; display: flex; align-items: center; gap: 10px; margin-top: 23px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(7, 13, 22, .7); font-size: 12px; }
.server-status strong { color: #a8b6c9; font-weight: 560; }
.server-status i { width: 1px; height: 13px; background: var(--line); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(56, 217, 176, .07), 0 0 16px rgba(56, 217, 176, .5); animation: statusPulse 2.2s ease-in-out infinite; }
.hero-media { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(151,170,198,.14); border-radius: 24px; box-shadow: 0 36px 90px rgba(0,0,0,.5); aspect-ratio: 4 / 3; }
.hero-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 64px rgba(0,0,0,.2); pointer-events: none; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.68) saturate(.82) contrast(1.08); }
.hero-media .home-patrol-image { object-position: center; filter: brightness(1.04) saturate(1) contrast(1.02); }

.live-panel { padding: 150px 0 135px; background: transparent; }
.live-title { width: var(--page); margin: 0 auto 32px; text-align: center; font-size: clamp(30px, 2vw, 36px); font-weight: 760; letter-spacing: -.055em; line-height: 1; }
.live-panel-inner { background: transparent; }
.live-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.live-metrics div { min-height: 105px; display: grid; place-content: center; padding: 22px; border: 1px solid var(--line); border-radius: 16px; text-align: center; background: rgba(7,13,22,.52); }
.live-metrics strong, .live-metrics span { display: block; }
.live-metrics strong { font-size: 31px; letter-spacing: -.04em; }
.live-metrics span { margin-top: 7px; color: var(--muted); font-size: 12px; }
.live-panel-inner > p { margin: 0; padding: 20px 0 0; color: var(--muted-dark); font-size: 11px; text-align: center; }
.bot-controls { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.bot-controls[hidden] { display: none; }
.bot-test-button { min-height: 36px; padding: 0 15px; border: 1px solid rgba(116,166,255,.22); border-radius: 999px; color: #dfe9fb; background: rgba(61,126,230,.12); font: inherit; font-size: 11px; font-weight: 720; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.bot-test-button:hover { border-color: rgba(116,166,255,.4); background: rgba(61,126,230,.2); transform: translateY(-1px); }
.bot-test-button:disabled { opacity: .55; cursor: wait; transform: none; }
.bot-controls span { color: var(--muted); font-size: 11px; }

.section { padding: 125px 0; }
.marketplace { background: transparent; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; margin-bottom: 52px; }
.section-heading h2, .gallery-copy h2, .join-card h2 { font-size: clamp(42px, 4.6vw, 62px); line-height: .98; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.role-card { position: relative; min-height: 325px; overflow: hidden; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(15,27,43,.88), rgba(7,13,22,.84)); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.role-card:hover { transform: translateY(-6px); border-color: rgba(78,145,249,.38); box-shadow: 0 24px 60px rgba(0,0,0,.26); }
.role-number { position: absolute; top: 25px; right: 27px; color: #425168; font-size: 11px; font-weight: 760; letter-spacing: .14em; }
.role-icon { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: radial-gradient(circle at 45% 40%, var(--icon-color), transparent 35%), rgba(255,255,255,.035); box-shadow: inset 0 0 20px rgba(255,255,255,.025); }
.role-icon.police { --icon-color: #4e91f9; }
.role-icon.fire { --icon-color: #ff5e62; }
.role-icon.civilian { --icon-color: #38d9b0; }
.role-card h3 { margin: 72px 0 12px; font-size: 21px; letter-spacing: -.03em; }
.role-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.role-card a { position: absolute; left: 29px; bottom: 28px; display: inline-flex; gap: 12px; color: #aab8ca; font-size: 12px; font-weight: 680; }
.role-card a span { color: var(--blue-light); }

.gallery { background: transparent; }
.gallery-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 90px; }
.gallery-image { position: relative; min-height: 475px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; }
.gallery-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,7,13,.48), transparent 55%); }
.gallery-image img { width: 100%; height: 100%; min-height: 475px; object-fit: cover; }
.gallery-copy > p:not(.kicker) { margin: 25px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 36px 0 0; }
.stats div { padding: 17px 0; border-top: 1px solid var(--line); }
.stats dt { font-size: 25px; font-weight: 760; letter-spacing: -.04em; }
.stats dd { margin: 5px 0 0; color: var(--muted-dark); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.departments { background: transparent; }
.department-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 90px; }
.department-copy h2, .gallery-heading h2 { margin: 0; font-size: clamp(42px, 4.6vw, 62px); line-height: .98; letter-spacing: -.055em; }
.department-copy > p:not(.kicker) { max-width: 510px; margin: 24px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.department-copy ul { display: grid; gap: 12px; margin: 29px 0; padding: 0; color: #aab8ca; font-size: 13px; list-style: none; }
.department-copy li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 11px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px rgba(78,145,249,.48); vertical-align: 1px; }
.department-image { min-height: 470px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; }
.department-image img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; object-position: 30% center; filter: brightness(.7) saturate(.82); }

.gallery-section { background: transparent; }
.gallery-heading { max-width: 650px; }
.gallery-heading > p:last-child { margin: 18px 0 0; color: var(--muted); line-height: 1.7; }
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 45px; }
.scene-card { height: 270px; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); }
.scene-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .4s ease; }
.scene-card:nth-child(1) img { object-position: 18% center; }
.scene-card:nth-child(2) img { object-position: 50% center; filter: brightness(.7) hue-rotate(-13deg); transform: scale(1.1); }
.scene-card:nth-child(3) img { object-position: 82% center; filter: brightness(.76) saturate(1.15); transform: scale(1.04); }
.scene-card:hover img { transform: scale(1.08); filter: brightness(.9) saturate(1.05); }

.join-section { padding: 0 0 45px; background: transparent; }
.join-card { width: min(860px, calc(100% - 40px)); min-height: 305px; display: grid; place-items: center; align-content: center; padding: 52px 32px; overflow: hidden; border: 1px solid rgba(116,166,255,.18); border-radius: 28px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(69,133,241,.19), transparent 42%), linear-gradient(140deg, #0b1727, #050a12 70%); }
.join-logo { width: 52px; height: 52px; object-fit: contain; margin-bottom: 19px; filter: drop-shadow(0 7px 16px rgba(0,0,0,.45)); }
.join-card h2 { font-size: clamp(35px, 4.2vw, 52px); }
.join-card > p { max-width: 520px; margin: 17px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.join-actions { display: flex; gap: 10px; justify-content: center; }

.site-footer { padding: 23px 0 38px; background: transparent; }
.footer-row { min-height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; border-top: 1px solid var(--line); }
.footer-row p { margin: 0; color: var(--muted-dark); font-size: 10px; }
.footer-row p:last-child { text-align: right; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); filter: blur(7px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,.75,.22,1), filter .8s ease; }
.js .reveal.visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.delay-one { transition-delay: .12s; }
.delay-two { transition-delay: .24s; }

.js .hero .hero-copy { opacity: 1; transform: none; filter: none; transition: none; }
.js .hero .hero-copy > * { opacity: 0; transform: translateY(25px); filter: blur(8px); }
.js .hero .hero-copy.visible > * { animation: heroLineIn .78s cubic-bezier(.16,.75,.22,1) forwards; }
.js .hero .hero-copy.visible > :nth-child(1) { animation-delay: .14s; }
.js .hero .hero-copy.visible > :nth-child(2) { animation-delay: .27s; }
.js .hero .hero-copy.visible > :nth-child(3) { animation-delay: .39s; }
.js .hero .hero-copy.visible > :nth-child(4) { animation-delay: .51s; }
.js .hero .hero-copy.visible > :nth-child(5) { animation-delay: .63s; }
.js .hero .hero-media { opacity: 0; transform: translateY(20px) scale(.965); filter: blur(7px); transition: opacity 1s ease .24s, transform 1s cubic-bezier(.16,.75,.22,1) .24s, filter 1s ease .24s; }
.js .hero .hero-media.visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.js .reveal .kicker span { transform: scaleX(0); transform-origin: left; transition: transform .65s cubic-bezier(.16,.75,.22,1) .18s; }
.js .reveal.visible .kicker span { transform: scaleX(1); }

@keyframes navEnter {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroLineIn {
  from { opacity: 0; transform: translateY(25px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes backgroundDrift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); background-position: 0% 0%; }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.025); background-position: 100% 35%; }
}
@keyframes floatBlue {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: .72; }
  to { transform: translate3d(-55px, 45px, 0) scale(1.08); opacity: 1; }
}
@keyframes floatCyan {
  from { transform: translate3d(0, 0, 0); opacity: .65; }
  to { transform: translate3d(70px, -35px, 0); opacity: .95; }
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(56,217,176,.06), 0 0 12px rgba(56,217,176,.34); }
  50% { box-shadow: 0 0 0 7px rgba(56,217,176,.09), 0 0 20px rgba(56,217,176,.62); }
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 160px 0 110px; }
  .hero-grid, .gallery-grid, .department-grid { grid-template-columns: 1fr; gap: 65px; }
  .hero-copy { max-width: 650px; }
  .hero-media { width: min(650px, 100%); }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .card-grid, .scene-grid { grid-template-columns: 1fr; }
  .role-card { min-height: 260px; }
  .scene-card { height: 360px; }
}

@media (max-width: 760px) {
  :root { --page: min(100% - 28px, 1110px); }
  .site-header { top: 8px; }
  .nav-shell { width: min(100% - 20px, 1080px); min-height: 58px; padding: 7px 8px 7px 13px; }
  .site-header.scrolled .nav-shell { width: min(100% - 20px, 1080px); min-height: 58px; padding: 7px 8px 7px 13px; }
  .site-header.scrolled .brand { gap: 10px; }
  .site-header.scrolled .brand > span:last-child { max-width: 100px; opacity: 1; transform: none; }
  .site-header.scrolled .brand-badge { width: 31px; height: 31px; flex-basis: 31px; }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; top: 68px; left: 10px; right: 10px; display: none; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: rgba(5,10,18,.98); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
  .site-nav.open { display: block; }
  .nav-links, .nav-actions { align-items: stretch; flex-direction: column; gap: 3px; }
  .nav-links a { padding: 13px 14px; border-radius: 10px; }
  .nav-links a.active::after { display: none; }
  .nav-actions { margin-top: 8px; }
  .nav-button { width: 100%; }
  .discord-account { width: 100%; border-radius: 14px; padding: 7px; }
  .discord-name { max-width: none; flex: 1; }
  .discord-logout { min-height: 34px; padding-inline: 13px; }
  .hero { padding: 125px 0 90px; }
  .hero h1 { font-size: clamp(52px, 16vw, 72px); }
  .hero-lead { font-size: 18px; }
  .hero-actions .button { flex: 1; min-width: 140px; padding-inline: 16px; }
  .hero-media { border-radius: 18px; }
  .hero-media figcaption { display: none; }
  .live-panel { padding-top: 82px; }
  .live-title { margin-bottom: 34px; font-size: clamp(29px, 9vw, 40px); }
  .live-metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
  .live-metrics div { min-height: 98px; padding: 18px 12px; }
  .section { padding: 88px 0; }
  .section-heading h2, .gallery-copy h2, .join-card h2 { font-size: clamp(40px, 12vw, 55px); }
  .gallery-grid { gap: 48px; }
  .gallery-image, .gallery-image img { min-height: 360px; }
  .stats { gap: 8px; }
  .stats dt { font-size: 21px; }
  .join-section { padding-bottom: 20px; }
  .join-card { min-height: 0; padding: 42px 25px; border-radius: 22px; }
  .department-image, .department-image img { min-height: 360px; }
  .join-actions { width: 100%; flex-direction: column; }
  .join-actions .button { width: 100%; }
  .footer-row { grid-template-columns: 1fr; justify-items: center; padding: 35px 0; }
  .footer-row p:last-child { text-align: center; }
}

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