:root {
--navy: #0b1b33; --navy-2: #13294b; --ink: #182234; --muted: #5d6776; --line: #e4dfd6; --paper: #f6f3ee; --card: #fff;
--gold: #c8963e; --gold-2: #e5b864; --orange: #f28f1f;
--blend: linear-gradient(100deg, #0b1b33 0%, #0a2147 48%, #0c2753 100%); --blue: #2459d6;
--save: #0d8a5c; --save-bg: #e3f4ec; --cost: #c93d36; --cost-bg: #fbe8e6;
--prepare: #b86e0a; --prepare-bg: #fcf0dc; --plan: #2b62cf; --plan-bg: #e6eefc; --same: #677284; --same-bg: #eceef2;
--radius: 18px; --shadow: 0 1px 2px rgba(11, 27, 51, .05), 0 8px 24px -12px rgba(11, 27, 51, .18);
--serif: 'Fraunces', Georgia, serif; --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
--photo: url('assets/team-citiline-navy.png');
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h1, .hero h1, .page-head h1 { font-family: var(--serif); font-weight: 650; letter-spacing: -.02em; }
em { font-style: italic; }
h1 em, h2 em { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- Sidebar ---------- */
.sidebar { position: fixed; inset: 0 auto 0 0; width: 260px; background: var(--navy); color: #d7deea; display: flex; flex-direction: column; padding: 22px 16px; z-index: 40; overflow-y: auto; }
.brand { display: block; padding: 2px 6px; margin-bottom: 22px; }
.brand img { width: 100%; height: auto; }
.sidebar-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8796ad; margin: 0 10px 8px; }
.nav-link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: #d7deea; text-decoration: none; font-weight: 500; transition: background .15s, color .15s; }
.nav-link svg { width: 20px; height: 20px; flex: none; opacity: .8; }
.nav-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav-link[aria-current] { background: var(--orange); color: var(--navy); font-weight: 700; box-shadow: 0 8px 18px -10px rgba(242, 143, 31, .9); }
.nav-link[aria-current]:hover { background: var(--orange); color: var(--navy); }
.nav-link[aria-current] svg { color: var(--navy); opacity: 1; }
.nav-link[aria-current] .nav-count { background: var(--navy); color: #fff; }
.nav-count { margin-left: auto; background: var(--gold); color: var(--navy); font-size: 12px; min-width: 24px; text-align: center; border-radius: 99px; padding: 1px 7px; }
.sidebar-help { margin-top: auto; padding: 18px 14px; border-radius: 16px; background: var(--navy-2); font-size: 14px; }
.sidebar-help p { margin: 0 0 10px; }
.sidebar-help strong { display: block; color: #fff; }
.sidebar-phone { display: block; color: var(--gold-2); font-weight: 700; font-size: 18px; text-decoration: none; margin-bottom: 6px; }
.sidebar-help small { color: #8796ad; }
.mobile-bar { display: none; }

/* ---------- Layout ---------- */
main { margin-left: 260px; padding: 32px clamp(20px, 4vw, 56px) 24px; max-width: 1440px; outline: none; }
.page { animation: rise .45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.section-head { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 52px 0 20px; padding-bottom: 16px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.section-head::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 110px; height: 4px; border-radius: 4px; background: var(--gold); }
.section-head h2 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 42px); font-weight: 650; letter-spacing: -.015em; }
.section-head p { margin: 0; color: var(--muted); max-width: 460px; }
.step { display: inline-flex; align-items: center; margin: 0 0 10px; padding: 6px 16px; border-radius: 99px; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--gold-2); box-shadow: 0 8px 16px -10px rgba(200, 150, 62, .95); }
.text-button { background: none; border: 0; color: var(--blue); font-weight: 600; padding: 4px 2px; text-decoration: underline; text-underline-offset: 3px; }
.text-button.danger { color: var(--cost); }
.text-link { color: var(--blue); font-weight: 600; text-decoration: none; font-size: 15px; }
.text-link:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 99px; border: 1px solid transparent; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(11, 27, 51, .45); }
.button.gold { background: var(--gold); color: var(--navy); }
.button.gold:hover { background: var(--gold-2); }
.button.navy { background: var(--navy); color: #fff; }
.button.ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.button.ghost-dark { border-color: var(--line); background: #fff; color: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; border-radius: 28px; overflow: hidden; color: #fff; min-height: 320px; isolation: isolate; background: var(--blend); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 27, 51, .95) 0%, rgba(11, 27, 51, .6) 30%, rgba(11, 27, 51, 0) 48%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; max-width: 66%; padding: clamp(22px, 2.6vw, 34px) clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.hero-copy .eyebrow { color: var(--gold-2); }
.hero h1 { font-size: clamp(32px, 3.2vw, 46px); }
.hero h1 em { color: var(--gold-2); font-weight: 500; }
.lede { font-size: 16px; color: #cdd6e4; max-width: 470px; margin: 10px 0 16px; line-height: 1.5; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-row .slogan { margin: 0; }
.lede b { color: #fff; font-weight: 600; }
.hero-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 99px; padding: 2px 8px 2px 16px; flex: 1 1 200px; max-width: 300px; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.hero-search input { flex: 1; border: 0; font: inherit; font-size: 15px; padding: 9px 4px; outline: none; color: var(--ink); background: transparent; min-width: 0; }
.search-icon svg { width: 20px; height: 20px; color: var(--muted); display: block; }
.hero-photo, .cta-photo { position: absolute; right: 0; bottom: 0; width: min(64%, 780px); aspect-ratio: 1942 / 809; z-index: 0; background: var(--photo) center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 9%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 9%);
  mask-composite: intersect; }
.slogan { display: inline-block; margin: 0; font-weight: 700; letter-spacing: .02em; color: var(--navy); background: var(--gold-2); padding: 5px 14px; border-radius: 99px; align-self: flex-start; }


.hero-glow, .cta-glow { position: absolute; top: 0; right: 0; bottom: 0; width: min(64%, 780px); z-index: 0; pointer-events: none;
  background: radial-gradient(42% 85% at 66% 40%, rgba(120, 170, 250, .70) 0%, rgba(70, 120, 215, .42) 45%, rgba(40, 90, 180, 0) 100%); }
.cta-glow { width: min(52%, 700px); }

/* ---------- Roles ---------- */
.role-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.role { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.role:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.role-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--navy); flex: none; transition: background .15s, color .15s; }
.role-icon svg { width: 22px; height: 22px; }
.role-text { display: flex; flex-direction: column; min-width: 0; }
.role-text small { color: var(--muted); font-size: 13px; }
.role-n { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 700; color: var(--muted); }
.role-n::after { content: ' changes'; font-weight: 500; }
.role-tick { position: absolute; top: -9px; right: -9px; width: 28px; height: 28px; border: 2px solid #fff; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; transform: scale(0); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.role-tick svg { width: 14px; height: 14px; stroke-width: 3; }
.role[aria-pressed="true"] { background: linear-gradient(160deg, var(--navy-2), var(--navy)); border-color: var(--gold-2); color: #fff; box-shadow: 0 0 0 3px rgba(229, 184, 100, .45), 0 12px 24px -14px rgba(11, 27, 51, .7); }
.role[aria-pressed="true"] .role-text small { color: #b9c6da; }
.role[aria-pressed="true"] .role-n { color: var(--gold-2); }
.role[aria-pressed="true"] .role-icon { background: var(--gold-2); color: var(--navy); }
.role[aria-pressed="true"] .role-tick { transform: scale(1); }

/* ---------- Impact system ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px 4px 8px; border-radius: 99px; white-space: nowrap; }
.badge i, .kpi-label i, .chip i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; flex: none; }
.b-save { color: var(--save); background: var(--save-bg); }
.b-cost { color: var(--cost); background: var(--cost-bg); }
.b-prepare { color: var(--prepare); background: var(--prepare-bg); }
.b-plan { color: var(--plan); background: var(--plan-bg); }
.b-same { color: var(--same); background: var(--same-bg); }
.s-save { background: var(--save); } .s-cost { background: var(--cost); } .s-prepare { background: var(--prepare); } .s-plan { background: var(--plan); } .s-same { background: var(--same); }
.i-save { --accent: var(--save); } .i-cost { --accent: var(--cost); } .i-prepare { --accent: var(--prepare); } .i-plan { --accent: var(--plan); } .i-same { --accent: var(--same); }

/* ---------- KPIs ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr) .8fr; gap: 12px; align-items: stretch; }
.kpi { position: relative; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); overflow: hidden; transition: transform .15s; }
.kpi::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--k, var(--navy)); }
.kpi:hover { transform: translateY(-2px); }
.kpi-label { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--k, var(--navy)); }
.kpi-n { font-family: var(--serif); font-size: 46px; font-weight: 650; line-height: 1.05; color: var(--navy); font-variant-numeric: tabular-nums; }
.kpi-sub { font-size: 13px; color: var(--muted); }
.kpi-go { display: flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--k, var(--navy)); opacity: .0; transform: translateX(-4px); transition: .2s; }
.kpi-go svg { width: 14px; height: 14px; }
.kpi:hover .kpi-go, .kpi:focus-visible .kpi-go { opacity: 1; transform: none; }
.k-all { background: var(--navy); border-color: var(--navy); }
.k-all .kpi-n, .k-all .kpi-label, .k-all .kpi-go { color: #fff; } .k-all .kpi-sub { color: #9fb0c8; } .k-all::after { background: var(--gold); }
.k-save { --k: var(--save); } .k-cost { --k: var(--cost); } .k-prepare { --k: var(--prepare); } .k-plan { --k: var(--plan); }
.kpi.k-plan { background: transparent; border: 1px dashed #cfc8bb; box-shadow: none; padding: 12px 14px; justify-content: center; }
.k-plan::after { height: 2px; opacity: .45; }
.k-plan .kpi-label { font-size: 13px; font-weight: 500; color: var(--muted); }
.k-plan .kpi-n { font-size: 28px; color: var(--muted); font-weight: 600; }
.k-plan .kpi-sub { font-size: 12px; }
.plan-toggle { margin: 14px 0 0; }
.toggle-btn { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border: 1px solid var(--line); background: #fff; border-radius: 99px; font-weight: 600; font-size: 14px; color: var(--navy); box-shadow: var(--shadow); text-align: left; }
.toggle-btn:hover { border-color: var(--navy); }
.toggle-btn .tg { width: 36px; height: 20px; border-radius: 99px; background: #d4d0c8; position: relative; flex: none; transition: background .2s; }
.toggle-btn .tg::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle-btn[aria-pressed="true"] .tg { background: var(--navy); }
.toggle-btn[aria-pressed="true"] .tg::after { transform: translateX(16px); }
.mix { margin-top: 12px; padding: 18px 20px; }
.mix-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.mix-head h3 { font-size: 16px; }
.mix-head span { color: var(--muted); font-size: 14px; }
.mix-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 3px; }
.seg { min-width: 6px; transition: flex .4s ease; }
.seg:first-child { border-radius: 99px 0 0 99px; } .seg:last-child { border-radius: 0 99px 99px 0; }
.mix-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 12px 0 0; font-size: 14px; }
.mix-legend li { display: flex; align-items: center; gap: 6px; }
.mix-legend small { color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ---------- Topics ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.topic { position: relative; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-content: start; box-shadow: var(--shadow); transition: transform .18s, border-color .18s; }
.topic:hover { transform: translateY(-3px); border-color: var(--gold); }
.topic-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--gold-2); flex: none; }
.topic-icon svg { width: 22px; height: 22px; }
.topic-icon.sm { width: 34px; height: 34px; border-radius: 10px; } .topic-icon.sm svg { width: 18px; height: 18px; }
.topic-n { justify-self: end; font-family: var(--serif); font-size: 28px; font-weight: 650; color: var(--navy); line-height: 1; }
.topic-n small { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--muted); }
.topic b { grid-column: 1 / -1; font-size: 17px; margin-top: 12px; }
.topic-blurb { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.topic-dots { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pip { font-size: 11px; font-weight: 700; color: #fff; padding: 2px 8px; border-radius: 99px; }

/* ---------- Overview split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.split .panel { padding: 22px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h2 { font-family: var(--serif); font-size: 24px; font-weight: 650; }
.upcoming { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.upcoming button { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; background: none; border: 0; padding: 10px; border-radius: 12px; transition: background .15s; }
.upcoming button:hover { background: var(--paper); }
.upcoming .badge { margin-left: auto; }
.date-chip { width: 58px; flex: none; text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 12px; padding: 4px 0 6px; line-height: 1.2; }
.date-chip b { display: block; font-family: var(--serif); font-size: 22px; color: var(--navy); }
.up-text { display: flex; flex-direction: column; min-width: 0; }
.up-text small { color: var(--muted); font-size: 13px; }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hl { text-align: left; background: var(--paper); border: 0; border-left: 4px solid var(--accent); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; transition: transform .15s, background .15s; }
.hl:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--shadow); }
.hl small { color: var(--muted); font-size: 13px; line-height: 1.4; }

.cta-banner { position: relative; margin-top: 40px; background: var(--blend); color: #fff; border-radius: 28px; overflow: hidden; min-height: 300px; display: flex; align-items: center; isolation: isolate; }
.cta-banner::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 27, 51, .95) 0%, rgba(11, 27, 51, .75) 35%, rgba(11, 27, 51, 0) 50%); }
.cta-banner > div:last-child { position: relative; z-index: 2; max-width: 52%; padding: clamp(24px, 3.5vw, 48px); }
.cta-banner h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); font-weight: 650; margin-bottom: 8px; }
.cta-banner h2 em { color: var(--gold-2); }
.cta-banner p { color: #c3cddc; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- Page heads ---------- */
.page-head { margin: 8px 0 24px; }
.page-head h1 { font-size: clamp(32px, 4vw, 48px); color: var(--navy); }
.page-head p:last-child { color: var(--muted); margin: 10px 0 0; max-width: 640px; font-size: 17px; }

/* ---------- Explore ---------- */
.filters { padding: 18px; display: grid; grid-template-columns: 2fr 1.3fr 1fr 1fr; gap: 12px; position: sticky; top: 12px; z-index: 5; }
.filter-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: var(--paper); }
.filter-search input { flex: 1; border: 0; background: none; font: inherit; padding: 11px 0; outline: none; min-width: 0; }
.select { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; padding: 5px 12px; background: var(--paper); }
.select span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.select select { border: 0; background: none; font: inherit; font-weight: 600; outline: none; padding: 0; color: var(--ink); width: 100%; }
.chip-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chip-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); min-width: 64px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 13px; font-size: 14px; font-weight: 600; transition: .15s; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.c-save i { color: var(--save); } .c-cost i { color: var(--cost); } .c-prepare i { color: var(--prepare); } .c-plan i { color: var(--plan); } .c-same i { color: var(--same); }
.chip[aria-pressed="true"] i { color: #fff; }
.scope-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 14px; }
.scope-row .text-button { margin-left: auto; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: var(--muted); }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 38px; height: 22px; border-radius: 99px; background: #d4d0c8; position: relative; transition: background .2s; flex: none; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + span { background: var(--navy); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.result-count { margin: 22px 0 6px; color: var(--muted); }
.result-count b { color: var(--ink); }
.group { margin-top: 26px; }
.group-title { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 14px; }
.group-title small { font-size: 13px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 1px 9px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.change-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; overflow: hidden; }
.change-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.change-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(11, 27, 51, .3); }
.card-hit { position: absolute; inset: 0; background: none; border: 0; z-index: 1; border-radius: var(--radius); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-topic { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-topic svg { width: 14px; height: 14px; flex: none; }
.change-card h3 { font-size: 18px; color: var(--navy); }
.card-after { margin: 0; color: #3f4858; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin: 0; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.card-meta div { display: flex; gap: 8px; }
.card-meta dt svg { width: 15px; height: 15px; margin-top: 2px; }
.card-meta dd { margin: 0; }
.card-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--blue); }
.more svg { width: 16px; height: 16px; transition: transform .2s; }
.change-card:hover .more svg { transform: translateX(4px); }
.save { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--navy); transition: .15s; }
.save svg { width: 15px; height: 15px; }
.save:hover { border-color: var(--navy); }
.save[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); }
.save[aria-pressed="true"] svg { fill: currentColor; }
.save-big { padding: 12px 20px; font-size: 15px; }
.empty { text-align: center; background: #fff; border: 1px dashed #cfc8bb; border-radius: var(--radius); padding: 48px 24px; }
.empty svg { width: 40px; height: 40px; color: var(--gold); }
.empty h3 { margin: 10px 0 6px; font-size: 20px; }
.empty p { color: var(--muted); margin: 0 auto 18px; max-width: 420px; }

/* ---------- Timeline ---------- */
.timeline-filters { margin-bottom: 24px; }
.tline { list-style: none; padding: 0; margin: 0; position: relative; }
.tline::before { content: ''; position: absolute; left: 130px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--navy)); }
.t-month { display: grid; grid-template-columns: 130px 1fr; gap: 32px; padding-bottom: 26px; position: relative; }
.t-month::before { content: ''; position: absolute; left: 124px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--navy); }
.t-month.past::before { background: var(--navy); }
.t-label { text-align: right; padding-right: 14px; }
.t-label b { display: block; font-family: var(--serif); font-size: 22px; color: var(--navy); line-height: 1.1; }
.t-label span { color: var(--muted); font-weight: 600; }
.t-label em { display: block; font-style: normal; font-size: 12px; color: var(--save); font-weight: 700; margin-top: 4px; }
.t-items, .t-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.t-item { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s; }
.t-open { text-align: left; background: none; border: 0; padding: 14px 16px 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; width: 100%; border-radius: 14px; }
.t-ask { margin: 0 16px 14px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; border: 1.5px solid var(--gold); background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; transition: background .15s; }
.t-ask:hover { background: var(--gold-2); }
.t-ask svg { width: 14px; height: 14px; stroke-width: 3; }
.t-ask.is-on { background: var(--save-bg); border-color: var(--save); color: var(--save); }
.t-item:not(:has(.t-ask)) .t-open { padding-bottom: 14px; }
.t-item:hover { transform: translateX(3px); }
.t-when { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.t-item b { color: var(--navy); }
.t-item small { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.t-undated { padding: 22px; margin-top: 18px; }

/* ---------- Drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(8, 18, 36, .5); backdrop-filter: blur(3px); z-index: 60; opacity: 0; transition: opacity .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(680px, 100%); background: var(--paper); z-index: 61; display: flex; flex-direction: column; box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .4); transform: translateX(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-backdrop { opacity: 1; }
.drawer-open { overflow: hidden; }
.drawer-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--navy); color: #fff; }
.drawer-pos { font-size: 13px; color: #9fb0c8; margin-left: 6px; }
.icon-button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: none; color: #fff; font-size: 20px; line-height: 1; display: grid; place-items: center; }
.icon-button:hover:not(:disabled) { background: rgba(255, 255, 255, .1); }
.icon-button:disabled { opacity: .3; cursor: default; }
.icon-button.close { margin-left: auto; font-size: 16px; }
.drawer-body { overflow-y: auto; flex: 1; padding-bottom: 24px; }
.d-head { background: var(--navy); color: #fff; padding: 8px 28px 28px; position: relative; }
.d-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); }
.d-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #c8d2e2; border: 1px solid rgba(255, 255, 255, .2); border-radius: 99px; padding: 3px 10px; }
.tag svg { width: 13px; height: 13px; }
.d-head h2 { font-family: var(--serif); font-weight: 650; font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.015em; }
.d-facts { display: grid; gap: 8px; margin-top: 18px; font-size: 14px; color: #d4dcea; }
.d-facts span { display: grid; grid-template-columns: 18px 64px 1fr; gap: 8px; align-items: start; }
.d-facts svg { width: 16px; height: 16px; margin-top: 2px; color: var(--gold-2); }
.d-facts b { color: #fff; font-weight: 600; }
.d-sec { margin: 16px 20px 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.d-sec h3 { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 22px; font-weight: 650; letter-spacing: -.01em; color: var(--navy); margin-bottom: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--paper); }
.d-sec .n { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-family: var(--sans); font-size: 15px; font-weight: 800; flex: none; }
.d-sec p { margin: 0; }
.d-big { font-size: 18px; color: var(--navy); font-weight: 500; }
.d-roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.d-role { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 5px 10px; border-radius: 99px; background: var(--paper); color: #a3a9b3; text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .2); }
.d-role svg { width: 14px; height: 14px; }
.d-role.on { background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; }
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; }
.ba-col { border-radius: 12px; padding: 14px; font-size: 15px; }
.ba-col.before { background: var(--paper); color: #4b5465; }
.ba-col.after { background: color-mix(in srgb, var(--accent, var(--plan)) 10%, #fff); border: 1px solid color-mix(in srgb, var(--accent, var(--plan)) 30%, #fff); color: var(--navy); }
.ba-label { display: block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; color: var(--muted); }
.after .ba-label { color: var(--accent, var(--plan)); }
.ba-arrow { display: grid; place-items: center; }
.ba-arrow svg { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--gold); color: var(--navy); stroke-width: 3.2; box-shadow: 0 6px 16px -6px rgba(200, 150, 62, .8); }
.d-do { border: 2px solid var(--gold); background: linear-gradient(#fffaf0, #fff); }
.do-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.do-list li { display: flex; gap: 10px; }
.do-list svg { width: 20px; height: 20px; flex: none; color: #fff; background: var(--save); border-radius: 50%; padding: 3px; stroke-width: 3; margin-top: 1px; }
.d-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.d-foot { margin: 18px 24px 0; font-size: 13px; color: var(--muted); }
.d-foot p { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 8px; }
.d-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.d-foot svg { width: 15px; height: 15px; }

/* ---------- Tools ---------- */
.calc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.calc-tab { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 10px 18px; font-weight: 600; }
.calc-tab svg { width: 18px; height: 18px; }
.calc-tab[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.calc { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.calc-inputs { padding: 28px; display: grid; gap: 14px; align-content: start; }
.calc-inputs h2 { font-family: var(--serif); font-size: 24px; color: var(--navy); margin-bottom: 4px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.field input, .field select { font: inherit; font-size: 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }
.calc-result { background: var(--navy); color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.calc-result .eyebrow { color: var(--gold-2); }
.calc-value { font-family: var(--serif); font-size: clamp(40px, 5vw, 60px); font-weight: 650; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-desc { color: #c3cddc; margin: 8px 0 22px; }
.calc-bars { display: grid; gap: 10px; }
.cbar { display: grid; grid-template-columns: 140px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.cbar span { color: #c3cddc; }
.cbar div { height: 12px; background: rgba(255, 255, 255, .1); border-radius: 99px; overflow: hidden; }
.cbar i { display: block; height: 100%; border-radius: 99px; background: #8796ad; transition: width .35s ease; }
.cbar.a i { background: var(--gold); }
.cbar b { font-variant-numeric: tabular-nums; }
.caveat { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 820px; }
.caveat.source-line { margin-top: 6px; }

/* ---------- Plan ---------- */
.plan-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.plan-progress { display: flex; align-items: center; gap: 18px; padding: 16px 20px; margin-bottom: 12px; }
.progress { flex: 1; height: 10px; background: var(--paper); border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--save); border-radius: 99px; transition: width .3s; }
.plan-item { display: flex; gap: 16px; padding: 18px 20px; margin-bottom: 10px; }
.plan-item.is-done h3 { text-decoration: line-through; color: var(--muted); }
.tick input { position: absolute; opacity: 0; }
.tick span { width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; cursor: pointer; transition: .15s; }
.tick svg { width: 18px; height: 18px; stroke-width: 3; }
.tick input:checked + span { background: var(--save); border-color: var(--save); color: #fff; }
.tick input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.plan-body { flex: 1; min-width: 0; }
.date-pill { font-weight: 700; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; }
.plan-tags { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.plan-body h3 { font-size: 18px; margin: 8px 0 6px; color: var(--navy); }
.plan-body p { margin: 0; color: #3f4858; }
.plan-actions { display: flex; gap: 14px; margin-top: 8px; }

/* ---------- Resources / sources / contact ---------- */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.resource { padding: 22px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; transition: transform .15s, border-color .15s; }
.resource:hover { transform: translateY(-3px); border-color: var(--gold); }
.resource h2 { font-size: 18px; margin-top: 8px; color: var(--navy); }
.resource p { margin: 0; color: var(--muted); font-size: 15px; }
.res-type { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--blue); font-size: 14px; }
.prose { padding: clamp(22px, 3vw, 40px); max-width: 860px; }
.prose h2 { font-family: var(--serif); font-size: 22px; color: var(--navy); margin: 28px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3f4858; }
.legend-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.legend-list .badge { min-width: 150px; }
.contact { display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; }
.contact > div:first-child { padding: clamp(24px, 4vw, 48px); }
.contact h1 { font-size: clamp(32px, 4vw, 48px); color: var(--navy); margin-bottom: 14px; }
.contact p { color: var(--muted); font-size: 17px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 14px; align-items: baseline; }
.contact-list span { width: 50px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); }
.contact-list a { font-weight: 700; font-size: 18px; text-decoration: none; }
.contact-photo { background: var(--photo) right center / cover no-repeat; min-height: 320px; }
.footer { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer a { color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 99px; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: .25s; z-index: 80; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.no-script { position: fixed; inset: auto 0 0 0; background: var(--gold); padding: 14px; text-align: center; z-index: 99; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
.hero-glow, .cta-glow { display: none; }
.hero, .cta-banner { aspect-ratio: auto; min-height: 0; display: flex; flex-direction: column; align-items: stretch; background: linear-gradient(180deg, #0b1b33 0%, #0a2147 55%, #19396d 100%); }
.hero::before, .cta-banner::before { display: none; }
.hero-copy, .cta-banner > div:last-child { max-width: none; order: 1; }
.hero-search { max-width: none; flex-basis: 100%; }
.hero-photo, .cta-photo { order: 2; position: relative; right: auto; bottom: auto; width: 100%; aspect-ratio: 1942 / 809;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%); mask-image: linear-gradient(180deg, transparent 0, #000 9%); -webkit-mask-composite: source-over; mask-composite: add; }
}
@media (max-width: 1180px) {
.kpi-grid { grid-template-columns: repeat(3, 1fr); }
.k-all, .k-plan { grid-column: span 3; }
.filters { grid-template-columns: 1fr 1fr; position: static; }
.filter-search { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
.sidebar { transform: translateX(-100%); transition: transform .25s; width: 280px; }
.menu-open .sidebar { transform: none; }
#menu-overlay { position: fixed; inset: 0; background: rgba(8, 18, 36, .5); z-index: 39; }
.mobile-bar { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 30; background: var(--navy); color: #fff; padding: 10px 14px; font-weight: 700; }
.mobile-bar button { background: none; border: 0; color: #fff; width: 40px; height: 40px; display: grid; place-items: center; }
.mobile-bar button svg { width: 24px; height: 24px; }
.mobile-plan { margin-left: auto; color: var(--navy); background: var(--gold); padding: 6px 12px; border-radius: 99px; text-decoration: none; font-size: 14px; }
main { margin-left: 0; padding: 18px 16px; }
.split, .calc, .contact { grid-template-columns: 1fr; }
.tline::before { left: 7px; }
.t-month { grid-template-columns: 1fr; gap: 10px; padding-left: 30px; }
.t-month::before { left: 1px; }
.t-label { text-align: left; display: flex; gap: 8px; align-items: baseline; }
.t-label b { display: inline; }
}
@media (max-width: 620px) {
.kpi-grid { grid-template-columns: 1fr 1fr; }
.k-all, .k-plan { grid-column: span 2; }
.kpi-n { font-size: 38px; }
.filters { grid-template-columns: 1fr; }
.highlights { grid-template-columns: 1fr; }
.ba { grid-template-columns: 1fr; }
.ba-arrow svg { transform: rotate(90deg); }
.upcoming .badge { display: none; }
.d-head { padding: 8px 20px 24px; }
.d-sec { margin: 12px 12px 0; padding: 16px; }
.cbar { grid-template-columns: 1fr auto; } .cbar div { grid-column: 1 / -1; grid-row: 2; }
.chip-label { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Print: action plan ---------- */
@media print {
.sidebar, .mobile-bar, .footer, .plan-toolbar, .plan-actions, .toast, .drawer, .drawer-backdrop { display: none !important; }
main { margin: 0; padding: 0; }
.page:not(#page-plan) { display: none !important; }
.panel { box-shadow: none; break-inside: avoid; }
}
