:root {
    --ink: #0b1f3a;
    --ink-soft: #2c4463;
    --navy: #0b2a5b;
    --navy-deep: #071c3f;
    --navy-mid: #163f7a;
    --red: #bf0a30;
    --red-deep: #8e0824;
    --red-soft: #e8b3bf;
    --paper: #f5f8fc;
    --card: #ffffff;
    --line: #d5deea;
    --muted: #5a6b82;
    --mint: #eef4fb;
    --mint-2: #e3ecf8;
    --good: #0f6b3c;
    --good-bg: #e4f5ec;
    --warn: #9a6700;
    --warn-bg: #fff4d6;
    --bad: #bf0a30;
    --bad-bg: #fde8ee;
    --info: #0b2a5b;
    --info-bg: #e8eef8;
    --focus: #1a56b0;
    --shadow: 0 18px 40px rgba(7, 28, 63, 0.12);
    --shadow-soft: 0 10px 24px rgba(7, 28, 63, 0.08);
    --radius: 16px;
    --radius-sm: 12px;
    --display: "Outfit", "Plus Jakarta Sans", sans-serif;
    --sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;

    /* Legacy aliases used across older rules */
    --green: var(--navy-mid);
    --green-deep: var(--navy);
    --green-bright: #3d7ad6;
    --lime: #c8102e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(1100px 480px at 8% -12%, rgba(191, 10, 48, 0.08), transparent 55%),
        radial-gradient(900px 420px at 100% 0%, rgba(11, 42, 91, 0.12), transparent 52%),
        linear-gradient(180deg, #f8fafd 0%, var(--paper) 45%, #eef3f9 100%);
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy); text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
a:hover { color: var(--red); }
h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy-deep);
    letter-spacing: -0.03em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin: 0 0 .35em; }
h2 { font-size: clamp(1.45rem, 2.3vw, 2rem); margin: 0 0 .5em; }
h3 { font-size: 1.15rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: #fff;
    color: var(--navy);
    padding: .65rem 1rem;
    border-radius: 999px;
    z-index: 40;
}
.skip:focus { top: .75rem; }

.wrap { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.wrap-wide { width: min(1280px, calc(100% - 1.5rem)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(248, 250, 253, 0.9);
    border-bottom: 1px solid rgba(11, 42, 91, 0.1);
}
.site-header a { color: inherit; text-decoration: none; }
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 0;
}
.wordmark {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .65rem;
    line-height: 1.1;
    min-width: 0;
}
.wordmark-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.brand-logo {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    flex-shrink: 0;
}
.wordmark strong {
    font-family: var(--display);
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.03em;
}
.wordmark .wordmark-text > span {
    color: var(--red);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.side .brand-logo {
    height: 44px;
    max-width: 180px;
    background: #fff;
    border-radius: 4px;
    padding: .25rem .4rem;
}
.nav {
    display: flex;
    gap: .3rem .9rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.nav a { font-size: .92rem; font-weight: 650; color: var(--ink-soft); white-space: nowrap; }
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] {
    color: var(--navy);
    box-shadow: inset 0 -2px 0 var(--red);
}
.nav a.btn,
.nav a.btn:hover {
    color: #fff;
    box-shadow: 0 10px 22px rgba(11, 42, 91, 0.22);
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label { display: none; }

.btn, button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--navy-mid), var(--navy));
    color: #fff;
    text-decoration: none;
    padding: .72rem 1.15rem;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(11, 42, 91, 0.22);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    color: #fff;
    box-shadow: 0 14px 28px rgba(11, 42, 91, 0.28);
}
.btn-brass, .btn-primary-dark {
    background: linear-gradient(135deg, var(--red), var(--red-deep));
    color: #fff;
}
.btn-brass:hover, .btn-primary-dark:hover { color: #fff; }
.btn-ghost {
    background: rgba(255,255,255,.85);
    color: var(--navy);
    border-color: rgba(11, 42, 91, 0.22);
    box-shadow: none;
}
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-danger { background: linear-gradient(135deg, #e25573, var(--red-deep)); color: #fff; box-shadow: none; }
.btn-danger:hover { color: #fff; }
.btn-small { padding: .4rem .85rem; font-size: .88rem; }
.btn-light {
    background: #fff;
    color: var(--navy);
    border-color: rgba(11, 42, 91, 0.16);
    box-shadow: var(--shadow-soft);
}
.btn-light:hover { color: var(--navy); }

.hero-bleed {
    position: relative;
    min-height: min(86vh, 720px);
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}
.hero-bleed::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(7, 28, 63, 0.88) 6%, rgba(11, 42, 91, 0.62) 48%, rgba(191, 10, 48, 0.28) 100%),
        var(--hero-image) center/cover no-repeat;
    z-index: -2;
    transform: scale(1.02);
    animation: hero-drift 18s ease-in-out infinite alternate;
}
.hero-bleed::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 140px;
    background: linear-gradient(180deg, transparent, rgba(245, 248, 252, 0.98));
    z-index: -1;
}
.hero-inner {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 7rem 0 4.2rem;
    max-width: 40rem;
    animation: rise-in .8s ease both;
}
.hero-inner .brand-mark {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1rem;
    font-family: var(--display);
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}
.hero-inner .brand-mark i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 8px rgba(191, 10, 48, 0.22);
    animation: pulse-dot 2.4s ease infinite;
}
.hero-inner h1 {
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.hero-inner .lede {
    color: rgba(255,255,255,.92);
    font-size: 1.08rem;
    max-width: 34rem;
}
.hero-inner .actions { margin-top: 1.35rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.hero-inner .btn-ghost {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.35);
    color: #fff;
    backdrop-filter: blur(8px);
}
.hero-inner .btn-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }

.kicker {
    color: var(--red);
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .76rem;
    font-weight: 800;
    margin-bottom: .65rem;
}
.lede { font-size: 1.08rem; max-width: 42rem; color: var(--ink-soft); }

.section { padding: 1.3rem 0 2.6rem; }
.section-tight { padding: 1rem 0 1.6rem; }
.page-intro { padding: 1.8rem 0 1.1rem; animation: rise-in .55s ease both; }
.page-banner {
    position: relative;
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    min-height: 200px;
    margin: 1rem 0 1.5rem;
    display: grid;
    align-items: end;
    color: #fff;
}
.page-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.page-banner .shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 28, 63, 0.9), rgba(11, 42, 91, 0.45));
    z-index: 1;
}
.page-banner .copy {
    position: relative;
    z-index: 2;
    padding: 1.5rem 1.35rem;
    max-width: 36rem;
}
.page-banner h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }

.hero-panel, .card, .panel {
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(11, 42, 91, 0.12);
    box-shadow: var(--shadow-soft);
    padding: 1.15rem 1.2rem;
    border-radius: var(--radius);
}
.program-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}
.program-card {
    background: #fff;
    border: 1px solid rgba(11, 42, 91, 0.12);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}
.program-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--navy);
}
.program-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.program-body {
    padding: 1.15rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    flex: 1;
}
.program-body h3 { margin: 0; font-size: 1.25rem; }
.program-body .actions { margin-top: auto; padding-top: .4rem; }
.program-tabs .btn { color: #fff; }
.program-tabs .btn-ghost { color: var(--navy); }
@media (max-width: 820px) {
    .program-grid { grid-template-columns: 1fr; }
}

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .9rem; }
.stat {
    background: linear-gradient(180deg, #fff, var(--mint));
    border: 1px solid rgba(11, 42, 91, 0.12);
    padding: 1.05rem 1.1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: transform .2s ease;
}
.stat:hover { transform: translateY(-3px); }
.stat b {
    display: block;
    font-family: var(--display);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--navy);
}
.stat span { color: var(--muted); font-size: .9rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: stretch; }
.media-split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 1.35rem;
    align-items: center;
}
.media-frame {
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 260px;
    position: relative;
}
.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 260px;
    transition: transform .6s ease;
}
.media-frame:hover img { transform: scale(1.04); }
.media-frame .caption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(7, 28, 63, 0.82);
    color: #fff;
    padding: .45rem .75rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step {
    background: #fff;
    border: 1px solid rgba(11, 42, 91, 0.12);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}
.step::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--red), var(--navy));
}
.step-no {
    font-family: var(--display);
    color: var(--red);
    font-size: 1.5rem;
    font-weight: 700;
}

.listing { width: 100%; border-collapse: collapse; background: #fff; }
.listing th, .listing td {
    text-align: left;
    padding: .85rem .75rem;
    border-bottom: 1px solid rgba(11, 42, 91, 0.1);
    vertical-align: top;
}
.listing th {
    font-size: .74rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 800;
    background: var(--mint);
}
.listing tr:hover td { background: #f7f9fc; }
.listing a { font-weight: 750; text-decoration: none; color: var(--navy); }

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-bottom: 1rem;
    align-items: end;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(11, 42, 91, 0.12);
    border-radius: var(--radius);
    padding: 1rem;
}
.filters .field { margin-bottom: 0; min-width: min(100%, 160px); flex: 1 1 160px; }
.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; }
.field label { font-weight: 750; color: var(--ink-soft); }
.req { color: var(--red); font-weight: 700; font-size: .85rem; }
input, select, textarea {
    font: inherit;
    color: var(--ink);
    background: #fff;
    border: 1px solid #b8c6d9;
    border-radius: 12px;
    padding: .68rem .78rem;
    width: 100%;
    max-width: 100%;
    transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--navy-mid);
    box-shadow: 0 0 0 4px rgba(26, 86, 176, 0.16);
}
textarea { min-height: 8rem; resize: vertical; }
.help { color: var(--muted); font-size: .9rem; margin: 0; }
.error, .errors { color: var(--bad); }
.errors {
    background: var(--bad-bg);
    border: 1px solid #f0b7c2;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
}
.flash {
    background: var(--good-bg);
    border: 1px solid #8edcb1;
    color: var(--good);
    padding: .85rem 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
}
.flash a { color: inherit; }
.badge {
    display: inline-block;
    padding: .18rem .55rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .02em;
}
.badge-good { background: var(--good-bg); color: var(--good); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-bad { background: var(--bad-bg); color: var(--bad); }
.badge-neutral { background: #e8eef6; color: var(--muted); }

.meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .8rem 1rem;
    margin: 1rem 0;
}
.meta div {
    border-top: 3px solid var(--red);
    background: rgba(255,255,255,.7);
    border-radius: 0 0 12px 12px;
    padding: .55rem .7rem .7rem;
}
.meta dt {
    color: var(--muted);
    font-size: .74rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 800;
}
.meta dd { margin: .15rem 0 0; font-weight: 750; }

.site-footer {
    border-top: 1px solid rgba(11, 42, 91, 0.12);
    padding: 2rem 0 2.4rem;
    color: var(--muted);
    margin-top: 2rem;
    background: linear-gradient(180deg, transparent, rgba(227, 236, 248, 0.65));
}
.site-footer .wrap {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.site-footer a { color: var(--navy); font-weight: 700; text-decoration: none; }
.site-footer strong { color: var(--ink); font-family: var(--display); font-size: 1.1rem; }

.shell { display: grid; grid-template-columns: 270px 1fr; min-height: 100vh; }
.side {
    background:
        radial-gradient(500px 240px at 0% 0%, rgba(191, 10, 48, 0.18), transparent 60%),
        linear-gradient(180deg, #0b2a5b 0%, #0a234d 55%, #071c3f 100%);
    color: #f4f7fb;
    padding: 1.2rem 1rem 2rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: auto;
}
.side a { color: inherit; text-decoration: none; }
.side .wordmark strong { color: #fff; }
.side .wordmark span { color: #ffb3c1; }
.side nav { display: flex; flex-direction: column; gap: .18rem; margin-top: 1.5rem; }
.side nav a, .side .logout button {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    color: inherit;
    border: 0;
    font: inherit;
    padding: .62rem .8rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 650;
}
.side nav a.active, .side nav a:hover { background: rgba(255,255,255,.12); }
.side .logout { margin-top: 1.6rem; }
.workspace {
    padding: 1.2rem 1.4rem 2.5rem;
    background:
        radial-gradient(700px 280px at 100% 0%, rgba(191, 10, 48, 0.06), transparent 55%),
        #f5f8fc;
    min-width: 0;
}
.workspace-bar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.user-chip {
    color: var(--muted);
    font-size: .9rem;
    background: #fff;
    border: 1px solid rgba(11, 42, 91, 0.12);
    border-radius: 999px;
    padding: .35rem .8rem;
}
.grid-2 { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.stack > * + * { margin-top: 1rem; }
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(11, 42, 91, 0.12);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}
.actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .25rem .6rem;
    max-height: 220px;
    overflow: auto;
    border: 1px solid rgba(11, 42, 91, 0.14);
    padding: .7rem;
    background: #fff;
    border-radius: 12px;
}
.check-grid label, .check { font-weight: 500; display: flex; gap: .45rem; align-items: flex-start; }
.check input, .check-grid input { width: auto; margin-top: .25rem; }
.pager { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; flex-wrap: wrap; }
.pager-disabled { color: var(--muted); }
.thread { display: flex; flex-direction: column; gap: .7rem; }
.bubble {
    background: #fff;
    border: 1px solid rgba(11, 42, 91, 0.12);
    padding: .9rem 1rem;
    border-radius: 16px;
}
.bubble.staff { border-left: 5px solid var(--navy); }
.bubble.company { border-left: 5px solid var(--red); }
.who { font-size: .85rem; color: var(--muted); }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.4rem; }
.honeypot { position: absolute; left: -9999px; }
.callout {
    background: linear-gradient(135deg, #eef4fb, #f8fafd);
    border: 1px solid rgba(11, 42, 91, 0.14);
    border-left: 5px solid var(--navy);
    padding: 1rem 1.1rem;
    border-radius: 14px;
}
.factors { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.factor {
    background: linear-gradient(145deg, var(--navy-mid), var(--navy-deep));
    color: #f4f7fb;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}
.factor b { display: block; font-family: var(--display); font-size: 1.5rem; }
.bar { height: 8px; background: #d9e4f2; border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--navy)); }

.auth-shell {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 1.35rem;
    align-items: stretch;
    padding: 1.4rem 0 2.4rem;
}
.auth-visual {
    border-radius: calc(var(--radius) + 8px);
    overflow: hidden;
    min-height: 380px;
    position: relative;
    box-shadow: var(--shadow);
}
.auth-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.auth-visual .shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 28, 63, 0.2), rgba(7, 28, 63, 0.82));
}
.auth-visual .copy {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
    color: #fff;
}
.auth-visual h2 { color: #fff; }
.auth-card {
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(11, 42, 91, 0.12);
    border-radius: calc(var(--radius) + 6px);
    padding: 1.35rem;
    box-shadow: var(--shadow);
}

.notice-strip {
    display: flex;
    gap: .7rem;
    overflow-x: auto;
    padding: .2rem 0 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.notice-chip {
    min-width: min(280px, 82vw);
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid rgba(11, 42, 91, 0.12);
    border-radius: 16px;
    padding: .9rem 1rem;
    box-shadow: var(--shadow-soft);
    animation: rise-in .6s ease both;
}
.notice-chip:nth-child(2) { animation-delay: .08s; }
.notice-chip:nth-child(3) { animation-delay: .16s; }
.notice-chip a { font-weight: 800; text-decoration: none; color: var(--navy); }

.insight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .9rem;
}
.insight-card {
    background: #fff;
    border: 1px solid rgba(11, 42, 91, 0.12);
    border-radius: var(--radius);
    padding: 1.1rem 1.15rem;
    box-shadow: var(--shadow-soft);
}
.insight-card .value {
    font-family: var(--display);
    font-size: clamp(1.45rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.insight-card .label { margin: .45rem 0 .35rem; color: var(--ink-soft); font-weight: 650; }
.insight-card .source { margin: 0; font-size: .76rem; color: var(--muted); }
.priority-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.priority-card {
    background: linear-gradient(180deg, #fff, var(--mint));
    border: 1px solid rgba(11, 42, 91, 0.14);
    border-radius: calc(var(--radius) + 2px);
    padding: 1.2rem;
    box-shadow: var(--shadow-soft);
}
.priority-card h3 { margin-top: .2rem; }
.priority-card ul { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); }
.priority-card li { margin: .25rem 0; }
.timeline {
    display: grid;
    gap: .9rem;
    border-left: 3px solid var(--red);
    padding-left: 1.1rem;
    margin-top: 1rem;
}
.timeline-item {
    background: #fff;
    border: 1px solid rgba(11, 42, 91, 0.12);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    position: relative;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.42rem;
    top: 1.2rem;
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: var(--navy);
    box-shadow: 0 0 0 4px rgba(11, 42, 91, 0.18);
}
.timeline-item .year {
    color: var(--red);
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.resource-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .9rem;
}
.resource-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(11, 42, 91, 0.12);
    border-radius: var(--radius);
    padding: 1.1rem 1.15rem;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease;
}
.resource-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: inherit;
}
.resource-card strong { color: var(--navy); display: block; margin-bottom: .35rem; }
.pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.tip-list {
    background: #fff;
    border: 1px solid rgba(11, 42, 91, 0.12);
    border-radius: var(--radius);
    padding: 1rem 1.2rem 1rem 2rem;
    box-shadow: var(--shadow-soft);
}
.tip-list li { margin: .45rem 0; }
.cite {
    font-size: .85rem;
    color: var(--muted);
    margin-top: .8rem;
}
.cite a { font-weight: 700; }

@keyframes rise-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
@keyframes hero-drift {
    from { transform: scale(1.02) translateY(0); }
    to { transform: scale(1.07) translateY(-1.5%); }
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 6px rgba(191, 10, 48, 0.18); }
    50% { box-shadow: 0 0 0 12px rgba(191, 10, 48, 0.08); }
}

/* Large desktop */
@media (min-width: 1200px) {
    .wrap { width: min(1200px, calc(100% - 2.5rem)); }
}

/* Tablet */
@media (max-width: 1100px) {
    .insight-grid { grid-template-columns: repeat(2, 1fr); }
    .nav { gap: .25rem .7rem; }
    .nav a { font-size: .86rem; }
}

@media (max-width: 900px) {
    .hero, .split, .steps, .stat-row, .stat-grid, .grid-2, .factors,
    .media-split, .auth-shell, .insight-grid, .priority-grid, .resource-list, .pillars {
        grid-template-columns: 1fr;
    }
    .shell { grid-template-columns: 1fr; }
    .side {
        position: static;
        height: auto;
        max-height: none;
    }
    .header-row {
        flex-wrap: wrap;
        align-items: center;
    }
    .nav-toggle-label {
        display: inline-flex;
        margin-left: auto;
    }
    .site-header .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: .15rem;
        padding: .35rem 0 .85rem;
        border-top: 1px solid rgba(11, 42, 91, 0.08);
    }
    .site-header .nav a,
    .site-header .nav .btn {
        width: 100%;
        justify-content: flex-start;
        padding: .7rem .55rem;
        white-space: normal;
    }
    .site-header .nav a.btn,
    .site-header .nav a.btn:hover {
        color: #fff;
        justify-content: center;
    }
    .nav-toggle:checked ~ .nav { display: flex; }
    .hero-bleed { min-height: min(78vh, 620px); }
    .hero-inner { padding: 5.2rem 0 3.2rem; }
    .page-banner { min-height: 180px; }
    .auth-visual { min-height: 240px; }
    .auth-visual img { min-height: 240px; }
    .workspace { padding: 1rem 1rem 2rem; }
    .filters { padding: .85rem; }
    .listing th, .listing td { padding: .7rem .55rem; font-size: .95rem; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .wrap { width: calc(100% - 1.25rem); }
    h1 { font-size: clamp(1.75rem, 8vw, 2.35rem); }
    .hero-bleed { min-height: 70vh; }
    .hero-inner { padding: 4.5rem 0 2.6rem; }
    .actions .btn { width: 100%; }
    .hero-inner .actions .btn { width: auto; flex: 1 1 auto; }
    .stat b { font-size: 1.45rem; }
    .media-frame, .media-frame img { min-height: 200px; }
    .site-footer .wrap > div { width: 100%; }
}

@media print {
    .site-header, .side, .workspace-bar, .site-footer, .actions, .btn, .hero-bleed::before { display: none !important; }
    .shell { display: block; }
    body { background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-bleed::before, .btn, .stat, .media-frame img, .notice-chip, .hero-inner, .resource-card {
        animation: none !important;
        transition: none !important;
    }
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
