/* SRCA website – Design A "Rise Together"
   Colors come from the SRCA logo. Text colors meet WCAG AA contrast. */
:root {
  --navy: #123E8C;
  --navy-dark: #0F2A5C;
  --blue: #1E5BC6;
  --green: #2E7D32;
  --green-dark: #1B5E20;
  --sun: #F5C21B;
  --ink: #14213D;
  --muted: #3B4556;
  --line: #E3E6DE;
  --ground: #F7F8F4;
  --radius: 12px;
  --max: clamp(1240px, 92vw, 1920px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Newsreader", Georgia, serif; color: var(--ink); background: var(--ground); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: #0B2A63; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.section--white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 46rem; }
.small { font-size: .875rem; color: #5A6474; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 700; text-decoration: none; padding: 13px 22px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; min-height: 48px; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); color: #fff; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #E0AE00; color: var(--ink); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 10px; padding-bottom: 10px; }
.site-header .logo img { height: 52px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; flex: 1; justify-content: flex-end; }
.nav a { white-space: nowrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 10px 0; border-bottom: 3px solid transparent; }
.nav a[aria-current="page"], .nav a:hover { border-bottom-color: var(--sun); }
.menu-toggle { display: none; }
@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; margin-left: auto; background: none; border: 2px solid var(--navy); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--navy); }
  .nav, .site-header .btn { display: none; width: 100%; }
  .site-header.open .nav { display: flex; flex-direction: column; align-items: flex-start; }
  .site-header.open .btn { display: inline-block; }
}

/* Hero */
.hero { min-height: 480px; display: flex; align-items: center; color: #fff;
  background: linear-gradient(90deg, rgba(11,30,70,.88) 0%, rgba(11,30,70,.45) 60%, rgba(11,30,70,.15) 100%), url(/img/beach.jpg) center 40% / cover; }
.hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.hero__inner { max-width: 660px; }
.hero .eyebrow { color: var(--sun); }
.hero p { font-size: 1.125rem; }
.page-hero { background: var(--navy); color: #fff; padding: 48px 0; }
.page-hero p { color: #D7E1F5; max-width: 46rem; font-size: 1.1rem; margin: 0; }

/* Cards & grids */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card img { width: 100%; height: 190px; object-fit: cover; }
.card__body { padding: 18px 20px; }
.card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .96rem; }

/* Results band */
.results { background: var(--navy); color: #fff; border-radius: 14px; padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.results .num { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.results .label { font-size: .95rem; }
.results .asof { font-size: .85rem; color: #C9D6F2; max-width: 230px; margin: 0; }

/* Job ladder */
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ladder li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step { display: inline-flex; width: 38px; height: 38px; border-radius: 99px; background: var(--sun); align-items: center; justify-content: center; font-weight: 800; }
.ladder li:last-child .step { background: var(--green); color: #fff; }
.ladder h3 { margin: 12px 0 6px; font-size: 1.1rem; }
.ladder p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Map */
.map { height: 520px; border-radius: 14px; background: #BFD9F2; border: 1px solid var(--line); }
.map--small { height: 360px; }
.map-fallback { height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--ink); }
.map-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: .95rem; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 99px; margin-right: 6px; vertical-align: middle; }
.info { max-width: 240px; font-family: "Newsreader", Georgia, serif; }
.info img { width: 100%; height: 120px; object-fit: cover; border-radius: 6px; margin-bottom: 8px; }
.info strong { display: block; font-size: 15px; margin-bottom: 2px; }

/* Businesses */
.bar { height: 10px; background: #EEF1F6; border-radius: 5px; margin-top: 6px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--green); border-radius: 5px; }
.biz { display: flex; flex-direction: column; gap: 16px; }

/* Split section */
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.split > img { flex: 0 1 340px; height: 380px; object-fit: cover; border-radius: 14px; }
.split > div { flex: 1 1 420px; min-width: 0; }

/* Forms */
.form { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form .full { grid-column: 1 / -1; }
.form label, .field-label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
input, select, textarea { font: inherit; font-weight: 400; padding: 12px; border: 1px solid #8A94A6; border-radius: 8px; background: #fff; color: var(--ink); }
.check { flex-direction: row !important; align-items: center; gap: 10px !important; font-weight: 400 !important; }
.check input { width: 24px; height: 24px; flex: none; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin: 0; }
legend { font-weight: 600; padding: 0 6px; }
.hp { position: absolute; left: -5000px; }
.alert { padding: 14px 16px; border-radius: 8px; margin-bottom: 16px; }
.alert--error { background: #FDECEA; border: 1px solid #F1B5AE; color: #7F1D1D; }
.alert--ok { background: #E3F2E1; border: 1px solid #A5D6A7; color: #1B5E20; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #F4F6FA; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #D7E1F5; font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.site-footer a { color: var(--sun); }
.privacy-note { position: fixed; bottom: 12px; left: 12px; right: 12px; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.15); padding: 14px 16px; display: flex; gap: 12px; align-items: center; z-index: 20; font-size: .92rem; }
.privacy-note form { margin: 0; }

/* ---------- Pages added Dec 2: pillars, get involved, university board ---------- */
.crumbs { font-size: .9rem; margin-bottom: 10px; }
.crumbs a { color: #fff; }
.page-hero .crumbs { color: #D7E1F5; }
.photo-hero { color: #fff; padding: 72px 0; background-size: cover; background-position: center; }
.photo-hero p { color: #fff; max-width: 40rem; font-size: 1.15rem; margin: 0; }
.goals { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.goals li { position: relative; padding-left: 34px; }
.goals li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 99px; background: var(--green); color: #fff; font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.stat-row { display: flex; flex-wrap: wrap; gap: 16px; }
.stat-row .stat { flex: 1 1 180px; }
.story { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--sun); border-radius: var(--radius); padding: 20px 22px; margin: 0; }
.story p { font-size: 1.05rem; margin-bottom: 10px; }
.story img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; margin-bottom: 14px; }
.story footer { font-size: .9rem; color: var(--muted); }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.list-plain li:last-child { border-bottom: 0; }
.path-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.path-card .card__body { flex: 1; display: flex; flex-direction: column; }
.path-card .go { margin-top: auto; font-weight: 700; color: var(--navy); }
.path-card:hover h3 { text-decoration: underline; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; min-height: 38px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 99px; background: var(--sun); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cta-band { background: var(--navy); color: #fff; border-radius: 14px; padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0 0 4px; }
.cta-band p { margin: 0; color: #D7E1F5; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #E8EEF9; color: var(--navy); }
.tag--green { background: #E3F2E1; color: #1B5E20; }
.tag--sun { background: #FFF4CC; color: #6B4F00; }
.money { display: grid; gap: 14px; }
.money .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; }
.money .bar { grid-column: 1 / -1; height: 14px; }
.people { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.person h3 { margin-bottom: 2px; font-size: 1.1rem; }
.person .role { color: var(--green-dark); font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.milestones { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.milestones li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.prose { max-width: 46rem; }
.prose p { white-space: pre-line; }
.card .card-title { font-size: 1.2rem; margin-bottom: 6px; }

/* ---------- Admin workspace ---------- */
.admin-body { min-height: 100vh; background: #f2f5f4; color: #173348; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
.admin-body :focus-visible { outline: 3px solid rgba(244,197,66,.9); outline-offset: 2px; }
.admin-shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; min-width: 0; padding: 22px 15px 15px; border-right: 1px solid #dce4e3; background: #fff; }
.admin-brand { display: flex; flex-direction: column; gap: 10px; padding: 0 8px; margin: 0 0 28px; color: #5b6b76; text-decoration: none; }
.admin-brand img { width: 182px; height: 48px; object-fit: contain; object-position: left center; }
.admin-brand span { font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.admin-nav-label { margin: 0 10px 9px; color: #5b6b76; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav a { display: flex; align-items: center; gap: 11px; min-height: 43px; padding: 0 10px; border-radius: 7px; color: #4b6372; font-size: 12px; font-weight: 650; line-height: 1.25; text-decoration: none; transition: background .16s ease, color .16s ease; }
.admin-nav a:hover { color: #003b70; background: #f5f8f7; }
.admin-nav a[aria-current="page"] { color: #003b70; background: #eaf1f6; }
.nav-mark { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 25px; border-radius: 6px; color: #176b45; background: #edf4ef; font-size: 12px; font-weight: 800; letter-spacing: -.02em; }
.admin-nav a[aria-current="page"] .nav-mark { color: #fff; background: #003b70; }
.admin-sidebar-footer { display: grid; gap: 12px; margin-top: auto; padding: 14px 7px 0; border-top: 1px solid #e7eceb; }
.admin-session-note { display: flex; align-items: flex-start; gap: 8px; color: #5b6b76; font-size: 12px; line-height: 1.45; }
.status-dot { width: 8px; height: 8px; flex: 0 0 8px; margin-top: 3px; border-radius: 50%; background: #2d9561; box-shadow: 0 0 0 3px #e8f4ed; }
.admin-site-link { display: flex; align-items: center; justify-content: space-between; color: #315b74; font-size: 12px; font-weight: 700; text-decoration: none; }
.admin-site-link:hover { color: #003b70; }
.admin-sidebar-user { display: flex; align-items: center; gap: 9px; padding-top: 11px; border-top: 1px solid #e7eceb; }
.admin-avatar, .admin-topbar-avatar { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; color: #fff; background: #176b45; font-size: 12px; font-weight: 800; }
.admin-user-copy { display: grid; min-width: 0; gap: 2px; }
.admin-user-copy strong { overflow: hidden; color: #173348; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-copy small { color: #5b6b76; font-size: 12px; text-transform: capitalize; }
.admin-logout { padding: 5px 0; border: 0; color: #536c7a; background: transparent; font: inherit; font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; }
.admin-logout:hover { color: #a33c2b; }
.admin-sidebar-footer form { margin: 0; }
.admin-workspace { min-width: 0; }
.admin-preview { padding: 8px 20px; color: #614d08; background: #fff5d6; border-bottom: 1px solid #edddab; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.admin-topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; min-height: 66px; padding: 0 clamp(20px, 4vw, 54px); border-bottom: 1px solid #dce4e3; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); }
.admin-breadcrumb { display: flex; align-items: center; gap: 10px; color: #5b6b76; font-size: 12px; }
.admin-breadcrumb strong { color: #003b70; font-weight: 750; }
.admin-topbar-user { display: flex; align-items: center; gap: 9px; color: #173348; font-size: 12px; }
.admin-topbar-user > span:last-child { display: grid; gap: 2px; }
.admin-topbar-user strong { font-size: 12px; }
.admin-topbar-user small { color: #5b6b76; font-size: 12px; text-transform: capitalize; }
.admin-topbar-avatar { width: 30px; height: 30px; flex-basis: 30px; font-size: 12px; }
.admin-main { width: min(100%, 1560px); min-width: 0; margin: 0 auto; padding: 32px clamp(20px, 4vw, 54px) 56px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 24px; }
.page-heading h1, .page-heading h2, .admin-main h2, .admin-main h3 { color: #003b70; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -.025em; }
.page-heading h1 { margin: 6px 0 5px; font-size: clamp(27px, 3vw, 35px); line-height: 1.12; }
.page-heading .eyebrow, .panel-heading .eyebrow, .security-state .eyebrow { margin: 0; color: #176b45; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.page-subtitle { max-width: 700px; margin: 0; color: #5b6b76; font-size: 13px; }
.page-heading--actions { align-items: center; }
.admin-main .lead { max-width: 750px; color: #5b6b76; font-size: 14px; }
.admin-panel { min-width: 0; margin: 0 0 16px; overflow: hidden; border: 1px solid #dce4e3; border-radius: 8px; background: #fff; box-shadow: 0 6px 20px rgba(18,48,67,.045); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; padding: 13px 18px; border-bottom: 1px solid #e8edec; }
.panel-heading h2 { margin: 0; color: #003b70; font-size: 15px; line-height: 1.25; }
.panel-heading .eyebrow + h2 { margin-top: 4px; }
.panel-heading .panel-caption, .panel-caption { margin: 4px 0 0; color: #5b6b76; font-size: 12px; }
.mobile-hint { display: none; }
.panel-link { flex: 0 0 auto; color: #176b45; font-size: 12px; font-weight: 750; text-decoration: none; }
.panel-link:hover { color: #003b70; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin: 0 0 18px; }
.stat { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 4px 12px; min-height: 132px; padding: 17px; border: 1px solid #dce4e3; border-radius: 8px; color: #173348; background: #fff; box-shadow: 0 6px 20px rgba(18,48,67,.045); text-decoration: none; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.stat:hover { transform: translateY(-2px); border-color: #afc3c5; box-shadow: 0 9px 24px rgba(18,48,67,.09); }
.stat-label { align-self: center; color: #5b6b76; font-size: 12px; font-weight: 700; line-height: 1.35; }
.stat .num { grid-column: 1 / -1; color: #003b70; font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -.04em; }
.stat-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 8px; color: #5b6b76; font-size: 12px; }
.stat-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; color: #003b70; background: #edf3f8; font-size: 12px; font-weight: 800; }
.stat--green .stat-icon { color: #176b45; background: #eaf3ed; }
.stat--gold .stat-icon { color: #815700; background: #fff5d6; }
.stat--gold .num { color: #815700; }
.admin-alert { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; padding: 13px 16px; }
.admin-alert p { margin: 3px 0 0; font-size: 12px; }
.admin-alert strong { font-size: 13px; }
.admin-impact-panel { padding-bottom: 0; }
.admin-impact-panel .panel-heading { border: 0; }
.admin-main .results { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin: 0; padding: 6px 18px 16px; border: 0; border-radius: 0; color: #173348; background: #fff; }
.admin-main .results > div { padding: 12px 0; }
.admin-main .results .num { color: #003b70; font-size: clamp(23px, 2.5vw, 30px); font-weight: 800; line-height: 1.15; }
.admin-main .results .label { color: #5b6b76; font-size: 12px; }
.admin-main .results .asof { grid-column: 1 / -1; max-width: none; margin: 0; padding-top: 11px; border-top: 1px solid #edf1f0; color: #5b6b76; font-size: 12px; }
.table-wrap { width: 100%; overflow: auto; border: 0; border-radius: 0; background: #fff; }
.table-wrap table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 12px; }
.table-wrap thead { color: #5b6b76; background: #f8faf9; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.table-wrap th { height: 39px; padding: 0 13px; border-bottom: 1px solid #e7edeb; font-weight: 800; white-space: nowrap; }
.table-wrap td { padding: 12px 13px; border-bottom: 1px solid #edf1f0; color: #536b79; vertical-align: middle; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:hover { background: #f9fbfa; }
.table-primary-link, .table-primary-text { display: block; color: #003b70; font-size: 12px; font-weight: 750; text-decoration: none; }
.table-primary-link:hover { color: #176b45; text-decoration: underline; text-underline-offset: 3px; }
.table-secondary { display: block; max-width: 290px; overflow: hidden; margin-top: 3px; color: #5b6b76; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.table-wrap time { white-space: nowrap; }
.capitalize { text-transform: capitalize; }
.metric-list { display: grid; gap: 3px; min-width: 140px; font-size: 12px; }
.metric-list strong { color: #315b74; }
.badge { display: inline-flex; align-items: center; min-height: 22px; margin: 1px 4px 1px 0; padding: 3px 8px; border-radius: 20px; color: #456171; background: #edf3f8; font-size: 12px; font-weight: 800; line-height: 1.2; text-transform: capitalize; white-space: nowrap; }
.badge--pending, .badge--new { color: #785500; background: #fff2cc; }
.badge--approved, .badge--partner, .badge--in_conversation { color: #17633f; background: #eaf3ed; }
.badge--rejected, .badge--late { color: #9d3929; background: #fff0ed; }
.badge--closed, .badge--inactive, .badge--contacted { color: #5b6b76; background: #eef1f2; }
.badge--role { color: #315b74; background: #edf3f8; text-transform: capitalize; }
.empty-state { display: grid; justify-items: center; gap: 5px; min-height: 112px; padding: 24px 14px; color: #5b6b76; text-align: center; }
.empty-state strong { color: #315b74; font-size: 12px; }
.empty-state span { font-size: 12px; }
.empty-state a { margin-top: 5px; color: #176b45; font-size: 12px; font-weight: 750; }
.tabs { display: flex; gap: 5px; margin: 0 0 13px; padding: 4px; border: 1px solid #dce4e3; border-radius: 8px; background: #fff; }
.tabs a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border-radius: 5px; color: #5d7380; font-size: 12px; font-weight: 700; text-decoration: none; }
.tabs a:hover { color: #003b70; background: #f5f8f7; }
.tabs a[aria-current="page"] { color: #003b70; background: #eaf1f6; }
.panel-heading--table { min-height: 58px; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 0; padding: 15px 17px; border-bottom: 1px solid #e8edec; background: #fbfcfc; }
.filters label, .field-label, .row-edit-grid label { display: flex; flex: 1 1 150px; flex-direction: column; gap: 5px; min-width: 0; color: #526c7b; font-size: 12px; font-weight: 750; }
.filters select, .admin-main input:not([type="checkbox"]), .admin-main select, .admin-main textarea { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid #d1dcda; border-radius: 5px; color: #315065; background: #fff; font: 12px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; }
.admin-main textarea { min-height: 96px; resize: vertical; }
.admin-main input::placeholder, .admin-main textarea::placeholder { color: #5b6b76; }
.filter-actions { display: flex; flex: 0 0 auto; gap: 7px; }
.btn { min-height: 38px; padding: 9px 14px; border-radius: 5px; font-size: 12px; line-height: 1.2; }
.admin-main .btn--green { border: 1px solid #176b45; color: #fff; background: #176b45; }
.admin-main .btn--green:hover { color: #fff; background: #125538; }
.admin-main .btn--outline { border: 1px solid #cfdad9; color: #315065; background: #fff; }
.admin-main .btn--outline:hover { border-color: #9fb4b7; color: #003b70; background: #f8fbfa; }
.admin-main .btn--compact { min-height: 30px; padding: 6px 9px; white-space: nowrap; }
.admin-main .btn--danger { color: #9d3929; border-color: #efd1cb; }
.admin-main .btn--danger:hover { color: #8a2d20; background: #fff5f3; }
.admin-main .form { gap: 13px; }
.admin-main details summary { color: #315b74; font-weight: 750; cursor: pointer; }
.admin-main details[open] > summary { color: #003b70; }
.admin-content-group { margin-bottom: 12px; border-radius: 8px; box-shadow: 0 4px 14px rgba(18,48,67,.04); }
.admin-score-form { margin: 0; border-top: 0; }
.admin-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); padding: 18px; }
.form-span-all { grid-column: 1 / -1; }
.form-panel .panel-heading { border-bottom: 1px solid #e8edec; }
.form-panel { padding-bottom: 4px; }
.row-editor { min-width: 118px; }
.row-editor summary { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 9px; border: 1px solid #dce4e3; border-radius: 5px; color: #315b74; background: #fff; font-size: 12px; font-weight: 750; list-style-position: inside; cursor: pointer; white-space: nowrap; }
.row-editor[open] summary { margin-bottom: 10px; color: #003b70; background: #f5f8f7; }
.project-edit-form, .row-edit-form { min-width: min(560px, 70vw); padding: 13px; border: 1px solid #e1e8e6; border-radius: 7px; background: #fbfcfc; }
.project-edit-form { grid-template-columns: repeat(2, minmax(0,1fr)); }
.row-edit-form { display: grid; gap: 12px; }
.row-edit-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.row-edit-form label { display: flex; flex-direction: column; gap: 5px; color: #526c7b; font-size: 12px; font-weight: 750; }
.row-edit-form .check { flex-direction: row; align-items: center; gap: 8px; }
.row-edit-form .check input { width: 24px; min-height: 24px; }
.form-two-column { grid-template-columns: repeat(2, minmax(0,1fr)); }
.inquiry-update-form { display: grid; gap: 14px; padding: 18px; }
.delete-form { margin: 0; text-align: right; }
.back-link { margin: 0 0 16px; font-size: 12px; font-weight: 750; }
.back-link a { color: #176b45; text-decoration: none; }
.back-link a:hover { color: #003b70; text-decoration: underline; }
.detail-page-heading { align-items: center; }
.detail-page-heading > .badge { margin-right: 2px; padding: 7px 11px; font-size: 12px; }
.detail-panel { margin-bottom: 14px; }
.detail-table-wrap { max-width: 900px; }
.table-wrap table.detail-table { min-width: min(100%, 520px); }
.detail-table th { width: 220px; color: #5b6b76; background: #fbfcfc; font-size: 12px; letter-spacing: 0; text-align: left; text-transform: none; white-space: normal; }
.detail-table td { color: #315065; font-size: 12px; }
.detail-table td a { color: #176b45; font-weight: 650; }
.pre-wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-photos { display: flex; flex-wrap: wrap; gap: 14px; padding: 17px; }
.admin-photos figure { width: min(220px, 100%); margin: 0; padding: 8px; border: 1px solid #e2e9e7; border-radius: 7px; background: #fff; }
.admin-photos img { width: 100%; height: 150px; object-fit: cover; border-radius: 4px; }
.admin-photos figcaption { padding: 8px 1px 1px; }
.admin-main form:not(.filters) { margin-bottom: 0; }
.admin-main .inline-form { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.review-form { display: grid; gap: 13px; max-width: 620px; padding: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.related-records { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 17px; }
.related-records a { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 9px 11px; border: 1px solid #e2e9e7; border-radius: 6px; color: #315065; font-size: 12px; text-decoration: none; }
.related-records a:hover { border-color: #b8caca; background: #f8fbfa; }
.related-records a > span:not(.badge) { color: #5b6b76; }
.notes-list { display: grid; gap: 9px; padding: 14px 17px; }
.note-card { padding: 12px 13px; border: 1px solid #e5ebea; border-radius: 6px; background: #fbfcfc; }
.note-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin-bottom: 8px; }
.note-heading strong { color: #315065; font-size: 12px; }
.note-heading time { color: #5b6b76; font-size: 12px; }
.note-card p { margin: 0; color: #536b79; font-size: 12px; }
.security-panel { max-width: 880px; padding: 22px; }
.security-state { display: flex; align-items: flex-start; gap: 14px; padding: 4px 0 20px; border-bottom: 1px solid #e8edec; }
.security-state h2 { margin: 4px 0 5px; font-size: 18px; }
.security-state p:last-child { margin: 0; color: #5b6b76; font-size: 12px; }
.security-state-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; color: #003b70; background: #edf3f8; font-size: 13px; font-weight: 800; }
.security-state--on .security-state-icon { color: #176b45; background: #eaf3ed; }
.security-help { padding-top: 18px; }
.security-help h3 { margin: 0 0 5px; font-size: 13px; }
.security-help p { max-width: 620px; color: #5b6b76; font-size: 12px; }
.setup-steps { display: grid; gap: 0; margin: 0; padding: 20px 0 0; list-style: none; }
.setup-steps li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 11px; padding: 0 0 20px; }
.step-number { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #003b70; background: #edf3f8; font-size: 12px; font-weight: 800; }
.setup-steps strong { color: #315065; font-size: 12px; }
.setup-steps p { margin: 4px 0 10px; color: #5b6b76; font-size: 12px; }
.setup-key { display: grid; gap: 5px; margin-top: 11px; }
.setup-key span { color: #5b6b76; font-size: 12px; font-weight: 750; }
.setup-key code { display: block; overflow-wrap: anywhere; padding: 10px 12px; border: 1px solid #dce4e3; border-radius: 5px; color: #173348; background: #f8faf9; font-size: 12px; }
.mfa-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.mfa-form .field-label { flex: 0 1 220px; }
.mfa-form input { letter-spacing: .18em; }
.admin-flash { max-width: 100%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1050px) {
  .admin-shell { grid-template-columns: 215px minmax(0,1fr); }
  .admin-main { padding-inline: 24px; }
  .admin-topbar { padding-inline: 24px; }
  .stats { gap: 9px; }
  .stat { padding: 14px; }
  .project-edit-form, .row-edit-form { min-width: min(480px, 62vw); }
}
@media (max-width: 850px) {
  .admin-shell { grid-template-columns: minmax(0,1fr); }
  .admin-sidebar { position: static; height: auto; padding: 10px 17px; border-right: 0; border-bottom: 1px solid #dce4e3; }
  .admin-brand { flex-direction: row; align-items: center; gap: 12px; margin: 0; padding: 0 4px 8px; }
  .admin-brand img { width: 155px; height: 40px; }
  .admin-brand span { padding-left: 12px; border-left: 1px solid #dce4e3; }
  .admin-nav-label, .admin-sidebar-footer { display: none; }
  .admin-nav { display: flex; flex-wrap: wrap; width: 100%; min-width: 0; gap: 5px; overflow: visible; padding-bottom: 2px; }
  .admin-nav a { flex: 0 0 auto; min-height: 36px; padding: 0 9px; font-size: 12px; white-space: nowrap; }
  .nav-mark { width: 21px; height: 21px; flex-basis: 21px; }
  .admin-topbar { position: static; min-height: 52px; }
  .admin-main { padding-top: 25px; }
  .project-edit-form, .row-edit-form { min-width: min(520px, 78vw); }
}
@media (max-width: 620px) {
  .admin-sidebar { padding-inline: 12px; }
  .admin-brand img { width: 132px; }
  .admin-brand span { font-size: 12px; }
  .admin-topbar { padding-inline: 15px; }
  .admin-topbar-user > span:last-child { display: none; }
  .admin-main { padding: 23px 14px 38px; }
  .page-heading, .page-heading--actions { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 18px; }
  .page-heading h1 { font-size: 28px; }
  .stats { grid-template-columns: 1fr; }
  .stat { min-height: 112px; }
  .admin-main .results { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 14px; padding-inline: 14px; }
  .panel-heading { align-items: flex-start; padding: 12px 14px; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; padding: 13px; }
  .filters label { min-width: 0; }
  .filter-actions { grid-column: 1 / -1; }
  .admin-form, .form-two-column, .row-edit-grid { grid-template-columns: 1fr; }
  .form-span-all { grid-column: auto; }
  .project-edit-form, .row-edit-form { min-width: min(82vw, 380px); }
  .project-edit-form .form-span-all, .row-edit-grid .form-span-all { grid-column: 1; }
  .detail-page-heading { align-items: flex-start; }
  .detail-table th { width: 135px; }
  .security-panel { padding: 16px; }
  .admin-alert { align-items: flex-start; flex-direction: column; }
  .mobile-hint { display: inline; }
  .admin-main .table-wrap table { min-width: 680px; }
  .admin-main .table-wrap table.detail-table { min-width: 440px; }
}

/* Voice recording transcripts (admin entry page) */
.transcript-row td { padding-top: 0; border-top: 0; }
.transcript-label { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: #5b6f7c; text-transform: none; }
.transcript-text { margin: 0 0 8px; padding: 10px 12px; border-radius: 8px; background: #f6f8fb; border: 1px solid #e1e8e6; color: #173348; }
.transcript-edit summary { font-size: 13px; }


/* ---------- Accessibility (WCAG 2.2 AA), December 2026 ---------- */
/* Sticky bars never hide the item that has keyboard focus (2.4.11) */
html { scroll-padding-top: 90px; }
/* Links and controls are at least 24 x 24 px to tap (2.5.8) */
.site-footer a, .card__body > a, .page-heading a, .back-link a, .admin-main a:not([class]) { display: inline-block; min-height: 24px; padding-block: 2px; }
.admin-site-link { min-height: 28px; }
.panel-link, .table-primary-link { display: inline-block; min-height: 24px; padding-block: 3px; }
.admin-main table a:not([class]) { display: inline; padding: 0; }
.admin-main details > summary { min-height: 28px; padding-block: 4px; }
input[type="checkbox"], input[type="radio"] { min-width: 24px; min-height: 24px; }
/* People who ask their device for less motion get none (2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* Windows high-contrast / forced colours keep focus and buttons visible */
@media (forced-colors: active) { :focus-visible { outline: 3px solid CanvasText; } .btn, button { border: 1px solid ButtonText; } }

/* Listen (read the page aloud) */
.listen { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--navy, #123E8C); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.listen svg { width: 18px; height: 18px; opacity: .85; }
.listen .listen__text { display: inline-block; min-width: 2.9em; text-align: left; } /* Listen / Stop: same width, so the menu doesn't move */
.listen:hover { background: #EDF2FA; }
.listen[aria-pressed="true"] { background: #FFF3C4; color: #0C2C66; }
.admin-topbar .listen { color: #315b74; font-size: 13px; }
.listen[hidden] { display: none; }
.reading { background: #FFF3C4 !important; box-shadow: 0 0 0 4px #FFF3C4; border-radius: 4px; }
@media (forced-colors: active) { .reading { outline: 3px solid Highlight; } }

/* Session timeout warning (admin) */
.timeout-warning { position: fixed; inset: auto 16px 16px auto; z-index: 50; max-width: 380px; padding: 16px 18px; border-radius: 10px; background: #fff; border: 2px solid #123E8C; box-shadow: 0 10px 30px rgba(16,40,60,.18); color: #173348; }
.timeout-warning p { margin: 0 0 10px; }

/* Listen button placement */
.admin-topbar .listen { margin-left: auto; margin-right: 12px; }
@media (max-width: 1100px) {
  .site-header .wrap { gap: 12px; }
  .site-header .logo img { width: 160px; height: auto; }
  .site-header .listen { order: 1; margin-left: auto; width: 40px; height: 40px; padding: 0; justify-content: center; }
  .site-header .listen .listen__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header .menu-toggle { order: 2; margin-left: 0; }
  .site-header .nav { order: 3; }
  .site-header .wrap > .btn { order: 4; }
}

/* Language switch (English / draft Pijin): quiet, same style as Listen */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 10px; border-radius: 8px; color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: none; }
.lang-switch svg { width: 18px; height: 18px; opacity: .85; }
.lang-switch:hover { background: #EDF2FA; }
.lang-note { margin: 0; padding: 6px 16px; background: #F5F7FA; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 1100px) {
  .site-header .lang-switch { display: none; order: 3; padding-left: 0; }
  .site-header.open .lang-switch { display: inline-flex; flex: 0 0 100%; }
}
/* Wide screens: keep the whole menu on one line */
@media (min-width: 1101px) {
  .site-header .wrap { flex-wrap: nowrap; gap: 12px; }
  .site-header .logo, .site-header .lang-switch, .site-header .listen, .site-header .wrap > .btn { flex-shrink: 0; white-space: nowrap; }
  .nav { flex-wrap: nowrap; gap: 0 clamp(10px, 1.1vw, 18px); }
}
/* In-between widths: smaller menu text, and Pijin / Listen show just their icons */
@media (min-width: 1101px) and (max-width: 1360px) {
  .nav a { font-size: 15px; }
  .site-header .logo img { height: 44px; }
  .site-header .listen .listen__text, .site-header .lang-switch > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header .listen, .site-header .lang-switch { padding: 6px 8px; }
  .site-header .wrap > .btn { padding: 10px 16px; }
}

/* Contact form: fields shown only for some inquiry types */
.form [hidden] { display: none !important; }

/* Reviewer checks (admin entry page) */
.check-list { list-style: none; margin: 0; padding: 0 18px 16px; display: grid; gap: 8px; }
.check-item { display: flex; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 8px; background: #f6f8fb; border: 1px solid #e1e8e6; color: #173348; font-size: 14px; }
.check-item--warn { background: #FFF6E5; border-color: #F2D49B; }
.check-tag { flex: none; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #7A4E00; }
.check-item--info .check-tag { color: #5b6b76; }

/* Shared branding refinements */
h1, h2, h3, .btn, label:not(.check):not(.consent-check) { text-transform: capitalize; }
.btn { transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.btn--outline:hover { border-color: #9aaec3; color: var(--navy-dark); background: #edf2f7; }
.menu-toggle { transition: background-color .18s ease, color .18s ease; }
.site-back-link { margin: 0 0 18px; font-size: .95rem; font-weight: 700; }
.site-back-link a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: inherit; text-decoration: none; }
.site-back-link a:hover { color: var(--sun); text-decoration: underline; }
.site-back-link a span:first-child { font-size: 1.15em; }
.path-card .go, .card__body > a strong { text-transform: capitalize; }
.page-hero--photo { display: flex; align-items: center; min-height: clamp(330px, 34vw, 450px); padding: clamp(48px, 7vw, 88px) 0; color: #fff; background-color: var(--navy-dark); background-image: linear-gradient(90deg, rgba(11,30,70,.88) 0%, rgba(11,30,70,.62) 56%, rgba(11,30,70,.34) 100%), var(--hero-image); background-size: cover; background-position: center 48%; }
.page-hero--photo .wrap { width: 100%; }
.page-hero--photo h1 { max-width: 820px; font-size: clamp(2.25rem, 5vw, 3.9rem); }
.page-hero--photo p:not(.eyebrow):not(.site-back-link) { max-width: 48rem; color: #fff; font-size: 1.1rem; }
.page-hero--photo .eyebrow { color: var(--sun); }
@media (max-width: 1100px) { .menu-toggle:hover { background: #edf2f8; } }
@media (max-width: 640px) { .page-hero--photo { min-height: 340px; padding: 44px 0; background-image: linear-gradient(180deg, rgba(11,30,70,.54) 0%, rgba(11,30,70,.78) 46%, rgba(11,30,70,.92) 100%), var(--hero-image); background-position: center 42%; } .page-hero--photo h1 { font-size: clamp(2rem, 9vw, 2.8rem); } }
.btn--ghost:hover { background: rgba(5,21,48,.42); }
.admin-main .btn--outline:hover { border-color: #9fb4b7; color: #003b70; background: #eef3f7; }

