:root {
  color-scheme: light;
  --paper: #f5f6f1;
  --surface: #ffffff;
  --ink: #17241f;
  --muted: #718078;
  --line: #e0e6df;
  --forest: #123c32;
  --forest-dark: #0c3028;
  --green: #2f7b5c;
  --lime: #d7ed7b;
  --red: #b94542;
  --blue: #477a91;
  --soft-green: #eaf2eb;
  --shadow: 0 18px 50px rgba(20, 45, 34, .08);
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #121b17;
  --surface: #1b2721;
  --ink: #edf3ee;
  --muted: #a4b2a9;
  --line: #334139;
  --forest: #143f34;
  --forest-dark: #0d3027;
  --green: #82c5a1;
  --lime: #d7ed7b;
  --red: #ef9189;
  --blue: #86bbd1;
  --soft-green: #24352b;
  --shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.55; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #78aa8c; outline-offset: 3px; }
::selection { background: var(--lime); color: #17241f; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; background: var(--surface); }
.boot-screen { display: grid; min-height: 100vh; place-content: center; justify-items: center; gap: 14px; color: var(--muted); }
.boot-screen p { margin: 0; }
.brand-mark { display: inline-grid; width: 38px; height: 42px; place-items: center; flex: 0 0 auto; clip-path: polygon(50% 0, 95% 16%, 89% 72%, 50% 100%, 11% 72%, 5% 16%); background: var(--lime); color: var(--forest); font: 800 12px "Manrope", sans-serif; letter-spacing: 0; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font: 700 13px "Manrope", sans-serif; letter-spacing: .03em; line-height: 1.25; white-space: nowrap; }
.wordmark b { font-weight: 800; }
.wordmark small { display: block; margin-top: 4px; color: var(--muted); font: 600 9px "DM Sans", sans-serif; letter-spacing: .13em; }
.public-shell { max-width: 1600px; margin: auto; padding: 0 5.2%; }
.public-header { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.public-header nav, .header-actions, .hero-links, .hero-meta, .section-heading, .header-actions, .topbar-actions, .toolbar-buttons { display: flex; align-items: center; }
.public-header nav { gap: clamp(16px, 2.8vw, 42px); margin-left: auto; }
.public-header nav a { position: relative; padding: 33px 0 30px; color: var(--muted); font-size: 12px; font-weight: 600; }
.public-header nav a:hover, .public-header nav a.active { color: var(--forest); }
.public-header nav a.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: var(--green); content: ""; }
.header-actions { gap: 10px; }
.icon-button { display: inline-grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 16px; }
.icon-button:hover { border-color: var(--green); }
.icon-button.small { width: 32px; height: 32px; }
.icon-button.danger:hover { color: var(--red); border-color: var(--red); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 15px; padding: 0 18px; border: 1px solid transparent; border-radius: 3px; cursor: pointer; font-size: 12px; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-dark { background: var(--forest); color: #fff; }
.button-dark:hover { background: var(--forest-dark); }
.button-lime { background: var(--lime); color: #1d3129; }
.button-lime:hover { background: #e4f397; }
.button-outline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button-outline:hover { border-color: var(--green); }
.service-alert { display: flex; align-items: center; gap: 10px; margin: 14px 0; padding: 11px 14px; border: 1px solid #ecd7ad; background: #fff9e9; color: #5e4d27; font-size: 12px; }
:root[data-theme="dark"] .service-alert { background: #352f20; color: #f0dba9; }
.service-alert a { text-decoration: underline; }
.status-dot, .live-label i { width: 7px; height: 7px; border-radius: 50%; background: #d5a13e; }
.hero { position: relative; display: grid; min-height: 500px; grid-template-columns: .92fr 1.08fr; margin-top: 30px; overflow: hidden; background: var(--forest); color: #fff; animation: enter .55s both; }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(35px, 6vw, 86px); }
.eyebrow { color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.eyebrow.light { color: var(--lime); }
.hero h1, .page-heading h1 { max-width: 540px; margin: 18px 0 15px; font: 700 clamp(38px, 4.7vw, 64px)/1.07 "Manrope", sans-serif; letter-spacing: 0; }
.hero-copy > p { max-width: 400px; margin: 0; color: rgba(255,255,255,.73); font-size: 15px; }
.hero-links { flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--forest); font-size: 11px; font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.light-link { color: #fff; }
.hero-meta { width: 100%; justify-content: space-between; margin-top: auto; padding-top: 54px; color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .12em; }
.live-label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.live-label i { background: #6ac08b; box-shadow: 0 0 0 4px rgba(106,192,139,.13); }
.hero-visual { position: relative; min-height: 500px; background: linear-gradient(90deg, rgba(18,60,50,.14), transparent 25%), url("https://images.unsplash.com/photo-1555993539-1732b0258235?auto=format&fit=crop&w=1400&q=85") center 48% / cover no-repeat; }
.hero-visual::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(5,20,16,.68)); content: ""; }
.image-caption { position: absolute; z-index: 1; right: 36px; bottom: 32px; display: grid; gap: 4px; color: #fff; text-align: right; }
.image-caption span { font-size: 9px; letter-spacing: .17em; }
.image-caption b { font: 600 16px "Manrope", sans-serif; letter-spacing: .08em; }
.hero-controls { position: absolute; z-index: 2; right: 22px; bottom: 19px; display: flex; align-items: center; gap: 10px; color: #fff; font-size: 9px; }
.hero-controls button { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(10,30,24,.35); color: #fff; cursor: pointer; }
.hero-controls button:hover { border-color: var(--lime); background: var(--forest); }
.stats-band { padding: 35px 0 39px; border-bottom: 1px solid var(--line); }
.section-kicker { display: flex; justify-content: space-between; color: var(--ink); font: 700 10px "Manrope", sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.section-kicker span { color: var(--muted); font: 600 8px "DM Sans", sans-serif; letter-spacing: .13em; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
.stat-item { display: grid; gap: 1px; padding: 0 22px; border-left: 1px solid var(--line); }
.stat-item:first-child { padding-left: 0; border-left: 0; }
.stat-item strong { font: 700 30px "Manrope", sans-serif; }
.stat-item span { color: var(--muted); font-size: 11px; }
.editorial-section, .people-section { padding: 74px 0; }
.section-heading { justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading h2, .split-intro h2, .contact-band h2 { margin: 7px 0 0; font: 700 29px/1.2 "Manrope", sans-serif; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.content-card { min-height: 185px; padding: 22px; border: 1px solid var(--line); background: var(--surface); transition: transform .2s ease, box-shadow .2s ease; }
.content-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.content-card h3, .info-item h3 { margin: 16px 0 7px; font: 700 17px/1.3 "Manrope", sans-serif; }
.content-card p, .info-item p { margin: 0; color: var(--muted); font-size: 12px; }
.content-card small { display: block; margin-top: 18px; color: var(--muted); font-size: 10px; }
.empty-state { color: var(--muted); font-size: 12px; }
.split-band { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8%; padding: 52px 7%; background: #e9eee7; }
:root[data-theme="dark"] .split-band { background: #202e26; }
.split-intro p { max-width: 320px; color: var(--muted); font-size: 12px; }
.split-intro .text-link { margin-top: 13px; }
.event-list article { display: grid; grid-template-columns: 90px 1fr 18px; align-items: start; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(112,132,119,.24); }
.event-date { color: var(--green); font-size: 10px; font-weight: 700; }
.event-list h3 { margin: 0; font: 700 14px "Manrope", sans-serif; }
.event-list p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.people-section { padding-bottom: 60px; }
.muted { color: var(--muted); font-size: 11px; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.person-card { display: flex; align-items: center; gap: 15px; padding: 19px; border: 1px solid var(--line); background: var(--surface); }
.person-initial { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--soft-green); color: var(--forest); font: 700 18px "Manrope", sans-serif; }
.person-card h3 { margin: 4px 0 0; font: 700 15px "Manrope", sans-serif; }
.person-card p { margin: 1px 0 0; color: var(--muted); font-size: 10px; }
.featured-strip { display: flex; align-items: center; gap: 27px; margin-top: 26px; padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.featured-strip > div { display: flex; flex-wrap: wrap; gap: 12px 25px; color: var(--muted); font-size: 10px; }
.featured-strip b { color: var(--ink); }
.recruitment-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 74px; padding: 38px 7%; background: var(--forest); color: white; }
.recruitment-band h2 { margin: 6px 0; font: 700 27px "Manrope", sans-serif; }
.recruitment-band p { margin: 0; color: rgba(255,255,255,.68); font-size: 12px; }
.public-footer { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.public-footer > span:first-child { color: var(--ink); font-weight: 700; letter-spacing: .11em; }
.public-footer b { color: var(--green); }
.page-heading { padding: 76px 0 42px; border-bottom: 1px solid var(--line); }
.page-heading h1 { margin: 9px 0 10px; font-size: clamp(36px, 5vw, 55px); }
.page-heading p { max-width: 590px; margin: 0; color: var(--muted); }
.public-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 55px; padding: 42px 0 64px; }
.info-section h2 { margin: 0 0 16px; font: 700 18px "Manrope", sans-serif; }
.info-item { padding: 16px 0; border-top: 1px solid var(--line); }
.info-item h3 { margin-top: 7px; }
.info-item small { display: block; margin-top: 8px; color: var(--muted); }
.contact-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; margin: 0 0 65px; padding: 40px 6%; background: var(--forest); color: white; }
.contact-band > div p { max-width: 350px; color: rgba(255,255,255,.7); font-size: 12px; }
.contact-band h2 { margin-top: 9px; }
.contact-form, .application-form { display: grid; gap: 14px; }
.contact-form label, .application-form label, .editor-form label { display: grid; gap: 6px; font-size: 11px; font-weight: 600; }
.contact-form input, .contact-form textarea { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: white; }
.contact-form textarea { resize: vertical; }
.contact-form .form-status { min-height: 18px; margin: 0; color: var(--lime); }
.application-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8%; padding: 52px 0 80px; }
.application-aside { padding: 23px; background: var(--soft-green); }
.large-number { color: var(--green); font: 700 52px "Manrope", sans-serif; }
.application-aside h2 { margin: 8px 0; font: 700 22px "Manrope", sans-serif; }
.application-aside > p { color: var(--muted); font-size: 12px; }
.process-step { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 600; }
.process-step b { color: var(--green); font-size: 10px; }
.application-form { padding-top: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.form-grid .span-2 { grid-column: span 2; }
.application-form input, .application-form textarea, .verify-form input, .editor-form input, .editor-form textarea { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); color: var(--ink); }
.application-form input::placeholder { color: #9aa79f; }
.application-form small { color: var(--muted); font-size: 9px; font-weight: 400; }
.application-form textarea, .editor-form textarea { resize: vertical; }
.checkbox-label { display: flex !important; grid-template-columns: 17px 1fr; align-items: start; gap: 9px !important; color: var(--muted); font-size: 10px !important; font-weight: 400 !important; }
.checkbox-label input { width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--green); }
.form-status { min-height: 18px; margin: 0; color: var(--green); font-size: 11px; }
.form-status.error-text, .inline-error { color: var(--red); }
.verify-form { max-width: 680px; padding: 38px 0 20px; }
.verify-form label { display: block; margin-bottom: 8px; font-weight: 700; }
.verify-form > div { display: flex; gap: 9px; }
.verification-card { max-width: 680px; margin: 0 0 70px; padding: 22px; border: 1px solid var(--line); background: var(--surface); }
.verification-card h2 { margin-bottom: 5px; }
.verification-card p, .verification-card small { color: var(--muted); }

/* Staff console */
.console-shell { display: grid; min-height: 100vh; grid-template-columns: 255px minmax(0, 1fr); background: var(--paper); }
.sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; overflow-y: auto; padding: 22px 15px 16px; background: var(--forest-dark); color: #fff; scrollbar-color: rgba(255,255,255,.2) transparent; scrollbar-width: thin; }
.sidebar .wordmark { padding: 0 7px 22px; border-bottom: 1px solid rgba(255,255,255,.15); }
.sidebar .wordmark small { color: rgba(255,255,255,.54); }
.sidebar-label { margin: 22px 8px 8px; color: rgba(255,255,255,.48); font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.side-link { display: flex; min-height: 35px; align-items: center; gap: 10px; padding: 6px 9px; border: 0; border-radius: 3px; background: transparent; color: rgba(255,255,255,.75); cursor: pointer; font-size: 10px; text-align: left; }
.side-link:hover, .side-link.selected { background: rgba(255,255,255,.12); color: #fff; }
.side-link.selected { box-shadow: inset 2px 0 var(--lime); }
.nav-icon { display: inline-grid; width: 20px; height: 20px; flex: 0 0 auto; place-items: center; color: var(--lime); font-size: 8px; font-weight: 700; }
.sidebar-bottom { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); }
.sidebar-bottom .side-link { width: 100%; }
.console-main { min-width: 0; padding: 0 clamp(20px, 4vw, 58px) 50px; }
.console-topbar { display: flex; min-height: 96px; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.console-topbar .eyebrow { font-size: 8px; }
.console-topbar h1 { margin: 3px 0 0; font: 700 23px "Manrope", sans-serif; }
.topbar-actions { gap: 13px; }
.search-box { display: flex; width: 220px; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.search-box input { width: 100%; height: 35px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 10px; }
.profile-chip { display: grid; grid-template-columns: 32px auto; align-items: center; column-gap: 8px; padding: 4px 8px 4px 4px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-align: left; }
.profile-chip .avatar { display: grid; width: 30px; height: 30px; grid-row: span 2; place-items: center; border-radius: 50%; background: var(--soft-green); color: var(--forest); font-size: 9px; font-weight: 700; }
.profile-chip > span:not(.avatar) { font-size: 10px; font-weight: 700; }
.profile-chip small { color: var(--muted); font-size: 7px; letter-spacing: .09em; }
.resource-toolbar { display: flex; min-height: 79px; align-items: center; justify-content: space-between; gap: 16px; }
.resource-toolbar p { margin: 0 0 2px; color: var(--muted); font-size: 10px; }
.record-count { color: var(--ink); font-size: 10px; font-weight: 700; }
.toolbar-buttons { gap: 8px; }
.toolbar-buttons .button { min-height: 38px; padding: 0 12px; font-size: 10px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 12px 15px; border-bottom: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 8px; letter-spacing: .11em; white-space: nowrap; }
td { max-width: 360px; padding: 13px 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
tbody tr:last-child td { border-bottom: 0; }
td strong { display: block; overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
td small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }
.status-pill { display: inline-block; padding: 4px 7px; border-radius: 12px; background: var(--soft-green); color: var(--green); font-size: 8px; font-weight: 700; white-space: nowrap; }
.status-pending, .status-review, .status-draft { background: #f8f0da; color: #9b7425; }
.status-rejected, .status-closed, .status-inactive { background: #f6e5e3; color: var(--red); }
.row-actions { width: 80px; text-align: right; white-space: nowrap; }
.row-actions .icon-button + .icon-button { margin-left: 4px; }
.table-empty { height: 100px; color: var(--muted); text-align: center; }
.privacy-note { margin: 12px 0; color: var(--muted); font-size: 9px; }
.inline-error { margin: 12px 0; padding: 10px; background: var(--surface); font-size: 11px; }
.dashboard-welcome { display: flex; min-height: 160px; align-items: center; justify-content: space-between; margin: 25px 0 18px; padding: 24px 30px; background: var(--forest); color: #fff; }
.dashboard-welcome .eyebrow { color: var(--lime); }
.dashboard-welcome h2 { margin: 8px 0 4px; font: 700 24px "Manrope", sans-serif; }
.dashboard-welcome p { margin: 0; color: rgba(255,255,255,.7); font-size: 11px; }
.dashboard-mark { display: grid; width: 56px; height: 64px; place-items: center; clip-path: polygon(50% 0, 95% 16%, 89% 72%, 50% 100%, 11% 72%, 5% 16%); background: var(--lime); color: var(--forest); font: 800 14px/1 "Manrope", sans-serif; text-align: center; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.metric-card { display: grid; min-height: 108px; align-content: space-between; padding: 15px; border: 1px solid var(--line); background: var(--surface); }
.metric-card > span { color: var(--muted); font-size: 10px; }
.metric-card strong { font: 700 25px "Manrope", sans-serif; }
.metric-card small { color: var(--muted); font-size: 8px; }
.dashboard-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.dashboard-panel { min-height: 235px; padding: 18px; border: 1px solid var(--line); background: var(--surface); }
.section-heading.compact { margin-bottom: 14px; }
.section-heading.compact h2, .dashboard-panel > h2 { margin: 5px 0 0; font: 700 17px "Manrope", sans-serif; }
.section-heading.compact .text-link { font-size: 9px; }
.activity-row { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.activity-dot { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--green); }
.activity-row b, .activity-row small { display: block; }
.activity-row b { font-size: 10px; }
.activity-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 13px; }
.quick-links a { display: flex; min-height: 37px; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px; border: 1px solid var(--line); font-size: 9px; }
.quick-links a:hover { border-color: var(--green); color: var(--green); }
.editor-dialog { width: min(660px, calc(100vw - 28px)); max-height: min(820px, calc(100vh - 28px)); padding: 0; border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.editor-dialog::backdrop { background: rgba(10, 28, 22, .58); backdrop-filter: blur(2px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 21px 23px 15px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 5px 0 0; font: 700 20px "Manrope", sans-serif; }
.editor-form { padding: 20px 23px 23px; }
.editor-form .form-grid { max-height: 55vh; overflow-y: auto; padding: 2px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 21px; }
.dialog-actions .button { min-height: 38px; }
.auth-shell { display: grid; min-height: 100vh; place-content: center; justify-items: center; gap: 30px; padding: 24px; background: radial-gradient(ellipse at 50% 35%, var(--surface), var(--paper) 70%); }
.auth-shell > .wordmark { position: absolute; top: 26px; left: 5%; }
.auth-card { width: min(440px, 100%); padding: 36px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.auth-card h1 { margin: 10px 0; font: 700 26px/1.2 "Manrope", sans-serif; }
.auth-card p { margin: 0 0 22px; color: var(--muted); font-size: 12px; }
.auth-card .text-link { margin-top: 20px; }
.full-width { width: 100%; }
.auth-shell > small { color: var(--muted); font-size: 9px; }
.auth-shell .inline-error { margin: 0 0 14px; }

@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 950px) {
  .public-shell { padding: 0 3.5%; }
  .public-header { flex-wrap: wrap; padding: 13px 0; }
  .public-header nav { order: 3; width: 100%; justify-content: space-between; }
  .public-header nav a { padding: 9px 0; }
  .public-header nav a.active::after { bottom: 0; }
  .hero { min-height: 430px; grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 430px; }
  .console-shell { grid-template-columns: 215px minmax(0, 1fr); }
  .console-main { padding: 0 22px 40px; }
  .search-box { width: 170px; }
}
@media (max-width: 680px) {
  body { font-size: 13px; }
  .public-shell { padding: 0 18px; }
  .public-header { min-height: 0; gap: 10px; }
  .public-header .wordmark { font-size: 11px; }
  .public-header .brand-mark { width: 32px; height: 36px; }
  .header-actions { gap: 6px; }
  .header-actions .button { min-height: 36px; gap: 5px; padding: 0 9px; font-size: 9px; }
  .header-actions .icon-button { width: 34px; height: 34px; }
  .public-header nav { gap: 5px; overflow-x: auto; }
  .public-header nav a { flex: 0 0 auto; font-size: 10px; }
  .hero { min-height: 0; grid-template-columns: 1fr; margin-top: 18px; }
  .hero-copy { min-height: 365px; padding: 32px 25px; }
  .hero h1 { max-width: 450px; font-size: clamp(37px, 11vw, 53px); }
  .hero-copy > p { font-size: 13px; }
  .hero-meta { padding-top: 36px; }
  .hero-visual { min-height: 225px; }
  .hero-controls { right: 12px; bottom: 9px; }
  .image-caption { right: 20px; bottom: 18px; }
  .stats-band { padding: 27px 0; }
  .section-kicker { gap: 8px; font-size: 8px; }
  .section-kicker span { font-size: 7px; text-align: right; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stat-item { padding-left: 13px; }
  .stat-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat-item strong { font-size: 25px; }
  .editorial-section, .people-section { padding: 46px 0; }
  .section-heading { align-items: flex-end; }
  .section-heading h2, .split-intro h2, .contact-band h2 { font-size: 24px; }
  .section-heading > .text-link { max-width: 115px; font-size: 9px; }
  .content-grid, .people-grid { grid-template-columns: 1fr; }
  .content-card { min-height: 150px; }
  .split-band { grid-template-columns: 1fr; gap: 23px; padding: 30px 22px; }
  .event-list article { grid-template-columns: 70px 1fr 14px; gap: 9px; }
  .featured-strip { align-items: flex-start; flex-direction: column; gap: 12px; }
  .recruitment-band { align-items: flex-start; flex-direction: column; margin-bottom: 46px; padding: 29px 23px; }
  .recruitment-band h2 { font-size: 23px; }
  .public-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding: 16px 0; }
  .page-heading { padding: 48px 0 30px; }
  .public-info-grid { grid-template-columns: 1fr; gap: 24px; padding: 30px 0; }
  .contact-band { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; padding: 27px 20px; }
  .application-layout { grid-template-columns: 1fr; gap: 23px; padding: 28px 0 48px; }
  .application-aside { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .verify-form > div { align-items: stretch; flex-direction: column; }
  .console-shell { display: block; }
  .sidebar { position: sticky; z-index: 5; top: 0; height: auto; max-height: none; flex-direction: row; align-items: center; gap: 6px; overflow-x: auto; overflow-y: hidden; padding: 8px 12px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
  .sidebar .wordmark { flex: 0 0 auto; padding: 0 10px 0 0; border: 0; font-size: 10px; }
  .sidebar .wordmark .brand-mark { width: 31px; height: 34px; }
  .sidebar .wordmark small { display: none; }
  .sidebar-label, .sidebar-bottom { display: none; }
  .side-link { min-height: 34px; flex: 0 0 auto; gap: 5px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.12); font-size: 9px; white-space: nowrap; }
  .nav-icon { width: 15px; }
  .console-main { padding: 0 14px 30px; }
  .console-topbar { min-height: 75px; }
  .console-topbar h1 { font-size: 19px; }
  .console-topbar .eyebrow { font-size: 7px; }
  .topbar-actions { gap: 6px; }
  .topbar-actions .live-label, .topbar-actions > .icon-button { display: none; }
  .profile-chip { grid-template-columns: 28px auto; padding-right: 5px; }
  .profile-chip .avatar { width: 26px; height: 26px; }
  .profile-chip > span:not(.avatar) { max-width: 72px; overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  .profile-chip small { font-size: 6px; }
  .resource-toolbar { align-items: flex-start; flex-direction: column; padding: 13px 0; }
  .toolbar-buttons { width: 100%; }
  .toolbar-buttons .button { flex: 1; }
  .table-wrap { margin-right: -14px; }
  table { min-width: 610px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-welcome { min-height: 145px; padding: 18px; }
  .dashboard-welcome h2 { max-width: 240px; font-size: 20px; }
  .dashboard-mark { width: 45px; height: 53px; }
  .dashboard-bottom { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: 1fr; }
  .editor-dialog { max-height: calc(100vh - 18px); }
  .dialog-head { padding: 16px; }
  .editor-form { padding: 15px 16px 18px; }
  .editor-form .form-grid { max-height: 58vh; }
  .auth-card { padding: 27px 22px; }
  .auth-shell > .wordmark { top: 16px; left: 18px; }
}