:root {
  --yellow: #e5af25;
  --yellow-2: #edc14a;
  --navy: #4052a0;
  --navy-2: #4a5db0;
  --navy-deep: #2f3d78;
  --red: #e9272c;
  /* Hard flag blocks with a white hairline so red never bleeds into navy. */
  --flag-stripe: linear-gradient(
    90deg,
    var(--yellow) 0 calc(33.333% - 1.5px),
    #fff calc(33.333% - 1.5px) calc(33.333% + 1.5px),
    var(--red) calc(33.333% + 1.5px) calc(66.666% - 1.5px),
    #fff calc(66.666% - 1.5px) calc(66.666% + 1.5px),
    var(--navy-deep) calc(66.666% + 1.5px) 100%
  );
  --search: #63b2f5;
  --bg: #f3f4f8;
  --card: #fff;
  --ink: #2f3d78;
  --muted: #5a6488;
  --line: #e2e6ef;
  --max: 1180px;
  --display: "Instrument Sans", "Open Sans", "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}
@font-face {
  font-family: "Great Vibes";
  src: url("/fonts/GreatVibes-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Allura";
  src: url("/fonts/Allura-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--display);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.staff-editbar {
  background: #1c274c;
  color: #fff;
  font-size: 13px;
  position: sticky;
  top: 0;
  z-index: 90;
}
.staff-editbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  padding: 8px 0;
}
.staff-editbar a { color: #edc14a; text-decoration: none; font-weight: 600; }
.staff-editbar a:hover { text-decoration: underline; }
.staff-editbar form { display: inline; margin: 0; }
.staff-editbar .staff-act {
  background: none;
  border: 0;
  padding: 0;
  color: #edc14a;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.staff-editbar .staff-act:hover { text-decoration: underline; }
.staff-editbar .staff-act--danger { color: #ffb4b4; }
.topbar {
  background: var(--navy);
  color: #e8eef7;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .social { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.masthead {
  background: var(--yellow);
  border-bottom: 0;
}
.masthead .wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  padding: 12px 0;
}
.hq-contact-bar {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  min-width: 0;
}
.hq-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding: 7px 12px;
  border-radius: 10px;
  background: #fff8e4;
  color: #151b48;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px rgba(21, 27, 72, .12);
}
.hq-chip:hover {
  background: #fff;
  color: #0f1438;
  box-shadow: inset 0 0 0 1px rgba(21, 27, 72, .22);
}
.hq-chip__k {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b3141a;
}
.hq-chip__v {
  font-size: 14px;
  font-weight: 800;
  color: #151b48;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.portal-topbar__hq {
  background: var(--yellow);
  padding: 8px 16px 10px;
}
.hq-contact-bar--portal {
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .masthead .wrap {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .masthead .brand { justify-self: start; }
  .masthead .search { width: 100%; }
  .hq-chip__v { max-width: none; }
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 64px; width: auto; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy b { font-size: 1.15rem; letter-spacing: .04em; }
.brand-copy span { font-size: 12px; font-weight: 700; color: var(--red); }
.search {
  display: flex; gap: 0; min-width: min(320px, 100%);
}
.search input {
  border-radius: 4px 0 0 4px; border: 0; padding: 10px 12px; width: 100%;
}
.search button {
  background: var(--navy); color: #fff; border: 0; padding: 0 16px; border-radius: 0 4px 4px 0; cursor: pointer; font: inherit;
}
.nav {
  background: #fff;
  border-bottom: 1px solid #eadfb8;
  position: sticky; top: 0; z-index: 20;
}
.nav .wrap {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 28px;
  min-height: 58px;
  padding: 0;
}
.links {
  display: flex;
  flex: 1;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
}
.links > a,
.nav-drop__btn {
  text-decoration: none;
  color: var(--navy);
  padding: 18px 4px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
}
.links > a::after,
.nav-drop__btn::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 3px;
  border-radius: 99px;
  bottom: 10px;
  transform: translateX(-50%);
  background: transparent;
}
.links > a:hover,
.nav-drop__btn:hover { background: transparent; color: var(--red); }
.links > a:hover::after,
.nav-drop__btn:hover::after { background: #d8dde8; }
.links > a.active,
.nav-drop.is-active > .nav-drop__btn { background: transparent; color: var(--navy-deep); }
.links > a.active::after,
.nav-drop.is-active > .nav-drop__btn::after { background: var(--yellow); width: 28px; }
.nav-drop { position: relative; }
.nav-drop__menu {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(47, 61, 120, .16);
  padding: 8px 0;
  z-index: 40;
}
.nav-drop:hover > .nav-drop__menu,
.nav-drop.is-open > .nav-drop__menu { display: grid; }
.nav-drop__menu a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--navy-deep);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 600;
}
.nav-drop__menu a:hover { background: #f4f6fb; color: var(--red); }
.docs-group { margin-bottom: 36px; }
.docs-group__title {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--navy-deep);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 700;
  border: 0; cursor: pointer; font: inherit; text-transform: uppercase; letter-spacing: .04em; font-size: 13px;
}
.btn-gold { background: var(--yellow); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid #ffffffaa; }
.btn-ghost:hover { background: #ffffff14; border-color: var(--yellow); color: var(--yellow); }
.btn-line { background: #fff; border: 1px solid var(--line); color: var(--navy); }
.nav-actions { display: flex; gap: 8px; align-items: center; flex: none; }
.nav-actions .btn { padding: 9px 16px; font-size: 12px; }
.pick {
  padding: 22px 0 48px;
  background:
    linear-gradient(180deg, #eef1f8 0, #f3f5f9 80px),
    #f3f5f9;
}
.pick-head-block {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.pick-kicker {
  color: var(--red);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
  margin: 0 0 4px;
}
.pick h1 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  color: var(--navy-deep);
  margin: 0 0 6px;
  line-height: 1.1;
}
.pick .lede {
  margin: 0;
  max-width: 54ch;
  font-size: .95rem;
  line-height: 1.4;
}
.pick-head-block__note {
  margin: 0;
  color: #5a6585;
  font-size: .92rem;
}
.pick-head-block__note a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 0;
  align-items: stretch;
}
.pick-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  padding: 22px 20px 18px;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pick-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: var(--yellow);
}
.pick-card--member {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(229, 175, 37, .22), transparent 46%),
    linear-gradient(165deg, #3a4f9a 0%, #27407a 38%, #121a38 100%);
  box-shadow:
    0 22px 48px rgba(18, 26, 56, .38),
    0 0 0 1px rgba(229, 175, 37, .22),
    inset 0 5px 0 var(--yellow);
}
.pick-card--aspirant {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(229, 175, 37, .3), transparent 46%),
    linear-gradient(165deg, #d32228 0%, #b51b20 38%, #7a1016 100%);
  box-shadow:
    0 22px 48px rgba(122, 16, 22, .4),
    0 0 0 1px rgba(229, 175, 37, .28),
    inset 0 5px 0 var(--yellow);
}
.pick-card:hover {
  transform: translateY(-6px);
}
@media (hover: none) {
  .pick-card:hover { transform: none; }
}
.pick-card--member:hover {
  box-shadow:
    0 28px 56px rgba(18, 26, 56, .48),
    0 0 0 1px rgba(229, 175, 37, .4),
    inset 0 5px 0 var(--yellow);
}
.pick-card--aspirant:hover {
  box-shadow:
    0 28px 56px rgba(122, 16, 22, .48),
    0 0 0 1px rgba(229, 175, 37, .45),
    inset 0 5px 0 var(--yellow);
}
.pick-card__top,
.pick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.pick-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--yellow);
  color: var(--navy-deep);
}
.pick-badge {
  display: inline-block;
  width: max-content;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--navy-deep);
  border: 0;
}
.pick-card h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 0 0 2px;
  color: #fff;
  line-height: 1.15;
}
.pick-path {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f4d36a;
}
.pick-lead,
.pick-card > p {
  color: rgba(255, 248, 230, .92);
  margin: 0 0 12px;
  font-size: .92rem;
  line-height: 1.4;
}
.pick-list {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  flex: 1;
  display: grid;
  gap: 6px;
}
.pick-list li {
  position: relative;
  padding: 8px 10px 8px 28px;
  color: #fff;
  font-size: .9rem;
  line-height: 1.35;
  background: rgba(12, 18, 40, .18);
  border: 1px solid rgba(255, 255, 255, .14);
}
.pick-list li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--yellow);
}
.pick-fees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 0 14px;
}
.pick-fees span {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  background: rgba(12, 18, 40, .22);
  color: rgba(255, 255, 255, .9);
  font-size: .82rem;
  line-height: 1.25;
  border: 1px solid rgba(255, 255, 255, .14);
}
.pick-fees b {
  color: #f4d36a;
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pick-card .pick-btn {
  width: 100%;
  border-radius: 999px;
  padding: 12px 16px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  margin-top: auto;
  background: var(--yellow);
  color: var(--navy-deep);
  border: 0;
}
.pick-card .pick-btn:hover {
  background: #f3c84a;
  color: var(--navy-deep);
}
.pick-foot { text-align: center; margin-top: 18px; color: var(--muted); }
.pick-foot a { color: var(--navy); font-weight: 700; text-decoration: none; }
@media (max-width: 820px) {
  .pick-fees { grid-template-columns: 1fr; }
}
.hero {
  background:
    linear-gradient(105deg, rgba(39,68,114,.88) 0%, rgba(42,50,125,.55) 48%, rgba(205,50,44,.35) 100%),
    #4052a0;
  color: #fff; padding: 80px 0 88px;
}
.hero .eyebrow { color: var(--yellow); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; margin: 10px 0 16px; max-width: 18ch; }
.hero p { max-width: 58ch; color: #e8eef7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -36px; position: relative; }
.kpi {
  background: #fff; border-radius: 4px; padding: 18px 16px;
  box-shadow: 0 12px 30px #4052a022; border-top: 4px solid var(--yellow);
}
.kpi b { display: block; font-size: 1.45rem; color: var(--navy); }
.kpi span { color: var(--muted); font-size: 13px; }
.section { padding: 36px 0 56px; }
.section h2 { font-size: 1.8rem; margin: 0 0 8px; color: var(--navy); }
.lede { color: var(--muted); margin: 0 0 18px; max-width: 70ch; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 22px;
}
.card h3 { margin: 0 0 8px; color: var(--navy); }
.num { color: var(--red); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.alert { border-radius: 4px; padding: 12px 14px; margin-bottom: 16px; }
.alert-ok { background: #e8f7ee; color: #145c32; }
.alert-err { background: #fdecec; color: #8a1f1f; }
label { display: block; font-size: 13px; font-weight: 700; margin: 12px 0 6px; }
input, select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px;
  font: inherit; background: #fff;
}
.geo-cascade {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 4px;
}
@media (max-width: 720px) {
  .geo-cascade { grid-template-columns: 1fr; }
}
.page-head, .banner { padding: 36px 0 34px; }
.page-head h1, .banner h1 {
  margin: 8px 0 14px;
  color: var(--navy);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  letter-spacing: -.02em;
  line-height: 1.14;
}
.banner { position: relative; }
.banner .wrap,
.hero > .wrap,
.ambass-hero > .wrap {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - clamp(40px, 8vw, 96px)));
}
.banner .num,
.page-head .num { margin: 0 0 10px; font-size: 11px; }
.banner .lede,
.page-head .lede {
  margin: 0;
  font-size: .98rem;
  line-height: 1.58;
  max-width: 58ch;
}
@media (max-width: 800px) {
  .page-head, .banner { padding: 28px 0 26px; }
}
footer { background: var(--navy-deep); color: #c9d4e4; padding: 22px 0 16px; margin-top: 0; line-height: 1.25; }
footer a { color: var(--yellow); text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 18px 28px; align-items: start; }
.foot-brand { display: grid; gap: 4px; }
.foot-brand img { height: 44px; width: auto; margin: 0 0 6px; }
.foot-brand p { margin: 0; font-size: 13px; line-height: 1.35; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.foot-links li { margin: 0; }
.foot-links a { display: inline-block; padding: 1px 0; font-size: 13px; line-height: 1.3; font-weight: 600; }
.foot-meta { display: grid; gap: 3px; font-size: 13px; line-height: 1.35; }
.foot-meta p { margin: 0; }
.muted { color: var(--muted); }
.list { margin: 0; padding-left: 18px; }
.article { max-width: 72ch; }
.member-card,
.id-sheet { max-width: 100%; }
/* ISO/IEC 7810 ID-1 (CR80 bank/membership card): 85.60 × 53.98 mm */
.id-sheet {
  display: grid;
  grid-template-columns: auto;
  gap: 16px;
  justify-items: start;
}
.id-card {
  --id-w: 85.60mm;
  --id-h: 53.98mm;
  width: var(--id-w);
  height: var(--id-h);
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 2.8mm;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #fff;
  box-shadow: 0 14px 32px rgba(18, 24, 48, .4);
  position: relative;
  font-family: "Open Sans", sans-serif;
  border: 1.2px solid #e5af25;
}
/* Screen preview: slightly larger for readability, same aspect ratio */
@media screen and (min-width: 520px) {
  .card-desk--id1 .id-card,
  .portal-main .id-card {
    width: calc(85.60mm * 1.28);
    height: calc(53.98mm * 1.28);
  }
}
.id-card--front { background: var(--navy); }
.id-card--back { background: var(--navy-deep); }
.brand-tricolour {
  display: flex;
  height: 3.2mm;
  flex: none;
  gap: 2px;
  background: #fff;
}
.brand-tricolour.chrome-bar { height: 4px; }
.brand-tricolour span { flex: 1; }
.brand-tricolour span:nth-child(1) { background: var(--yellow); }
.brand-tricolour span:nth-child(2) { background: var(--red); }
.brand-tricolour span:nth-child(3) { background: var(--navy); }
.id-card .brand-tricolour { gap: 0; background: transparent; }
.id-card .brand-tricolour span:nth-child(3) { background: #6b7bc4; }
.id-card__head {
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2.2mm 3.2mm;
  border-bottom: 1.2px solid var(--red);
  flex: none;
}
.id-card__logo { height: 9.2mm; width: auto; }
.id-card__body {
  display: grid;
  grid-template-columns: 14mm 1fr;
  gap: 2.5mm;
  padding: 1.6mm 3.2mm 0.6mm;
  flex: 1;
  min-height: 0;
  align-items: start;
}
.id-card__avatar {
  width: 14mm; height: 14mm; border-radius: 1.6mm;
  background: var(--yellow); color: var(--navy);
  display: grid; place-items: center;
  font-weight: 800; font-size: 12pt;
  border: 1.2px solid var(--red);
}
.id-card__kicker {
  margin: 0 0 0.4mm; font-size: 6.5pt; letter-spacing: .1em;
  text-transform: uppercase; color: var(--yellow); font-weight: 800;
}
.id-card--front .id-card__meta h2 {
  margin: 0 0 0.6mm; font-size: 12pt; color: #fff; line-height: 1.12;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.id-card__no {
  margin: 0 0 0.8mm;
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: .04em;
  font-size: 11pt;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.id-card__meta dl {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6mm 2.5mm; margin: 0;
}
.id-card__meta dt { font-size: 6pt; letter-spacing: .06em; text-transform: uppercase; color: #c5cdee; }
.id-card__meta dd { margin: 0; font-size: 8pt; font-weight: 700; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.id-card__foot {
  background: var(--red);
  display: flex; justify-content: space-between; gap: 4px;
  padding: 1.2mm 3.2mm; font-size: 6.5pt; font-weight: 700;
  flex: none;
}
.id-card__back-inner { padding: 2.5mm 3.5mm; flex: 1; min-height: 0; }
.id-card__slogan { color: var(--yellow); font-weight: 800; font-size: 8pt; margin: 1mm 0 2mm; }
.id-card--back dl {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1mm 2.5mm; margin: 0 0 2mm;
}
.id-card--back dt { font-size: 5pt; letter-spacing: .06em; text-transform: uppercase; color: #c5cdee; }
.id-card--back dd { margin: 0; font-size: 6.5pt; font-weight: 700; }
.id-card__bars,
.id-card__barcode {
  margin: 0 3.2mm 0;
  height: 5.2mm;
  background:
    repeating-linear-gradient(90deg, #0e1633 0 1.1px, transparent 1.1px 2px, #0e1633 2px 3.4px, transparent 3.4px 4.6px),
    #fff;
  border-radius: 0.6mm;
  flex: none;
}
.id-card__esign {
  margin: 0 3.2mm 0.4mm;
  color: var(--yellow);
  font-family: "Allura", "Great Vibes", cursive;
  font-size: 16pt;
  font-weight: 400;
  line-height: .85;
  letter-spacing: .04em;
  font-style: italic;
  flex: none;
}
.cert__esign {
  margin: 2px 0 4px;
  text-align: center;
  font-family: "Allura", "Great Vibes", cursive;
  font-size: 72px;
  line-height: .85;
  letter-spacing: .06em;
  color: #1a2458;
  font-style: italic;
  transform: rotate(-6deg);
}
.id-card__fine { font-size: 5.5pt; color: #d5dcf0; margin: 0; line-height: 1.25; }
.card-desk { max-width: 980px; }
.card-desk--id1 { max-width: none; }
.print-desk { background: #161d3c; min-height: 100vh; padding: 20px 16px 48px; }
.print-toolbar {
  max-width: 1100px;
  margin: 0 auto 18px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.print-toolbar strong { display: block; color: var(--navy-deep); }
.print-toolbar span { color: #5b6580; font-size: 13px; }
.print-toolbar__acts, .paper-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.paper-acts { margin-top: 16px; }

/* Phone actions (e.g. Save to phone): hide on desktop / fine pointer */
.is-phone-only { display: none !important; }
@media (max-width: 720px), (hover: none) and (pointer: coarse) {
  .is-phone-only { display: inline-flex !important; }
}
.print-stage {
  max-width: 1100px;
  margin: 0 auto;
  background: #243056;
  border-radius: 18px;
  padding: 24px;
  box-shadow: inset 0 0 0 1px rgba(229,175,37,.25);
}
.print-stage .wrap { max-width: none; }
.paper-receipt {
  max-width: 190mm;
  margin: 0 auto;
  background: #fff;
  color: #111;
  border: 2px solid #1a1a1a;
  padding: 16px 18px 18px;
}
.paper-receipt__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 3px solid #e60012;
}
.paper-receipt__brand img { width: 52px; height: 52px; object-fit: contain; }
.paper-receipt__brand strong { display: block; font-size: 1.15rem; color: #1a1a1a; }
.paper-receipt__brand span { display: block; font-size: 12px; font-weight: 700; color: #444; }
.paper-receipt h1 {
  margin: 14px 0 6px;
  font-size: 1.35rem;
  color: #111;
}
.paper-receipt__lede { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: #222; }
.paper-receipt dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin: 0 0 14px;
}
.paper-receipt div { min-width: 0; border-bottom: 1px solid #ddd; padding-bottom: 8px; }
.paper-receipt dt {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #555;
}
.paper-receipt dd {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: #111;
  word-break: break-word;
}
.paper-receipt__foot {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}
@media (max-width: 640px) {
  .paper-receipt dl { grid-template-columns: 1fr; }
}
.paper-form {
  background: #fff;
  color: #111;
  padding: 18px 20px 24px;
  max-width: 210mm;
  margin: 0 auto;
  font-family: "Open Sans", sans-serif;
}
.paper-form__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.paper-form__brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.paper-form__brand img { width: 56px; height: 56px; object-fit: contain; }
.paper-form__brand strong { display: block; font-size: 1.1rem; color: #1a1a1a; }
.paper-form__brand span { display: block; font-size: 12px; font-weight: 700; color: #444; }
.paper-form__photo {
  width: 32mm;
  height: 42mm;
  object-fit: cover;
  border: 1px solid #ccc;
  background: #f4f4f4;
}
.paper-form h1 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  color: #1a1a1a;
}
.paper-form__lede { margin: 0 0 16px; font-size: 13px; line-height: 1.45; color: #222; }
.paper-form__sec { margin: 0 0 14px; break-inside: avoid; }
.paper-form__sec h2 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #2f3d78;
  border-bottom: 2px solid #e5af25;
  padding-bottom: 4px;
}
.paper-form__sec dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 0;
}
.paper-form__sec dt {
  font-size: 11px;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.paper-form__sec dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: #111; word-break: break-word; }
.paper-form__docs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.paper-form__docs figure { margin: 0; }
.paper-form__docs img {
  width: 100%;
  max-height: 90mm;
  object-fit: contain;
  border: 1px solid #ddd;
  background: #fafafa;
}
.paper-form__docs figcaption { font-size: 12px; font-weight: 700; margin-top: 4px; }
.paper-form__foot {
  margin: 16px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}
@media (max-width: 640px) {
  .paper-form__sec dl { grid-template-columns: 1fr; }
}
.cert-desk { max-width: none; }
.cert--compact .cert__inner { padding: 7mm 10mm 6mm; }
.cert--compact h1 { font-size: 1.55rem; }
.cert--compact .cert__name { font-size: 1.45rem; }
.cert {
  width: min(277mm, 100%);
  min-height: 190mm;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(229,175,37,.12), transparent 28%),
    #fffdf6;
  border: 10px solid var(--navy);
  outline: 3px solid var(--yellow);
  outline-offset: -16px;
  position: relative;
  color: var(--navy);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(47, 61, 120, .18);
}
.cert::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid var(--red);
  pointer-events: none;
}
.cert__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(229,175,37,.22), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(233,39,44,.12), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(64,82,160,.1), transparent 40%);
  pointer-events: none;
}
.cert__frame { display: none; }
.cert__inner {
  padding: 10mm 14mm 8mm;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  z-index: 1;
}
.cert__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 9rem;
  font-weight: 800;
  letter-spacing: .18em;
  color: rgba(229,175,37,.09);
  pointer-events: none;
  transform: rotate(-8deg);
}
.cert__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.cert__brand { display: flex; align-items: center; gap: 12px; }
.cert__logo { height: 72px; width: auto; }
.cert__party { margin: 0; font-weight: 800; letter-spacing: .14em; font-size: 13px; color: var(--navy); }
.cert__kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
}
.cert--candidate .cert__kicker { color: var(--navy-deep); }
.cert--winner .cert__kicker { color: var(--red); }
.cert__titleblock { text-align: right; max-width: 52%; }
.cert h1 {
  font-family: "Playfair Display", Georgia, serif;
  text-align: right;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  margin: 0;
  letter-spacing: .02em;
  color: var(--navy-deep);
  line-height: 1.05;
}
.cert__serial {
  margin: 6px 0 0;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--red);
  font-size: 13px;
}
.cert__serial span {
  display: block;
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 2px;
}
.cert__seat {
  font-family: "Great Vibes", "Playfair Display", Georgia, serif;
  text-align: center;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 4px 0 8px;
  color: var(--navy);
}
.cert__this {
  text-align: center;
  margin: 0 auto 8px;
  max-width: 46rem;
  font-size: 14px;
}
.cert__name {
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  margin: 4px auto 10px;
  border-bottom: 2px solid var(--yellow);
  width: min(36rem, 100%);
  padding-bottom: 6px;
  color: var(--navy-deep);
}
.cert__ids {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
  margin: 0 0 12px;
  font-size: 14px;
}
.cert__ids p:last-child { grid-column: 1 / -1; }
.cert__member-of {
  text-align: center;
  font-size: 16px;
  margin: 0 auto 18px;
  max-width: 46rem;
  color: var(--navy-deep);
}
.cert--member .cert__this {
  margin-bottom: 14px;
  font-size: 16px;
}
.cert--member .cert__name {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  margin: 8px auto 14px;
  padding-bottom: 10px;
  width: min(44rem, 100%);
}
.cert--member .cert__geo {
  padding: 14px 8px;
  margin: 0 0 16px;
}
.cert--member .cert__geo dd { font-size: 17px; }
.cert--member .cert__note {
  font-size: 15px;
  margin: 0 0 14px;
}
.cert__geo {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px 16px;
  margin: 0 0 10px;
  border-top: 1px solid rgba(229,175,37,.55);
  border-bottom: 1px solid rgba(233,39,44,.35);
  padding: 8px 0;
}
.cert__geo dt { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--red); }
.cert__geo dd { margin: 2px 0 0; font-weight: 800; color: var(--navy-deep); font-size: 15px; }
.cert__poll { text-align: center; font-weight: 700; margin: 0 0 8px; }
.cert__note { font-weight: 600; margin: 0 0 8px; color: var(--navy); text-align: center; font-size: 13px; }
.cert__disclaimer {
  font-size: 11.5px;
  line-height: 1.45;
  background: linear-gradient(90deg, rgba(229,175,37,.18), rgba(255,255,255,.4), rgba(233,39,44,.1));
  border-left: 4px solid var(--yellow);
  border-right: 4px solid var(--red);
  padding: 8px 12px;
  color: var(--navy-deep);
  margin-top: auto;
}
.cert__sys {
  text-align: center;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--red);
  margin: 8px 0 0;
}
.cert__stamp {
  position: absolute;
  right: 18mm;
  bottom: 38mm;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 3px solid var(--yellow);
  background: radial-gradient(circle at 40% 35%, #5a6bb8, var(--navy-deep));
  color: var(--yellow);
  display: grid;
  place-items: center;
  text-align: center;
  transform: rotate(-12deg);
  box-shadow: 0 0 0 3px rgba(233,39,44,.35);
}
.cert__stamp span { font-weight: 800; letter-spacing: .12em; display: block; }
.cert__stamp small { letter-spacing: .04em; font-size: 9px; font-weight: 700; max-width: 64px; line-height: 1.15; }
.cert__hq {
  font-size: 10px;
  margin: 10px 0 0;
  color: var(--navy);
  text-align: center;
}
.cert__foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}
.cert__sign {
  display: block;
  border-top: 2px solid var(--navy);
  padding-top: 6px;
  font-weight: 800;
  min-width: 160px;
  color: var(--navy-deep);
  font-family: "Playfair Display", Georgia, serif;
}
.mpesa-box {
  margin-top: 16px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(229,175,37,.16), #fff);
  border: 1px solid rgba(64,82,160,.25);
  border-left: 5px solid var(--navy);
}
.mpesa-box__title { margin: 0 0 8px; font-weight: 800; color: var(--navy-deep); }
.mpesa-steps { margin: 0; padding-left: 18px; }
.mpesa-steps li { margin: 4px 0; }
.mpesa-code { margin-top: 14px; }
.mpesa-code label { display: block; font-weight: 700; margin-bottom: 6px; }
.mpesa-code__row { display: flex; gap: 8px; flex-wrap: wrap; }
.mpesa-code input {
  flex: 1;
  min-width: 180px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.give-panel { margin: 8px 0 8px; }
.give-panel h2 { color: var(--navy-deep); margin: 0 0 8px; }
.give-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}
.give-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--yellow);
  border-radius: 14px;
  padding: 18px 18px 20px;
}
.give-card:nth-child(2) { border-top-color: var(--navy); }
.give-card:nth-child(3) { border-top-color: var(--red); }
.give-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}

/* Donate page — Paybill-first, balanced space */
.donate-page { background: #f3f5f9; padding-bottom: 56px; }
.donate-hero {
  background: #fff;
  border-bottom: 1px solid #e2e7f0;
  padding: 0 0 16px;
}
.donate-hero__stripe { height: 5px; margin-bottom: 14px; }
.donate-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(200px, .65fr);
  gap: 16px;
  align-items: end;
}
.donate-hero__badge {
  display: inline-block;
  margin: 0 0 6px;
  padding: 5px 10px;
  background: var(--navy);
  color: var(--yellow);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.donate-hero h1 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
  color: var(--navy-deep);
  max-width: 18ch;
}
.donate-hero__lede {
  margin: 0;
  max-width: 52ch;
  color: #4a5578;
  font-size: .92rem;
  line-height: 1.4;
}
.donate-hero__paybill {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 14px 16px;
  border-top: 3px solid var(--yellow);
  box-shadow: 0 10px 20px rgba(47, 61, 120, .14);
}
.donate-hero__paybill-label {
  margin: 0 0 4px;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.donate-hero__paybill-num {
  margin: 0 0 2px;
  font-size: 1.1rem;
  font-weight: 800;
}
.donate-hero__paybill-num strong {
  color: var(--yellow);
  letter-spacing: .04em;
}
.donate-hero__paybill-hint {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .85rem;
}
.donate-body { padding-top: 20px; }
.donate-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: #fff;
  border: 1px solid #e2e7f0;
  border-left: 5px solid var(--red);
  padding: 18px 22px;
  margin-bottom: 28px;
}
.donate-contact strong { color: var(--navy-deep); }
.donate-contact p { margin: 4px 0 0; color: #4a5578; font-size: .95rem; }
.donate-contact a { color: var(--navy); font-weight: 700; text-decoration: none; }
.donate-contact a:hover { color: var(--red); }

.donate-give__head { margin-bottom: 18px; }
.donate-give__head h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: var(--navy-deep);
}
.donate-give__head p { margin: 0; color: #4a5578; max-width: 60ch; }
.donate-give__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .9fr);
  gap: 18px;
  align-items: start;
}
.donate-kicker {
  margin: 0 0 6px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}
.donate-paybill {
  background: #fff;
  border: 1px solid #e2e7f0;
  border-top: 5px solid var(--yellow);
  padding: 24px 26px 28px;
  box-shadow: 0 12px 28px rgba(47, 61, 120, .06);
}
.donate-paybill h3,
.donate-stk h3,
.donate-soon h3,
.donate-alt__card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--navy-deep);
}
.donate-paybill__intro {
  margin: 0 0 18px;
  color: #4a5578;
  max-width: 48ch;
}
.donate-paybill__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.donate-paybill__facts > div {
  background: linear-gradient(180deg, #fff8e8, #fff);
  border: 1px solid #eadfb8;
  padding: 12px 14px;
}
.donate-paybill__facts span {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7a849e;
  margin-bottom: 4px;
}
.donate-paybill__facts strong {
  color: var(--navy-deep);
  font-size: 1.05rem;
}
.donate-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.donate-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}
.donate-steps li > span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--navy);
  color: var(--yellow);
  flex: none;
}
.donate-steps li:nth-child(2) > span { background: var(--red); color: #fff; }
.donate-steps li:nth-child(3) > span { background: var(--yellow); color: var(--navy-deep); }
.donate-steps li:nth-child(4) > span { background: var(--navy); color: #fff; }
.donate-steps li:nth-child(5) > span { background: var(--navy-deep); color: var(--yellow); }
.donate-steps strong { display: block; color: var(--navy-deep); margin-bottom: 2px; }
.donate-steps p { margin: 0; color: #4a5578; font-size: .95rem; line-height: 1.45; }
.donate-steps em { font-style: normal; font-weight: 700; color: var(--navy); }

.donate-side { display: grid; gap: 14px; }
.donate-stk,
.donate-soon,
.donate-alt__card {
  background: #fff;
  border: 1px solid #e2e7f0;
  padding: 20px 20px 22px;
}
.donate-stk { border-top: 5px solid var(--navy); }
#donate-stk { scroll-margin-top: 140px; }
.donate-soon { border-top: 5px solid var(--red); }
.donate-alt__card { border-top: 5px solid var(--yellow); }

/* Donate wait / PIN handshake */
.donate-hero--soft {
  background:
    linear-gradient(135deg, rgba(233, 39, 44, .06) 0%, transparent 42%),
    linear-gradient(180deg, #f8fafc 0%, #f3f5f9 100%);
}
.donate-hero__badge--warn {
  background: #fde8e9;
  color: #b91c1c;
  border: 1px solid #f5c2c4;
}
.donate-hero__inner--wait {
  align-items: end;
}
.donate-wait__amount {
  min-width: 180px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e7f0;
  box-shadow: 0 10px 28px rgba(17, 36, 84, .06);
  text-align: right;
}
.donate-wait__amount span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6b7690;
  margin-bottom: 4px;
}
.donate-wait__amount strong {
  display: block;
  font-size: 1.55rem;
  letter-spacing: -.02em;
  color: var(--navy-deep);
  line-height: 1.1;
}
.donate-wait__amount small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #4a5578;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.donate-wait__wrap { max-width: 720px; }
.donate-wait-board {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e7f0;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(17, 36, 84, .07);
}
.donate-wait-board--missed {
  border-color: #f0b4b6;
  background:
    linear-gradient(145deg, rgba(233, 39, 44, .07) 0%, transparent 48%),
    #fff;
}
.donate-wait-board__stripe {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  height: 6px;
}
.donate-wait-board__stripe span:nth-child(1) { background: var(--navy-deep); }
.donate-wait-board__stripe span:nth-child(2) { background: var(--red); }
.donate-wait-board__stripe span:nth-child(3) { background: var(--yellow); }
.donate-wait-board__inner { padding: 22px 24px 24px; }
.donate-wait-board h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -.02em;
  color: var(--navy-deep);
  line-height: 1.2;
}
.donate-wait-board__lede {
  margin: 0 0 18px;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.55;
  color: #3a4458;
}
.donate-wait-board__soft {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f4f7fb;
  border: 1px solid #e2e7f0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #3a4458;
}
.donate-wait-next {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.donate-wait-next li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}
.donate-wait-next li > span {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  background: var(--navy);
  color: #fff;
}
.donate-wait-next li:nth-child(2) > span { background: var(--red); }
.donate-wait-next li:nth-child(3) > span { background: var(--yellow); color: var(--navy-deep); }
.donate-wait-next strong {
  display: block;
  color: var(--navy-deep);
  margin-bottom: 2px;
}
.donate-wait-next p {
  margin: 0;
  color: #4a5578;
  font-size: .95rem;
  line-height: 1.45;
}
.donate-wait-board__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.donate-wait-board__acts .btn { min-width: 160px; }
.donate-wait-board__alts {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e8edf7;
}
.donate-wait-board__alts p {
  margin: 0;
  font-size: 14px;
  color: #4a5578;
  line-height: 1.5;
}
.donate-wait-board__alts a {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}
.donate-wait-board__alts a:hover { text-decoration: underline; }
.donate-wait-board__foot {
  margin: 14px 0 0;
  font-size: 13px;
  color: #6b7690;
}
.donate-wait-board__foot a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.donate-wait-board__foot--live {
  margin-top: 10px;
  font-style: italic;
}
.donate-wait-board .donate-steps { margin-bottom: 8px; }
.donate-wait-board .btn-gold { width: 100%; margin-top: 8px; }
.donate-wait-soft {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f4f7fb;
  border: 1px solid #dbe3f0;
  color: #3a4458;
  font-size: 14.5px;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .donate-hero__inner--wait { align-items: stretch; }
  .donate-wait__amount { text-align: left; }
  .donate-wait-board__acts .btn { width: 100%; }
}
.donate-stk > p,
.donate-soon > p {
  margin: 0 0 14px;
  color: #4a5578;
  font-size: .95rem;
  line-height: 1.45;
}
.donate-stk label,
.donate-alt__card label { margin-top: 10px; }
.donate-stk .btn,
.donate-alt__card .btn { width: 100%; margin-top: 16px; }
.donate-alt { display: grid; gap: 14px; }

.donate-tiers { margin-top: 40px; }
.donate-tiers__head { margin-bottom: 16px; }
.donate-tiers__head h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  color: var(--navy-deep);
}
.donate-tiers__head p { margin: 0; color: #4a5578; max-width: 56ch; }
.donate-tiers__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .donate-hero__inner,
  .donate-give__grid,
  .donate-contact { grid-template-columns: 1fr; }
  .donate-paybill__facts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .donate-paybill,
  .donate-stk,
  .donate-soon,
  .donate-alt__card { padding-left: 16px; padding-right: 16px; }
  .donate-tiers__foot .btn { width: 100%; }
}
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body, .print-desk { background: #fff; padding: 0; }
  .print-stage { background: transparent; box-shadow: none; padding: 0; max-width: none; }
  .topbar, .masthead, .nav, footer, .no-print, .print-toolbar { display: none !important; }
  .portal-side, .portal-topbar, .portal-tabbar { display: none !important; }
  .portal-shell { display: block !important; min-height: 0 !important; background: #fff !important; }
  .portal-main { padding: 0 !important; margin: 0 !important; }
  .id-sheet { gap: 0; justify-items: start; width: 85.60mm; }
  .id-card {
    width: 85.60mm !important;
    height: 53.98mm !important;
    max-width: none !important;
    box-shadow: none;
    page-break-inside: avoid;
    border-radius: 0;
  }
  .id-print, .card-desk--id1 { margin: 0; padding: 0; }
  .cert { box-shadow: none; page-break-inside: avoid; zoom: 1; }
  @page { size: A4 landscape; margin: 8mm; }
}
.official {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #c5c5c5;
  padding: 28px 32px 36px;
  font-family: "Times New Roman", Times, serif;
  color: var(--navy);
}
.official .pp-top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; }
.official h1 {
  text-align: center; text-transform: uppercase; font-size: 1.35rem;
  letter-spacing: .04em; margin: 10px 0 18px; color: var(--navy);
}
.official h2 {
  font-size: 1.05rem; margin: 22px 0 10px; border-bottom: 1px solid var(--navy); padding-bottom: 4px; color: var(--navy);
}
.official .intro { font-size: 15px; margin: 0 0 16px; }
.official .line {
  display: grid; grid-template-columns: minmax(160px, 280px) 1fr; gap: 8px 12px;
  align-items: end; margin: 10px 0;
}
.official .line label { margin: 0; font-size: 15px; font-weight: 600; }
.official textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px dotted var(--navy);
  min-height: 8em;
}
.official .choices { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 8px 0 14px; }
.official .choices label { font-weight: 500; display: flex; gap: 6px; align-items: center; margin: 0; }
.official .choices input { width: auto; }
.official .note { font-size: 13px; font-style: italic; margin-top: 18px; }
.official .banner {
  background: #fff8d6; border: 1px solid var(--yellow); padding: 10px 12px; margin-bottom: 16px;
  font-family: "Open Sans", sans-serif; font-size: 14px;
}
.seat-block { border: 1px solid #ddd; padding: 10px 12px; margin: 8px 0; }
.seat-block label { font-weight: 600; }
@media (max-width: 700px) {
  .official .line { grid-template-columns: 1fr; }
}
.wizard {
  background: #eef0f7;
  padding: 28px 0 72px;
  min-height: 70vh;
}
.wizard-wrap { max-width: 760px; }
.wizard-back {
  display: inline-block;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 22px;
}
.wizard-back:hover { color: var(--red); }
.wizard-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
}
.stepper {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  padding: 0;
  margin: 0 8px 8px;
}
.stepper > li { flex: 0 0 auto; text-align: center; width: 7.5rem; }
.stepper-line {
  flex: 1 1 auto !important;
  width: auto !important;
  height: 3px;
  background: #d8dbe3;
  margin: 18px 4px 0;
  padding: 0;
}
.stepper-line.is-done { background: var(--red); }
.stepper-num {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #eceff4;
  color: #9aa3b2;
  font-weight: 800;
}
.stepper .is-done .stepper-num {
  background: var(--navy);
  color: #fff;
}
.stepper .is-active .stepper-num {
  background: var(--red);
  color: #fff;
  outline: 3px solid rgba(233, 39, 44, .22);
  outline-offset: 2px;
}
.stepper-label {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9aa3b2;
}
.stepper .is-active .stepper-label { color: var(--navy); }
.stepper .is-done .stepper-label { color: var(--navy); }
.wizard-card {
  background-color: #fff;
  background-image: linear-gradient(90deg, var(--yellow) 0 calc(14% - 1.5px), #fff calc(14% - 1.5px) calc(14% + 1.5px), var(--red) calc(14% + 1.5px) calc(72% - 1.5px), #fff calc(72% - 1.5px) calc(72% + 1.5px), var(--navy) calc(72% + 1.5px) 100%);
  background-repeat: no-repeat;
  background-size: 100% 7px;
  background-position: top;
  border: 1px solid #d0d5e8;
  border-radius: 14px;
  padding: 32px 36px 36px;
  margin-top: 28px;
  box-shadow: 0 14px 36px rgba(47, 61, 120, .07), inset 4px 0 0 var(--red);
}
.wizard-card--wide { padding: 32px 36px 40px; }
.wizard-card h1 { margin: 0 0 8px; color: var(--navy); font-size: 1.85rem; }
.wizard-card h1::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin-top: 12px;
  border-radius: 99px;
  background: var(--red);
}
.wizard-lede { color: var(--muted); margin: 0 0 18px; }
.wizard-sub {
  font-size: 1.08rem;
  color: var(--navy-deep);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8ecf5;
  letter-spacing: -.01em;
}
.wizard-sub--tight { margin-top: 0; }

.wizard-panel {
  margin: 22px 0 0;
  padding: 0 0 4px;
  border: 1px solid #d8deee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(47, 61, 120, .05);
  overflow: hidden;
}
.wizard-panel > .field-kicker,
.wizard-panel > .field-row,
.wizard-panel > .geo-cascade,
.wizard-panel > .seat-tiles,
.wizard-panel > .choice-pills,
.wizard-panel > .note,
.wizard-panel > .declare-card,
.wizard-panel > .aspirant-land,
.wizard-panel > input,
.wizard-panel > label.field-kicker,
.wizard-panel > .signoff-grid,
.wizard-panel > .signoff-password {
  margin-left: 18px;
  margin-right: 18px;
}
.wizard-panel > input,
.wizard-panel > .field-row,
.wizard-panel > .geo-cascade,
.wizard-panel > .seat-tiles,
.wizard-panel > .choice-pills,
.wizard-panel > .declare-card,
.wizard-panel > .aspirant-land,
.wizard-panel > .signoff-grid,
.wizard-panel > .signoff-password,
.wizard-panel > .note {
  margin-bottom: 14px;
}
.wizard-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #f7f8fc 0%, #eef1f8 100%);
  border-bottom: 1px solid #e2e7f2;
}
.wizard-panel__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7a8398;
}
.wizard-panel__title {
  margin: 0;
  font-size: 1.15rem;
  color: var(--navy-deep);
  letter-spacing: -.015em;
}
.wizard-panel__badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  background: #e8ecf8;
  border: 1px solid #d0d8ef;
  border-radius: 99px;
  padding: 6px 10px;
}
.wizard-panel--sign {
  background: linear-gradient(180deg, #fff 0%, #f8f9fd 100%);
}

.declare-stack { display: grid; gap: 12px; padding: 16px 18px 18px; }
.declare-card {
  border: 1px solid #e1e6f2;
  border-radius: 14px;
  padding: 16px 16px 14px;
  background: #fbfcfe;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.declare-card:hover {
  border-color: #c9d2ea;
  box-shadow: 0 8px 20px rgba(47, 61, 120, .06);
}
.declare-card--soft {
  margin: 0 18px 14px;
  background: #fff;
}
.declare-card__top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}
.declare-card__num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  background: var(--navy);
}
.declare-card__q {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.4;
}
.declare-card__q span { color: var(--red); }
.declare-card__follow {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #d7dde9;
}
.declare-card__note {
  margin: 0 0 12px;
  font-size: 13px;
  color: #4d5670;
  line-height: 1.5;
  background: #f0f3fa;
  border-left: 3px solid var(--yellow);
  border-radius: 0 10px 10px 0;
  padding: 10px 12px;
}
.declare-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-weight: 600;
  color: var(--navy-deep);
  cursor: pointer;
}
.declare-check input { width: auto; margin-top: 3px; accent-color: var(--navy); }
.declare-check--strong {
  padding: 12px 14px;
  border: 1px solid #d5dced;
  border-radius: 12px;
  background: #fff;
}

.choice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.choice-pills--wrap { gap: 8px; }
.choice-pill {
  margin: 0;
  cursor: pointer;
  position: relative;
}
.choice-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid #d0d7ea;
  background: #fff;
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 700;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.choice-pill:hover span {
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(64, 82, 160, .1);
}
.choice-pill:has(input:checked) span,
.choice-pill input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(47, 61, 120, .22);
}
.choice-pill:has(input:focus-visible) span {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.wizard-intro { margin: 0 0 6px; }
.wizard-intro .wizard-lede { margin-bottom: 4px; }

.member-pass {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #b7e0c5;
  background:
    linear-gradient(135deg, #eefaf2 0%, #e6f6eb 55%, #fff 140%);
  box-shadow: 0 10px 24px rgba(20, 92, 50, .06);
}
.member-pass__mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
  background: linear-gradient(145deg, #1f7a45, #145c32);
}
.member-pass__eyebrow {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1f7a45;
}
.member-pass__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #145c32;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.member-pass__meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: #2f6b45;
  line-height: 1.4;
}

.wizard-card--wide .wizard-panel {
  margin-top: 16px;
}
.wizard-card--wide input,
.wizard-card--wide select,
.wizard-card--wide textarea {
  border-radius: 10px;
  border-color: #d5dced;
  min-height: 46px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.wizard-card--wide input:focus,
.wizard-card--wide select:focus,
.wizard-card--wide textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(64, 82, 160, .14);
}
.wizard-card--wide .field-kicker { margin-top: 14px; margin-bottom: 6px; }
.wizard-card--wide .geo-cascade {
  padding: 12px;
  border-radius: 12px;
  background: #f4f6fb;
  border: 1px solid #e4e9f4;
  gap: 14px;
}
.wizard-card--wide .geo-cascade .field-kicker { margin-top: 0; }

.seat-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.seat-tiles .doc-tile {
  margin: 0;
  align-items: flex-start;
  min-height: 72px;
  border-radius: 12px;
  border-width: 1.5px;
  background: #fff;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.seat-tiles .doc-tile:hover {
  border-color: #aeb9d8;
  box-shadow: 0 8px 18px rgba(47, 61, 120, .08);
}
.seat-tiles .doc-tile:has(input:checked) {
  border-color: var(--navy);
  background: #eef1fb;
  box-shadow: 0 10px 22px rgba(47, 61, 120, .12);
}
.seat-tiles .doc-tile span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.seat-tiles .doc-tile strong { font-size: 14px; color: var(--navy-deep); line-height: 1.25; }
.seat-tiles .doc-tile small { font-size: 12px; font-weight: 700; color: #6b7388; }

.photo-slot { margin: 8px 18px 14px; }
.paper-slot { margin: 0 0 8px; }
.paper-slot .photo-slot__box { min-height: 72px; }
.photo-slot__box {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 14px 16px;
  border: 1.5px dashed #c5cde3;
  border-radius: 14px;
  background: #f7f8fc;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.photo-slot__box:hover {
  border-color: var(--navy);
  background: #eef1fb;
}
.photo-slot__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #d5dced;
  color: var(--navy);
  font-size: 18px;
}
.photo-slot__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.photo-slot__text strong {
  font-size: 14px;
  color: var(--navy-deep);
}
.photo-slot__text small {
  font-size: 12px;
  font-weight: 600;
  color: #6b7388;
  line-height: 1.35;
}
.photo-slot__box input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.photo-slot__status[hidden] { display: none !important; }
.photo-slot__status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eefaf2;
  color: #145c32;
  font-size: 13px;
  font-weight: 700;
}
.photo-slot__status button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--navy);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
@media (max-width: 720px) {
  .seat-tiles { grid-template-columns: 1fr; }
  .member-pass { grid-template-columns: 1fr; }
}

.signoff-grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 4px;
}
.signoff-date input[type="date"] {
  font-weight: 700;
  color: var(--navy-deep);
  min-height: 48px;
}
.signoff-truth p {
  margin: 8px 0 12px;
  color: #4d5670;
  font-size: 14px;
}
.signoff-password {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e8ecf5;
}
@media (max-width: 720px) {
  .signoff-grid { grid-template-columns: 1fr; }
  .declare-card__top { grid-template-columns: 1fr; }
  .declare-card__num { width: 30px; height: 30px; }
}
.wizard-card input.is-readonly,
.wizard-card input[readonly] {
  background: #f3f5f9;
  color: #3a4466;
  cursor: default;
}
.wizard-kicker--navy {
  background: var(--navy);
  color: #fff;
}
.existing-member {
  position: relative;
  overflow: hidden;
  padding-top: 32px;
  border: 1px solid #d7deea;
  box-shadow: 0 14px 36px rgba(47, 61, 120, .08);
}
.existing-member > .brand-tricolour,
.existing-member > .brand-tricolour--bold {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  margin: 0;
}
.brand-tricolour--bold span { flex: 1 1 0; }
.wizard-kicker--party {
  background: var(--flag-stripe);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .18);
  border: 0;
  padding: 6px 14px;
}
.existing-member__title {
  color: var(--navy-deep);
  position: relative;
  padding-bottom: 10px;
}
.existing-member__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 10px;
  border-radius: 99px;
  background: var(--flag-stripe);
}
.existing-member__congrats {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #3a4560;
}
.existing-member__congrats strong { color: var(--navy-deep); }
.existing-member__safe-id {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 16px;
}
.existing-member__safe-chip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 2px solid transparent;
  min-height: 92px;
}
.existing-member__safe-chip--gold {
  background: linear-gradient(145deg, #fff8e6 0%, #ffe9a8 55%, #e5af25 140%);
  border-color: var(--yellow);
  color: var(--navy-deep);
  box-shadow: inset 0 -3px 0 rgba(233, 39, 44, .35);
}
.existing-member__safe-chip--red {
  background: linear-gradient(160deg, #c81e22 0%, var(--red) 45%, #ff5a5f 100%);
  border-color: #b0181c;
  color: #fff;
  box-shadow: inset 0 -3px 0 rgba(47, 61, 120, .45);
}
.existing-member__safe-chip span {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 800;
  opacity: .92;
}
.existing-member__safe-chip--gold strong {
  font-size: clamp(1.25rem, 4.5vw, 1.55rem);
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  color: var(--navy-deep);
  word-break: break-all;
}
.existing-member__safe-chip--red strong {
  font-size: clamp(1.15rem, 4vw, 1.35rem);
  letter-spacing: .04em;
}
.existing-member__aside {
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff7f7 0%, #f7f9ff 100%);
  border: 1px solid #f0c2c4;
  border-left: 5px solid var(--red);
  color: #3a4560;
  line-height: 1.45;
}
.existing-member__aside strong { color: var(--navy-deep); }
.existing-member__acts {
  display: grid;
  gap: 12px;
  margin: 8px 0 14px;
}
.existing-member__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 72px;
  padding: 14px 16px 14px 14px;
  text-decoration: none;
  color: #fff;
  text-align: left;
  border-radius: 14px;
  border: 2px solid var(--navy-deep);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 62%, #4a5db0 100%);
  box-shadow:
    0 8px 22px rgba(47, 61, 120, .28),
    inset 0 -3px 0 rgba(0, 0, 0, .12);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.existing-member__cta:hover,
.existing-member__cta:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  background: linear-gradient(135deg, #273566 0%, var(--navy-deep) 55%, var(--navy) 100%);
  box-shadow:
    0 12px 28px rgba(47, 61, 120, .34),
    inset 0 -3px 0 rgba(0, 0, 0, .14);
  outline: none;
}
.existing-member__cta:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(47, 61, 120, .22);
}
.existing-member__cta-mark {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-deep);
  background: var(--yellow);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--red);
}
.existing-member__cta-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.existing-member__cta-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .01em;
  line-height: 1.25;
}
.existing-member__cta-note {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, .88);
}
@media (max-width: 640px) {
  .existing-member__safe-id { grid-template-columns: 1fr; }
  .existing-member__cta { min-height: 84px; align-items: flex-start; }
  .existing-member__congrats { font-size: 1rem; }
}
.id-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--navy-deep);
  border: 1px solid #ead0d2;
  padding: 16px 18px;
  border-radius: 12px;
  margin: 0 0 22px;
  border-bottom: 4px solid var(--red);
}
.id-chip span {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 800;
}
.id-chip strong { font-size: 1.6rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.orpp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 0 0 18px;
}
.orpp-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 14px 14px 16px 14px;
  border: 2px solid var(--navy);
  border-radius: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  background: #fff;
  min-height: 92px;
}
.orpp-tile .orpp-num {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  margin-bottom: 6px;
}
.orpp-tile small { font-weight: 600; font-size: 12px; color: var(--muted); }
.orpp-tile--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--red);
}
.orpp-tile--primary small { color: #d5dcf0; }
.orpp-tile--primary .orpp-num { background: var(--red); color: #fff; }
.orpp-tile--ussd {
  background: #fff7f6;
  border-color: var(--red);
  color: var(--navy-deep);
}
.orpp-tile--ussd .orpp-num { background: var(--red); color: #fff; }
.callout {
  padding: 12px 14px;
  border-radius: 8px;
  margin: 0 0 18px;
  font-size: 14px;
}
.callout--warn {
  background: #fff5f5;
  border-left: 4px solid var(--red);
}
.callout--warn a { color: var(--red); font-weight: 800; }
.check-tile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 8px;
  margin: 10px 0 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}
.check-tile input { width: auto; margin-top: 3px; accent-color: var(--navy); }
.check-tile:has(input:checked) {
  border-color: var(--navy);
  background: #eef1fb;
}
.field-kicker {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
  margin: 18px 0 8px;
  color: var(--navy-deep);
}
.field-kicker span { color: var(--red); }
.doc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.doc-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d5d9e6;
  border-radius: 10px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.doc-tile--block { margin: 8px 0; }
.doc-tile input { width: auto; margin: 0; accent-color: var(--red); }
.doc-tile:hover { border-color: var(--navy); }
.doc-tile:has(input:checked) {
  border-color: var(--red);
  background: #fff7f6;
  box-shadow: inset 4px 0 0 var(--red);
}
.wizard-submit { width: 100%; margin-top: 24px; padding: 14px 18px; font-size: 15px; }
.wizard .wizard-submit.btn-gold {
  background: var(--red);
  color: #fff;
  box-shadow: 0 3px 0 #b51d22;
}
.wizard .wizard-submit.btn-gold:hover {
  filter: brightness(1.05);
}
.wizard .wizard-submit.btn-gold:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 #b51d22;
}
.wizard-card input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):not([type="file"]):focus,
.wizard-card select:focus,
.wizard-card textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(233, 39, 44, .16);
}
.wizard .choices { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.wizard .choices input { width: auto; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review { margin: 0 0 22px; }
.review > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.review dt { color: var(--muted); font-weight: 700; font-size: 13px; }
.review dd { margin: 0; font-weight: 600; color: var(--navy); }

.confirm-dossier {
  margin: 8px 0 28px;
  border: 1px solid #d5dced;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
  box-shadow: 0 18px 40px rgba(47, 61, 120, .08);
}
.confirm-dossier__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 22px 22px 20px;
  background:
    linear-gradient(135deg, rgba(64, 82, 160, .96) 0%, rgba(47, 61, 120, .98) 55%, rgba(233, 39, 44, .88) 130%);
  color: #fff;
  position: relative;
}
.confirm-dossier__hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow) 0 33.333%, var(--red) 33.333% 66.666%, #fff 66.666%);
}
.confirm-dossier__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 8px;
}
.confirm-dossier__name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 700;
  color: #fff;
}
.confirm-dossier__meta {
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .86);
}
.confirm-dossier__dot { opacity: .55; }
.confirm-dossier__fee {
  min-width: 148px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
  text-align: right;
}
.confirm-dossier__fee span,
.confirm-dossier__stat span,
.confirm-dossier__grid span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.confirm-dossier__fee b {
  display: block;
  margin-top: 4px;
  font-size: 1.45rem;
  letter-spacing: -.03em;
  color: var(--yellow);
  line-height: 1.1;
}
.confirm-dossier__fee small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, .78);
}
.confirm-dossier__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid #e2e7f2;
  background: #fff;
}
.confirm-dossier__stat {
  padding: 16px 18px;
  border-right: 1px solid #e8ecf5;
}
.confirm-dossier__stat:last-child { border-right: 0; }
.confirm-dossier__stat span {
  color: #7a8398;
}
.confirm-dossier__stat b {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  color: var(--navy-deep);
  letter-spacing: -.015em;
  line-height: 1.25;
}
.confirm-dossier__stat b.is-ok { color: #1f7a45; }
.confirm-dossier__stat b.is-muted { color: #7a8398; font-weight: 700; }
.confirm-dossier__stat small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #6b7388;
  line-height: 1.35;
}
.confirm-dossier__stat--seat b { color: var(--red); }
.confirm-dossier__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 18px 18px;
  background: #f4f6fb;
}
.confirm-dossier__grid > div {
  min-width: 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e4e9f4;
  border-radius: 12px;
}
.confirm-dossier__grid span { color: #7a8398; }
.confirm-dossier__grid b {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-deep);
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.confirm-dossier__span { grid-column: 1 / -1; }
@media (max-width: 820px) {
  .confirm-dossier__hero { grid-template-columns: 1fr; }
  .confirm-dossier__fee { text-align: left; width: fit-content; }
  .confirm-dossier__stats,
  .confirm-dossier__grid { grid-template-columns: 1fr; }
  .confirm-dossier__stat { border-right: 0; border-bottom: 1px solid #e8ecf5; }
  .confirm-dossier__stat:last-child { border-bottom: 0; }
}

.wizard .note { font-size: 13px; color: var(--muted); margin-top: 16px; }
.wizard .intro { margin: 18px 0 12px; }
.pipe { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.pipe-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.pipe-track { height: 10px; background: #e8edf5; border-radius: 99px; margin: 10px 0 8px; overflow: hidden; }
.pipe-fill { display: block; height: 100%; background: var(--navy); }
.pipe-fill.is-bad { background: var(--red); }
.orpp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.resign-steps { padding-left: 20px; }
.resign-steps li { margin: 8px 0; }
.elig-checks {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.elig-checks > li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 12px 14px;
  background: #f6f7fb;
  border: 1px solid #e4e7f0;
  border-radius: 10px;
}
.elig-checks strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 2px;
}
.elig-checks p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.elig-checks-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  margin-top: 1px;
}
.resign-card .wizard-lede { max-width: 52ch; }
.resign-sub {
  margin: 28px 0 14px;
  padding-top: 22px;
  border-top: 1px solid #e4e7f0;
  font-size: 1rem;
  letter-spacing: .02em;
}
.resign-rail {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.resign-rail > li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 14px 16px;
  background: #f6f7fb;
  border: 1px solid #e4e7f0;
  border-radius: 10px;
}
.resign-rail strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 2px;
}
.resign-rail p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.resign-rail-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}
.resign-rail > li:nth-child(1) .resign-rail-num {
  background: var(--red);
  color: #fff;
}
.resign-orpp-grid { margin: 0 0 8px; }
.resign-guide {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}
.resign-guide a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
}
.resign-guide a:hover { color: var(--red); }
.resign-form { margin-top: 8px; }
.resign-channels {
  display: grid;
  gap: 8px;
  margin: 0 0 4px;
}
.resign-channels .doc-tile--block {
  margin: 0;
  background: #fff;
}
.resign-recheck {
  margin-top: 28px;
  padding: 20px 18px 8px;
  background: #fff;
  border: 1px solid #ead0d2;
  border-radius: 12px;
  box-shadow: inset 4px 0 0 var(--red);
}
.resign-recheck-lede {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}
.resign-recheck .wizard-submit { margin-top: 14px; }
@media (max-width: 720px) {
  .resign-orpp-grid { grid-template-columns: 1fr; }
}
.portal-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 28px;
  background: var(--navy);
  border-bottom: 1px solid rgba(229, 175, 37, .35);
}
.portal-bar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  min-width: 0;
}
.portal-bar__brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 3px;
}
.portal-bar__brand span { display: grid; min-width: 0; line-height: 1.15; }
.portal-bar__brand strong { font-size: 15px; letter-spacing: .02em; }
.portal-bar__brand small { color: var(--yellow); font-size: 11px; font-weight: 700; }
.portal-bar__acts {
  display: flex;
  align-items: center;
  gap: 8px;
}
.portal-bar__acts a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
}
.portal-bar__acts a:last-child {
  background: var(--yellow);
  color: var(--navy-deep);
  border-color: var(--yellow);
}
body.portal-gate {
  background: #4a0c10;
}
body.portal-gate .topbar,
body.portal-gate .masthead,
body.portal-gate .chrome-bar,
body.portal-gate .nav,
body.portal-gate footer,
body.portal-gate .tsp-lc,
body.portal-gate .apply-topbar { display: none !important; }
body.portal-gate .portal-bar { display: flex; }
body.portal-gate--command {
  background: #27407a;
}
body.portal-gate--command .portal-bar {
  background: var(--red);
  border-bottom: 1px solid rgba(229, 175, 37, .35);
}
.gate {
  background:
    linear-gradient(90deg,
      #3a090c 0%,
      #5c0e12 18%,
      #8a1419 42%,
      #c41e24 68%,
      var(--red) 86%,
      #ef5a5e 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 66px);
}
.gate--portal { display: flex; align-items: center; }
.gate--command {
  background: linear-gradient(90deg, #1a2348 0%, #24315f 28%, #2f3d78 58%, var(--navy) 82%, #5a6bb8 100%);
}
.gate--command .gate-brand__mark {
  box-shadow:
    0 12px 28px rgba(39, 64, 122, .4),
    0 0 0 3px #fff,
    0 0 0 6px var(--red);
}
.gate--command .gate-form {
  box-shadow:
    0 28px 64px rgba(39, 64, 122, .35),
    0 0 0 1px rgba(233, 39, 44, .28);
}
.gate > .brand-tricolour { height: 6px; }
.gate > .brand-tricolour span:nth-child(2) { flex: 1.35; }
.gate-shell,
.gate-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0 48px;
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  position: relative;
}
.gate-shell--solo {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
}
.gate-form__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: 6px;
  margin: 0 0 14px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--red);
}
.gate--enrol .gate-grid {
  grid-template-columns: 0.55fr 1.15fr;
  align-items: start;
}
.gate--enrol .gate-panel {
  min-height: 0;
  padding-top: 8px;
}
@media (max-width: 900px) {
  .gate-shell,
  .gate--enrol .gate-grid { grid-template-columns: 1fr; gap: 22px; padding: 24px 0 36px; }
  .portal-bar { padding: 10px 16px; }
  .portal-bar__brand strong { font-size: 13px; }
  .gate-brand h1,
  .gate-panel h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); max-width: none; }
  .gate-form .wizard-submit { width: 100%; min-height: 52px; }
  .gate-form input:not([type="hidden"]) { min-height: 48px; font-size: 16px; }
}
.gate-brand,
.gate-panel {
  color: #fff;
  position: relative;
  padding: 8px 8px 8px 0;
}
.gate-brand__mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  padding: 8px;
  margin: 0 0 22px;
  box-shadow: 0 12px 28px rgba(122, 16, 22, .35);
}
.gate-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.gate-kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 99px;
  background: var(--yellow);
}
.gate-brand h1,
.gate-panel h1 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  font-weight: 700;
  font-style: italic;
  line-height: .96;
  color: #fff;
  letter-spacing: -.035em;
  max-width: 13ch;
  text-wrap: balance;
}
.gate-lede { color: #fff4e8; max-width: 42ch; margin: 0 0 22px; font-size: 1.02rem; line-height: 1.55; }
.gate--command .gate-lede,
.gate--command .gate-points,
.gate--command .gate-meta { display: none; }
.gate-points,
.gate-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.gate-points li,
.gate-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #e8eef7;
  font-weight: 600;
  font-size: .95rem;
}
.gate-points li::before,
.gate-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--yellow);
}
.gate-points li:last-child,
.gate-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.gate-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 600;
}
.gate-meta a { color: #fff; text-decoration: none; }
.gate-meta a:hover { color: var(--yellow); }
.gate-mark { display: none; }
.login-modes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 0 0 18px;
}
@media (max-width: 640px) {
  .login-modes { grid-template-columns: 1fr; }
}
.paper-previews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 12px 0 0;
}
.paper-preview {
  margin: 0;
  border: 1px solid #dfe5f2;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.paper-preview figcaption {
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #445;
  border-bottom: 1px solid #e6eaf3;
}
.paper-preview img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: #f4f6fb;
}
.paper-preview iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  background: #f4f6fb;
}
.paper-preview p {
  margin: 8px 10px 10px;
  font-size: 13px;
}
.login-mode {
  display: block;
  text-align: center;
  padding: 10px 12px;
  border: 1px solid #d0d5e8;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  background: #f6f7fb;
}
.login-mode.is-active {
  border-color: var(--navy-deep);
  background: var(--navy-deep);
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--red);
}
.gate-form .is-hidden { display: none; }
.gate-form {
  background: #fff;
  background-image: var(--flag-stripe);
  background-repeat: no-repeat;
  background-size: 100% 6px;
  background-position: top;
  border-radius: 16px;
  padding: 36px 32px 28px;
  align-self: center;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow:
    0 28px 64px rgba(8, 12, 32, .4),
    0 0 0 1px rgba(229, 175, 37, .18);
}
.gate--portal:not(.gate--command) .gate-form {
  color: #eef2ff;
  background-color: var(--navy-deep);
  background-image: var(--flag-stripe), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 52%, #24315f 100%);
  background-repeat: no-repeat;
  background-size: 100% 6px, 100% 100%;
  background-position: top, center;
  border: 1px solid rgba(229, 175, 37, .32);
  box-shadow:
    0 28px 64px rgba(18, 10, 14, .45),
    0 0 0 1px rgba(255, 255, 255, .08);
}
.gate--portal:not(.gate--command) .gate-form h2 { color: #fff; }
.gate--portal:not(.gate--command) .gate-form-lede,
.gate--portal:not(.gate--command) .gate-form .note,
.gate--portal:not(.gate--command) .gate-foot { color: rgba(238, 242, 255, .78); }
.gate--portal:not(.gate--command) .gate-form label { color: #f4d36a; }
.gate--portal:not(.gate--command) .gate-foot a { color: #f4d36a; }
.gate--portal:not(.gate--command) .gate-form input:not([type="hidden"]) {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}
.gate--portal:not(.gate--command) .gate-form input::placeholder { color: rgba(238, 242, 255, .45); }
.gate--portal:not(.gate--command) .gate-form input:focus {
  background: rgba(255, 255, 255, .16);
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(229, 175, 37, .22);
}
.gate--portal:not(.gate--command) .otp-resend { border-top-color: rgba(255, 255, 255, .14); }
.gate--portal:not(.gate--command) .otp-resend .btn-line {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
}
.gate-form__head { margin: 0 0 8px; }
.gate-form .wizard-kicker {
  background: var(--yellow);
  color: var(--navy-deep);
  margin: 0 0 8px;
  padding: 5px 10px;
  letter-spacing: .14em;
}
.gate-form h2 {
  margin: 0 0 8px;
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.15;
}
.gate-form-lede { color: var(--muted); margin: 0 0 18px; line-height: 1.45; }
.gate-fields { display: grid; gap: 4px; }
.gate-field { display: grid; gap: 6px; }
.gate-password {
  position: relative;
}
.gate-password input {
  padding-right: 72px;
}
.gate-password__toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--navy-deep);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 8px;
}
.gate-password__toggle:hover { color: var(--navy); }
.gate--portal:not(.gate--command) .gate-password__toggle { color: #f4d36a; }
.gate-form label {
  color: var(--navy-deep);
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.gate-form input:not([type="hidden"]) {
  width: 100%;
  border: 1px solid #cfd6e8;
  border-radius: 10px;
  padding: 14px 14px;
  background: #f7f8fc;
  font-size: 16px;
  color: var(--navy-deep);
}
.gate-form input:focus {
  outline: 0;
  background: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(47, 61, 120, .16);
}
.gate-form .note {
  margin: 0 0 8px;
  color: #4a5578;
  font-size: 14px;
  line-height: 1.45;
}
.gate-form .wizard-submit {
  margin-top: 18px;
  min-height: 52px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(47, 61, 120, .18);
}
.gate-form .wizard-submit:hover {
  filter: brightness(1.03);
}
.gate-foot { margin: 16px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.gate-foot a { color: var(--navy-deep); font-weight: 800; }
.otp-resend {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e4e9f4;
}
.otp-resend .btn {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}

/* Homepage — glowing navy stage with two join cards first */
.stage {
  background:
    radial-gradient(ellipse 70% 55% at 18% 12%, rgba(99, 178, 245, .28), transparent 58%),
    radial-gradient(ellipse 55% 50% at 88% 8%, rgba(229, 175, 37, .22), transparent 52%),
    radial-gradient(ellipse 60% 45% at 72% 88%, rgba(233, 39, 44, .16), transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(64, 82, 160, .45), transparent 70%),
    linear-gradient(160deg, #1c2750 0%, #2f3d78 42%, #4052a0 100%);
  color: #fff;
  padding: 0 0 clamp(40px, 8vh, 88px);
  position: relative;
  overflow: hidden;
}
.stage::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 40%, rgba(99, 178, 245, .18), transparent 28%),
    radial-gradient(circle at 70% 30%, rgba(229, 175, 37, .14), transparent 26%);
  filter: blur(28px);
  animation: stageGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 52px,
      rgba(255, 255, 255, .02) 52px,
      rgba(255, 255, 255, .02) 53px
    );
  pointer-events: none;
}
@keyframes stageGlow {
  from { transform: translate3d(-2%, -1%, 0) scale(1); opacity: .85; }
  to { transform: translate3d(3%, 2%, 0) scale(1.06); opacity: 1; }
}
.stage .brand-tricolour { height: 6px; display: flex; position: relative; z-index: 1; }
.stage--home {
  min-height: calc(100dvh - 260px);
  display: flex;
  flex-direction: column;
}
.stage-join {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 5vh, 48px) 0 8px;
}
.stage--home .stage-join {
  flex: 1;
  display: grid;
  align-content: center;
  width: 100%;
  padding: clamp(36px, 7vh, 72px) 0 clamp(48px, 8vh, 88px);
}
.stage--home .join-duo {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
}
.join-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.join-path {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 22px;
  padding: 28px 26px 24px;
  min-height: 100%;
  background: rgba(255, 255, 255, .97);
  color: var(--navy);
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow:
    0 18px 40px rgba(12, 18, 40, .28),
    0 0 0 1px rgba(255, 255, 255, .1);
  transition:
    transform .32s cubic-bezier(.22, 1, .36, 1),
    box-shadow .32s ease,
    border-color .32s ease,
    filter .32s ease;
  position: relative;
  overflow: hidden;
  animation: cardIn .65s ease both;
  will-change: transform;
}
.join-path--aspirant { animation-delay: .08s; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(22px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.join-path::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  transition: height .28s ease, filter .28s ease;
}
.join-path::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 55%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .55), transparent 72%);
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.join-path:hover {
  transform: translateY(-6px);
  filter: saturate(1.05);
  z-index: 3;
}
.join-path:hover::before {
  height: 8px;
  filter: brightness(1.08);
}
.join-path:hover::after {
  opacity: 1;
  transform: translateY(12%);
}
.join-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
}
.join-path h2 {
  margin: 4px 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  line-height: 1.08;
  color: var(--navy-deep);
  transition: transform .28s ease, letter-spacing .28s ease;
}
.join-path:hover h2 {
  transform: translateX(2px);
  letter-spacing: -.01em;
}
.join-why {
  margin: 0 0 16px;
  font-size: .97rem;
  line-height: 1.5;
  color: var(--muted);
  transition: color .25s ease;
}
.join-path:hover .join-why { color: #4a5478; }
.join-path ul:not(.join-fees) {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex: 1;
}
.join-path ul:not(.join-fees) li {
  padding: 6px 0 6px 18px;
  position: relative;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-deep);
  transition: transform .22s ease, padding-left .22s ease;
}
.join-path ul:not(.join-fees) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: transform .22s ease, box-shadow .22s ease;
}
.join-path:hover ul:not(.join-fees) li { padding-left: 22px; }
.join-path:hover ul:not(.join-fees) li::before {
  transform: scale(1.35);
  box-shadow: 0 0 0 3px rgba(229, 175, 37, .18);
}
.join-fees {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fafbfe;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.join-path:hover .join-fees {
  border-color: rgba(233, 39, 44, .28);
  box-shadow: 0 8px 20px rgba(47, 61, 120, .08);
  transform: translateY(-2px);
}
.join-fees li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 14px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  transition: background .2s ease;
}
.join-fees li:last-child { border-bottom: 0; }
.join-fees li::before { display: none !important; }
.join-path:hover .join-fees li:hover { background: rgba(233, 39, 44, .04); }
.join-fees span { font-weight: 600; color: var(--muted); }
.join-fees b {
  font-weight: 800;
  color: var(--navy-deep);
  font-variant-numeric: tabular-nums;
  transition: color .2s ease;
}
.join-path:hover .join-fees b { color: var(--red); }
.join-badge {
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease;
}
.join-path:hover .join-badge {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 14px rgba(233, 39, 44, .28);
}
.join-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 800;
  font-size: .98rem;
  letter-spacing: .02em;
  transition:
    transform .25s cubic-bezier(.22, 1, .36, 1),
    background .25s ease,
    box-shadow .25s ease,
    letter-spacing .25s ease;
}
.join-path:hover .join-cta {
  transform: translateY(-3px) scale(1.02);
  letter-spacing: .04em;
  box-shadow: 0 14px 28px rgba(20, 28, 58, .28);
}
.join-guide {
  list-style: none;
  margin: 0 0 20px;
  padding: 14px 14px 12px;
  display: grid;
  gap: 10px;
  flex: 1;
  border-radius: 14px;
  background: rgba(229, 175, 37, .1);
  border: 1px solid rgba(229, 175, 37, .28);
}
.join-guide li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy-deep);
}
.join-guide li span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}
.join-path--member {
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 48%);
  box-shadow:
    0 18px 40px rgba(12, 18, 40, .28),
    inset 0 5px 0 var(--yellow);
}
.join-path--member::before { background: linear-gradient(90deg, var(--yellow), #edc14a, var(--yellow)); background-size: 200% 100%; }
.join-path--member:hover::before { animation: barShine 1.2s linear infinite; }
@keyframes barShine {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}
.join-path--member .join-kicker { color: #8a6a12; }
.join-path--member ul:not(.join-fees) li::before { background: var(--yellow); }
.join-path--member .join-cta {
  background: var(--navy-deep);
  color: #fff;
}
.join-path--member:hover {
  border-color: rgba(229, 175, 37, .85);
  box-shadow:
    0 32px 64px rgba(12, 18, 40, .4),
    0 0 48px rgba(229, 175, 37, .35),
    0 0 0 1px rgba(229, 175, 37, .35),
    inset 0 5px 0 var(--yellow);
}
.join-path--member:hover .join-cta {
  background: linear-gradient(180deg, #364888, #24315f);
}
.join-path--member:hover ul:not(.join-fees) li::before {
  box-shadow: 0 0 0 3px rgba(229, 175, 37, .22);
}
.join-path--aspirant {
  color: #fff;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(229, 175, 37, .3), transparent 46%),
    linear-gradient(165deg, #d32228 0%, #b51b20 38%, #7a1016 100%);
  border-color: rgba(255, 255, 255, .16);
  box-shadow:
    0 22px 48px rgba(122, 16, 22, .4),
    0 0 0 1px rgba(229, 175, 37, .28),
    inset 0 5px 0 var(--yellow);
  transform: none;
}
.join-path--aspirant::before {
  background: var(--yellow);
  height: 6px;
}
.join-path--aspirant:hover::before { animation: barShine 1.2s linear infinite; }
.join-path--aspirant h2 { color: #fff; }
.join-path--aspirant .join-why { color: rgba(255, 248, 230, .92); }
.join-path--aspirant:hover .join-why { color: #fff6d8; }
.join-path--aspirant ul:not(.join-fees) li::before { background: var(--yellow); }
.join-path--aspirant .join-badge--fee {
  background: var(--yellow);
  color: var(--navy-deep);
  box-shadow: none;
}
.join-path--aspirant .join-fees {
  background: rgba(12, 18, 40, .22);
  border-color: rgba(255, 255, 255, .16);
}
.join-path--aspirant .join-fees span { color: rgba(255, 255, 255, .78); }
.join-path--aspirant .join-fees b { color: #f4d36a; }
.join-path--aspirant:hover .join-fees {
  border-color: rgba(229, 175, 37, .45);
  box-shadow: 0 8px 20px rgba(12, 18, 40, .22);
}
.join-path--aspirant:hover .join-fees li:hover { background: rgba(255, 255, 255, .08); }
.join-path--aspirant:hover .join-fees b { color: var(--yellow); }
.join-path--aspirant .join-cta {
  background: var(--yellow);
  color: var(--navy-deep);
  border: 0;
  box-shadow: 0 10px 22px rgba(12, 18, 40, .28);
}
.join-path--aspirant:hover {
  border-color: rgba(229, 175, 37, .7);
  box-shadow:
    0 28px 56px rgba(122, 16, 22, .45),
    0 0 0 1px rgba(229, 175, 37, .45),
    inset 0 5px 0 var(--yellow);
}
.join-path--aspirant:hover .join-cta {
  background: #f3c84a;
  color: var(--navy-deep);
}
.join-path--aspirant:hover .join-badge {
  box-shadow: 0 6px 14px rgba(12, 18, 40, .28);
}
.join-steps {
  margin: 0 0 14px;
  padding: 12px 14px 12px 1.35rem;
  list-style: decimal;
  border-radius: 12px;
  background: #f7f9ff;
  border: 1px solid #d7deea;
  border-left: 4px solid var(--red);
  color: #3a4560;
  display: grid;
  gap: 6px;
  font-size: 14px;
  line-height: 1.4;
}
.join-steps strong { color: var(--navy-deep); }
.join-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.join-proof p { margin: 0; }
.join-proof b {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 0 18px rgba(99, 178, 245, .35);
}
.join-proof span { color: #d7def0; font-size: 13px; }
.join-proof-login {
  font-size: 14px;
  color: #d5dcf0;
  text-align: right;
}
.join-proof-login a { color: var(--yellow); font-weight: 800; }

.stage-mark { display: none; }
.stage-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow);
}
.stage-tag {
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 700;
  color: #f0d27a;
  margin: 0 0 4px;
}
.stage-lede { max-width: 62ch; color: #e8eef8; margin: 0; font-size: .95rem; line-height: 1.4; }
.stage-hash { margin: 24px 0 0; font-size: 13px; color: #c5cde4; font-weight: 700; }
.join-repeat {
  background: var(--navy);
  color: #fff;
  padding: 40px 0;
}
.join-repeat-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: center;
}
.join-repeat h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
}
.join-repeat p { margin: 0; color: #d7def0; max-width: 48ch; }
.join-repeat-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.stage-proof {
  background: #4052a07a;
  border: 1px solid #e5af2566;
  border-radius: 20px;
  padding: 26px 24px 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 28px 60px #4052a055;
}
.stage-stat { margin: 0 0 16px; display: grid; gap: 4px; }
.stage-stat b {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--yellow);
  letter-spacing: -.04em;
}
.stage-stat span { color: #e4e9f6; font-size: 14px; }
.stage-fine { margin: 10px 0 0; font-size: 12px; color: #c5cde4; padding-top: 12px; border-top: 1px solid #ffffff22; }
.kpis--lift { margin-top: -36px; position: relative; z-index: 2; }
.home-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.home-kicker--light { color: var(--yellow); }
.band { padding: 72px 0; background: #fff; }
.band h2 { font-size: 1.8rem; margin: 0 0 8px; color: var(--navy); font-family: var(--serif); }
.band--navy { background: var(--navy-deep); color: #fff; }
.band--navy h2 { color: #fff; }
.band--navy .glass { background: #ffffff12; border: 1px solid #ffffff22; color: #eef2ff; border-radius: 12px; padding: 22px; }
.band--navy .glass h3 { color: var(--yellow); margin: 0 0 8px; }
.band--navy .glass p { margin: 0; color: #d5dcf0; }
.rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.rail-card {
  text-decoration: none;
  background: #f6f7fc;
  border-radius: 12px;
  padding: 20px 18px 18px;
  border: 1px solid var(--line);
  background-image: var(--flag-stripe);
  background-repeat: no-repeat;
  background-size: 100% 6px;
  background-position: top;
}
.rail-card span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--navy);
}
.rail-card h3 { margin: 8px 0 6px; color: var(--navy); font-size: 1.05rem; }
.rail-card p { margin: 0; color: var(--muted); font-size: 14px; }
.rail-card:hover { border-color: var(--navy); }
.home-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: start; }
.doctrine {
  background:
    radial-gradient(900px 340px at 0% 0%, #e5af2522, transparent 55%),
    #e8ebf4;
  padding: 80px 0;
}
.doctrine-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: stretch;
}
.doctrine h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  max-width: none;
  margin: 0 0 18px;
  color: var(--navy);
  text-wrap: balance;
}
.doctrine-copy {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  margin: 0 0 1.15em;
  max-width: none;
}
.doctrine-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.lesson-grid { display: grid; gap: 10px; margin: 22px 0 0; }
.lesson-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  border-left: 5px solid var(--yellow);
  box-shadow: 0 14px 32px #4052a012;
}
.lesson-grid article:nth-child(2) { border-left-color: var(--red); }
.lesson-grid article:nth-child(3) { border-left-color: var(--navy); }
.lesson-grid span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--red);
  padding-top: 3px;
}
.lesson-grid h3 { margin: 0 0 4px; color: var(--navy); font-size: 1.02rem; }
.lesson-grid p { margin: 0; color: var(--muted); }
.issue-panel {
  background:
    radial-gradient(480px 220px at 100% 0%, #e5af2540, transparent 55%),
    linear-gradient(165deg, var(--navy), #4a5db0);
  color: #d7def0;
  border-radius: 22px;
  padding: 28px 26px 18px;
  border: 1px solid #e5af254d;
  box-shadow: 0 30px 60px #4052a033;
}
.issue-panel .home-kicker { color: var(--yellow); }
.issue-panel h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -.02em;
}
.issue-list { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: issue; }
.issue-list li {
  counter-increment: issue;
  padding: 14px 4px 14px 44px;
  position: relative;
  border-bottom: 1px solid #ffffff16;
  color: #c9d3ee;
  font-size: 14px;
  border-radius: 8px;
  transition: background .15s ease;
}
.issue-list li:last-child { border-bottom: 0; }
.issue-list li::before {
  content: counter(issue, decimal-leading-zero);
  position: absolute;
  left: 4px;
  top: 16px;
  font-weight: 800;
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: .06em;
}
.issue-list strong { display: block; color: #fff; margin-bottom: 2px; }
.issue-list li:hover { background: #ffffff0d; }
.news-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 16px;
  align-items: stretch;
}
.news-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  text-decoration: none;
  border: 1px solid var(--line);
  display: block;
  transition: transform .16s ease, box-shadow .16s ease;
}
.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 12px;
}
.news-card--lead img { height: 220px; }
.story-cover { margin: 0 0 18px; }
.story-cover img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; }
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px #4052a018;
}
.news-card--lead {
  grid-row: 1 / span 3;
  background:
    radial-gradient(520px 260px at 100% 0%, #e5af2566, transparent 55%),
    radial-gradient(420px 220px at 0% 100%, #e9272c40, transparent 50%),
    linear-gradient(165deg, var(--navy) 0%, #4a5db0 100%);
  color: #fff;
  border: 1px solid #e5af2580;
  padding: 36px 32px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 24px 50px #4052a033;
}
.news-card time {
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.news-card h3 { margin: 8px 0; color: var(--navy); }
.news-card p { margin: 0; color: var(--muted); }
.news-card.news-card--lead time { color: var(--yellow); }
.news-flag {
  display: inline-block;
  width: max-content;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 999px;
  padding: 5px 10px;
  margin-bottom: 14px;
}
.news-card.news-card--lead h3 {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.12;
  margin: 12px 0 14px;
}
.news-card.news-card--lead p { color: #e8eef8; font-size: 1.05rem; }
.home-more { margin-top: 22px; }
.seat-chip, .path-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--line);
}
.seat-chip b, .path-card h3 { display: block; color: var(--navy); font-size: 1.15rem; margin: 0 0 6px; }
.seat-chip span, .path-card p { color: var(--muted); }
.path-card { text-decoration: none; display: block; border-top: 6px solid var(--yellow); }
.path-card:nth-child(2) { border-top-color: var(--red); }
.path-card:nth-child(3) { border-top-color: var(--navy); }
.path-card:nth-child(4) { border-top-color: var(--yellow); }
.doc-list { list-style: none; margin: 16px 0 0; padding: 0; }
.doc-list li { border-bottom: 1px solid var(--line); }
.doc-list a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  font-weight: 700;
  color: var(--navy);
}
.doc-list a:hover { color: var(--red); }
.rec-panel {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--line);
}
.rec-list { margin: 16px 0 0; padding: 0; list-style: none; }
.rec-list li { padding: 10px 0 10px 18px; border-bottom: 1px solid var(--line); position: relative; }
.rec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
}
.home-engage {
  background: linear-gradient(180deg, #e8ecf6 0, #f6f7fb 56px);
  padding: 0 0 56px;
}
.engage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}
.engage-card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border-radius: 22px;
  padding: 26px 22px 18px;
  border: 1px solid rgba(255, 255, 255, .95);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform .22s ease, box-shadow .22s ease;
}
.engage-card::before {
  content: "";
  position: absolute;
  top: -48px;
  right: -36px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  pointer-events: none;
  opacity: .7;
}
.engage-card::after {
  content: "→";
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  align-self: flex-end;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  margin-top: auto;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.engage-card:hover::after {
  transform: translateX(3px);
}
.engage-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.engage-card h3 {
  margin: 0 0 10px;
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.18;
}
.engage-card p { margin: 0; color: #5a6488; font-size: 13.5px; line-height: 1.5; }
.engage-card:nth-child(1) {
  background: linear-gradient(165deg, #fff8e8 0%, #fffdf8 48%, #ffffff 100%);
  box-shadow: inset 0 3px 0 #e5af25, 0 16px 36px rgba(229, 175, 37, .16);
}
.engage-card:nth-child(1)::before { background: radial-gradient(circle, rgba(229, 175, 37, .28), transparent 68%); }
.engage-card:nth-child(1) span { background: #f8e9bc; color: #8a6a12; }
.engage-card:nth-child(1)::after { background: rgba(229, 175, 37, .18); color: #8a6a12; }
.engage-card:nth-child(2) {
  background: linear-gradient(165deg, #eef2ff 0%, #f7f9ff 48%, #ffffff 100%);
  box-shadow: inset 0 3px 0 var(--navy), 0 16px 36px rgba(64, 82, 160, .16);
}
.engage-card:nth-child(2)::before { background: radial-gradient(circle, rgba(64, 82, 160, .22), transparent 68%); }
.engage-card:nth-child(2) span { background: #e3e8f8; color: var(--navy-deep); }
.engage-card:nth-child(2)::after { background: rgba(64, 82, 160, .14); color: var(--navy-deep); }
.engage-card:nth-child(3) {
  background: linear-gradient(165deg, #fff1f1 0%, #fff8f8 48%, #ffffff 100%);
  box-shadow: inset 0 3px 0 #c41e24, 0 16px 36px rgba(196, 30, 36, .12);
}
.engage-card:nth-child(3)::before { background: radial-gradient(circle, rgba(196, 30, 36, .16), transparent 68%); }
.engage-card:nth-child(3) span { background: #f8e2e3; color: #8a1419; }
.engage-card:nth-child(3)::after { background: rgba(196, 30, 36, .12); color: #8a1419; }
.engage-card:nth-child(4) {
  background: linear-gradient(165deg, #f1f4fb 0%, #f8f9fc 48%, #ffffff 100%);
  box-shadow: inset 0 3px 0 #8a9ad0, 0 16px 36px rgba(47, 61, 120, .14);
}
.engage-card:nth-child(4)::before { background: radial-gradient(circle, rgba(138, 154, 208, .28), transparent 68%); }
.engage-card:nth-child(4) span { background: #e8ecf6; color: var(--navy); }
.engage-card:nth-child(4)::after { background: rgba(138, 154, 208, .2); color: var(--navy); }
.engage-card:hover {
  transform: translateY(-5px);
}
.engage-card:nth-child(1):hover { box-shadow: inset 0 3px 0 #e5af25, 0 22px 42px rgba(229, 175, 37, .22); }
.engage-card:nth-child(2):hover { box-shadow: inset 0 3px 0 var(--navy), 0 22px 42px rgba(64, 82, 160, .22); }
.engage-card:nth-child(3):hover { box-shadow: inset 0 3px 0 #c41e24, 0 22px 42px rgba(196, 30, 36, .18); }
.engage-card:nth-child(4):hover { box-shadow: inset 0 3px 0 #8a9ad0, 0 22px 42px rgba(47, 61, 120, .2); }
.people-lede {
  margin: 0 0 28px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.05rem;
}
.caucus {
  position: relative;
  padding: 64px 0 80px;
  background-color: #eef0f6;
  background-image:
    linear-gradient(90deg, rgba(229,175,37,.14) 0 8px, transparent 8px),
    repeating-linear-gradient(
      -32deg,
      transparent 0 22px,
      rgba(64, 82, 160, .045) 22px 23px
    );
}
.caucus--home .wrap > h2 {
  font-family: var(--display);
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 8px;
}
.caucus-band {
  background: #fff;
  border-radius: 22px;
  padding: 26px 26px 28px;
  margin: 0 0 22px;
  box-shadow: 0 18px 40px rgba(47, 61, 120, .08);
}
.caucus-band--gold { box-shadow: 0 18px 40px rgba(47, 61, 120, .08), inset 6px 0 0 var(--yellow); }
.caucus-band--navy { box-shadow: 0 18px 40px rgba(47, 61, 120, .08), inset 6px 0 0 var(--navy); }
.caucus-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  padding: 0 0 16px;
  border-bottom: 1px dashed rgba(64, 82, 160, .22);
}
.caucus-meta span {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: .04em;
}
.caucus-band--gold .caucus-meta span { background: var(--yellow); color: var(--navy-deep); }
.caucus-meta p {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}
.caucus-meta h2,
.caucus-meta h3 {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--navy-deep);
  font-weight: 800;
}
.caucus-sub {
  margin: 18px 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
}
.caucus-tiles {
  display: grid;
  gap: 16px;
}
.caucus-tiles--principals { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.caucus-tiles--roll { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.people-block { margin: 0 0 48px; }
.people-block h2 { margin-bottom: 22px; }
.people-featured, .people-row, .people-grid {
  display: grid;
  gap: 28px;
  margin: 0 0 36px;
}
.people-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 100%; }
.people-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.people-grid--home { margin-bottom: 4px; }
.band .home-more { margin-top: 8px; }
.person-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.person-card::before {
  content: "";
  display: block;
  height: 5px;
  background: var(--navy);
}
.person-card--mp::before { background: var(--yellow); }
.person-card--wr::before { background: var(--red); }
.caucus-tiles--roll .person-card:nth-child(3n+1)::before { background: var(--yellow); }
.caucus-tiles--roll .person-card:nth-child(3n+2)::before { background: var(--red); }
.caucus-tiles--roll .person-card:nth-child(3n)::before { background: var(--navy); }
.person-card img, .person-fallback {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  background: var(--navy);
}
.person-fallback {
  display: grid;
  place-items: center;
  color: var(--yellow);
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--display);
}
.person-copy { padding: 14px 16px 16px; }
.person-badge {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.person-card h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 800;
}
.person-card .person-copy p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.docs-page { background: #f3f5f9; padding-bottom: 48px; }
.docs-page__main { padding-top: 18px; }
.docs-tabs {
  position: sticky;
  top: 0;
  z-index: 18;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  margin: 0 0 16px;
  box-shadow: 0 1px 0 #e2e7f0;
}
.docs-tabs::after {
  content: "";
  display: block;
  height: 4px;
  background: var(--flag-stripe);
}
.docs-tabs__row {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 8px 0 6px;
  scrollbar-width: thin;
}
.docs-tabs button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--navy-deep);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.docs-tabs button em {
  font-style: normal;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef1f8;
  color: #5a6585;
  font-size: 11px;
}
.docs-tabs button:hover { background: #f0f3fa; color: var(--red); }
.docs-tabs button.is-on,
.docs-tabs button[aria-selected="true"] {
  background: var(--navy);
  color: #fff;
}
.docs-tabs button.is-on em,
.docs-tabs button[aria-selected="true"] em {
  background: rgba(255, 255, 255, .18);
  color: var(--yellow);
}
.docs-panel { display: none; }
.docs-panel.is-on { display: block; }
.docs-panel[hidden] { display: none !important; }
.docs-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}
.docs-panel__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy-deep);
}
.docs-panel__head p {
  margin: 0;
  color: #7a849e;
  font-size: .85rem;
  font-weight: 700;
}

.docs-latest {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 0;
  text-decoration: none;
  background: #fff;
  border: 1px solid #d9e0ec;
  overflow: hidden;
  margin: 0 0 18px;
  box-shadow: 0 16px 36px rgba(47, 61, 120, .1);
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
.docs-latest:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(47, 61, 120, .14);
}
.docs-latest__stripe {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  z-index: 2;
}
.docs-latest__cover {
  background: var(--navy-deep);
  padding: 22px 16px 16px;
  display: grid;
  place-items: center;
  border-right: 1px solid #e2e7f0;
}
.docs-latest__cover img {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 210 / 297;
  object-fit: cover;
  object-position: top center;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .2);
}
.docs-latest__body {
  padding: 18px 22px 18px;
  background:
    linear-gradient(135deg, rgba(229, 175, 37, .1), transparent 40%),
    #fff;
}
.docs-latest__badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  background: var(--red);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.docs-latest__kicker {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.docs-latest__body h2 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  color: var(--navy-deep);
  line-height: 1.15;
}
.docs-latest__sub {
  margin: 0 0 6px;
  color: var(--red);
  font-weight: 800;
  font-size: .95rem;
}
.docs-latest__blurb {
  margin: 0 0 12px;
  color: #4a5578;
  max-width: 48ch;
  line-height: 1.4;
  font-size: .92rem;
}
.docs-latest .btn { pointer-events: none; }
@media (max-width: 720px) {
  .docs-latest { grid-template-columns: 1fr; }
  .docs-latest__cover {
    border-right: 0;
    border-bottom: 1px solid #e2e7f0;
    padding-top: 32px;
  }
  .docs-latest__cover img { max-width: 180px; }
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.docs-panel .file-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.file-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-content: start;
  min-height: 92px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.file-tile span {
  grid-row: span 2;
  align-self: center;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .08em;
  padding: 8px 10px;
  border-radius: 6px;
}
.file-tile h3 { margin: 0; color: var(--navy); font-size: 1rem; }
.file-tile p { margin: 0; color: var(--muted); font-size: 13px; }
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.manifesto-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy);
}
.manifesto-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.prose-panel {
  background: #fff;
  border-radius: 16px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  margin: 28px 0;
}
.prose-panel p { margin: 0 0 14px; color: var(--muted); max-width: 75ch; }
.prose-panel p:last-child { margin-bottom: 0; }

/* Page-area themes — 2026 political presentation */
.theme-institution { background: #f3f4fb; }
.theme-institution .banner {
  background:
    radial-gradient(ellipse 80% 60% at 12% 0%, rgba(90, 108, 186, .38), transparent 58%),
    linear-gradient(180deg, #2f3d78 0%, #364888 46%, #4052a0 100%);
  color: #fff;
  padding: 44px 0 48px;
}
.theme-institution .banner.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 0 0 16px;
}
.about-hero__crowd {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.about-hero__crowd img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center 42%;
}
.about-hero__crowd::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 38, 78, .9) 0%, rgba(47, 61, 120, .76) 48%, rgba(47, 61, 120, .5) 100%),
    linear-gradient(180deg, rgba(26, 34, 68, .28), rgba(26, 34, 68, .55));
}
.about-hero__leader {
  position: relative;
  z-index: 2;
  margin: 0;
  width: 100%;
  max-width: 420px;
  justify-self: center;
  filter: drop-shadow(0 24px 36px rgba(8, 12, 28, .45));
}
.about-hero__leader img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: 500px;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(229, 175, 37, .5);
  border-bottom: 0;
}
.about-hero__leader figcaption {
  margin: 0;
  padding: 10px 14px 12px;
  background: rgba(18, 26, 52, .92);
  color: #f4e3b0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.35;
  border-radius: 0 0 18px 18px;
}
.about-hero .about-hero__inner,
.about-hero .about-hero__stripe { position: relative; z-index: 3; }
.theme-institution .banner h1 {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  max-width: 20ch;
  line-height: 1.12;
  margin: 8px 0 16px;
}
.theme-institution .about-hero h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  max-width: 18ch;
}
.theme-institution .banner .lede { color: #e8eef8; max-width: 58ch; font-size: .98rem; line-height: 1.6; }
.theme-institution .banner .num { color: var(--yellow); }
.about-hero__stripe { height: 5px; margin-bottom: 0; }
.about-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 420px);
  align-items: center;
  gap: 28px 56px;
  padding: 40px 0 48px;
  min-height: 520px;
}
.about-hero-copy {
  max-width: 38rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (max-width: 800px) {
  .about-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 28px 0 32px;
    gap: 22px;
    justify-items: center;
  }
  .about-hero-copy { max-width: none; }
  .about-hero__leader { max-width: 280px; }
  .about-hero__leader img { max-height: 340px; }
}
.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.about-hero__actions .btn {
  padding: 8px 14px;
  font-size: 12px;
}
.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
}
.about-facts span {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5af2580;
  background: #4052a066;
  color: #fff;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
}
.about-toc {
  position: sticky;
  top: 52px;
  z-index: 15;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 3px solid var(--red);
}
.about-toc .wrap {
  display: flex;
  gap: 8px 22px;
  flex-wrap: wrap;
  padding: 12px 0;
}
.about-toc a {
  color: var(--navy);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.about-toc a:hover { color: var(--red); }
.about-origin { padding: 72px 0; background: #fff; }
.about-split {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.about-year-mark {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 10vw, 7.5rem);
  line-height: .8;
  margin: 8px 0 16px;
  color: var(--yellow);
  letter-spacing: -.06em;
}
.about-year p:last-child { margin: 0; color: var(--muted); max-width: 28ch; }
.about-origin h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.1;
}
.about-standfirst {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--navy-deep);
  max-width: 58ch;
}
.about-record {
  background: var(--navy);
  color: #fff;
  padding: 72px 0;
}
.about-record h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  color: #fff;
  margin: 0 0 28px;
  max-width: 16ch;
}
.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.about-metrics p { margin: 0; padding: 18px 0 0; border-top: 3px solid var(--yellow); }
.about-metrics b {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 8px;
}
.about-metrics span { color: #d7def0; font-size: 14px; }
.about-record-copy { margin: 0; max-width: 72ch; color: #e8eef8; font-size: 1.08rem; line-height: 1.7; }
.about-lessons { padding: 72px 0; }
.about-lessons h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  margin: 0 0 10px;
}
.about-chapters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 8px 0 36px;
}
.about-chapters article {
  background: #fff;
  border-radius: 20px;
  padding: 24px 22px;
  border-top: 6px solid var(--yellow);
}
.about-chapters article:nth-child(2) { border-top-color: var(--red); }
.about-chapters article:nth-child(3) { border-top-color: var(--navy); }
.about-chapters span {
  color: var(--red);
  font-weight: 800;
  letter-spacing: .14em;
  font-size: 12px;
}
.about-chapters h3 { margin: 8px 0 8px; color: var(--navy); font-size: 1.2rem; }
.about-chapters p { margin: 0; color: var(--muted); }
.about-next {
  background: #fff;
  border-radius: 22px;
  padding: 32px 34px;
  border: 1px solid var(--line);
  border-left: 8px solid var(--yellow);
}
.about-next p { margin: 0 0 14px; color: var(--navy-deep); font-size: 1.05rem; line-height: 1.7; max-width: 78ch; }
.about-next p:last-child { margin-bottom: 0; }
.about-rally { color: var(--navy) !important; }
.about-lead { padding: 0 0 80px; }
.about-lead h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  margin: 0 0 10px;
}
.about-chief {
  background:
    radial-gradient(480px 180px at 100% 0%, #e5af2540, transparent 55%),
    linear-gradient(165deg, var(--navy), #4a5db0);
  color: #fff;
  border-radius: 22px;
  padding: 32px 34px;
  margin: 8px 0 28px;
  border: 1px solid #e5af2580;
}
.about-chief .person-badge { color: var(--yellow); }
.about-chief h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 6px 0 8px;
  color: #fff;
}
.about-chief p:last-child { margin: 0; color: #e8eef8; }
.about-ngc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.about-ngc article {
  background: #fff;
  border-radius: 18px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  min-height: 128px;
}
.about-ngc p {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.about-ngc h3 { margin: 0; color: var(--navy); font-size: 1.12rem; line-height: 1.3; }

.about-footing {
  margin: 0 0 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #dce3ef;
}
.about-footing > h2 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  color: var(--navy);
  margin: 0 0 8px;
}
.about-footing > .lede {
  max-width: 62ch;
  margin: 0 0 18px;
  color: #3d4a66;
}
.about-footing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-footing__grid figure {
  margin: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(24, 36, 72, .08);
}
.about-footing__grid img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 40%;
}
.about-footing__grid figcaption {
  padding: 12px 16px 16px;
  color: #3d4a66;
  font-size: .92rem;
  line-height: 1.45;
}
.about-footing__grid figcaption strong {
  display: block;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
@media (max-width: 800px) {
  .about-footing__grid { grid-template-columns: 1fr; }
  .about-footing__grid img { height: 220px; }
}
.about-deck { padding-bottom: 56px; background: #f3f5f9; }
.about-tabs {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-bottom: 0;
  margin-bottom: 0;
  box-shadow: 0 1px 0 #e2e7f0;
}
.about-tabs::after {
  content: "";
  display: block;
  height: 4px;
  background: var(--flag-stripe);
}
.about-tabs-row {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 8px 0 6px;
  scrollbar-width: thin;
}
.about-tabs button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 999px;
  white-space: nowrap;
}
.about-tabs button:hover { background: #f0f3fa; color: var(--red); }
.about-tabs button.is-on,
.about-tabs button[aria-selected="true"] {
  background: var(--navy);
  color: #fff;
}
.about-panel { display: none; padding: 20px 0 12px; }
.about-panel.is-on { display: block; }
.about-panel[hidden] { display: none !important; }
.about-panel > h2,
.about-join__head h2 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  color: var(--navy);
  margin: 0 0 10px;
}

.about-join__head .lede { margin-bottom: 14px; }
.about-join__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.about-join__card {
  position: relative;
  display: grid;
  gap: 4px;
  align-content: start;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e2e7f0;
  padding: 16px 16px 14px 18px;
  min-height: 148px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.about-join__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(47, 61, 120, .1);
}
.about-join__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--yellow);
}
.about-join__card--gold .about-join__bar { background: var(--yellow); }
.about-join__card--red .about-join__bar { background: var(--red); }
.about-join__card--navy .about-join__bar { background: var(--navy); }
.about-join__kicker {
  margin: 0;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7a849e;
}
.about-join__card--red .about-join__kicker { color: var(--red); }
.about-join__card--navy .about-join__kicker { color: var(--navy); }
.about-join__card--gold .about-join__kicker { color: #8a6a12; }
.about-join__card h3 {
  margin: 0;
  font-size: 1.08rem;
  color: var(--navy-deep);
}
.about-join__card > p {
  margin: 0;
  color: #4a5578;
  font-size: .9rem;
  line-height: 1.35;
}
.about-join__cta {
  margin-top: auto;
  padding-top: 10px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
.about-join__card:hover .about-join__cta { color: var(--red); }
.about-join__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e2e7f0;
}
.about-join__more {
  margin-left: auto;
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-join__more:hover { color: var(--red); }
@media (max-width: 640px) {
  .about-join__more { margin-left: 0; width: 100%; }
}
.about-acc details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 0 0 10px;
  padding: 4px 16px 4px;
}
.about-acc summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
  padding: 12px 0;
  list-style: none;
}
.about-acc summary::-webkit-details-marker { display: none; }
.about-acc summary span {
  color: var(--red);
  letter-spacing: .12em;
  margin-right: 8px;
  font-size: 12px;
}
.about-acc details p { color: var(--muted); margin: 0 0 14px; max-width: 70ch; }
.about-metrics--ink p {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  border-top: 4px solid var(--yellow);
}
.about-metrics--ink b { color: var(--navy); display: block; font-size: 1.8rem; }
.about-metrics--ink span { color: var(--muted); }
.about-record-copy--ink { color: var(--navy-deep); max-width: 72ch; font-size: 1.05rem; line-height: 1.7; }
.about-inner-tabs { margin-top: 22px; }
.about-inner-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.about-inner-nav button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.about-inner-nav button.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.about-inner-pane { background: #fff; border-radius: 14px; padding: 16px 18px; border: 1px solid var(--line); }
.ngc-feature {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 22px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 8px 0 18px;
}
.ngc-feature img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: top;
  background: var(--navy);
}
.ngc-feature > div { padding: 22px 22px 20px 0; }
.ngc-feature .person-badge {
  margin: 0;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ngc-feature h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--navy);
  margin: 6px 0 10px;
}
.ngc-feature p { color: var(--muted); margin: 0 0 16px; max-width: 54ch; }
.ngc-slide-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ngc-slide-nav .btn { margin-left: 6px; }
.ngc-slide-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font-size: 1.2rem;
  cursor: pointer;
}
.ngc-slide-nav span { font-weight: 800; color: var(--navy); font-size: 13px; }
.ngc-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.ngc-tile {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 0 0 10px;
  text-align: left;
  font: inherit;
  color: inherit;
  display: block;
  text-decoration: none;
}
.ngc-tile__face {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.ngc-more {
  display: block;
  padding: 8px 10px 0;
  font-size: 12px;
  font-weight: 800;
  font-style: normal;
  color: var(--navy);
  text-decoration: none;
}
.ngc-strip--wrap {
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  overflow: visible;
}
.leader-hero__role {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.leader-hero .lede { margin-top: 2px; }
.leader-page { padding-bottom: 48px; }
.leader-sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(47, 61, 120, .08);
}
.leader-sheet__grid {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 8px 28px;
  align-items: start;
}
.leader-sheet__grid img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: top;
  background: var(--navy-deep);
}
.leader-sheet__copy { padding: 22px 24px 28px 0; }
.leader-sheet__copy h2 { margin: 6px 0 14px; color: var(--navy-deep); font-family: var(--serif); }
.leader-sheet__copy p { color: var(--muted); max-width: 58ch; }
.leader-sheet__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.leader-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0 28px;
}
.leader-pager a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 0 0 12px 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
}
.leader-pager a.is-next { text-align: right; border-top-color: var(--yellow); }
.leader-pager span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.leader-pager strong { display: block; margin-top: 4px; color: var(--navy-deep); }
.leader-pager small { color: var(--muted); }
.leader-rest { color: var(--navy-deep); font-size: 1.2rem; margin: 8px 0 14px; }
@media (max-width: 800px) {
  .leader-sheet__grid, .leader-pager { grid-template-columns: 1fr; }
  .leader-sheet__copy { padding: 16px 18px 22px; }
  .leader-pager a.is-next { text-align: left; }
}
.ngc-tile.is-on { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(64, 82, 160, .25); }
.ngc-tile img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: top;
  border-radius: 14px 14px 0 0;
  background: var(--navy);
}
.ngc-tile span {
  display: block;
  padding: 8px 10px 0;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ngc-tile strong { display: block; padding: 2px 10px 0; color: var(--navy); font-size: 13px; line-height: 1.3; }
.voice-stage { position: relative; max-width: 720px; }
.voice-card { display: none; background: #fff; border-radius: 18px; padding: 24px; border-left: 8px solid var(--yellow); }
.voice-card.is-on { display: block; }
.voice-card p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; color: var(--navy); margin: 0 0 14px; }
.voice-card cite { color: var(--muted); font-style: normal; }

@media (max-width: 900px) {
  .ngc-feature { grid-template-columns: 1fr; }
  .ngc-feature > div { padding: 16px 18px 18px; }
  .ngc-feature img { min-height: 220px; }
}

.theme-essay { background: #f4efe4; }
.theme-essay .banner { display: none; }
.mag { padding: 48px 0 80px; }
.mag-open {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto 8px;
  text-align: center;
}
.mag-folio {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
}
.mag-open h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: .92;
  letter-spacing: -.03em;
  color: var(--navy);
  margin: 0 0 18px;
}
.mag-dek {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  color: var(--navy-deep);
  margin: 0 auto 16px;
  max-width: 36ch;
}
.mag-byline {
  margin: 0 0 22px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.mag-rule {
  height: 5px;
  display: flex;
  max-width: 220px;
  margin: 0 auto;
}
.mag-col {
  width: min(680px, calc(100% - 32px));
  margin: 40px auto 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.82;
  color: #3a4270;
}
.mag-col p { margin: 0 0 1.25em; }
.philo-more {
  margin: 4px 0 48px;
}
.philo-more summary {
  cursor: pointer;
  display: inline-block;
  font-family: var(--sans, inherit);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--red);
  list-style: none;
  margin: 0 0 18px;
}
.philo-more summary::-webkit-details-marker { display: none; }
.mag-drop::first-letter {
  float: left;
  font-size: 5.4rem;
  line-height: .72;
  padding: 8px 12px 0 0;
  color: var(--navy);
  font-weight: 500;
}
.mag-col h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--navy);
  margin: 2.1em 0 .7em;
  line-height: 1.25;
}
.mag-quote {
  margin: 2.4em auto;
  padding: 0;
  border: 0;
  max-width: 20ch;
  text-align: center;
}
.mag-quote p {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.28;
  color: var(--navy);
  font-style: italic;
}
.mag-quote--wide { max-width: 28ch; }
.mag-quote::before {
  content: "“";
  display: block;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 6px;
}
.mag-verse {
  font-style: italic;
  color: var(--navy);
  padding: 8px 0 8px 18px;
  border-left: 3px solid var(--red);
  margin: 1.6em 0 1.6em !important;
}
.mag-end {
  text-align: center;
  font-style: italic;
  font-size: 1.45rem !important;
  color: var(--navy) !important;
  margin: 2.4em 0 0 !important;
}
.mag-brief {
  width: min(680px, calc(100% - 32px));
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid #eadfb8;
}
.mag-brief .mag-folio { text-align: left; margin-bottom: 18px; }
.mag-brief dl { margin: 0; }
.mag-brief dl > div {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 12px 24px;
  padding: 12px 0;
  border-bottom: 1px solid #eadfb8;
}
.mag-brief dt {
  font-weight: 800;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: .04em;
}
.mag-brief dd { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.mag-post {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--navy-deep);
  font-size: 1.08rem;
}
.mag-post a { color: var(--red); font-weight: 700; font-style: normal; text-decoration: none; }
.mag-post a:hover { text-decoration: underline; }
.mag-col.copy-html > p:first-of-type::first-letter {
  float: left;
  font-size: 5.4rem;
  line-height: .72;
  padding: 8px 12px 0 0;
  color: var(--navy);
  font-weight: 500;
}
.copy-html ul, .copy-html ol { margin: 0 0 1.25em; padding-left: 1.3em; }
.copy-html a { color: var(--red); }
.copy-html blockquote {
  margin: 2em auto;
  max-width: 28ch;
  text-align: center;
  font-style: italic;
  color: var(--navy);
}
@media (min-width: 1100px) {
  .mag.is-split {
    display: grid;
    width: min(1100px, calc(100% - 48px));
    margin-inline: auto;
    gap: 12px 48px;
    align-items: start;
  }
  .mag.is-split-right {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    grid-template-areas: "open open" "col brief";
  }
  .mag.is-split-left {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    grid-template-areas: "open open" "brief col";
  }
  .mag.is-split-below { display: block; }
  .mag.is-split .mag-open { grid-area: open; }
  .mag.is-split .mag-col { grid-area: col; width: auto; margin-top: 24px; }
  .mag.is-split-left .mag-brief,
  .mag.is-split-right .mag-brief {
    grid-area: brief;
    width: auto;
    margin-top: 24px;
    padding-top: 0;
    border-top: 0;
  }
}
@media (max-width: 700px) {
  .mag-brief dl > div { grid-template-columns: 1fr; gap: 4px; }
  .mag-drop::first-letter { font-size: 4rem; }
}

.theme-directory .banner {
  background: var(--navy-deep);
  color: #fff;
}
.theme-directory .banner h1 { color: #fff; }
.theme-directory .banner .lede { color: #b9c3de; }
.theme-directory .banner .num { color: var(--yellow); }
.theme-directory .person-card {
  box-shadow: none;
}
.theme-directory .person-card img,
.theme-directory .person-fallback { aspect-ratio: 4/5; }
.theme-directory .section { background: #eef0f6; }

body.theme-support { background: #f7f8fb; }
.theme-support .nav { border-bottom: 1px solid #e8ecf4; }
.theme-convert .banner {
  background: linear-gradient(180deg, #fff6d6 0%, var(--bg) 100%);
}
.theme-convert .path-card {
  min-height: 210px;
  padding: 26px;
  border-radius: 16px;
}
.theme-convert .pick { background: transparent; padding-top: 12px; }

/* Online ambassador — compact, party-coloured */
.ambass-page {
  background:
    linear-gradient(180deg, #fff1f1 0, #f3f5f9 120px),
    #f3f5f9;
  padding-bottom: 48px;
}
.ambass-hero {
  background: linear-gradient(135deg, #f14a4f 0%, var(--red) 48%, #b81d22 100%);
  color: #fff;
  padding: 28px 0 36px;
}
.ambass-hero__stripe { height: 5px; margin-bottom: 20px; }
.ambass-hero__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
}
.ambass-hero__kicker {
  margin: 0 0 4px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}
.ambass-hero h1 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.05rem);
  line-height: 1.1;
  color: #fff;
  max-width: 16ch;
}
.ambass-hero__lede {
  margin: 0;
  max-width: 48ch;
  font-size: .92rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, .92);
}
.ambass-hero .btn-gold {
  flex: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .2);
}
.ambass-body { padding-top: 18px; }
.ambass-sheet {
  background: #fff;
  border: 1px solid #e2e7f0;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(47, 61, 120, .07);
}
.ambass-sheet__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
}
.ambass-role {
  padding: 22px 24px 24px;
  border-right: 1px solid #e8edf5;
  background:
    linear-gradient(180deg, #fff8e8 0, #fff 48%);
}
.ambass-kicker {
  margin: 0 0 4px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
}
.ambass-role h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy-deep);
}
.ambass-role ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.ambass-role li {
  position: relative;
  padding: 11px 12px 11px 16px;
  background: #fff;
  border: 1px solid #e6ebf3;
  color: #2a3458;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.35;
}
.ambass-role li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: var(--red);
}
.ambass-role li:nth-child(2)::before { background: var(--yellow); }
.ambass-role li:nth-child(3)::before { background: var(--navy); }
.ambass-note {
  margin: 14px 0 0;
  color: #5a6585;
  font-size: .9rem;
  line-height: 1.4;
}
.ambass-actions {
  padding: 18px 18px 20px;
  background: linear-gradient(180deg, #eef1fa, #fff);
  border-left: 4px solid var(--navy);
  display: grid;
  gap: 12px;
}
.ambass-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  background: #fff;
  border: 1px solid #e2e7f0;
  padding: 14px 14px 16px;
}
.ambass-step__n {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--red);
  color: #fff;
  flex: none;
}
.ambass-step:nth-child(2) .ambass-step__n {
  background: var(--navy);
  color: var(--yellow);
}
.ambass-step:nth-child(3) .ambass-step__n {
  background: var(--yellow);
  color: var(--navy-deep);
}
.ambass-step h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--navy-deep);
}
.ambass-step p {
  margin: 0 0 10px;
  color: #4a5578;
  font-size: .9rem;
  line-height: 1.4;
}
.ambass-step a:not(.btn):not(.ambass-text-link) {
  color: var(--navy);
  font-weight: 700;
}
.ambass-step .btn {
  display: inline-flex;
  width: auto;
  padding: 8px 14px;
  font-size: 12px;
}
.ambass-text-link {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ambass-text-link:hover { color: var(--red); }
@media (max-width: 840px) {
  .ambass-sheet__grid { grid-template-columns: 1fr; }
  .ambass-role { border-right: 0; border-bottom: 1px solid #e8edf5; }
  .ambass-actions { border-left: 0; border-top: 4px solid var(--navy); }
}

.theme-newsroom .banner {
  background: #fff;
  border-bottom: 3px solid var(--red);
  padding: 36px 0 32px;
}
.theme-newsroom .banner h1 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  max-width: 14ch;
}
.news-kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.news-kinds a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #d5dceb;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}
.news-kinds a.is-on {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.news-index { display: grid; gap: 14px; }
.news-index a.card {
  text-decoration: none;
  border-radius: 16px;
  padding: 24px;
  transition: transform .15s ease;
}
.news-index a.card:first-child {
  background:
    radial-gradient(420px 200px at 100% 0%, #e5af2566, transparent 55%),
    linear-gradient(165deg, var(--navy), #4a5db0);
  color: #fff;
  border: 1px solid #e5af2580;
  padding: 36px;
}
.news-index a.card:first-child h3 { color: #fff; font-size: 1.8rem; font-family: var(--serif); }
.news-index a.card:first-child p,
.news-index a.card:first-child .muted { color: #e8eef8; }
.news-index a.card:hover { transform: translateY(-3px); }
.story {
  max-width: 72ch;
  margin: 0 auto;
  padding: 48px 0 80px;
}
.story h1 { font-family: var(--serif); }
.story-body { font-size: 1.12rem; line-height: 1.75; }

.theme-library .banner {
  background: var(--navy);
  color: #fff;
}
.theme-library .banner h1 { color: #fff; }
.theme-library .banner .lede { color: #d5dcf0; }
.theme-library .banner .num { color: var(--yellow); }
.theme-library .file-tile {
  border-radius: 16px;
  padding: 20px 22px;
  background-image: var(--flag-stripe);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: top;
}

.theme-manifesto { background: var(--navy-deep); }
.theme-manifesto .banner { background: var(--navy); color: #fff; }
.theme-manifesto .banner h1 { color: #fff; font-family: var(--serif); }
.theme-manifesto .banner .lede { color: #b7c0d8; }
.theme-manifesto .banner .num { color: var(--yellow); }
.theme-manifesto .section { background: var(--navy-deep); }
.theme-manifesto .manifesto-card { border-color: #2a314c; border-radius: 8px; }

.theme-desk { background: #eef0f8; }
.theme-desk .banner {
  background:
    radial-gradient(800px 280px at 100% 0%, #e5af254d, transparent 52%),
    linear-gradient(165deg, var(--navy) 0%, #4a5db0 100%);
  color: #fff;
  padding: 40px 0 42px;
}
.theme-desk .banner h1 {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  max-width: 16ch;
  line-height: 1.08;
}
.theme-desk .banner .lede { color: #e8eef8; max-width: 52ch; }
.theme-desk .banner .num { color: var(--yellow); }
.desk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.desk-chips a, .desk-chips span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid #e5af2580;
  background: #4052a059;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.desk-chips a:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.desk-board { padding: 0 0 80px; }
.desk-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}
.desk-visit {
  background:
    radial-gradient(420px 180px at 100% 0%, #e5af2533, transparent 55%),
    linear-gradient(165deg, var(--navy), #4a5db0);
  color: #fff;
  border-radius: 24px;
  padding: 32px 28px 28px;
  border: 1px solid #e5af2580;
}
.desk-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow);
}
.desk-kicker--navy { color: var(--red); }
.desk-visit h2, .desk-form h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 0 0 10px;
  line-height: 1.15;
}
.desk-visit h2 { color: #fff; }
.desk-place { margin: 0 0 14px; color: #e8eef8; font-size: 1.05rem; }
.desk-map {
  margin: 0 0 18px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5af2580;
  background: #1b2550;
}
.desk-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}
.desk-map a {
  display: block;
  padding: 10px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  background: var(--yellow);
  text-decoration: none;
}
.desk-map a:hover { color: var(--navy-deep); }
.desk-visit dl { margin: 0; }
.desk-visit dl > div {
  padding: 12px 0;
  border-top: 1px solid #ffffff28;
}
.desk-visit dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}
.desk-visit dd { margin: 0; }
.desk-visit dd a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.desk-visit dd a:hover { color: var(--yellow); }
.desk-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 16px;
}
.desk-social a {
  color: var(--navy);
  background: var(--yellow);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 7px 12px;
}
.desk-note { color: #d7def0; font-size: 14px; margin: 0 0 16px; }
.desk-form {
  background: #fff;
  border-radius: 24px;
  padding: 32px 28px 28px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px #4052a018;
  background-image: var(--flag-stripe);
  background-repeat: no-repeat;
  background-size: 100% 8px;
  background-position: top;
}
.desk-form h2 { color: var(--navy); }
.desk-form label { color: var(--navy); margin-top: 14px; }
.desk-form input, .desk-form textarea {
  border: 2px solid #d0d5e8;
  border-radius: 12px;
  padding: 12px 14px;
}
.desk-form input:focus, .desk-form textarea:focus {
  outline: 2px solid var(--yellow);
  border-color: var(--navy);
}
.desk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.desk-submit { width: 100%; margin-top: 18px; padding: 14px 18px; font-size: 15px; }

.theme-give .banner { background: var(--yellow); }
.theme-give .banner h1 { color: var(--navy); }
.theme-give .banner .lede { color: #3a3f2e; }
.theme-give .banner .num { color: var(--red); }
.theme-give .card { border-radius: 16px; border: 0; box-shadow: 0 16px 40px #e5af2522; }

.theme-credential .banner {
  background: var(--navy-deep);
  color: #fff;
}
.theme-credential .banner h1 { color: #fff; }
.theme-credential .banner .lede { color: #c9d3ee; }

.theme-stage .masthead { border-bottom: 0; }

.kpi { border-radius: 14px; }
.card { border-radius: 14px; }
.search input { border-radius: 999px 0 0 999px; }
.search button { border-radius: 0 999px 999px 0; }

@media (max-width: 700px) {
  .doc-tiles, .field-row, .review > div, .orpp-grid, .gate-grid, .engage { grid-template-columns: 1fr; }
  .stepper-label { font-size: 9px; }
  .wizard-card { padding: 28px 18px 28px; }
  .id-chip { flex-direction: column; align-items: flex-start; }
  .gate-mark { font-size: 5rem; }
}
@media (max-width: 900px) {
  .kpis, .grid-2, .grid-3, .grid-4, .foot-grid, .pick-grid, .stage-grid, .rail, .home-split, .news-grid, .join-duo, .join-proof, .join-repeat-grid, .people-row, .people-grid, .people-featured, .file-grid, .manifesto-grid, .news-index, .doctrine-grid, .about-split, .about-metrics, .about-chapters, .about-ngc, .desk-grid, .desk-fields, .give-grid, .caucus-tiles--principals { grid-template-columns: 1fr; }
  .join-proof-login { text-align: left; }
  .join-path { min-height: 0; }
  .engage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .join-proof-login { text-align: left; }
  .join-repeat-actions { justify-content: flex-start; }
  .join-path { min-height: 0; }
  .person-card--lead { grid-template-columns: 1fr; }
  .person-card--lead img,
  .person-card--lead .person-fallback { min-height: 0; aspect-ratio: 3 / 4; }
  .caucus-tiles--roll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-card--lead { grid-row: auto; min-height: 280px; }
  .brand-copy { display: none; }
  .search { display: none; }
  .nav .wrap { min-height: 0; gap: 0; }
  .links { flex-wrap: wrap; justify-content: flex-start; gap: 4px 12px; }
  .links a { padding: 12px 4px 10px; font-size: 12px; letter-spacing: .05em; }
  .nav-actions { display: none; }
}

.portal-badge {
  display: inline-block;
  margin: 10px 0 0;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .18);
}
.portal-app--waiting,
.portal-app--member_pending {
  background: #f3f4f8;
}
.portal-app--closed { background: #f3f4f8; }
.portal-app--closed .portal-badge { background: #9b1c1c; color: #fff; }
.portal-app--pay .portal-side {
  background: #1e2448;
}
.wait-desk { max-width: 740px; }
.wait-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.wait-kicker::before {
  content: "";
  width: 36px;
  height: 4px;
  background: var(--flag-stripe);
}
.portal-app--closed .wait-kicker { color: var(--red); }
.wait-desk h1 { color: var(--navy-deep); font-size: clamp(1.55rem, 3.2vw, 2.2rem); line-height: 1.15; }
.wait-desk .lede { max-width: 42rem; color: var(--muted); }
.wait-board {
  background: #fff;
  border: 1px solid #d5deea;
  overflow: hidden;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 44px rgba(47, 61, 120, .12);
  max-width: 740px;
  padding: 0;
}
.wait-board .brand-tricolour { height: 6px; }
.wait-board__inner { padding: 22px 24px 24px; }
.wait-board__head { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 6px; }
.wait-logo { width: 58px; height: 58px; object-fit: contain; flex: none; }
.wait-board--closed { border-color: #f0c2c2; }
.wait-status { font-weight: 800; font-size: 1.12rem; margin: 0 0 6px; color: var(--navy-deep); }
.wait-board--closed .wait-status { color: var(--red); }
.wait-steps {
  margin: 16px 0 18px;
  padding: 14px 16px 14px 18px;
  list-style: none;
  background: #f4f6fb;
  border-left: 4px solid var(--yellow);
  border-radius: 0 10px 10px 0;
}
.wait-steps li { position: relative; padding: 8px 0 8px 28px; color: #7a84a4; font-weight: 600; }
.wait-steps li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #c9d3e8;
}
.wait-steps li.is-done { color: var(--navy-deep); font-weight: 700; }
.wait-steps li.is-done:before { background: var(--navy); border-color: var(--navy); }
.wait-steps li.is-now { color: var(--navy-deep); font-weight: 800; }
.wait-steps li.is-now:before {
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(229, 175, 37, .28);
}
.wait-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}
.wait-meta div {
  background: #f4f6fb;
  border-top: 3px solid var(--navy);
  padding: 10px 12px;
  border-radius: 0 0 8px 8px;
}
.wait-meta dt {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}
.wait-meta dd { margin: 4px 0 0; font-weight: 800; color: var(--navy-deep); }
.wait-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.wait-warn {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: #fff6f6;
  border-left: 4px solid var(--red);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 14px;
}
.portal-shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.portal-side {
  background:
    linear-gradient(180deg, rgba(233, 39, 44, .28) 0%, transparent 34%),
    linear-gradient(165deg, #2a1840 0%, #2f3d78 48%, #24315f 100%);
  color: #f3e8ea;
  padding: 0 14px 20px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(233, 39, 44, .35);
}
.portal-side > .brand-tricolour { margin: 0 -14px 16px; height: 6px; }
.portal-brand {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  font-size: 1.08rem;
  letter-spacing: -.01em;
}
.portal-brand:hover { color: #ffd7d9; }
.portal-role {
  margin: 8px 0 0;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: none;
  line-height: 1.45;
  color: #ffd0d2;
  font-weight: 700;
}
.portal-file { margin: 10px 0 0; font-size: 13px; font-weight: 700; color: #fff; }
.portal-file--no {
  font-size: 15px;
  letter-spacing: .04em;
  color: #edc14a;
  font-weight: 800;
}
.member-welcome {
  background: linear-gradient(160deg, #24315f, #4052a0);
  color: #fff;
  border-radius: 16px;
  padding: 22px 22px 20px;
  margin: 0 0 18px;
  text-align: center;
}
.member-welcome__kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #edc14a;
}
.member-welcome h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  color: #fff;
}
.member-welcome p { margin: 0 0 10px; color: #e8ecf7; }
.member-welcome__meta { font-size: 13px; color: #c5cdee !important; }
.member-shout {
  display: block;
  margin: 0 0 16px;
  padding: 14px 18px;
  text-align: center;
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: .08em;
  color: #2f3d78;
  background: #fff7d6;
  border: 3px solid #e5af25;
  border-radius: 14px;
  line-height: 1.1;
}
.member-welcome .member-shout {
  margin: 12px 0;
  background: #fff;
}
.portal-stage { color: #e8c5c7; font-size: 11px; line-height: 1.4; }
.portal-nav { margin: 18px 0; display: flex; flex-direction: column; gap: 4px; }
.portal-nav a, .portal-nav span {
  color: #f7eef0;
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  border-left: 3px solid transparent;
}
.portal-nav a:hover {
  background: rgba(233, 39, 44, .22);
  border-left-color: var(--red);
  color: #fff;
}
.portal-nav a.active {
  background: rgba(233, 39, 44, .38);
  border-left-color: #ff6b70;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.portal-nav span.is-locked { color: #b89a9c; font-weight: 600; }
.portal-out { margin-top: auto; }
.portal-out .btn {
  width: 100%;
  justify-content: center;
  background: transparent;
  color: #fff;
  border-color: rgba(233, 39, 44, .55);
}
.portal-out .btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.portal-main { padding: 16px 22px 36px; }
.portal-main h1 { margin-top: 0; }
.portal-main .file-hero h1 { color: #fff; margin: 4px 0 8px; }
.file-desk { max-width: 1040px; }
.member-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.member-home__card {
  min-width: min(100%, calc(85.60mm * 1.28));
}
.file-desk--member .file-hero { margin-bottom: 10px; }
.file-desk--member .file-hero__row { padding: 12px 16px 8px; }
.file-desk--member .file-avatar { width: 48px; height: 48px; border-radius: 12px; font-size: 1rem; }
.file-desk--member .file-hero h1 { font-size: 1.35rem; margin: 2px 0 4px; }
.file-desk--member .file-stats { margin: 0 0 10px; gap: 8px; }
.file-desk--member .file-stat { padding: 10px 12px 8px; border-radius: 12px; }
.file-desk--member .file-stat b { margin-top: 4px; font-size: .98rem; }
.file-desk--member .file-stat small { margin-top: 2px; }
.file-desk--member .file-panel { padding: 12px 14px 14px; border-radius: 14px; }
.file-desk--member .file-panel header { margin: 0 0 8px; padding-bottom: 8px; }
.file-desk--member .lede { margin: 0 0 8px; }
.file-desk--member .apply-home-cta { margin-bottom: 10px; }
.file-desk--member .apply-home-cta__acts { gap: 8px; }
.file-desk--member .apply-home-cta__acts .btn { min-height: 40px; padding-inline: 14px; }
.file-desk--member .member-shout--sticky {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  padding: 8px 12px;
  margin: 0 0 10px;
  border-width: 2px;
  border-radius: 10px;
}
.file-desk--member {
  display: grid;
  gap: 8px;
}
.file-desk--member .file-dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.file-desk--member .file-dl div {
  padding: 6px 10px;
  border-radius: 8px;
}
.file-desk--member .file-dl dt { font-size: 10px; }
.file-desk--member .file-dl dd { margin: 2px 0 0; font-size: 13px; }
.file-desk--member .file-note { margin: 6px 0 0; font-size: 12px; line-height: 1.4; }
.file-desk--member .member-shout {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  padding: 8px 12px;
  margin: 0;
  border-width: 2px;
  border-radius: 10px;
}
.file-desk--member .email-login-form__row { gap: 8px; }
.file-desk--member .email-login-form__row input,
.file-desk--member .email-login-form__row .btn,
.file-desk--member .file-panel .btn {
  min-height: 38px;
}
.file-desk--member .file-panel p { margin: 0 0 8px; }
.file-desk--member .field-kicker { margin-bottom: 4px; }
.member-reg-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: start;
}
.member-reg-split .file-panel--work { grid-column: 1 / -1; }
@media (max-width: 980px) {
  .member-home { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .file-desk--member .file-dl { grid-template-columns: 1fr 1fr; }
  .member-reg-split { grid-template-columns: 1fr; }
  .member-reg-split .file-panel--work { grid-column: auto; }
}
.file-hero {
  background: linear-gradient(180deg, #2f3d78 0%, var(--navy-deep) 100%);
  color: #eef3fb;
  border-radius: 18px;
  padding: 0 0 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(47, 61, 120, .18);
  margin-bottom: 16px;
  border: 1px solid #24315f;
}
.file-hero__bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 6px;
  gap: 2px;
  background: #fff;
}
.file-hero__bar span:nth-child(1) { background: var(--yellow); }
.file-hero__bar span:nth-child(2) { background: var(--red); }
.file-hero__bar span:nth-child(3) { background: #fff; }
.file-hero__row { display: flex; justify-content: space-between; gap: 20px; padding: 22px 24px 8px; align-items: flex-start; flex-wrap: wrap; }
.file-ident { display: flex; gap: 16px; align-items: center; min-width: 0; }
.file-avatar {
  width: 64px; height: 64px; border-radius: 18px; flex: none;
  display: grid; place-items: center;
  background: var(--yellow);
  color: var(--navy-deep);
  border: 2px solid rgba(229, 175, 37, .85);
  font-weight: 800; font-size: 1.15rem; letter-spacing: .04em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}
.file-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow);
}
.file-hero h1 { font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -.03em; line-height: 1.05; }
.file-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; font-size: 13px; color: #c5cdee; }
.file-mono { font-family: ui-monospace, "Cascadia Mono", monospace; font-weight: 600; letter-spacing: -.02em; }
.file-hero__stage { text-align: right; max-width: 320px; }
.file-hero__pct-label {
  margin: 10px 0 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.file-hero__stage b { display: block; font-size: 2rem; color: #fff; line-height: 1; margin: 4px 0 6px; }
.file-hero__stage small,
.file-hero__pct-hint,
.file-hero__sub {
  color: #c5cdee;
  font-size: 12px;
  display: block;
  line-height: 1.4;
}
.file-hero__sub { margin-top: 8px; color: #dce3f5; }
.file-pill {
  display: inline-flex; padding: 5px 10px; border-radius: 99px; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; background: #4052a0; color: #fff;
}
.file-pill.is-gold { background: var(--yellow); color: var(--navy-deep); }
.file-pill.is-navy { background: #4052a0; }
.file-pill.is-pending {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 2px #fff;
}
.file-pill.is-bad { background: #9b1c1c; }
.file-track {
  height: 8px;
  margin: 12px 24px 0;
  background: #161d38;
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid #10162c;
}
.file-track span {
  display: block;
  height: 100%;
  background: var(--yellow);
}
.file-track span.is-bad { background: var(--red); }
.file-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
.file-stat {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7deea;
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 12px 28px rgba(47, 61, 120, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.file-stat::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 4px;
  background: var(--flag-stripe);
}
.file-stat--fee::before {
  background: var(--red);
}
.file-stat--status::before {
  background: var(--red);
}
@media (max-width: 900px) {
  .file-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .file-stats { grid-template-columns: 1fr; }
}
.file-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(47, 61, 120, .1);
}
.file-stat span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5b6580;
}
.file-stat b {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
  letter-spacing: -.02em;
  color: var(--navy-deep);
  line-height: 1.25;
}
.file-stat small {
  display: block;
  margin-top: 6px;
  color: #6b7388;
  font-size: 12px;
  line-height: 1.4;
}
.file-block--alert {
  background: #fff5f5; color: #9b1c1c; border: 1px solid #f0c2c2; border-left: 5px solid var(--red);
  border-radius: 12px; padding: 12px 16px; font-weight: 600; margin-bottom: 16px;
}
.file-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .9fr); gap: 16px; align-items: start; }
.file-stack, .file-rail { display: grid; gap: 14px; }
.file-panel {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7deea;
  border-radius: 18px;
  padding: 18px 20px 20px;
  box-shadow: 0 12px 32px rgba(47, 61, 120, .06);
}
.file-panel::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 4px;
  background: var(--flag-stripe);
}
.file-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6ebf4;
}
.file-panel h2 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -.02em;
  color: var(--navy-deep);
}
.file-panel header span { font-size: 12px; color: #5b6580; font-weight: 700; }
.file-panel--work::before { background: var(--yellow); }
.file-panel--stop {
  background: #fffafa;
}
.file-panel--stop::before { background: var(--red); }
.file-panel--materials::before { background: var(--red); }

/* Application status + progress (portal /application) — TSP red accents */
.app-status {
  position: relative;
  overflow: hidden;
  margin: 0 0 18px;
  border-radius: 18px;
  border: 1px solid #d7deea;
  background: #fff;
  box-shadow: 0 14px 36px rgba(47, 61, 120, .08);
}
.app-status__stripe {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 6px;
  gap: 2px;
  background: #fff;
}
.app-status__stripe span:nth-child(1) { background: var(--yellow); }
.app-status__stripe span:nth-child(2) { background: var(--red); }
.app-status__stripe span:nth-child(3) { background: var(--navy-deep); }
.app-status__inner { padding: 18px 20px 18px; }
.app-status__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 0 0 10px;
}
.app-status__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.app-status__badge {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #fde8e9;
  color: #b91c1c;
  border: 1px solid #f5c2c4;
}
.app-status h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  letter-spacing: -.02em;
  color: var(--navy-deep);
  line-height: 1.2;
}
.app-status p {
  margin: 0;
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.55;
  color: #3a4458;
}
.app-status__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.app-status--pending {
  border-color: #d7deea;
  border-left: 6px solid var(--red);
  background: #fff;
}
.app-status--pending .app-status__badge {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.app-status--approved {
  border-color: #d7deea;
  border-left: 6px solid var(--red);
  background: #fff;
}
.app-status--approved .app-status__badge {
  background: #fff;
  color: var(--red);
  border: 2px solid var(--red);
}
.app-status--work {
  border-color: #d7deea;
  background: #fff;
}
.app-status--work .app-status__badge {
  background: #fde8e9;
  color: var(--red);
}
.app-status--stop {
  border-color: #f0c2c2;
  background: #fffafa;
}
.app-status--stop .app-status__badge {
  background: #fef2f2;
  color: #9b1c1c;
  border-color: #f0c2c2;
}
.app-status--board .app-status__inner {
  padding: 22px 24px 24px;
}
.app-status--board h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}
.app-status__next {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f7f9fd;
  border: 1px solid #e2e8f4;
}
.app-status__next-label {
  margin: 0 0 8px !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red) !important;
}
.app-status__next-list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  display: grid;
  gap: 6px;
}
.app-status__next-list li {
  font-size: 14px;
  line-height: 1.45;
  color: #2f384a;
}
.file-stats--emphasis {
  margin-bottom: 18px;
}
.file-stats--emphasis .file-stat {
  min-height: 108px;
}
.file-stats--emphasis .file-stat--fee,
.file-stats--emphasis .file-stat--status {
  border-color: #d7deea;
  background: #fff;
}

/* How to return — portal access card */
.access-card {
  position: relative;
  overflow: hidden;
  margin: 0 0 18px;
  border-radius: 18px;
  border: 1px solid #e2e8f4;
  background:
    linear-gradient(145deg, rgba(17, 36, 84, .06) 0%, transparent 42%),
    linear-gradient(180deg, #fff 0%, #f7f9fd 100%);
  box-shadow: 0 12px 32px rgba(17, 36, 84, .07);
}
.access-card__stripe {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 5px;
  gap: 2px;
  background: #fff;
}
.access-card__stripe span:nth-child(1) { background: var(--yellow); }
.access-card__stripe span:nth-child(2) { background: var(--red); }
.access-card__stripe span:nth-child(3) { background: var(--navy-deep); }
.access-card__inner { padding: 20px 22px 22px; }
.access-card__kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.access-card__head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: -.02em;
  color: var(--navy-deep);
  line-height: 1.2;
}
.access-card__lede {
  margin: 0 0 16px;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.5;
  color: #3a4458;
}
.access-card__creds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8edf7;
}
.access-card__creds div { margin: 0; }
.access-card__creds dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b7690;
  margin: 0 0 4px;
}
.access-card__creds dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-deep);
  word-break: break-word;
}
.access-card__creds a {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}
.access-card__creds a:hover { text-decoration: underline; }
.access-card__steps {
  margin: 0 0 16px;
  padding: 0 0 0 1.2rem;
  display: grid;
  gap: 7px;
}
.access-card__steps li {
  font-size: 14px;
  line-height: 1.45;
  color: #2f384a;
}
.access-card__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 720px) {
  .access-card__creds { grid-template-columns: 1fr; }
}
.access-card--prompt {
  border-color: #f0b4b6;
  background:
    linear-gradient(145deg, rgba(233, 39, 44, .1) 0%, transparent 45%),
    linear-gradient(180deg, #fff8f8 0%, #fff 100%);
}
.email-login-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.email-login-form__row input {
  flex: 1 1 220px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d7deea;
  border-radius: 10px;
  font-size: 15px;
}
.email-login-form__row .btn {
  flex: 0 0 auto;
}

.app-progress-panel::before { background: var(--red); }
.app-progress-panel__tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}
.app-progress-panel__tag.is-live {
  background: #fde8e9;
  color: var(--red);
}
.app-progress-panel__tag.is-approved {
  background: var(--red);
  color: #fff;
}
.app-progress {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.app-progress__step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  position: relative;
  padding: 0 0 18px;
}
.app-progress__step:last-child { padding-bottom: 2px; }
.app-progress__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 34px;
  bottom: 2px;
  width: 2px;
  background: #eadadc;
}
.app-progress__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #e2c8c9;
  background: #fff;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #9a6b6d;
  z-index: 1;
}
.app-progress__copy { min-width: 0; padding-top: 4px; }
.app-progress__step strong {
  display: block;
  font-size: 14px;
  color: var(--navy-deep);
  letter-spacing: -.01em;
}
.app-progress__step .app-progress__copy > span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #5b6580;
}
.app-progress__step.is-done .app-progress__mark {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.app-progress__step.is-done:not(:last-child)::after {
  background: linear-gradient(180deg, var(--red), #f0b4b6);
}
.app-progress__step.is-done strong { color: var(--navy-deep); }
.app-progress__step.is-current {
  background: linear-gradient(90deg, rgba(233, 39, 44, .06), transparent 70%);
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 12px;
}
.app-progress__step.is-current .app-progress__mark {
  border-color: var(--red);
  background: #fff;
  color: var(--red);
  box-shadow: 0 0 0 4px rgba(233, 39, 44, .18);
}
.app-progress__step.is-current strong { color: var(--red); }
.app-progress__step.is-current:not(:last-child)::after {
  background: #f0b4b6;
}
.app-progress__step.is-stop .app-progress__mark {
  border-color: var(--red);
  background: #fef2f2;
  color: var(--red);
}
.app-progress__step.is-todo .app-progress__mark {
  opacity: .55;
  color: #9aa3b5;
  border-color: #d5dae6;
}
.app-progress__step.is-todo:not(:last-child)::after { background: #e8ecf4; }

/* Seat-fee payment handshake (portal /payments when paid) — M-Pesa / Safaricom green */
.fee-handshake {
  position: relative;
  overflow: hidden;
  margin: 0 0 18px;
  border-radius: 16px;
  background: #fff;
  color: #1a2e22;
  box-shadow: 0 16px 36px rgba(0, 102, 51, .14);
  border: 1px solid #b7e0c5;
}
.fee-handshake--mpesa {
  background:
    linear-gradient(180deg, #f3fbf6 0%, #fff 38%);
}
.fee-handshake__mpesa-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: linear-gradient(90deg, #006633 0%, #00a651 55%, #00b85c 100%);
  border-bottom: 3px solid #e60012;
}
.fee-handshake__logo {
  display: block;
  height: 28px;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.fee-handshake__mpesa-copy {
  text-align: right;
  color: #fff;
}
.fee-handshake__mpesa-copy span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .9;
}
.fee-handshake__mpesa-copy strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  letter-spacing: -.01em;
}
.fee-handshake__inner { padding: 22px 22px 18px; }
.fee-handshake__kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #00a651;
}
.fee-handshake h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #064e2a;
}
.fee-handshake__lede {
  margin: 0 0 18px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.55;
  color: #2f4a3a;
}
.fee-handshake__lede strong { color: #064e2a; }
.fee-handshake__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}
.fee-handshake__meta > div {
  background: #f3fbf6;
  border: 1px solid #c6e8d2;
  border-left: 3px solid #00a651;
  border-radius: 12px;
  padding: 12px 14px;
}
.fee-handshake__meta dt {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #1b7a45;
}
.fee-handshake__meta dd {
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: #0b3d22;
  word-break: break-word;
}
.fee-handshake__meta dd.is-paid {
  color: #00a651;
}
.fee-handshake__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.fee-handshake__acts .btn-line {
  background: #fff;
  border-color: #00a651;
  color: #006633;
}
.fee-handshake__acts .btn-line:hover {
  background: #00a651;
  border-color: #00a651;
  color: #fff;
}
.fee-handshake__foot {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px dashed #b7e0c5;
  font-size: 12px;
  font-weight: 700;
  color: #1b7a45;
  letter-spacing: .02em;
}
@media (max-width: 820px) {
  .fee-handshake__meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .fee-handshake__meta { grid-template-columns: 1fr; }
  .fee-handshake__inner { padding: 18px 16px 16px; }
  .fee-handshake__mpesa-copy { text-align: left; width: 100%; }
}
.file-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.file-dl--stack { grid-template-columns: 1fr; }
.file-dl div {
  min-width: 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, #fafbfd 0%, #f4f6fb 100%);
  border: 1px solid #e8ecf4;
  border-left: 3px solid #f0b4b6;
  border-radius: 12px;
}
.file-dl dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9a6b6d;
}
.file-dl dd {
  margin: 5px 0 0;
  font-weight: 700;
  font-size: 14px;
  overflow-wrap: anywhere;
  color: var(--navy-deep);
}
.file-flags { display: flex; flex-wrap: wrap; gap: 8px; }
.file-flag {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.file-flag.is-ok {
  background: #fde8e9;
  color: var(--navy-deep);
  border-color: #f0c2c4;
}
.file-flag.is-bad {
  background: #fef2f2;
  color: #b42318;
  border-color: #f0c2c2;
}
.file-note { margin: 12px 0 0; font-size: 13px; color: #3a4458; }
.file-note a { color: var(--navy); font-weight: 700; }
.file-hint { margin: 0 0 14px; font-size: 13px; color: #5b6580; }
.file-quote {
  margin: 0; padding: 14px 16px; background: #f4f6fb; border-left: 4px solid var(--yellow);
  border-radius: 0 12px 12px 0; font-size: 15px; line-height: 1.55; color: #24315f;
}
.file-trail { list-style: none; margin: 0; padding: 0; }
.file-trail li {
  position: relative;
  padding: 0 0 16px 18px;
  border-left: 2px solid #eadadc;
}
.file-trail li:last-child { padding-bottom: 0; }
.file-trail li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(233, 39, 44, .15);
}
.file-trail time {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #9a6b6d;
  letter-spacing: .04em;
}
.file-trail strong { display: block; font-size: 14px; color: var(--navy-deep); }
.file-trail span { font-size: 12px; color: #5b6580; }
.file-trail p { margin: 4px 0 0; font-size: 13px; color: #3a4458; }
.desk-checks { list-style: none; margin: 0; padding: 0; counter-reset: desk; display: grid; gap: 8px; }
.desk-checks li {
  counter-increment: desk;
  position: relative;
  padding: 12px 14px 12px 48px;
  background: #f4f6fb;
  border-radius: 10px;
  border-left: 4px solid var(--yellow);
  font-weight: 600;
  color: var(--navy-deep);
}
.desk-checks li::before {
  content: counter(desk);
  position: absolute;
  left: 12px; top: 12px;
  width: 24px; height: 24px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--yellow);
  font-size: 11px; font-weight: 800;
}
.award-kicker { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.award-tile.is-on { border-top: 5px solid var(--yellow); }
.paper-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0 24px; }
.paper-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(180deg, #fff 0%, #fafbfd 100%);
  border: 1px solid #eadadc;
  border-top: 4px solid var(--yellow);
  border-radius: 16px;
  padding: 18px 18px 16px;
  text-decoration: none;
  color: inherit;
  min-height: 0;
  box-shadow: 0 10px 24px rgba(47, 61, 120, .05);
}
.paper-tile b { color: var(--navy-deep); font-size: 1.08rem; letter-spacing: -.01em; }
.paper-tile span { color: #5b6580; font-size: 13px; line-height: 1.45; }
.paper-tile__cta {
  margin-top: auto;
  font-size: 12px;
  font-weight: 800;
  font-style: normal;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
}
.paper-tile.is-wait {
  opacity: 1;
  border-top-color: #c9d3e8;
  background: #f7f8fc;
}
.paper-tile--review {
  border-top-color: var(--red);
  background: linear-gradient(180deg, #fff7f7 0%, #fff 100%);
}
.paper-tile--ready { border-top-color: var(--red); }
a.paper-tile:hover {
  border-color: #f0b4b6;
  box-shadow: 0 12px 28px rgba(233, 39, 44, .1);
}

.confirm-board {
  margin: 0 0 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #eadadc;
  background:
    linear-gradient(135deg, rgba(233, 39, 44, .08) 0%, transparent 46%),
    #fff;
  box-shadow: 0 12px 32px rgba(47, 61, 120, .06);
}
.confirm-board__stripe {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  height: 6px;
}
.confirm-board__stripe span:nth-child(1) { background: var(--navy-deep); }
.confirm-board__stripe span:nth-child(2) { background: var(--red); }
.confirm-board__stripe span:nth-child(3) { background: var(--yellow); }
.confirm-board__inner { padding: 20px 22px 18px; }
.confirm-board__kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.confirm-board h2 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  color: var(--navy-deep);
  letter-spacing: -.02em;
}
.confirm-board p {
  margin: 0;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.55;
  color: #3a4458;
}
.confirm-board__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.confirm-board__meta > div {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fde8e9;
  border: 1px solid #f0c2c4;
}
.confirm-board__meta dt {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9a6b6d;
}
.confirm-board__meta dd {
  margin: 5px 0 0;
  font-weight: 800;
  color: var(--navy-deep);
  font-size: 14px;
}
.confirm-board__note {
  margin: 0 0 14px !important;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7f7;
  border-left: 4px solid var(--red);
  font-size: 14px !important;
}
.confirm-board__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.confirm-board--ok {
  border-color: #b7e4c7;
  background: linear-gradient(135deg, rgba(0, 166, 81, .08) 0%, transparent 46%), #fff;
}
@media (max-width: 820px) {
  .confirm-board__meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .confirm-board__meta { grid-template-columns: 1fr; }
}

.receipt-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}
.receipt-toolbar__hint {
  font-size: 13px;
  color: #5b6580;
  font-weight: 600;
}
@media print {
  .portal-side,
  .portal-topbar,
  .portal-tabbar,
  .receipt-toolbar,
  .no-print,
  .file-hero,
  .alert { display: none !important; }
  .portal-shell { display: block !important; min-height: 0 !important; background: #fff !important; }
  .portal-main { padding: 0 !important; }
  .file-desk { max-width: none; }
  .fee-handshake { overflow: visible; }
  .fee-handshake--receipt {
    box-shadow: none !important;
    border: 1px solid #222 !important;
    break-inside: avoid;
    color: #111 !important;
  }
  .fee-handshake__mpesa-bar {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .print-desk.print-receipt,
  .print-receipt .print-stage,
  .print-desk.print-application,
  .print-application .print-stage {
    background: #fff !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: none !important;
  }
  .paper-receipt, .paper-form { box-shadow: none !important; }
  .paper-form img {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
.portal-jump {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.portal-jump--stack {
  grid-template-columns: 1fr;
  margin-top: 0;
}
.portal-jump--stack .card {
  border-top-width: 4px;
  border-top-color: var(--red);
  padding: 14px 16px;
}
.portal-jump--stack .card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}
.portal-jump--stack .card p {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
}
.portal-access-panel .file-dl dd {
  line-height: 1.45;
}
.portal-jump .card {
  text-decoration: none; color: inherit;
  border: 1px solid #dfe5f2; border-radius: 14px; border-top: 5px solid var(--yellow);
  box-shadow: 0 10px 28px rgba(47, 61, 120, .06);
  padding: 18px 18px 20px;
}
.portal-jump .is-dim { opacity: .55; border-top-color: #c9d3e8; }
.portal-side .mini-pipe {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, .28);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(233, 39, 44, .35);
}
.portal-side .mini-pipe span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #ff6b70); }
.portal-side .mini-pipe span.is-bad { background: #9b1c1c; }
@media (max-width: 800px) {
  .portal-shell { grid-template-columns: 1fr; }
  .portal-jump { grid-template-columns: 1fr; }
  .wait-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .file-layout, .file-stats, .file-dl { grid-template-columns: 1fr; }
  .file-hero__stage { text-align: left; max-width: none; }
}

@media (max-width: 800px) {
  .tsp-lc { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); right: 12px; }
}
.tsp-lc { position: fixed; right: 16px; bottom: 16px; z-index: 240; font-family: var(--display); }
.tsp-lc__fab {
  position: relative;
  background: var(--navy-deep); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px 12px 16px;
  font-weight: 800; cursor: pointer; box-shadow: 0 10px 28px rgba(47,61,120,.28);
  display: inline-flex; align-items: center; gap: 8px;
}
.tsp-lc__fab:hover { background: var(--navy); color: var(--yellow); }
.tsp-lc.is-live .tsp-lc__fab { background: var(--navy); }
.tsp-lc__fab-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 0 3px rgba(62,207,142,.28);
  flex: none;
}
.tsp-lc__fab-dot[hidden] { display: none !important; }
.tsp-lc.is-open .tsp-lc__fab { visibility: hidden; pointer-events: none; }
.tsp-lc__panel {
  position: absolute; right: 0; bottom: 0; width: min(392px, calc(100vw - 24px));
  background: #fff; border-radius: 16px;
  box-shadow: 0 18px 40px rgba(47,61,120,.22); border: 1px solid #d5dcec;
  display: flex; flex-direction: column;
  height: auto;
  max-height: calc(100dvh - 24px);
  overflow: hidden;
}
.tsp-lc__panel[hidden] { display: none !important; }
.tsp-lc__head {
  background: var(--navy-deep); color: #eef3fb; padding: 12px 14px; display: flex; justify-content: space-between; gap: 8px; flex: none;
}
.tsp-lc__head strong { display: block; color: var(--yellow); }
.tsp-lc__head span { display: block; font-size: 12px; color: #c5cdee; line-height: 1.35; padding-right: 8px; }
.tsp-lc__close { background: transparent; border: 0; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; padding: 0 4px; flex: none; }
.tsp-lc__msgs { padding: 12px; overflow: auto; flex: 0 1 auto; min-height: 64px; max-height: min(220px, 30vh); background: #f6f7fb; }
.tsp-lc__bubble { margin: 0 0 10px; padding: 8px 10px; border-radius: 10px; font-size: 13px; background: #fff; border: 1px solid #e6ebf3; overflow-wrap: anywhere; }
.tsp-lc__bubble span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #7a8398; margin-bottom: 4px; }
.tsp-lc__bubble--visitor { background: var(--navy); color: #fff; }
.tsp-lc__bubble--visitor span { color: var(--yellow); }
.tsp-lc__bubble--bot { border-left: 4px solid var(--yellow); }
.tsp-lc__bubble--staff { border-left: 4px solid var(--red); }
.tsp-lc__bubble--system { background: transparent; border: 0; color: #5b6580; font-size: 12px; }
.tsp-lc__form { padding: 12px; border-top: 1px solid #e6ebf3; background: #fff; flex: none; min-width: 0; }
.tsp-lc__meta { display: grid; gap: 8px; margin: 0 0 10px; min-width: 0; }
.tsp-lc__meta input, .tsp-lc__meta select, .tsp-lc__compose textarea {
  display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box;
  padding: 10px 12px; border: 1px solid #d5deea; border-radius: 10px; font: inherit; background: #fff;
}
.tsp-lc__compose { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tsp-lc__compose textarea { resize: vertical; min-height: 72px; max-height: 140px; }
.tsp-lc__send {
  align-self: stretch; border: 0; border-radius: 10px; padding: 11px 16px; cursor: pointer;
  font: inherit; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 13px;
  background: var(--navy); color: #fff;
}
.tsp-lc__send:hover { background: var(--navy-deep); color: var(--yellow); }
.tsp-lc__send:disabled { opacity: .6; cursor: wait; }
.tsp-lc__esc { padding: 0 14px 6px; text-align: center; }
.tsp-lc__esc[hidden] { display: none !important; }
.tsp-lc__esc button,
.tsp-lc__human-quiet {
  width: auto; max-width: 100%; border: 0; background: transparent; color: #5b6580;
  border-radius: 0; padding: 4px 2px; font: inherit; font-weight: 500; font-size: 12px;
  cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.tsp-lc__esc button:hover,
.tsp-lc__human-quiet:hover { color: var(--navy); background: transparent; }
@media (max-width: 480px) {
  .tsp-lc { right: 10px; bottom: 10px; left: 10px; }
  .tsp-lc__panel { width: 100%; max-height: calc(100dvh - 20px); }
}

/* Support TSP — party colours hard */
.support-page {
  background:
    linear-gradient(180deg, #eef1f8 0%, #f3f5f9 40%, #f7f8fb 100%);
  padding-bottom: 72px;
}
.support-head {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #e2e7f0;
  padding: 0 0 16px;
}
.support-head__stripe {
  height: 5px;
  margin-bottom: 14px;
}
.support-head__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
}
.support-head__badge {
  display: inline-block;
  margin: 0 0 6px;
  padding: 5px 10px;
  border-radius: 0;
  background: var(--navy);
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .66rem;
  box-shadow: 3px 0 0 var(--red);
}
.support-head h1 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
  max-width: 18ch;
  color: var(--navy-deep);
}
.support-head__lede {
  margin: 0;
  max-width: 48ch;
  color: #4a5578;
  font-size: .92rem;
  line-height: 1.4;
}
.support-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.support-head__actions .btn {
  padding: 8px 14px;
  font-size: 12px;
}

.support-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-bottom: 0;
  box-shadow: 0 8px 20px rgba(47, 61, 120, .06);
}
.support-tabs::after {
  content: "";
  display: block;
  height: 4px;
  background: var(--flag-stripe);
}
.support-tabs__row {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: thin;
}
.support-tabs button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--navy-deep);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 11px 16px;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.support-tabs button:hover {
  background: #f4f6fb;
  color: var(--red);
}
.support-tabs button.is-on,
.support-tabs button[aria-selected="true"] {
  background: var(--navy);
  color: #fff;
  border-bottom-color: var(--yellow);
}

.support-main { padding-top: 28px; }
.support-sheet {
  display: none;
  background: #fff;
  border: 1px solid #d9e0ec;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(47, 61, 120, .08);
}
.support-sheet.is-on { display: block; }
.support-sheet[hidden] { display: none !important; }
.support-sheet__stripe { height: 6px; }
.support-eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .74rem;
}
.support-sheet__prose p {
  margin: 0 0 14px;
  color: #2f3a5c;
  font-size: 1.04rem;
  line-height: 1.65;
}
.support-sheet__prose p:last-child { margin-bottom: 0; }

/* Overview */
.support-why {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 0;
}
.support-why__intro {
  padding: 36px 40px 40px;
  border-right: 1px solid #e8ecf4;
  background:
    linear-gradient(135deg, rgba(229, 175, 37, .08) 0%, transparent 42%),
    #fff;
}
.support-why__intro h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  color: var(--navy-deep);
  line-height: 1.15;
}
.support-mosaic {
  padding: 28px 22px 32px;
  background: var(--navy-deep);
}
.support-mosaic__label {
  margin: 0 0 14px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yellow);
}
.support-mosaic__grid {
  display: grid;
  gap: 10px;
}
.support-tile {
  position: relative;
  display: grid;
  gap: 4px;
  text-align: left;
  border: 0;
  background: rgba(255, 255, 255, .08);
  border-radius: 0;
  padding: 14px 16px 14px 22px;
  cursor: pointer;
  font: inherit;
  color: #fff;
  transition: background .15s ease, transform .15s ease;
  overflow: hidden;
}
.support-tile:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateX(2px);
}
.support-tile__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--yellow);
}
.support-tile--gold .support-tile__bar { background: var(--yellow); }
.support-tile--red .support-tile__bar { background: var(--red); }
.support-tile--navy .support-tile__bar { background: #8fa0d8; }
.support-tile__kicker {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}
.support-tile strong {
  color: #fff;
  font-size: 1.05rem;
}
.support-tile em {
  font-style: normal;
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
  line-height: 1.35;
}

/* Path sheets — filled party heroes */
.support-path__hero {
  position: relative;
  padding: 32px 40px 28px;
  background: var(--navy);
  color: #fff;
}
.support-path__tri {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
}
.support-sheet--gold .support-path__hero {
  background: linear-gradient(145deg, var(--yellow) 0%, #d49a14 100%);
  color: var(--navy-deep);
}
.support-sheet--red .support-path__hero {
  background: linear-gradient(145deg, #f03a3f 0%, var(--red) 55%, #c41f24 100%);
  color: #fff;
}
.support-sheet--navy .support-path__hero {
  background: linear-gradient(145deg, var(--navy-2) 0%, var(--navy) 40%, var(--navy-deep) 100%);
  color: #fff;
}
.support-path__kicker {
  margin: 8px 0 8px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}
.support-sheet--gold .support-path__kicker { color: var(--navy-deep); opacity: 1; }
.support-sheet--red .support-path__kicker,
.support-sheet--navy .support-path__kicker { color: var(--yellow); opacity: 1; }
.support-path__hero h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.65rem);
  line-height: 1.08;
  color: inherit;
}
.support-path__blurb {
  margin: 0;
  max-width: 38ch;
  font-size: 1.08rem;
  line-height: 1.4;
  opacity: .92;
  font-weight: 600;
}
.support-path__grid {
  display: grid;
  grid-template-columns: 1.2fr .95fr;
  gap: 0;
}
.support-path__story {
  padding: 32px 40px;
  border-right: 1px solid #e8ecf4;
  background: #fff;
}
.support-path__list {
  padding: 28px 28px 32px;
  background:
    linear-gradient(180deg, #f0f3fa 0%, #e8edf7 100%);
  border-left: 6px solid var(--navy);
}
.support-sheet--gold .support-path__list { border-left-color: var(--yellow); }
.support-sheet--red .support-path__list { border-left-color: var(--red); }
.support-sheet--navy .support-path__list { border-left-color: var(--navy); }
.support-path__story p {
  margin: 0;
  color: #2a3354;
  font-size: 1.08rem;
  line-height: 1.72;
}
.support-path__list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.support-path__list li {
  position: relative;
  padding: 14px 16px 14px 38px;
  background: #fff;
  border: 0;
  border-radius: 0;
  color: var(--navy-deep);
  line-height: 1.4;
  font-size: .98rem;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(47, 61, 120, .06);
}
.support-path__list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  background: var(--navy);
}
.support-sheet--gold .support-path__list li::before { background: var(--yellow); }
.support-sheet--red .support-path__list li::before { background: var(--red); }
.support-sheet--navy .support-path__list li::before { background: var(--navy); }
.support-sheet--gold .support-path__list li:nth-child(2)::before { background: var(--red); }
.support-sheet--gold .support-path__list li:nth-child(3)::before { background: var(--navy); }
.support-sheet--red .support-path__list li:nth-child(2)::before { background: var(--yellow); }
.support-sheet--red .support-path__list li:nth-child(3)::before { background: var(--navy); }
.support-sheet--navy .support-path__list li:nth-child(2)::before { background: var(--yellow); }
.support-sheet--navy .support-path__list li:nth-child(3)::before { background: var(--red); }

/* Sustaining: gold hero, navy money band */
#sustaining .support-path__hero {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
}
#sustaining .support-path__kicker { color: var(--yellow); }
#sustaining .support-path__list { border-left-color: var(--yellow); }
#sustaining .support-path__list li::before { background: var(--yellow); }
#sustaining .support-path__list li:nth-child(2)::before { background: var(--red); }
#sustaining .support-path__list li:nth-child(3)::before { background: var(--navy); }

.support-path__tiers {
  padding: 0;
  border-top: 0;
  background: var(--navy-deep);
  color: #fff;
}
.support-path__tiers-head {
  margin: 0;
  padding: 24px 40px 16px;
}
.support-path__tiers-head h3 {
  margin: 0 0 6px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yellow);
}
.support-path__tiers-head p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  max-width: 48ch;
  font-size: .95rem;
}
.support-tier-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.support-tier {
  display: grid;
  gap: 6px;
  text-decoration: none;
  padding: 20px 16px;
  border-radius: 0;
  color: #fff;
  min-height: 96px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  transition: filter .15s ease, transform .15s ease;
}
.support-tier:last-child { border-right: 0; }
.support-tier:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  z-index: 1;
}
.support-tier span {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .92;
}
.support-tier strong { font-size: 1.05rem; font-weight: 800; }

.support-path__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  border-top: 4px solid var(--yellow);
  background: var(--navy-deep);
}
.support-sheet--red .support-path__foot { border-top-color: var(--red); }
.support-sheet--navy .support-path__foot { border-top-color: var(--navy); }
.support-sheet--gold .support-path__foot { border-top-color: var(--yellow); }
#sustaining .support-path__foot { border-top-color: var(--yellow); }
.support-path__foot .btn-line {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.support-path__foot .btn-line:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.support-path__back {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--yellow);
  font: inherit;
  font-weight: 800;
  font-size: .92rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.support-path__back:hover { color: #fff; }

/* Sustaining member badges — material hierarchy Bronze → Platinum */
.tier-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.tier-badge {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  text-decoration: none;
  padding: 22px 14px 18px;
  border-radius: 18px;
  min-height: 198px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .35) inset,
    0 14px 28px rgba(17, 36, 84, .12);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: tierBadgeIn .45s ease both;
  animation-delay: var(--delay, 0ms);
}
.tier-badge:hover {
  transform: translateY(-5px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .4) inset,
    0 20px 36px rgba(17, 36, 84, .18);
}
@keyframes tierBadgeIn {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.tier-badge__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, .38) 0%, transparent 38%, transparent 62%, rgba(255, 255, 255, .12) 100%);
  pointer-events: none;
  z-index: 0;
}
.tier-badge__rim {
  position: absolute;
  inset: 7px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08) inset;
  pointer-events: none;
  z-index: 0;
}
.tier-badge__seal {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 4px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, .35) inset,
    0 6px 14px rgba(0, 0, 0, .18);
}
.tier-badge__seal b { font-weight: 700; }
.tier-badge__name,
.tier-badge__amount,
.tier-badge__blurb {
  position: relative;
  z-index: 1;
  margin: 0;
}
.tier-badge__name {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.tier-badge__amount {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.tier-badge__blurb {
  font-style: normal;
  font-size: .8rem;
  line-height: 1.4;
  max-width: 18ch;
  opacity: .92;
}
.tier-badge--compact {
  min-height: 150px;
  padding: 18px 12px 16px;
  border-radius: 0;
  box-shadow: none;
}
.tier-badge--compact .tier-badge__seal {
  width: 44px;
  height: 44px;
  font-size: 1.05rem;
}
.tier-badge--compact .tier-badge__blurb { display: none; }

/* Bronze — warm copper */
.tier-badge--bronze {
  color: #3a2414;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255, 220, 170, .55), transparent 55%),
    linear-gradient(160deg, #e0a86a 0%, #b87333 48%, #8a4f22 100%);
  border-color: #9a5c2c;
}
.tier-badge--bronze .tier-badge__seal {
  color: #3a2414;
  background: linear-gradient(145deg, #f0c896, #b87333 55%, #7a451c);
  border: 2px solid #f3d5a8;
}
.tier-badge--bronze .tier-badge__name { color: #5c3418; }

/* Silver — cool metal */
.tier-badge--silver {
  color: #2a3344;
  background:
    radial-gradient(120% 80% at 18% 0%, rgba(255, 255, 255, .7), transparent 52%),
    linear-gradient(160deg, #f4f6f8 0%, #c5ced8 45%, #8e9aab 100%);
  border-color: #9aa6b5;
}
.tier-badge--silver .tier-badge__seal {
  color: #2a3344;
  background: linear-gradient(145deg, #fff, #c8d0da 50%, #7f8b9a);
  border: 2px solid #fff;
}
.tier-badge--silver .tier-badge__name { color: #4a5568; }

/* Diamond — icy crystal (not party red) */
.tier-badge--diamond {
  color: #10243f;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(255, 255, 255, .85), transparent 50%),
    linear-gradient(165deg, #eef8ff 0%, #9fd4f5 42%, #3d7eb8 100%);
  border-color: #6eb0d8;
}
.tier-badge--diamond .tier-badge__seal {
  color: #0d2b4a;
  background:
    linear-gradient(145deg, #fff 0%, #c9ebff 40%, #5aa0d4 100%);
  border: 2px solid #fff;
  clip-path: polygon(50% 0%, 92% 25%, 92% 75%, 50% 100%, 8% 75%, 8% 25%);
  border-radius: 0;
  width: 50px;
  height: 56px;
}
.tier-badge--diamond .tier-badge__name { color: #1a4a72; }

/* Gold — rich gilt */
.tier-badge--gold {
  color: #3a2a08;
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(255, 245, 180, .65), transparent 50%),
    linear-gradient(160deg, #f6d56a 0%, #d4a017 45%, #9a6b08 100%);
  border-color: #b8860b;
  min-height: 210px;
}
.tier-badge--gold .tier-badge__seal {
  color: #3a2a08;
  background: linear-gradient(145deg, #fff1a8, #e0b12a 50%, #a07808);
  border: 2px solid #fff6c8;
  width: 58px;
  height: 58px;
}
.tier-badge--gold .tier-badge__name { color: #6b4e0a; }
.tier-badge--gold .tier-badge__amount { font-size: 1.18rem; }

/* Platinum — executive top tier */
.tier-badge--platinum {
  color: #f4f7fb;
  background:
    radial-gradient(100% 70% at 50% -10%, rgba(255, 255, 255, .22), transparent 45%),
    linear-gradient(165deg, #4a5568 0%, #2c3444 40%, #121820 100%);
  border-color: #c5ccd6;
  min-height: 228px;
  padding-top: 26px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .25) inset,
    0 0 0 1px rgba(197, 204, 214, .55),
    0 18px 40px rgba(10, 14, 24, .28);
}
.tier-badge--platinum .tier-badge__rim {
  border-color: rgba(220, 228, 238, .45);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .35) inset,
    0 0 18px rgba(200, 210, 230, .12);
}
.tier-badge--platinum .tier-badge__seal {
  color: #121820;
  width: 64px;
  height: 64px;
  font-size: 1.4rem;
  background: linear-gradient(145deg, #f8fafc, #c5ccd6 48%, #8b95a5);
  border: 2px solid #eef2f7;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, .5) inset,
    0 8px 18px rgba(0, 0, 0, .35);
}
.tier-badge--platinum .tier-badge__name {
  color: #dce3ee;
  letter-spacing: .18em;
}
.tier-badge--platinum .tier-badge__amount {
  font-size: 1.28rem;
  color: #fff;
}
.tier-badge--platinum .tier-badge__blurb { color: rgba(232, 238, 246, .88); }
.tier-badge--platinum::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 42px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #e8eef6, transparent);
  z-index: 1;
}

.support-path__tiers .support-tier-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 8px 16px 20px;
  border-top: 0;
  background: transparent;
}
.support-path__tiers .tier-badge--compact {
  border-radius: 14px;
}

@media (max-width: 900px) {
  .support-why,
  .support-path__grid { grid-template-columns: 1fr; }
  .support-why__intro { border-right: 0; border-bottom: 1px solid #eef1f6; }
  .support-path__story { border-right: 0; border-bottom: 1px solid #eef1f6; }
  .support-path__list { border-left: 0; border-top: 6px solid var(--navy); }
  .support-sheet--gold .support-path__list { border-top-color: var(--yellow); }
  .support-sheet--red .support-path__list { border-top-color: var(--red); }
  .support-sheet--navy .support-path__list { border-top-color: var(--navy); }
  #sustaining .support-path__list { border-top-color: var(--yellow); }
  .support-tier-grid,
  .support-path__tiers .support-tier-grid,
  .tier-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-tier { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .tier-badge--platinum { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .support-head__inner { align-items: start; }
  .support-head h1 { max-width: none; }
  .support-why__intro,
  .support-path__hero,
  .support-path__story,
  .support-path__list,
  .support-path__tiers-head,
  .support-path__foot { padding-left: 18px; padding-right: 18px; }
  .support-tier-grid,
  .support-path__tiers .support-tier-grid,
  .tier-rail { grid-template-columns: 1fr; }
  .tier-badge--platinum { grid-column: auto; }
  .support-path__back { margin-left: 0; width: 100%; text-align: left; }
}

.iebc-box {
  margin-top: 0;
  padding: 20px 20px 16px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(233, 39, 44, .06) 0%, transparent 42%),
    linear-gradient(180deg, #fff7f7, #fff);
  border: 1px solid #f0c2c4;
  border-top: 4px solid var(--red);
}
.iebc-box__kicker {
  margin: 0 0 6px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .75rem;
}
.iebc-box h2 { margin: 0 0 8px; font-size: 1.2rem; color: var(--navy-deep); }
.iebc-box__head p { margin: 0 0 8px; color: #4a5478; line-height: 1.5; }
.iebc-box__pdf {
  display: inline-block;
  margin-top: 4px;
  font-weight: 800;
  color: var(--red);
}
.iebc-box select {
  width: 100%;
  max-width: 420px;
  margin: 8px 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cfd8e8;
  font: inherit;
  background: #fff;
}
.iebc-area {
  margin: 0 0 12px;
  font-size: 14px;
  color: #3a4458;
}
.iebc-fees {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff8e6;
  border: 1px solid #f0d789;
  border-left: 4px solid var(--red);
}
.iebc-fees p { margin: 0; color: #3a3f55; font-size: .95rem; line-height: 1.45; }
.iebc-pane details {
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eadadc;
}
.iebc-pane summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy-deep);
  padding: 2px 0;
  list-style: none;
}
.iebc-pane summary::-webkit-details-marker { display: none; }
.iebc-pane summary::before {
  content: "▸ ";
  color: var(--red);
}
.iebc-pane details[open] summary::before { content: "▾ "; }
.iebc-pane ul { margin: 8px 0 4px; padding-left: 18px; color: #36405f; }
.iebc-pane li { margin: 6px 0; line-height: 1.45; }
.iebc-inline { margin: 16px 0 8px; }
.wizard-card--wide .iebc-box { margin-top: 0; }
.file-panel--materials { border-top: 4px solid var(--red); }
.materials-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.materials-links a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fde8e9;
  border: 1px solid #f0c2c4;
  color: var(--navy-deep);
  font-weight: 700;
  text-decoration: none;
}
.materials-links a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.wait-materials-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #5b6580;
}
.wait-materials-note strong { color: var(--navy-deep); }

/* —— Portal apply + phone-first aspirant rail —— */
.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--red);
  font-weight: 800;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.apply-guide__steps {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 6px;
  color: var(--ink, #152038);
  line-height: 1.4;
  font-size: 14px;
}
.apply-guide__steps strong { color: var(--navy-deep); }
.apply-seats-lede { margin: 0 0 8px; font-size: 13px; }
.apply-seats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.apply-seat { margin: 0; }
.apply-seat--locked { grid-column: 1 / -1; }
.apply-seat__btn {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "short label cta"
    "short meta cta";
  gap: 1px 10px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid #dfe5f2;
  border-radius: 12px;
  border-left: 4px solid var(--red);
  background: #fff;
  box-shadow: 0 4px 14px rgba(47, 61, 120, .05);
  cursor: pointer;
  font: inherit;
  color: inherit;
  min-height: 0;
  -webkit-tap-highlight-color: transparent;
}
.apply-seat__btn:active,
.apply-seat__btn:hover {
  border-color: var(--navy);
  background: #f7f9ff;
}
.apply-seat--locked .apply-seat__btn {
  cursor: not-allowed;
  background: #f3f4f8;
  border-color: #d5d9e4;
  border-left-color: #8a93a8;
  box-shadow: none;
}
.apply-seat--locked .apply-seat__btn:hover {
  background: #f3f4f8;
  border-color: #d5d9e4;
}
.apply-seat__short {
  grid-area: short;
  align-self: center;
  min-width: 44px;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--navy-deep);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  text-align: center;
  letter-spacing: .02em;
  line-height: 1.15;
}
.apply-seat--locked .apply-seat__short { background: #6b7388; }
.apply-seat__label {
  grid-area: label;
  font-weight: 800;
  font-size: .95rem;
  color: var(--navy-deep);
  line-height: 1.2;
}
.apply-seat__meta {
  grid-area: meta;
  font-size: 12px;
  font-weight: 600;
  color: #5b6580;
  line-height: 1.25;
}
.apply-seat__cta {
  grid-area: cta;
  margin-top: 0;
  font-weight: 800;
  color: var(--red);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.apply-seat--locked .apply-seat__cta { color: #8a6a12; }
.apply-skip { margin: 16px 0 0; }
.apply-skip .linkish { color: var(--red); font-weight: 800; }
.apply-desk .file-hero {
  background: linear-gradient(180deg, #2f3d78 0%, #24315f 100%);
}
.apply-desk .file-kicker { color: var(--yellow); }
.apply-desk .file-avatar {
  background: linear-gradient(145deg, #fff 0%, #ffe9b0 55%, #e5af25 100%);
  color: var(--navy-deep);
  border-color: rgba(229, 175, 37, .7);
}
.apply-desk .file-dl div:nth-child(3n+1) { border-left-color: var(--yellow); }
.apply-desk .file-dl div:nth-child(3n+2) { border-left-color: var(--red); }
.apply-desk .file-dl div:nth-child(3n) { border-left-color: var(--navy); }
.apply-seats .apply-seat:nth-child(3n+1) .apply-seat__short {
  background: var(--yellow);
  color: var(--navy-deep);
}
.apply-seats .apply-seat:nth-child(3n+2) .apply-seat__short {
  background: var(--red);
  color: #fff;
}
.apply-seats .apply-seat:nth-child(3n) .apply-seat__short {
  background: var(--navy-deep);
  color: #fff;
}
.apply-seats .apply-seat:nth-child(3n+1) .apply-seat__btn { border-left-color: var(--yellow); }
.apply-seats .apply-seat:nth-child(3n+2) .apply-seat__btn { border-left-color: var(--red); }
.apply-seats .apply-seat:nth-child(3n) .apply-seat__btn { border-left-color: var(--navy); }
.apply-seat__btn:active,
.apply-seat__btn:hover {
  border-color: var(--yellow);
  background: #fffaf0;
}
.apply-seats .apply-seat:nth-child(3n+2) .apply-seat__btn:hover {
  border-color: var(--red);
  background: #fff7f7;
}
.apply-seats .apply-seat:nth-child(3n) .apply-seat__btn:hover {
  border-color: var(--navy);
  background: #f7f9ff;
}
.apply-seat--locked .apply-seat__btn,
.apply-seat--locked .apply-seat__btn:hover {
  background: #fff8e6;
  border-color: #ead38a;
  border-left-color: var(--yellow);
}
.apply-seat--locked .apply-seat__short {
  background: var(--yellow);
  color: var(--navy-deep);
}
.apply-home-cta__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.apply-home-cta__acts .btn { min-height: 48px; padding-inline: 18px; }
.file-dl--compact { gap: 8px 16px; }
.member-pass--continue { margin-bottom: 18px; }

.portal-topbar,
.portal-tabbar { display: none; }

@media (max-width: 800px) {
  .portal-app {
    background: #f3f5fb;
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  .portal-shell {
    display: block;
    min-height: 100dvh;
  }
  .portal-side,
  .portal-out { display: none !important; }
  .portal-topbar {
    display: block;
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(165deg, #2a1840 0%, #2f3d78 62%, #24315f 100%);
    color: #fff;
    padding-top: env(safe-area-inset-top, 0px);
    box-shadow: 0 8px 22px rgba(20, 28, 58, .18);
  }
  .portal-topbar .brand-tricolour { height: 4px; margin: 0; }
  .portal-topbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px 10px;
    min-height: 56px;
  }
  .portal-topbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    min-width: 0;
  }
  .portal-topbar__brand img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 2px;
  }
  .portal-topbar__brand span { display: grid; min-width: 0; }
  .portal-topbar__brand strong {
    font-size: 15px;
    letter-spacing: -.01em;
    line-height: 1.1;
  }
  .portal-topbar__brand small {
    color: #ffd0d2;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .portal-topbar__out button {
    border: 1px solid rgba(255,255,255,.35);
    background: transparent;
    color: #fff;
    border-radius: 999px;
    min-height: 36px;
    padding: 0 12px;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
  }
  .portal-main {
    padding: 12px 12px 18px;
    max-width: none;
  }
  .file-desk { max-width: none; }
  .file-hero {
    border-radius: 16px;
    padding: 0 0 12px;
  }
  .file-hero__row {
    padding: 14px 14px 6px;
    gap: 12px;
  }
  .file-hero h1 { font-size: 1.22rem; }
  .file-hero__stage b { font-size: 1.45rem; }
  .file-hero__pct-label { display: none; }
  .file-ident { gap: 10px; }
  .file-avatar { width: 48px; height: 48px; font-size: 16px; }
  .alert { margin-bottom: 12px; }
  .portal-tabbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: #fff;
    border-top: 1px solid #d7deea;
    padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
    box-shadow: 0 -10px 24px rgba(47, 61, 120, .08);
  }
  .portal-tab,
  .portal-tabmore > summary {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 52px;
    padding: 4px 2px;
    color: #5b6580;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    background: none;
    border: 0;
    list-style: none;
    cursor: pointer;
  }
  .portal-tabmore > summary::-webkit-details-marker { display: none; }
  .portal-tab.is-active,
  .portal-tabmore > summary.is-active {
    color: var(--navy-deep);
  }
  .portal-tab.is-active .portal-ico,
  .portal-tabmore > summary.is-active .portal-ico {
    color: var(--red);
  }
  .portal-tab span,
  .portal-tabmore > summary span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .portal-ico { display: block; }
  .portal-tabmore { position: relative; flex: 1 1 0; }
  .portal-tabmore__sheet {
    position: absolute;
    right: 8px;
    bottom: calc(100% + 10px);
    width: min(260px, calc(100vw - 24px));
    background: #fff;
    border: 1px solid #d7deea;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(20, 28, 58, .2);
    padding: 8px;
    display: grid;
    gap: 2px;
  }
  .portal-tabmore__sheet a,
  .portal-tabmore__sheet button,
  .portal-tabmore__sheet span {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: none;
    color: var(--navy-deep);
    text-decoration: none;
    font: inherit;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 12px;
    border-radius: 10px;
  }
  .portal-tabmore__sheet a:hover,
  .portal-tabmore__sheet button:hover { background: #f4f6fb; }
  .portal-tabmore__sheet span.is-locked { color: #8a93a8; font-weight: 600; }
  .file-panel { padding: 16px 14px; }
  .file-panel header { flex-wrap: wrap; gap: 6px; }
  .apply-seats { grid-template-columns: 1fr; }
  .apply-seat__btn { min-height: 0; padding: 10px 12px; }
  .apply-home-cta__acts { flex-direction: column; }
  .apply-home-cta__acts .btn { width: 100%; justify-content: center; }
  .wizard-wrap { padding-inline: 12px; }
  .wizard-card,
  .wizard-card--wide { padding: 22px 16px 28px; border-radius: 16px; }
  .wizard-card h1,
  .wizard-card--wide h1 { font-size: 1.45rem; line-height: 1.2; }
  .wizard-lede { font-size: 15px; }
  .seat-tiles { grid-template-columns: 1fr; gap: 10px; }
  .seat-tiles .doc-tile {
    min-height: 64px;
    padding: 14px 14px;
  }
  .seat-tiles .doc-tile strong { font-size: 15px; }
  .doc-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .doc-tile { min-height: 52px; }
  .choice-pills { gap: 10px; }
  .choice-pill span {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding-inline: 16px;
  }
  .wizard-submit,
  .wizard-card .btn,
  .wizard-card--wide .btn {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    font-size: 16px;
  }
  .photo-slot__box {
    min-height: 88px;
    padding: 16px;
  }
  .confirm-dossier__acts {
    flex-direction: column !important;
  }
  .confirm-dossier__acts .btn { width: 100%; min-height: 52px; }
  .field-row { grid-template-columns: 1fr !important; }
  .member-pass {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 14px;
  }
  .member-pass__title { font-size: 1.05rem; }
  input, select, textarea, button {
    font-size: 16px; /* stops iOS zoom on focus */
  }
  .stepper { margin: 0 0 10px; gap: 0; }
  .stepper > li { width: auto; flex: 1 1 0; min-width: 0; }
  .stepper-num { width: 30px; height: 30px; font-size: 13px; }
  .stepper-line { margin: 14px 2px 0; }
  .stepper-label {
    font-size: 9px;
    letter-spacing: .02em;
    line-height: 1.2;
    padding-inline: 2px;
  }
  .stepper-label { display: none; }
  .stepper .is-active .stepper-label { display: block; }
}

.apply-topbar { display: none; }

@media (max-width: 800px), (display-mode: standalone) {
  body.apply-app {
    background: #eef0f7;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  body.apply-app .topbar,
  body.apply-app .masthead,
  body.apply-app .chrome-bar,
  body.apply-app .nav,
  body.apply-app footer,
  body.apply-app .tsp-lc { display: none !important; }
  body.apply-app .apply-topbar {
    display: block;
    position: sticky;
    top: 0;
    z-index: 80;
    background: linear-gradient(165deg, #2a1840 0%, #2f3d78 62%, #24315f 100%);
    color: #fff;
    padding-top: env(safe-area-inset-top, 0px);
    box-shadow: 0 8px 22px rgba(20, 28, 58, .18);
  }
  body.apply-app .apply-topbar .brand-tricolour { height: 4px; margin: 0; }
  body.apply-app .apply-topbar__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 10px;
    min-height: 56px;
  }
  body.apply-app .apply-topbar__back {
    flex: none;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    line-height: 1;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
  }
  body.apply-app .apply-topbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
    color: #fff;
    text-decoration: none;
  }
  body.apply-app .apply-topbar__brand img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 2px;
  }
  body.apply-app .apply-topbar__brand span { display: grid; min-width: 0; }
  body.apply-app .apply-topbar__brand strong {
    font-size: 15px;
    line-height: 1.1;
  }
  body.apply-app .apply-topbar__brand small {
    color: #ffd0d2;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.apply-app .apply-topbar__home {
    flex: none;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }
  body.apply-app .wizard {
    padding: 12px 0 28px;
    min-height: calc(100dvh - 64px);
    background: #eef0f7;
  }
  body.apply-app .wizard-back { display: none; }
  body.apply-app .wizard-kicker { display: none; }
  body.apply-app .wizard-card,
  body.apply-app .wizard-card--wide {
    margin-top: 8px;
    padding: 16px 14px 22px;
    border-radius: 16px;
  }
  body.apply-app .wizard-card h1,
  body.apply-app .wizard-card--wide h1 { font-size: 1.28rem; margin-bottom: 6px; }
  body.apply-app .wizard-lede {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 12px;
  }
  body.apply-app .member-pass { margin-bottom: 12px; padding: 12px; }
  body.apply-app .member-pass__mark { width: 42px; height: 42px; border-radius: 10px; }
  body.apply-app .member-pass__title { font-size: 1rem; }
  body.apply-app .wizard-panel {
    margin-top: 12px;
    border-radius: 14px;
    box-shadow: none;
  }
  body.apply-app .wizard-panel__head { padding: 12px 14px; }
  body.apply-app .wizard-panel__title { font-size: 1rem; }
  body.apply-app .wizard-panel > .field-kicker,
  body.apply-app .wizard-panel > .field-row,
  body.apply-app .wizard-panel > .geo-cascade,
  body.apply-app .wizard-panel > .seat-tiles,
  body.apply-app .wizard-panel > .choice-pills,
  body.apply-app .wizard-panel > .note,
  body.apply-app .wizard-panel > .declare-card,
  body.apply-app .wizard-panel > .aspirant-land,
  body.apply-app .wizard-panel > input,
  body.apply-app .wizard-panel > label.field-kicker,
  body.apply-app .declare-card--soft {
    margin-left: 12px;
    margin-right: 12px;
  }
  body.apply-app .pick { padding: 12px 0 28px; }
  body.apply-app .pick-head-block h1 { font-size: 1.45rem; }
  body.apply-app .wizard-submit {
    position: sticky;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    box-shadow: 0 10px 28px rgba(47, 61, 120, .28);
    margin-bottom: 0;
  }
  body.apply-app .wizard {
    padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
  }
  body.apply-app .wizard-card,
  body.apply-app .wizard-card--wide,
  body.apply-app .pick-card { overflow-x: hidden; }
  body.apply-app input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):not([type="file"]),
  body.apply-app select,
  body.apply-app textarea {
    min-height: 48px;
    font-size: 16px;
  }
  body.apply-app .pick-btn {
    min-height: 52px;
    font-size: 16px;
  }
  body.apply-app .gate { padding-top: 12px; }
}

.cms-body { max-width: 720px; }
.cms-body h2 {
  margin: 28px 0 10px;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--navy-deep);
}
.cms-body p { margin: 0 0 14px; }
.cms-body img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 16px;
}
.cms-download a {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--navy-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wizard-wrap:has(.ippms-form) { max-width: 1180px; }
.ippms-form {
  max-width: none;
  margin-inline: auto;
  overflow: hidden;
}
.ippms-form.wizard-card,
.ippms-form.wizard-card--wide {
  padding: 0 0 22px;
  background-image: none;
  background-color: #fff;
}
.ippms-form__head {
  background:
    var(--flag-stripe) top / 100% 6px no-repeat,
    linear-gradient(160deg, #24315f 0%, #4052a0 58%, #2f3d78 100%);
  color: #fff;
  padding: 20px 24px 18px;
  text-align: left;
}
.ippms-form__brandrow {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 18px;
  margin-bottom: 14px;
}
.ippms-form__kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #edc14a;
}
.ippms-form.wizard-card--wide .ippms-form__title,
.ippms-form__title {
  margin: 0;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-align: left;
  line-height: 1.15;
}
.ippms-form__notice {
  background: rgba(229, 175, 37, .16);
  border: 1px solid rgba(237, 193, 74, .45);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #f4f6ff;
  text-align: left;
}
.ippms-form__notice p { margin: 0 0 4px; }
.ippms-form__notice p:last-child { margin: 0; color: #d9deef; }
.ippms-form__notice strong,
.ippms-form__notice .req { color: #ffd56a; }
.ippms-form__id {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0;
}
.ippms-form__chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 0;
  color: var(--navy-deep);
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.ippms-form__ok {
  color: #9befb4;
  font-weight: 800;
  font-size: 13px;
}
.ippms-form__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px 16px 0;
  counter-reset: ippms;
}
.ippms-section {
  background: #fff;
  border: 1px solid #dce3f4;
  border-radius: 14px;
  padding: 14px 16px 16px;
  box-shadow: 0 10px 24px rgba(47, 61, 120, .06);
}
.ippms-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8ecf6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy-deep);
}
.ippms-section__title::before {
  counter-increment: ippms;
  content: counter(ippms);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--yellow);
  color: #2f3d78;
  font-size: 11px;
  letter-spacing: 0;
}
.ippms-section__note,
.ippms-form .note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #5c6478;
}
.ippms-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 14px;
  align-items: start;
}
.ippms-field { min-width: 0; }
.ippms-field--pwd { margin-top: 12px; }
.ippms-form.wizard-card--wide .field-kicker,
.ippms-form .field-kicker {
  margin: 0 0 5px;
  font-size: 11px;
  color: #3d4a7a;
}
.ippms-optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: #7a8294 !important;
}
.ippms-form.wizard-card--wide input,
.ippms-form.wizard-card--wide select {
  min-height: 42px;
  border-radius: 8px;
  background: #f7f9fd;
  border-color: #cfd7ea;
}
.ippms-form.wizard-card--wide input:focus,
.ippms-form.wizard-card--wide select:focus {
  background: #fff;
  border-color: var(--navy);
}
.ippms-form.wizard-card--wide .geo-cascade {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.ippms-phone,
.ippms-pin {
  display: flex;
  align-items: stretch;
  border: 1px solid #cfd7ea;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  min-height: 42px;
}
.ippms-phone span {
  display: grid;
  place-items: center;
  padding: 0 12px;
  background: var(--navy-deep);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}
.ippms-phone input,
.ippms-pin input {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  min-height: 42px !important;
  width: 100%;
  background: #f7f9fd !important;
}
.ippms-form__foot {
  display: grid;
  gap: 12px;
  margin: 14px 16px 0;
  padding: 14px 16px 16px;
  border: 0;
  border-radius: 14px;
  background: #24315f;
  color: #fff;
}
.ippms-form__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  color: #eef1fb;
}
.ippms-form__agree a { color: #edc14a; font-weight: 800; }
.ippms-form__agree input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
  accent-color: #e9272c;
  flex: 0 0 auto;
}
.ippms-form__stop {
  background: #fdecec;
  border: 1px solid #e9b4b4;
  color: #8a1f1f;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 12px 0 0;
  font-size: 14px;
}
.ippms-form__stop p { margin: 0 0 8px; }
.ippms-form__stop p:last-child { margin: 0; }
.ippms-form__stop a { color: #8a1f1f; font-weight: 800; }
.ippms-form__submit:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.ippms-form .req,
.check-tile .req { color: #e9272c; font-weight: 800; }
.ippms-form__foot .req { color: #edc14a; }
.ippms-form__actions { margin: 0; }
.ippms-form__submit {
  width: 100%;
  max-width: none;
  display: block;
  margin: 0;
  background: #e9272c;
  color: #fff;
  border: 0;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 15px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(233, 39, 44, .28);
}
.ippms-form__submit:hover { filter: brightness(1.06); }
.ippms-form__links {
  text-align: center;
  margin: 10px 0 0;
  color: #c5cce0;
  font-size: 13px;
}
.ippms-form__links a { color: #edc14a; font-weight: 700; }
@media (min-width: 720px) {
  .ippms-form__head { padding: 22px 28px 20px; }
  .ippms-form__body { padding: 16px 22px 0; }
  .ippms-form__foot { margin: 14px 22px 0; padding: 16px 20px; }
  .ippms-form__grid { grid-template-columns: 1fr 1fr 1fr; }
  .ippms-form.wizard-card--wide .geo-cascade { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1020px) {
  .ippms-form__body {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .ippms-section--wide { grid-column: 1 / -1; }
  .ippms-section:not(.ippms-section--wide) .ippms-form__grid {
    grid-template-columns: 1fr 1fr;
  }
  .ippms-section:not(.ippms-section--wide) .ippms-field:last-child {
    grid-column: 1 / -1;
  }
  .ippms-form__foot {
    grid-template-columns: 1fr minmax(220px, 280px);
    align-items: center;
  }
  .ippms-form__actions { justify-self: end; width: 100%; }
  .ippms-form__links { text-align: right; }
}
@media (max-width: 719px) {
  .ippms-form.wizard-card--wide { padding: 0 0 16px; }
  .ippms-form__head { padding: 16px 14px 14px; }
  .ippms-form__body { padding: 12px 12px 0; gap: 10px; }
  .ippms-form__foot { margin: 12px 12px 0; }
  .ippms-form__grid,
  .ippms-form.wizard-card--wide .geo-cascade { grid-template-columns: 1fr; }
  .ippms-form__title { font-size: 1.28rem; }
  .ippms-section { padding: 12px; }
  .ippms-form.wizard-card--wide input,
  .ippms-form.wizard-card--wide select,
  .ippms-phone,
  .ippms-phone input {
    min-height: 48px !important;
  }
}

.ippms-review {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 18px;
  margin: 0;
}
.ippms-review > div {
  min-width: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: #f7f9fd;
}
.ippms-review dt {
  margin: 0 0 2px;
  color: #6a7390;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ippms-review dd {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-deep);
  word-break: break-word;
}
.ippms-review__full { grid-column: 1 / -1; }
.ippms-confirm .ippms-form__notice {
  padding: 10px 14px;
}
.ippms-confirm .ippms-form__notice p,
.ippms-confirm p.ippms-form__notice { margin: 0; }
.ippms-confirm__pass { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .ippms-review { grid-template-columns: 1fr 1fr 1fr; }
  .ippms-review--stack { grid-template-columns: 1fr 1fr; }
  .ippms-confirm__pass { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1020px) {
  .ippms-confirm .ippms-form__body .ippms-section:not(.ippms-section--wide) .ippms-review--stack {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 719px) {
  .ippms-review,
  .ippms-review--stack,
  .ippms-confirm__pass { grid-template-columns: 1fr; }
}

.wizard-wrap:has(.aspirant-form) { max-width: 1180px; }
.aspirant-form.wizard-card--wide { padding: 28px 28px 32px; }
.aspirant-form .wizard-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  align-items: end;
  margin-bottom: 8px;
}
.aspirant-form .wizard-intro .wizard-kicker { grid-column: 1 / -1; justify-self: start; }
.aspirant-form .wizard-intro h1 { margin: 0; }
.aspirant-form .wizard-intro .wizard-lede { margin: 0; }
.aspirant-land {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
  align-items: start;
}
.aspirant-land--2 { grid-template-columns: 1fr 1fr; }
.aspirant-field { min-width: 0; }
.aspirant-field .field-kicker { margin-top: 0; }
.aspirant-field--full { grid-column: 1 / -1; }
.aspirant-field--2 { grid-column: span 2; }
.aspirant-form .photo-slot { margin: 0; }
.aspirant-form .seat-tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.aspirant-form .declare-card { margin: 0; height: 100%; }
.aspirant-form .wizard-submit { margin-top: 8px; }
@media (max-width: 980px) {
  .aspirant-land { grid-template-columns: 1fr 1fr; }
  .aspirant-field--2 { grid-column: auto; }
  .aspirant-form .seat-tiles { grid-template-columns: 1fr 1fr; }
  .aspirant-form .wizard-intro { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .aspirant-land,
  .aspirant-land--2,
  .aspirant-form .seat-tiles,
  .aspirant-form .geo-cascade { grid-template-columns: 1fr; }
  .aspirant-field--full,
  .aspirant-field--2 { grid-column: 1; }
  .aspirant-form.wizard-card--wide { padding: 18px 14px 24px; }
  .aspirant-form .wizard-intro { grid-template-columns: 1fr; gap: 4px; }
  .aspirant-form .choice-pills--wrap { gap: 8px; }
}

.howto { padding: 28px 0 56px; }
.howto-grid {
  display: grid;
  gap: 22px;
}
.howto-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 28px 28px;
  box-shadow: 0 12px 32px #1c275814;
}
.howto-card::before {
  content: "";
  display: block;
  height: 5px;
  margin: -26px -28px 18px;
  border-radius: 16px 16px 0 0;
  background: var(--flag-stripe);
}
.howto-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}
.howto-card h2 { margin: 0 0 10px; color: var(--navy); }
.howto-card h3 { margin: 18px 0 8px; color: var(--navy); font-size: 1.05rem; }
.howto-card p { margin: 0 0 12px; color: var(--muted); }
.howto-card ol {
  margin: 0 0 14px;
  padding-left: 1.2em;
  color: var(--ink);
}
.howto-card li { margin: 0 0 8px; }
.howto-card li::marker { color: var(--red); font-weight: 800; }
.banner .lede .btn { margin: 8px 8px 0 0; }
