:root {
    --ink: #09090b;
    --ink-soft: #292927;
    --signal: #d94f3a;
    --signal-dark: #bd3f2c;
    --paper: #ffffff;
    --stone: #f4f4f0;
    --stone-light: #fafaf8;
    --line: #e5e5df;
    --line-strong: #d6d6cd;
    --muted: #66666f;
    --quiet: #a1a1aa;
    --green: #059669;
    --red: #b42318;
    --amber: #b45309;
    --max: 1400px;
    --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Cabinet Grotesk", "Geist", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --shadow: 0 14px 45px rgba(9, 9, 11, .07), 0 2px 4px rgba(9, 9, 11, .03);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--stone); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
::selection { background: var(--signal); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(244,244,240,.92); backdrop-filter: blur(18px); }
.site-header__inner { max-width: var(--max); min-height: 68px; margin: auto; padding: 0 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.brand { width: max-content; display: flex; flex-direction: column; line-height: 1; }
.brand__line { font-family: var(--font-display); font-size: 22px; letter-spacing: -.055em; }
.brand__line > span { font-weight: 400; }
.brand__line strong { font-weight: 900; }
.brand__line em { margin-left: 2px; color: var(--signal); font-weight: 900; font-style: italic; }
.brand small { margin-top: 3px; color: #777780; font-size: 8px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.site-nav > a { position: relative; padding: 24px 0; color: #50505a; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--ink); }
.site-nav > a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 17px; height: 1px; background: var(--ink); }
.site-nav__mobile-actions { display: none; }
.site-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.text-link { font-size: 14px; font-weight: 600; }
.text-link:hover { color: var(--signal); }
.nav-toggle { display: none; width: 38px; height: 38px; padding: 8px; border: 0; background: transparent; }
.nav-toggle > span:not(.sr-only) { width: 19px; height: 2px; margin: 4px auto; display: block; background: var(--ink); }

.button { min-height: 46px; padding: 0 19px; border: 1px solid transparent; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 14px; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 42px; padding: 0 17px; font-size: 13px; }
.button--large { min-height: 54px; padding: 0 25px; }
.button--full { width: 100%; }
.button--pill { border-radius: 999px; }
.button--signal { background: var(--signal); color: #fff; }
.button--signal:hover { background: var(--ink); }
.button--ink { background: var(--ink); color: #fff; }
.button--ink:hover { background: var(--signal); }
.button--paper { background: var(--paper); color: var(--ink); }
.button--paper:hover { background: var(--signal); color: #fff; }
.button--ghost { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.button--ghost:hover { border-color: var(--ink); }
.button--danger { border-color: var(--red); background: var(--red); color: #fff; }
.button--danger:hover { background: var(--ink); border-color: var(--ink); }
.danger-link { padding: 8px; border: 0; background: none; color: var(--red); font-size: 13px; font-weight: 700; }
.arrow-link { font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--ink); }
.arrow-link:hover { color: var(--signal); border-color: var(--signal); }

.flash { position: relative; z-index: 30; max-width: var(--max); margin: 16px auto 0; padding: 13px 18px; border: 1px solid #b7e4d4; border-left: 4px solid var(--green); background: #ecfdf5; font-weight: 600; }
.flash--error { border-color: #f5bbb5; border-left-color: var(--red); background: #fff0ef; }
.kicker { color: var(--signal); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.kicker > span { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); }
.kicker--light { color: #ee6b57; }
.live-status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.live-status span { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 5px rgba(16,185,129,.1); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; transform: scale(.86); } }

/* Home */
.editorial-shell { max-width: var(--max); margin: auto; padding: 48px 32px 90px; }
.hero { display: grid; grid-template-columns: 320px minmax(0,1fr); gap: 48px; align-items: start; }
.hero__sidebar { position: sticky; top: 116px; display: flex; flex-direction: column; align-items: stretch; }
.hero h1 { margin: 18px 0 18px; font-family: var(--font-display); font-size: clamp(49px, 4.2vw, 67px); font-weight: 700; letter-spacing: -.055em; line-height: .96; }
.hero h1 em { color: var(--signal); font-style: italic; }
.hero__lede { margin: 0 0 27px; color: #595963; line-height: 1.65; }
.hero-search > label { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.hero-search > div { min-height: 52px; padding: 5px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper); display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; box-shadow: 0 3px 8px rgba(9,9,11,.03); }
.hero-search span { color: var(--quiet); text-align: center; font-size: 20px; }
.hero-search input { width: 100%; min-width: 0; height: 40px; border: 0; outline: 0; background: transparent; font-size: 13px; }
.hero-search button { height: 40px; padding: 0 15px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.hero__trust { margin: 18px 0 30px; display: flex; flex-wrap: wrap; gap: 9px 16px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.hero__trust strong { color: var(--ink); font-size: 12px; }
.hero-alert-card, .rail-alert { position: relative; overflow: hidden; padding: 24px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.hero-alert-card::after, .rail-alert::after { content: ""; position: absolute; width: 130px; height: 130px; top: -70px; right: -55px; border-radius: 50%; background: #2d2d32; filter: blur(22px); }
.hero-alert-card > *, .rail-alert > * { position: relative; z-index: 1; }
.hero-alert-card h2 { margin: 16px 0 8px; font-family: var(--font-display); font-size: 23px; line-height: 1.06; }
.hero-alert-card p { margin: 0 0 19px; color: #a7a7af; font-size: 13px; line-height: 1.6; }
.hero__feed { min-width: 0; }
.ledger-heading { min-height: 72px; padding-bottom: 17px; border-bottom: 1px solid var(--ink); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ledger-heading h2 { margin: 5px 0 0; font-family: var(--font-display); font-size: 31px; letter-spacing: -.035em; }
.ledger-heading h2 > span, .stream-header h1 > span { display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: var(--line); color: var(--muted); font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0; vertical-align: middle; }
.ledger-heading > a { font-size: 13px; font-weight: 700; }
.ledger-heading > a span { margin-left: 7px; color: var(--signal); }
.load-more { width: max-content; min-height: 46px; margin: 40px auto 0; padding: 0 22px; border: 1px solid var(--line-strong); border-radius: 999px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.load-more:hover { border-color: var(--ink); background: var(--paper); }
.proof-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); display: grid; grid-template-columns: repeat(4,1fr); }
.proof-strip > div { min-height: 145px; padding: 28px max(24px, calc((100vw - var(--max))/8)); border-right: 1px solid var(--line); display: grid; align-content: center; }
.proof-strip > div:last-child { border-right: 0; }
.proof-strip span { color: var(--signal); font-family: var(--font-mono); font-size: 9px; }
.proof-strip strong { margin: 10px 0 4px; font-family: var(--font-display); font-size: 18px; }
.proof-strip small { color: var(--muted); line-height: 1.5; }
.section { max-width: var(--max); margin: auto; padding: 100px 32px; }
.section-heading { margin-bottom: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-heading h2 { margin: 6px 0 0; font-family: var(--font-display); font-size: 40px; letter-spacing: -.045em; }
.section--coverage { display: grid; grid-template-columns: .78fr 1.22fr; gap: 85px; background: var(--paper); }
.section--coverage::before { content: ""; position: absolute; left: 0; right: 0; height: 1px; }
.coverage-copy h2 { margin: 12px 0 24px; font-family: var(--font-display); font-size: clamp(48px,6vw,82px); letter-spacing: -.065em; line-height: .9; }
.coverage-copy p { max-width: 480px; margin: 0 0 30px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.institution-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.institution-grid a { position: relative; min-height: 175px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: background .2s ease, color .2s ease; }
.institution-grid a:hover { background: var(--ink); color: #fff; }
.institution-grid a > span { color: var(--signal); font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.institution-grid a strong { max-width: 270px; margin-top: auto; font-family: var(--font-display); font-size: 19px; line-height: 1.15; }
.institution-grid a small { margin-top: 5px; color: var(--muted); }
.institution-grid a i { position: absolute; right: 20px; top: 18px; color: var(--quiet); font-style: normal; }
.alert-cta { max-width: calc(var(--max) - 64px); min-height: 360px; margin: 10px auto 100px; padding: 60px; border-radius: 20px; background: var(--ink); color: #fff; display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; box-shadow: var(--shadow); }
.alert-cta h2 { margin: 13px 0 0; font-family: var(--font-display); font-size: clamp(52px,7vw,90px); letter-spacing: -.065em; line-height: .85; }
.alert-cta p { max-width: 480px; color: #aaaab3; font-size: 17px; line-height: 1.65; }

/* Vacancy ledger */
.job-stack { display: flex; flex-direction: column; }
.job-card { margin: 0 -14px; padding: 25px 14px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 145px minmax(0,1fr) 170px; gap: 28px; align-items: start; transition: background .22s ease, border-color .22s ease, border-radius .22s ease, box-shadow .22s ease; }
.job-card:hover { border-color: transparent; border-radius: 9px; background: var(--paper); box-shadow: var(--shadow); }
.job-card__deadline { padding-top: 4px; display: flex; flex-direction: column; gap: 7px; }
.deadline-label { display: flex; align-items: center; gap: 8px; color: #777780; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.deadline-label i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--line-strong); }
.job-card--urgent .deadline-label { color: var(--signal); }
.job-card--urgent .deadline-label i { background: var(--signal); animation: pulse 2s ease-in-out infinite; }
.job-card__deadline small { color: var(--muted); font-size: 10px; }
.job-card__tags { min-height: 21px; display: flex; flex-wrap: wrap; gap: 6px; }
.job-card__tags span, .status-tag { padding: 3px 7px; border: 1px solid var(--line-strong); border-radius: 4px; color: #52525b; font-size: 9px; font-weight: 700; line-height: 1.2; }
.job-card__core h2 { margin: 6px 0 7px; font-family: var(--font-display); font-size: 20px; letter-spacing: -.025em; line-height: 1.15; }
.job-card__core h2 a:hover { color: var(--signal); }
.job-card__core p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.job-card__core p strong { color: #4b4b54; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.job-card__core p i { color: var(--quiet); font-style: normal; }
.institution-mark { color: var(--quiet); }
.job-card__action { height: 100%; padding-top: 4px; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: right; }
.job-card__location { color: #55555d; font-size: 12px; }
.job-card__action > a { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; }
.job-card__action > a span { font-size: 18px; transition: transform .2s ease; }
.job-card:hover .job-card__action > a span { transform: translateX(4px); }
.empty-state { min-height: 240px; padding: 45px; border: 1px dashed var(--line-strong); border-radius: 12px; display: grid; place-content: center; justify-items: center; text-align: center; }
.empty-state strong { font-family: var(--font-display); font-size: 27px; }
.empty-state p { color: var(--muted); }
.empty-state .button { margin-top: 8px; }
.empty-state--large { min-height: 420px; }

/* Search */
.stream-shell { max-width: var(--max); margin: auto; padding: 48px 32px 90px; display: grid; grid-template-columns: 320px minmax(0,1fr); gap: 56px; align-items: start; }
.filter-rail { position: sticky; top: 96px; max-height: calc(100vh - 118px); padding-right: 12px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.filter-rail__heading { margin-bottom: 24px; display: flex; justify-content: space-between; align-items: center; }
.filter-rail__heading button { display: none; padding: 0; border: 0; background: transparent; font-size: 12px; font-weight: 700; }
.filter-rail__intro h2 { margin: 12px 0 13px; font-family: var(--font-display); font-size: 48px; letter-spacing: -.055em; line-height: .92; }
.filter-rail__intro p { margin: 0 0 25px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.filter-form { display: grid; gap: 19px; }
.search-field { min-height: 50px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--paper); display: grid; grid-template-columns: 25px 1fr; align-items: center; box-shadow: 0 3px 8px rgba(9,9,11,.03); }
.search-field > span:first-child { color: var(--quiet); font-size: 19px; }
.search-field input { min-width: 0; height: 46px; border: 0; outline: 0; background: transparent; font-size: 13px; }
.filter-group { display: grid; gap: 7px; }
.filter-group label, .auth-form label, .builder-form label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.filter-group select, .auth-form input, .builder-form input, .builder-form select, .settings-card input { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); color: var(--ink); outline: 0; }
.filter-group select:focus, .auth-form input:focus, .builder-form input:focus, .builder-form select:focus, .settings-card input:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.clear-link { color: var(--muted); font-size: 12px; font-weight: 600; text-align: center; text-decoration: underline; }
.rail-alert { margin-top: 28px; }
.rail-alert strong { margin-top: 14px; display: block; font-family: var(--font-display); font-size: 21px; }
.rail-alert p { color: #a7a7af; font-size: 12px; }
.stream-feed { min-width: 0; }
.stream-header { min-height: 76px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.stream-header h1 { margin: 6px 0 0; font-family: var(--font-display); font-size: 31px; letter-spacing: -.035em; }
.stream-controls { display: flex; align-items: center; }
.stream-controls label { color: var(--muted); font-size: 12px; }
.stream-controls select { border: 0; background: transparent; color: var(--ink); font-weight: 700; outline: 0; }
.filter-open { display: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--paper); font-weight: 700; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.active-filters:not(:empty) { padding: 18px 0 2px; }
.active-filters span { padding: 5px 8px; border-radius: 4px; background: var(--line); color: #5a5a63; font-size: 9px; font-weight: 600; text-transform: uppercase; }
.stream-feed > .job-stack { padding-top: 3px; }
.pagination { padding: 38px 0 10px; display: flex; align-items: center; justify-content: center; gap: 25px; color: var(--muted); font-size: 12px; font-weight: 600; }
.pagination a { padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); }
.pagination a:hover { border-color: var(--ink); background: var(--paper); }

/* Vacancy detail */
.detail-page { background: var(--stone-light); }
.breadcrumbs { max-width: var(--max); margin: 0 auto; padding: 30px 32px 0; display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.breadcrumbs a:hover { color: var(--signal); }
.detail-grid { max-width: var(--max); margin: auto; padding: 34px 32px 90px; display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 64px; align-items: start; }
.job-detail__header { padding: 0 0 36px; border-bottom: 1px solid var(--line-strong); }
.job-card__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.institution-code { padding: 4px 7px; border-radius: 4px; background: var(--ink); color: #fff; }
.status-tag--urgent { border-color: #fac1b8; background: #fff0ed; color: var(--signal); }
.status-tag--new { border-color: #a7e3ce; background: #ecfdf5; color: var(--green); }
.job-detail__header h1 { max-width: 900px; margin: 18px 0 13px; font-family: var(--font-display); font-size: clamp(45px,6vw,78px); letter-spacing: -.055em; line-height: .93; }
.job-detail__header > p { margin: 0; color: var(--muted); font-size: 18px; }
.detail-facts { margin: 0; padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.detail-facts dt { margin-bottom: 6px; color: var(--quiet); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.detail-facts dd { margin: 0; font-size: 14px; font-weight: 600; }
.salary { color: var(--green); }
.job-copy { padding: 45px 0; border-bottom: 1px solid var(--line); }
.copy-heading { margin-bottom: 24px; display: grid; grid-template-columns: 45px 1fr; align-items: center; }
.copy-heading span { color: var(--signal); font-family: var(--font-mono); font-size: 10px; }
.copy-heading h2 { margin: 0; font-family: var(--font-display); font-size: 32px; letter-spacing: -.04em; }
.prose { max-width: 820px; color: #3f3f47; font-size: 16px; line-height: 1.8; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud span { padding: 6px 9px; border: 1px solid var(--line-strong); border-radius: 5px; color: #52525b; font-size: 10px; font-weight: 600; }
.verification-box { margin-top: 36px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.verification-box p { margin: 12px 0; color: var(--muted); font-size: 13px; }
.verification-box a { color: var(--signal); font-size: 12px; font-weight: 700; }
.apply-panel__sticky { position: sticky; top: 100px; padding: 27px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; gap: 14px; box-shadow: var(--shadow); }
.apply-panel__sticky > strong { font-family: var(--font-display); font-size: 24px; }
.apply-panel__sticky .button--ghost { border-color: #44444c; color: #fff; }
.apply-panel__sticky > p { margin-bottom: 0; color: #93939d; font-size: 11px; }
.notice { padding: 15px 18px; border: 1px solid var(--line-strong); border-left: 4px solid var(--ink); background: #f4f4f5; font-size: 14px; }
.notice--warning { border-color: #f3d18c; border-left-color: var(--amber); background: #fffbeb; }
.notice--error { border-color: #f4bbb5; border-left-color: var(--red); background: #fff1f0; color: #8b1d18; }
.notice--wide { max-width: calc(var(--max) - 64px); margin: 20px auto; }
.related-jobs { max-width: var(--max); margin: auto; padding: 0 32px 100px; }

/* Institutions */
.directory-hero, .institution-hero, .account-header { max-width: var(--max); margin: auto; padding: 74px 32px 46px; }
.directory-hero h1, .institution-hero h1, .account-header h1, .alert-builder > header h1, .account-settings > header h1 { margin: 10px 0; font-family: var(--font-display); font-size: clamp(50px,7vw,92px); letter-spacing: -.065em; line-height: .9; }
.directory-hero p, .institution-hero p, .account-header p, .alert-builder > header p, .account-settings > header p { max-width: 670px; color: var(--muted); font-size: 17px; }
.directory-grid { max-width: var(--max); margin: 0 auto 100px; padding: 0 32px; display: grid; grid-template-columns: repeat(2,1fr); }
.directory-card { min-height: 190px; padding: 28px; border: 1px solid var(--line-strong); margin: -1px 0 0 -1px; display: grid; grid-template-columns: 60px 1fr auto; gap: 22px; transition: background .2s ease, color .2s ease; }
.directory-card:hover { background: var(--ink); color: #fff; }
.directory-card__code { color: var(--signal); font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.directory-card h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 23px; line-height: 1.05; }
.directory-card p { color: var(--muted); font-size: 12px; }
.directory-card > strong { font-family: var(--font-display); font-size: 42px; }
.directory-card > strong small { display: block; color: var(--muted); font-family: var(--font-sans); font-size: 9px; text-transform: uppercase; }
.institution-hero { display: grid; grid-template-columns: 170px 1fr; gap: 45px; align-items: center; }
.institution-hero__code { aspect-ratio: 1; border-radius: 16px; background: var(--ink); color: var(--signal); display: grid; place-items: center; font-family: var(--font-display); font-size: 34px; font-weight: 900; box-shadow: var(--shadow); }

/* Auth, alerts and account */
.radar-panel { background: var(--ink); color: #fff; }
.radar-panel__sweep { display: none; }
.auth-shell { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { min-height: 650px; padding: 70px max(45px, calc((100vw - var(--max))/2 + 32px)); display: flex; flex-direction: column; justify-content: center; }
.auth-art h1 { margin: 16px 0 25px; font-family: var(--font-display); font-size: clamp(54px,6vw,88px); letter-spacing: -.065em; line-height: .86; }
.auth-art p, .auth-art li { max-width: 520px; color: #aaaab3; font-size: 17px; }
.auth-form { width: min(100%, 520px); margin: auto; padding: 65px 42px; }
.auth-form h1 { margin: 8px 0 30px; font-family: var(--font-display); font-size: 55px; letter-spacing: -.05em; }
.auth-form form { display: grid; gap: 18px; }
.auth-form label, .builder-form label { display: grid; gap: 8px; }
.auth-form label small { color: var(--quiet); font-size: 9px; }
.auth-form > p { color: var(--muted); font-size: 13px; }
.auth-form > p a { color: var(--signal); font-weight: 700; }
.message-page { max-width: 720px; min-height: 600px; margin: auto; padding: 110px 24px; text-align: center; }
.message-page h1 { margin: 15px 0; font-family: var(--font-display); font-size: 62px; letter-spacing: -.06em; }
.message-page p { color: var(--muted); font-size: 18px; }
.signal-icon { width: 68px; height: 68px; margin: 0 auto 25px; border-radius: 50%; background: #d1fae5; color: var(--green); display: grid; place-items: center; font-size: 30px; font-weight: 900; }
.signal-icon--error { background: #fee4e2; color: var(--red); }
.account-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.alert-list { max-width: var(--max); margin: 0 auto 100px; padding: 0 32px; display: grid; gap: 12px; }
.alert-card { padding: 25px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper); display: grid; grid-template-columns: 35px 1fr auto; gap: 24px; align-items: center; }
.alert-card--paused { opacity: .58; }
.alert-card__signal span { display: block; width: 14px; height: 14px; border: 3px solid var(--signal); border-radius: 50%; box-shadow: 0 0 0 7px rgba(217,79,58,.1); }
.alert-card h2 { margin: 7px 0; font-family: var(--font-display); font-size: 27px; }
.alert-card p { margin: 0; color: var(--muted); }
.alert-card small { color: var(--quiet); font-size: 9px; text-transform: uppercase; }
.alert-card__actions { display: flex; align-items: center; gap: 5px; }
.alert-builder { max-width: 1000px; margin: auto; padding: 74px 32px 110px; }
.alert-builder > header { max-width: 760px; margin-bottom: 55px; }
.builder-form { display: grid; }
.builder-section { padding: 36px 0; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: 70px 1fr; gap: 20px; }
.builder-section > span, .settings-card > span { color: var(--signal); font-family: var(--font-mono); font-size: 10px; }
.builder-section h2, .settings-card h2 { margin: 0 0 22px; font-family: var(--font-display); font-size: 30px; }
.builder-section > div { display: grid; gap: 18px; }
.choice-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.choice-grid--wide { grid-template-columns: repeat(3,1fr); }
.choice-grid--scroll { max-height: 280px; padding-right: 5px; overflow-y: auto; }
.choice-grid label { display: block; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--paper); display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; text-transform: none; letter-spacing: 0; cursor: pointer; }
.choice-grid input:checked + span { border-color: var(--signal); background: #fff0ed; color: var(--signal-dark); box-shadow: inset 3px 0 0 var(--signal); }
.choice-grid small { color: var(--quiet); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.builder-submit { min-height: 150px; margin-top: 16px; padding: 30px; border-radius: 16px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.builder-submit strong { font-family: var(--font-display); font-size: 28px; }
.builder-submit p { margin: 5px 0 0; color: #aaa; }
.account-settings { max-width: 1050px; min-height: 650px; margin: auto; padding: 80px 32px 110px; }
.account-settings > header { max-width: 720px; margin-bottom: 45px; }
.account-settings__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.settings-card { min-height: 330px; padding: 32px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper); }
.settings-card h2 { margin-top: 20px; }
.settings-card p { margin: 14px 0 28px; color: var(--muted); }
.settings-card label { display: grid; gap: 8px; margin-bottom: 14px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.settings-card--danger { border-top: 4px solid var(--red); }

/* Editorial and legal */
.editorial-page, .legal-page { max-width: 1050px; margin: auto; padding: 90px 32px 110px; }
.editorial-page h1 { margin: 10px 0; font-family: var(--font-display); font-size: clamp(60px,9vw,120px); letter-spacing: -.07em; line-height: .85; }
.editorial-page__lead { max-width: 780px; margin: 35px 0 70px; color: var(--muted); font-size: 22px; line-height: 1.55; }
.editorial-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.editorial-grid article { min-height: 320px; padding: 30px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: var(--paper); }
.editorial-grid span { color: var(--signal); font-family: var(--font-mono); font-size: 10px; }
.editorial-grid h2 { margin: 70px 0 15px; font-family: var(--font-display); font-size: 27px; }
.editorial-grid p { color: var(--muted); }
.trust-statement { margin-top: 50px; padding: 40px; border-radius: 16px; background: var(--ink); color: #fff; }
.trust-statement strong { font-family: var(--font-display); font-size: 34px; }
.trust-statement p { color: #aaa; }
.legal-page { max-width: 780px; }
.legal-page h1 { margin: 10px 0; font-family: var(--font-display); font-size: 70px; letter-spacing: -.06em; }
.legal-page h2 { margin-top: 45px; font-family: var(--font-display); font-size: 28px; }
.legal-page p { color: #49494f; font-size: 17px; line-height: 1.75; }
.legal-updated { font-size: 11px !important; text-transform: uppercase; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.site-footer__inner, .site-footer__legal { max-width: var(--max); margin: auto; padding: 31px 32px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-footer__statement { display: flex; align-items: center; gap: 9px; color: var(--quiet); font-size: 13px; }
.trust-mark { width: 18px; height: 18px; border-radius: 50%; background: var(--line); color: var(--muted); display: grid; place-items: center; font-size: 10px; font-weight: 900; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 25px; color: var(--muted); font-size: 13px; }
.site-footer nav a:hover, .site-footer__legal a:hover { color: var(--signal); }
.site-footer__legal { padding-top: 17px; padding-bottom: 17px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 10px; text-transform: uppercase; }

@media (max-width: 1080px) {
    .hero, .stream-shell { grid-template-columns: 285px minmax(0,1fr); gap: 36px; }
    .job-card { grid-template-columns: 125px minmax(0,1fr) 150px; gap: 20px; }
    .detail-grid { grid-template-columns: minmax(0,1fr) 300px; gap: 36px; }
    .choice-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 860px) {
    .site-header__inner { min-height: 64px; grid-template-columns: 1fr auto; padding: 0 22px; }
    .nav-toggle { display: block; justify-self: end; }
    .site-nav { position: absolute; left: 0; right: 0; top: 64px; padding: 18px 22px 24px; border-bottom: 1px solid var(--line); background: var(--stone); display: none; flex-direction: column; align-items: flex-start; gap: 0; box-shadow: var(--shadow); }
    .site-nav.is-open { display: flex; }
    .site-nav > a { width: 100%; padding: 12px 0; }
    .site-nav > a[aria-current="page"]::after { display: none; }
    .site-nav__mobile-actions { width: 100%; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; }
    .site-nav__mobile-actions a { padding: 10px 0; font-weight: 700; }
    .site-actions { display: none; }
    .hero { grid-template-columns: 1fr; }
    .hero__sidebar { position: static; }
    .hero-alert-card { max-width: 520px; }
    .proof-strip { grid-template-columns: 1fr 1fr; }
    .proof-strip > div:nth-child(2) { border-right: 0; }
    .section--coverage { grid-template-columns: 1fr; gap: 55px; }
    .alert-cta { grid-template-columns: 1fr; gap: 30px; }
    .stream-shell { display: block; }
    .filter-rail { position: fixed; z-index: 80; inset: 0 auto 0 0; width: min(92vw,390px); max-height: 100vh; padding: 28px; background: var(--stone); transform: translateX(-102%); transition: transform .25s ease; box-shadow: 20px 0 40px rgba(0,0,0,.18); }
    .filter-rail.is-open { transform: translateX(0); }
    .filter-rail__heading button, .filter-open { display: inline-flex; }
    .stream-header { align-items: flex-start; }
    .detail-grid { grid-template-columns: 1fr; }
    .apply-panel { grid-row: 1; }
    .apply-panel__sticky { position: static; }
    .directory-grid { grid-template-columns: 1fr; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-art { min-height: 430px; }
    .editorial-grid { grid-template-columns: 1fr; }
    .choice-grid, .choice-grid--wide { grid-template-columns: repeat(2,1fr); }
    .account-settings__grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .brand__line { font-size: 19px; }
    .brand small { font-size: 7px; }
    .editorial-shell, .stream-shell { padding: 36px 16px 70px; }
    .hero h1 { font-size: 54px; }
    .hero__feed { margin-top: 20px; }
    .ledger-heading { align-items: flex-start; flex-direction: column; }
    .ledger-heading h2 { font-size: 27px; }
    .job-card { margin: 0; padding: 23px 0; grid-template-columns: 1fr; gap: 12px; }
    .job-card:hover { padding-left: 12px; padding-right: 12px; }
    .job-card__deadline { flex-direction: row; justify-content: space-between; align-items: center; }
    .job-card__core h2 { font-size: 20px; }
    .job-card__action { flex-direction: row; align-items: center; text-align: left; }
    .proof-strip { grid-template-columns: 1fr; }
    .proof-strip > div { min-height: 120px; border-right: 0; border-bottom: 1px solid var(--line); }
    .proof-strip > div:last-child { border-bottom: 0; }
    .section { padding: 72px 18px; }
    .coverage-copy h2 { font-size: 58px; }
    .institution-grid { grid-template-columns: 1fr; }
    .alert-cta { margin: 0 16px 75px; padding: 38px 24px; }
    .alert-cta h2 { font-size: 56px; }
    .stream-header { align-items: stretch; flex-direction: column; }
    .stream-controls { justify-content: space-between; }
    .detail-grid { padding: 25px 18px 70px; }
    .breadcrumbs { padding: 22px 18px 0; }
    .job-detail__header h1 { font-size: 44px; }
    .detail-facts { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
    .directory-hero, .institution-hero, .account-header { padding: 55px 18px 35px; }
    .directory-grid { padding: 0 18px; }
    .directory-card { grid-template-columns: 45px 1fr; }
    .directory-card > strong { grid-column: 2; font-size: 28px; }
    .institution-hero { grid-template-columns: 84px 1fr; gap: 20px; }
    .institution-hero__code { font-size: 19px; }
    .auth-art { min-height: 360px; padding: 50px 24px; }
    .auth-art h1 { font-size: 54px; }
    .auth-form { padding: 55px 22px; }
    .account-header { align-items: flex-start; flex-direction: column; }
    .alert-list { padding: 0 18px; }
    .alert-card { grid-template-columns: 25px 1fr; }
    .alert-card__actions { grid-column: 2; justify-content: flex-start; }
    .alert-builder, .account-settings { padding: 55px 18px 80px; }
    .builder-section { grid-template-columns: 35px 1fr; }
    .choice-grid, .choice-grid--wide, .field-grid { grid-template-columns: 1fr; }
    .builder-submit { align-items: flex-start; flex-direction: column; }
    .editorial-page, .legal-page { padding: 65px 18px 80px; }
    .site-footer__inner { padding: 30px 18px; align-items: flex-start; flex-direction: column; }
    .site-footer nav { gap: 16px; }
    .site-footer__legal { padding: 16px 18px; align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
