/* BCU Enterprise Hub, School of ABCE. Visual language from the approved prototype. */
:root {
  --navy: #0B2A5B; --navy-2: #23447A; --teal: #0E7480; --gold: #9C6614; --gold-soft: #E7C78F;
  --ink: #1B2333; --muted: #4A5568; --line: #D5DCE6; --line-2: #E3E8EF; --ground: #F4F6F9; --white: #FFFFFF;
  --chip: #E8EDF5; --cream: #FBF5EA; --cream-line: #E5CFA6; --green: #1F7A4D; --red: #A33A1F;
  --serif: "Source Serif 4", Georgia, serif; --sans: "Source Sans 3", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; }
a { color: var(--navy); } a:hover { color: var(--teal); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0; }
h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); }
h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 30px); }
h3 { font-size: 20px; }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 48px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.kicker { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* Header and footer */
.site-header { background: var(--navy); color: var(--white); }
.header-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; min-height: 84px; padding-top: 10px; padding-bottom: 10px; }
.nav-bar { border-top: 1px solid rgba(255, 255, 255, .14); }
.brand { display: flex; align-items: center; gap: 16px; color: var(--white); text-decoration: none; flex-shrink: 0; margin-right: 8px; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-staff { flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; }
.brand-staff .brand-logo { height: 34px; }
.brand-divider { width: 1px; height: 38px; background: rgba(255, 255, 255, .35); }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--white); color: var(--navy); font-family: var(--serif); font-weight: 700; font-size: 15px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; } .brand-text b { font-size: 18px; } .brand-text span { font-size: 13px; color: #C9D4E8; }
.main-nav { font-size: 15px; position: relative; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 22px; }
.main-nav .menu > li { position: relative; display: flex; align-items: center; }
.main-nav .menu > li > a, .header-actions a.plain { color: var(--white); text-decoration: none; padding: 12px 0; border-bottom: 3px solid transparent; }
.main-nav .menu > li > a { padding: 13px 0 11px; }
.main-nav .menu > li > a:hover { border-bottom-color: rgba(255, 255, 255, .5); }
.main-nav .menu > li > a[aria-current] { border-bottom-color: var(--gold-soft); }
.sub-toggle { background: none; border: 0; color: #C9D4E8; padding: 10px 4px; margin-left: 2px; cursor: pointer; display: inline-flex; align-items: center; min-height: 40px; }
.sub-toggle:hover { color: var(--white); }
.sub-toggle svg { transition: transform .15s; }
.has-sub.open > .sub-toggle svg { transform: rotate(180deg); }
.submenu { list-style: none; margin: 0; padding: 8px 0; display: none; position: absolute; top: 100%; left: -14px; z-index: 20;
  min-width: 270px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold-soft); box-shadow: 0 10px 24px rgba(11, 42, 91, .18); }
.submenu a { display: block; padding: 10px 16px; color: var(--ink); text-decoration: none; font-size: 15px; }
.submenu a:hover, .submenu a:focus-visible { background: var(--ground); color: var(--navy); }
.submenu a[aria-current] { color: var(--navy); font-weight: 700; }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.open > .submenu { display: block; }
.js .has-sub:not(.open):not(:hover) > .submenu { display: none; }
.nav-toggle { display: none; }
@media (max-width: 1080px) {
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--white); font: inherit; font-weight: 700; padding: 12px 0; min-height: 48px; cursor: pointer; }
  .js .main-nav .menu { display: none; }
  .js .main-nav.open .menu { display: flex; }
  .main-nav .menu { flex-direction: column; padding-bottom: 12px; }
  .main-nav .menu > li { flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); }
  .main-nav .menu > li > a { flex: 1; }
  .submenu { position: static; display: block; box-shadow: none; border: 0; background: transparent; min-width: 0; width: 100%; padding: 0 0 8px 14px; }
  .submenu a { color: #D7E0EF; padding: 8px 0; }
  .submenu a:hover, .submenu a:focus-visible { background: transparent; color: var(--white); }
  .js .has-sub:not(.open) > .submenu, .js .has-sub:hover:not(.open) > .submenu { display: none; }
}
.header-actions { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.site-footer { background: var(--ink); color: #C9D4E8; font-size: 14px; margin-top: 64px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.site-footer a { color: #C9D4E8; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid var(--navy); background: var(--navy); color: var(--white); cursor: pointer; }
.btn:hover { background: var(--navy-2); color: var(--white); }
.btn-teal { background: var(--teal); border-color: var(--teal); } .btn-teal:hover { background: #0B5E68; }
.btn-light { background: var(--white); color: var(--navy); } .btn-light:hover { background: var(--chip); color: var(--navy); }
.btn-link { background: none; border: 0; color: var(--teal); padding: 10px 0; min-height: 44px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
.btn-block { width: 100%; }
.btn[disabled] { background: #C4CCD8; border-color: #C4CCD8; color: #3D4757; cursor: not-allowed; }

/* Hero and search */
.hero { background: var(--navy); color: var(--white); border-top: 1px solid var(--navy-2); }
.hero .wrap { padding-top: 56px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { color: var(--white); max-width: 820px; }
.hero p.lead { font-size: 19px; color: #D7E0EF; max-width: 760px; }
.hero .kicker { color: var(--gold-soft); }
.searchbar { display: flex; flex-wrap: wrap; max-width: 900px; background: var(--white); position: relative; }
.searchbar input { flex: 1 1 300px; min-width: 0; border: 0; font: inherit; font-size: 18px; padding: 17px 16px; color: var(--ink); }
.searchbar .btn { min-height: 60px; border-radius: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip-link { color: var(--white); border: 1px solid #5A77A6; padding: 8px 14px; text-decoration: none; font-size: 15px; }
.chip-link:hover { color: var(--white); background: var(--navy-2); }
.suggest-list { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border: 1px solid var(--line); list-style: none; margin: 0; padding: 0; z-index: 5; }
.suggest-list a { display: block; padding: 10px 16px; text-decoration: none; color: var(--ink); } .suggest-list a:hover, .suggest-list a:focus { background: var(--chip); }

/* Cards and grids */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
a.card { text-decoration: none; color: var(--ink); } a.card:hover { border-color: var(--teal); }
.card h3 { font-family: var(--serif); font-size: 20px; }
.card-dark { background: var(--navy); color: var(--white); border-color: var(--navy); } .card-dark h3 { color: var(--white); }
.panel { background: var(--white); border: 1px solid var(--line); padding: 26px; }
.panel-strong { background: var(--white); border: 2px solid var(--navy); padding: 24px; }
.panel-cream { background: var(--cream); border: 1px solid var(--cream-line); padding: 26px; }
.catno { font-size: 13px; font-weight: 700; color: var(--navy); background: var(--chip); padding: 4px 8px; white-space: nowrap; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.avail { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.avail::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.avail-now { color: var(--green); } .avail-next, .avail-intake { color: var(--teal); } .avail-waitlist { color: var(--gold); } .avail-callback { color: var(--muted); }

/* Finder layout */
.layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.layout > .side { flex: 1 1 260px; max-width: 100%; }
.layout > .main { flex: 999 1 600px; min-width: 0; }
.filter-toggle > summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 18px; padding: 12px 0; min-height: 44px; }
.filter-toggle[open] > summary { margin-bottom: 8px; }
.filters fieldset { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--line); background: var(--white); }
.filters legend { font-weight: 700; color: var(--navy); padding: 0 4px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 38px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.check .count { margin-left: auto; font-size: 13px; color: var(--muted); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.active-filters a { background: var(--chip); color: var(--navy); font-size: 14px; padding: 6px 10px; text-decoration: none; }
.active-filters a::after { content: " ×"; font-weight: 700; }
.result { background: var(--white); border: 1px solid var(--line); padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 16px 24px; }
.result .body { flex: 999 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.result .actions { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.result h3 { font-family: var(--serif); font-size: 21px; } .result h3 a { text-decoration: none; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.form fieldset { margin: 0; border: 1px solid var(--line); background: var(--white); padding: 22px 24px; display: grid; gap: 16px; }
.form legend { font-weight: 700; font-size: 19px; color: var(--navy); padding: 0 6px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: 15px; }
.field .help { font-size: 14px; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=date],
.field input[type=datetime-local], .field input[type=url], .field input[type=search], .field input[type=password], .field select, .field textarea {
  font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #8C99AD; background: var(--white); color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.field ul label { font-weight: 400; display: flex; gap: 8px; align-items: center; min-height: 36px; }
.cols-2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.errorlist { color: var(--red); margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.alert { padding: 14px 18px; border: 1px solid var(--line); background: var(--white); }
.alert-error { border-color: var(--red); color: var(--red); } .alert-success { border-color: var(--green); color: var(--green); }
.honeypot { position: absolute; left: -9999px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border: 1px solid #A9B5C7; background: var(--white); cursor: pointer; font-size: 15px; }
.pill input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); font-weight: 600; }
.pill input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.slot-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.slot-day { display: flex; flex-direction: column; gap: 8px; }
.slot-day h3 { font-size: 15px; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; }
.slot-btn { min-height: 44px; border: 1px solid #A9B5C7; background: var(--white); font: inherit; font-size: 15px; cursor: pointer; width: 100%; }
.slot-btn:hover { border-color: var(--teal); }

/* Status and tracking */
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
.stages li { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.stages li::before { content: ""; height: 6px; background: var(--line); }
.stages li.done { color: var(--navy); } .stages li.done::before { background: var(--teal); }
.stages li.current { font-weight: 700; }
.badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 10px; background: var(--chip); color: var(--navy); }
.badge-warn { background: var(--cream); color: #7A4F0E; } .badge-danger { background: #F6E3DD; color: var(--red); } .badge-ok { background: #E1F0E8; color: var(--green); }
.thread { display: flex; flex-direction: column; gap: 12px; }
.msg { border: 1px solid var(--line-2); padding: 14px 16px; background: var(--white); }
.msg.client { background: var(--ground); }
.msg .who { font-size: 13px; color: var(--muted); }
dl.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
dl.facts dt { color: var(--muted); } dl.facts dd { margin: 0; font-weight: 600; }

/* Tables */
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
table.data th { text-align: left; background: var(--ground); color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; padding: 10px 14px; }
table.data td { border-top: 1px solid var(--line-2); padding: 12px 14px; vertical-align: top; }

/* Tabs on offer pages (no script needed: anchors) */
.tabs { display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--line); gap: 0; }
.tabs a { padding: 12px 18px; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs a:hover { color: var(--navy); border-bottom-color: var(--navy); }
ol.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: s; }
ol.steps li { display: flex; gap: 14px; counter-increment: s; }
ol.steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; background: var(--navy); color: var(--white); font-weight: 700; }

/* Staff workspace */
.staff-shell { display: flex; flex-wrap: wrap; min-height: 100vh; }
.staff-nav { flex: 1 1 220px; max-width: 100%; background: var(--ink); color: #C9D4E8; padding: 22px 16px; display: flex; flex-direction: column; gap: 20px; }
.staff-nav nav { display: flex; flex-direction: column; gap: 2px; }
.staff-nav nav a { color: #C9D4E8; text-decoration: none; padding: 11px 12px; }
.staff-nav nav a[aria-current="page"] { background: #2C3850; color: var(--white); font-weight: 700; }
.staff-main { flex: 999 1 700px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.tile { background: var(--white); border: 1px solid var(--line); padding: 16px 18px; }
.tile b { display: block; font-size: 30px; color: var(--navy); }
.overdue { color: var(--red); font-weight: 700; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-logo { height: 34px; }
  .main-nav { gap: 0 18px; }
  .header-actions .btn { min-height: 44px; padding: 9px 14px; }
  .brand-divider { height: 30px; }
  .wrap { padding: 0 16px; }
  .hero .wrap { padding-top: 36px; padding-bottom: 40px; }
  .staff-main { padding: 18px 16px; }
  .panel, .panel-strong, .panel-cream { padding: 18px; }
}

/* CONNECT areas */
.connect-letter { color: var(--teal); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.hero .connect-letter { color: var(--gold-soft); }
.connect-inline { letter-spacing: .08em; color: var(--teal); }
.connect-word { display: flex; flex-wrap: wrap; gap: 6px; font-size: clamp(36px, 8vw, 72px); letter-spacing: .02em; }
.connect-word span { display: inline-flex; align-items: center; justify-content: center; min-width: 1.15em; padding: 0 .08em; border: 2px solid var(--gold-soft); color: var(--white); }
.pillar-letter { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none;
  background: var(--navy); color: var(--gold-soft); font-family: var(--serif); font-weight: 700; font-size: 22px; }
.hero .pillar-letter { background: var(--white); color: var(--navy); }
.pillar-letter-lg { width: 64px; height: 64px; font-size: 36px; }
.connect-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.connect-card { padding: 18px 16px; }
.connect-name { font-size: 18px; }
.connect-card { gap: 10px; }
.connect-name { font-family: var(--serif); font-size: 20px; color: var(--navy); }
.pillar-card h2 a { color: var(--navy); }
.topic-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.topic-links a { font-size: 15px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: #C9D4E8; }
.hero .crumbs a { color: var(--white); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; font-size: 13px; padding: 4px 9px; background: #E1F0F2; color: #0B4F57; text-decoration: none; border: 1px solid #BFE0E4; }
a.tag:hover { background: #CBE6EA; color: #073B41; }
.tag-plain { background: var(--chip); color: var(--navy); border-color: #D3DCEA; }
.hero .tag { background: rgba(255, 255, 255, .12); color: var(--white); border-color: rgba(255, 255, 255, .3); }

/* Experts */
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none; border-radius: 50%;
  background: var(--teal); color: var(--white); font-weight: 700; font-size: 17px; letter-spacing: .03em; }
.avatar-lg { width: 88px; height: 88px; font-size: 30px; background: var(--white); color: var(--navy); }
.expert-card { gap: 10px; }
.expert-name { color: var(--navy); font-size: 17px; }
.sample-badge { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 8px; background: var(--cream); color: #7A4F0E; border: 1px dashed var(--cream-line); }
.role-badge { font-size: 12px; font-weight: 700; padding: 3px 9px; background: var(--chip); color: var(--navy); white-space: nowrap; }
.role-lead { background: var(--navy); color: var(--white); }
.role-co_lead { background: #2C4F86; color: var(--white); }
.role-specialist { background: #E1F0F2; color: #0B4F57; }
.team-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.team-member { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line-2); }
.team-member:first-child { border-top: 0; padding-top: 4px; }
.contrib { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.contrib:first-of-type { border-top: 0; padding-top: 0; }
.pub-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }
.section-h { font-size: 22px; font-family: var(--sans); }
.staff-only { background: var(--cream); border-color: var(--cream-line); }

/* Expert recommendations */
.rec-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rec { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line-2); }
.rec:first-child { border-top: 0; padding-top: 4px; }
.rec-reasons { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.match { font-size: 12px; font-weight: 700; padding: 3px 9px; white-space: nowrap; }
.match-strong { background: #E1F0E8; color: var(--green); }
.match-good { background: #E1F0F2; color: #0B4F57; }
.match-possible { background: var(--chip); color: var(--muted); }
.meter { height: 6px; background: var(--line-2); max-width: 320px; }
.meter span { display: block; height: 6px; background: var(--teal); }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin: 8px 0 24px; }
.page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px;
  border: 1px solid var(--line, #d5dae3); background: #fff; color: var(--navy); font-weight: 600; text-decoration: none; }
a.page-link:hover, a.page-link:focus-visible { border-color: var(--navy); background: var(--navy); color: #fff; }
.page-link.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-link.disabled { color: var(--muted, #6b7280); opacity: .5; }
.page-gap { padding: 0 4px; color: var(--muted, #6b7280); }

/* =====================================================================
   Design refresh: modern, professional layer on top of the base styles.
   Same BCU navy and gold; softer surfaces, stronger type, more space.
   ===================================================================== */
:root {
  --navy-900: #061937; --gold-bright: #E0AE4F; --ground: #F4F6FA; --line-2: #E6EAF1;
  --serif: "Fraunces", Georgia, serif; --sans: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 14px; --radius-sm: 10px; --radius-xs: 7px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 91, .06), 0 1px 1px rgba(11, 42, 91, .04);
  --shadow: 0 2px 4px rgba(11, 42, 91, .05), 0 10px 24px -8px rgba(11, 42, 91, .14);
  --shadow-lg: 0 4px 10px rgba(6, 25, 55, .08), 0 24px 48px -12px rgba(6, 25, 55, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
body { font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { letter-spacing: -.015em; }
h1, h2 { font-weight: 600; font-variation-settings: "SOFT" 20; }
h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; }
h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
a { text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .15s; }
::selection { background: var(--gold-soft); color: var(--navy-900); }
.kicker { font-size: 12px; letter-spacing: .16em; }

/* Header */
.site-header { background: linear-gradient(180deg, #0B2A5B 0%, #09234C 100%); position: relative; z-index: 50; box-shadow: 0 1px 0 rgba(255, 255, 255, .04), 0 8px 24px -16px rgba(0, 0, 0, .5); }
@media (min-width: 1081px) { .site-header { position: sticky; top: 0; } }
.header-top { min-height: 76px; }
.nav-bar { border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .14); }
.brand-text b { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.header-actions a.plain { opacity: .88; font-size: 15px; } .header-actions a.plain:hover { opacity: 1; }
.header-actions .btn { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--navy-900); }
.header-actions .btn:hover { background: #EBC06E; border-color: #EBC06E; color: var(--navy-900); }
.main-nav .menu { gap: 0 24px; }
.main-nav .menu > li > a { font-weight: 500; opacity: .9; transition: opacity .15s, border-color .15s; }
.main-nav .menu > li > a:hover, .main-nav .menu > li > a[aria-current] { opacity: 1; }
.main-nav .menu > li > a[aria-current] { border-bottom-color: var(--gold-bright); }
@media (min-width: 1081px) {
  .submenu { border-radius: var(--radius); border: 1px solid var(--line-2); border-top: 0; padding: 8px; box-shadow: var(--shadow-lg); top: calc(100% + 1px); }
  .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold-bright); border-radius: var(--radius) var(--radius) 0 0; }
  .submenu a { border-radius: var(--radius-xs); padding: 9px 12px; }
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.open > .submenu { animation: drop .16s var(--ease); }
}
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }

/* Buttons */
.btn { border-radius: var(--radius-sm); font-weight: 600; letter-spacing: .005em; transition: background .15s, color .15s, box-shadow .2s, transform .2s var(--ease), border-color .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: none; box-shadow: none; }
.btn-light { border-color: var(--line); } .btn-light:hover { border-color: var(--navy); background: var(--white); }
.btn-teal:hover { background: #0B5E68; }
.btn[disabled]:hover { transform: none; box-shadow: none; }

/* Hero banners */
.hero { position: relative; overflow: hidden; border-top: 0;
  background: radial-gradient(900px 420px at 88% -10%, rgba(14, 116, 128, .55), transparent 60%),
              radial-gradient(700px 360px at -5% 120%, rgba(224, 174, 79, .16), transparent 60%),
              linear-gradient(160deg, #0B2A5B 0%, #061937 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: linear-gradient(100deg, transparent 15%, #000 75%); mask-image: linear-gradient(100deg, transparent 15%, #000 75%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(224, 174, 79, .6), transparent); }
.hero .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 72px; }
.hero .kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-bright); }
.hero .kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.hero p.lead { color: #D3DDEE; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; }
.hero .wrap > *, .hero-grid > * > * { animation: rise .7s var(--ease) both; }
.hero .wrap > :nth-child(2), .hero-grid > * > :nth-child(2) { animation-delay: .06s; }
.hero .wrap > :nth-child(3), .hero-grid > * > :nth-child(3) { animation-delay: .12s; }
.hero .wrap > :nth-child(4), .hero-grid > * > :nth-child(4) { animation-delay: .18s; }
.hero .wrap > :nth-child(n+5), .hero-grid > * > :nth-child(n+5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Search */
.searchbar { border-radius: var(--radius); padding: 6px; gap: 6px; box-shadow: var(--shadow-lg); }
.searchbar input { border-radius: var(--radius-sm); padding: 14px 14px; }
.searchbar input:focus { outline: none; }
.searchbar:focus-within { box-shadow: 0 0 0 3px rgba(224, 174, 79, .55), var(--shadow-lg); }
.searchbar .btn { min-height: 54px; border-radius: var(--radius-sm); padding: 0 24px; }
.suggest-list { border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); overflow: hidden; top: calc(100% + 6px); }
.chip-link { border-radius: 999px; border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); font-size: 14px; padding: 7px 14px; transition: background .15s, border-color .15s; }
.chip-link:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }

/* Surfaces */
.card, .panel, .panel-strong, .panel-cream, .result, .tile, .alert, .table-wrap, .filters fieldset, .form fieldset, .msg { border-radius: var(--radius); }
.card, .panel, .result, .tile, .table-wrap { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.card { padding: 24px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; position: relative; }
a.card:hover, .card:has(h3 a:hover), .result:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #C9D3E2; }
.card h3, .result h3 { font-weight: 600; letter-spacing: -.01em; }
.panel { padding: 28px; }
.panel-strong { border-width: 1px; border-color: var(--line-2); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.panel-strong::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--teal)); }
.result { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; }
.grid { gap: 20px; }
.catno { border-radius: var(--radius-xs); letter-spacing: .02em; font-variant-numeric: tabular-nums; font-size: 12px; }
.badge, .tag, .match, .role-badge, .sample-badge, .active-filters a { border-radius: 999px; }
.tag { padding: 3px 10px; font-size: 12.5px; }
.alert { box-shadow: var(--shadow-sm); }
.table-wrap { overflow: hidden; overflow-x: auto; }
.meter, .meter span { border-radius: 999px; }
.stages li::before { border-radius: 999px; }

/* Forms */
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=date],
.field input[type=datetime-local], .field input[type=url], .field input[type=search], .field input[type=password], .field select, .field textarea {
  border-radius: var(--radius-sm); border-color: #BAC4D3; transition: border-color .15s, box-shadow .15s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8C99AD; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14, 116, 128, .18); }
.form fieldset, .filters fieldset { border-color: var(--line-2); }
.pill span, .slot-btn { border-radius: 999px; transition: border-color .15s, background .15s; }
.slot-btn { border-radius: var(--radius-sm); }

/* Section headings */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.section-head .eyebrow { display: block; margin-bottom: 8px; }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--teal); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* Tabs */
.tabs { border-bottom: 1px solid var(--line); gap: 4px; }
.tabs a { border-radius: var(--radius-xs) var(--radius-xs) 0 0; font-weight: 500; }

/* CONNECT and experts */
.pillar-letter { border-radius: var(--radius-sm); background: linear-gradient(145deg, var(--navy) 0%, #1A4C86 100%); box-shadow: 0 6px 14px -6px rgba(11, 42, 91, .6); }
.connect-card .pillar-letter { transition: transform .3s var(--ease); }
.connect-card:hover .pillar-letter { transform: rotate(-6deg) scale(1.06); }
.connect-word span { border-radius: var(--radius-sm); }
.connect-grid { gap: 14px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.avatar { background: linear-gradient(145deg, var(--teal) 0%, #0B4F7A 100%); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line-2); }
.avatar-lg { background: var(--white); box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); }
.expert-card .expert-name { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: -.01em; }

/* Pagination */
.page-link { border-radius: var(--radius-sm); border-color: var(--line-2); box-shadow: var(--shadow-sm); transition: background .15s, color .15s, border-color .15s; }

/* Staff workspace */
.staff-nav { background: linear-gradient(180deg, #1B2333 0%, #141B28 100%); }
.staff-nav nav a { border-radius: var(--radius-xs); transition: background .15s, color .15s; }
.staff-nav nav a:hover { background: rgba(255, 255, 255, .06); color: var(--white); }
.tile b { font-family: var(--serif); font-weight: 600; }

/* Home page */
.hero-home .wrap { padding-top: 76px; padding-bottom: 88px; }
.hero-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); align-items: center; }
.hero-grid > .stack { gap: 24px; }
.hero-home h1 { font-size: clamp(36px, 5vw, 62px); max-width: 760px; }
.hero-home h1 em { font-style: italic; color: var(--gold-bright); font-weight: 500; }
.hero-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 26px; backdrop-filter: blur(6px); display: grid; gap: 1px; grid-template-columns: 1fr 1fr; overflow: hidden; }
.hero-stat { padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.hero-stat:nth-child(odd)::after { content: ""; position: absolute; right: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(255, 255, 255, .14); }
.hero-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.hero-stat b { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3vw, 40px); color: var(--white); line-height: 1; letter-spacing: -.02em; }
.hero-stat span { color: #C3CFE3; font-size: 14px; line-height: 1.35; }
.hero-card-foot { grid-column: 1 / -1; padding: 16px 16px 2px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-card-foot a { color: var(--gold-bright); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.home-sections { padding-top: 64px; gap: 72px; }
.goal-card .goal-count { font-size: 13px; color: var(--muted); }
.goal-card h3 { font-family: var(--serif); font-size: 22px; }
.goal-card::after { content: "→"; position: absolute; right: 22px; bottom: 18px; color: var(--teal); font-weight: 700; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease); }
.goal-card:hover::after { opacity: 1; transform: none; }
.how { background: var(--white); border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); counter-reset: how; }
.how-steps li { counter-increment: how; display: flex; flex-direction: column; gap: 8px; position: relative; }
.how-steps li::before { content: counter(how, decimal-leading-zero); font-family: var(--serif); font-weight: 600; font-size: 15px; color: var(--teal);
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #E6F2F4; margin-bottom: 6px; }
.how-steps b { font-size: 18px; color: var(--navy); }
.cta-band { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(28px, 5vw, 56px); color: var(--white);
  background: radial-gradient(600px 300px at 100% 0%, rgba(14, 116, 128, .55), transparent 60%), linear-gradient(140deg, #0B2A5B, #061937);
  display: grid; gap: 28px; grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 34px); max-width: 640px; }
.cta-band p { color: #C9D4E8; max-width: 640px; }
.cta-band .btn { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--navy-900); min-height: 52px; padding: 0 26px; }
.cta-band .btn:hover { background: #EBC06E; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }
.event-row { flex-direction: row !important; align-items: center; gap: 16px; padding: 16px 20px; }

/* Footer */
.site-footer { background: #0A1426; color: #AEB9CC; margin-top: 96px; font-size: 15px; }
.site-footer .wrap { display: block; padding-top: 0; padding-bottom: 0; }
.footer-grid { display: grid; gap: 36px 48px; grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 1fr)); padding: 56px 0 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { height: 38px; width: auto; align-self: flex-start; }
.footer-brand p { color: #95A2B8; font-size: 14px; max-width: 340px; }
.footer-col h2 { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 14px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: #D3DBE8; text-decoration: none; } .site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: #8693AA; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  .hero .wrap { padding-top: 40px; padding-bottom: 48px; }
  .hero-home .wrap { padding-top: 44px; padding-bottom: 56px; }
  .home-sections { padding-top: 40px; gap: 48px; }
  .card { padding: 20px; }
  .searchbar .btn { width: 100%; }
}
@media (min-width: 1180px) { .home-sections .connect-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } .goal-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select { min-height: 48px; }
@media (min-width: 1081px) { [id] { scroll-margin-top: 150px; } }

/* ---------- CONNECT rail (home and area pages) ---------- */
.connect-section { background: var(--white); border-bottom: 1px solid var(--line-2); padding: 64px 0 72px; position: relative; overflow: hidden; }
.connect-section::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(11, 42, 91, .07) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 55%); mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 55%); }
.connect-section .wrap { position: relative; display: flex; flex-direction: column; gap: 32px; }
.connect-rail { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; counter-reset: cr; }
.connect-tile { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 196px; padding: 22px 18px 18px;
  background: var(--ground); border: 1px solid var(--line-2); border-radius: 16px; text-decoration: none; color: var(--navy);
  transition: background .25s var(--ease), color .25s, transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; overflow: hidden; }
.connect-tile::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold-bright); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.connect-tile-letter { font-family: var(--serif); font-weight: 600; font-size: clamp(48px, 4.6vw, 66px); line-height: .9; color: var(--navy); letter-spacing: -.02em; transition: color .25s; }
.connect-tile-name { font-weight: 700; font-size: 16px; line-height: 1.25; margin-top: auto; overflow-wrap: anywhere; hyphens: auto; }
.connect-tile-meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); transition: color .25s; }
.connect-tile-arrow { color: var(--teal); transition: transform .25s var(--ease), color .25s; }
.connect-tile:hover, .connect-tile:focus-visible { background: linear-gradient(160deg, #0B2A5B, #061937); border-color: transparent; color: var(--white); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.connect-tile:hover .connect-tile-letter, .connect-tile:focus-visible .connect-tile-letter { color: var(--gold-bright); }
.connect-tile:hover .connect-tile-meta, .connect-tile:focus-visible .connect-tile-meta { color: #C3CFE3; }
.connect-tile:hover .connect-tile-arrow, .connect-tile:focus-visible .connect-tile-arrow { color: var(--gold-bright); transform: translateX(3px); }
.connect-tile:hover::after, .connect-tile:focus-visible::after { transform: scaleX(1); }
@media (max-width: 1100px) { .connect-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .connect-section { padding: 44px 0 48px; }
  .connect-rail { grid-template-columns: 1fr 1fr; gap: 10px; }
  .connect-tile { min-height: 0; flex-direction: row; align-items: center; padding: 14px; gap: 12px; flex-wrap: wrap; }
  .connect-tile-letter { font-size: 36px; width: 30px; }
  .connect-tile-name { margin-top: 0; flex: 1; font-size: 15px; }
  .connect-tile-meta { display: none; }
}
/* Compact rail inside dark hero banners */
.connect-rail-compact { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.connect-rail-compact .connect-tile { min-height: 0; padding: 12px 12px 12px; flex-direction: row; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: #D7E0EF; border-radius: 12px; }
.connect-rail-compact .connect-tile-letter { font-size: 26px; color: var(--gold-soft); width: 20px; flex: none; text-align: center; }
.connect-rail-compact .connect-tile-name { margin: 0; font-size: 13.5px; font-weight: 600; }
.connect-rail-compact .connect-tile:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); box-shadow: none; }
.connect-rail-compact .connect-tile.is-current { background: var(--white); border-color: var(--white); color: var(--navy); }
.connect-rail-compact .connect-tile.is-current .connect-tile-letter { color: var(--navy); }
.connect-rail-compact .connect-tile.is-current::after { transform: scaleX(1); }
@media (max-width: 1100px) { .connect-rail-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .connect-rail-compact { grid-template-columns: 1fr 1fr; } .connect-rail-compact .connect-tile { padding: 10px; } }
.hero .connect-word { gap: 10px; }
.hero .connect-word span { width: 1.2em; background: rgba(255, 255, 255, .05); border: 1px solid rgba(224, 174, 79, .55); color: var(--white); border-radius: 14px; }
.chip-link.is-current { background: var(--white); color: var(--navy); border-color: var(--white); font-weight: 600; }
.pillar-letter-sm { width: 26px; height: 26px; font-size: 15px; border-radius: 7px; background: var(--white); color: var(--navy); box-shadow: none; letter-spacing: 0; }
.hero .kicker:has(.pillar-letter-sm)::before { display: none; }

/* Areas overview */
.pillar-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.pillar-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 28px;
  background: var(--white); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pillar-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold-bright), var(--teal)); }
.pillar-watermark { position: absolute; right: -6px; top: -34px; font-family: var(--serif); font-weight: 600; font-size: 190px; line-height: 1; color: var(--navy); opacity: .05; pointer-events: none; }
.pillar-card-head { display: flex; gap: 16px; align-items: center; position: relative; }
.pillar-card-head .pillar-letter { width: 52px; height: 52px; font-size: 28px; }
.pillar-card h2 { font-size: 26px; } .pillar-card h2 a { text-decoration: none; color: var(--navy); }
.pillar-card h2 a::after { content: ""; position: absolute; inset: 0; }
.topic-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.topic-pills a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--ground); border: 1px solid var(--line-2); font-size: 14px; color: var(--navy); text-decoration: none; transition: background .15s, border-color .15s; }
.topic-pills a:hover { background: #E6F2F4; border-color: #BFE0E4; }
.pillar-card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: 12px; position: relative; z-index: 1; }

/* Area page: topic cards */
.topic-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.topic-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; }
.topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #C9D3E2; color: var(--ink); }
.topic-num { font-family: var(--serif); font-weight: 600; font-size: 15px; color: var(--teal); }
.topic-card h3 { font-family: var(--serif); font-size: 21px; color: var(--navy); }
.topic-card p { flex: 1; }
.topic-foot { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line-2); }
.topic-foot span:last-child { color: var(--teal); font-weight: 700; transition: transform .25s var(--ease); }
.topic-card:hover .topic-foot span:last-child { transform: translateX(3px); }

/* ---------- Recommended experts (public) ---------- */
.rec-section { display: flex; flex-direction: column; gap: 22px; }
.rec-section h2 { font-size: clamp(24px, 2.4vw, 30px); }
.rec-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.rec-card { display: flex; flex-direction: column; gap: 16px; padding: 22px; background: var(--white); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; }
.rec-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #C9D3E2; }
.rec-card-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.rec-card .avatar { width: 52px; height: 52px; font-size: 17px; }
.rec-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rec-name { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.25; color: var(--navy); text-decoration: none; }
.rec-name:hover { text-decoration: underline; color: var(--navy); }
.rec-role { font-size: 14px; color: var(--ink); line-height: 1.35; }
.rec-dept { font-size: 13px; color: var(--muted); }
.rec-id .sample-badge { margin-top: 6px; }
.rec-score { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.score-ring { --c: var(--teal); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(closest-side, var(--white) 76%, transparent 78% 100%), conic-gradient(var(--c) calc(var(--p) * 1%), var(--line-2) 0); }
.score-ring b { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--navy); }
.score-strong { --c: var(--green); } .score-good { --c: var(--teal); } .score-possible { --c: #8C99AD; }
.rec-strength { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.rec-strength-strong { color: var(--green); } .rec-strength-good { color: var(--teal); } .rec-strength-possible { color: var(--muted); }
.rec-block { display: flex; flex-direction: column; gap: 8px; }
.rec-label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rec-facts { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.rec-facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.rec-facts li b { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }
.fact-text { overflow-wrap: anywhere; }
.fact-icon { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #E6F2F4; color: var(--teal); }
.fact-icon svg, .rec-note svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fact-experience { background: var(--cream); color: #8A5A12; }
.fact-publication { background: var(--chip); color: var(--navy); }
.rec-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.rec-actions .btn { flex: 1 1 auto; }
.rec-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); padding: 14px 16px; background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius-sm); }
.rec-note svg { flex: none; margin-top: 2px; color: var(--teal); }
.main .rec-cards, .layout .rec-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.pillar-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.pillar-card { padding: 26px 24px; }
.pillar-card h2 { font-size: 24px; }
.pillar-card-cta { background: linear-gradient(150deg, #0B2A5B, #061937); border-color: transparent; color: #C9D4E8; }
.pillar-card-cta::before { background: var(--gold-bright); }
.pillar-card-cta h2 { color: var(--white); }
.pillar-card-cta .btn { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--navy-900); }
.pillar-card-cta .link-arrow { color: var(--white); }
.pillar-card-foot > span { white-space: nowrap; }
.pillar-card-foot-cta { border-color: rgba(255, 255, 255, .14); flex-direction: column; align-items: stretch; gap: 10px; }
.pillar-card-foot-cta .link-arrow { justify-content: center; }
