/* ============================================================
   Portal Pokir Firnadi Ikhsan — variant-3
   Tema: Royal Blue Civic + editorial serif
   Tipografi: Playfair Display (display) + Lora (body)
   ============================================================ */

:root {
  /* Surface */
  --surface: #f8f9ff;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #eff4ff;
  --surface-container: #e6eeff;
  --surface-container-high: #dce9ff;
  --surface-container-highest: #d5e3fc;
  --on-surface: #0d1c2e;
  --on-surface-variant: #44474e;
  --outline: #75777f;
  --outline-variant: #c5c6cf;

  /* Brand — royal blue civic */
  --blue: #FE4E00;
  --blue-hover: #B41F00;
  --blue-deep: #931C00;
  --blue-mid: #DB6031;
  --navy: #0d2040;
  --navy-ink: #1e3a8a;
  --navy-dark: #00091e;
  --on-navy-muted: #7788ae;
  --amber: #fe932c;
  --amber-deep: #f59e0b;
  --amber-fg: #663500;
  --amber-tint: #ffdcc3;

  /* Status tokens (lifecycle aspirasi) */
  --st-new-bg: #eef2ff;      --st-new-fg: #3730a3;      --st-new-bd: #c7d2fe;
  --st-review-bg: #fef3c7;   --st-review-fg: #92400e;   --st-review-bd: #fcd34d;
  --st-verified-bg: #ecfdf5; --st-verified-fg: #065f46; --st-verified-bd: #6ee7b7;
  --st-executed-bg: #0d2040; --st-executed-fg: #f8fafc;

  /* Spacing */
  --gutter: 1.5rem;
  --margin: 2rem;
  --s-xs: 0.25rem; --s-sm: 0.5rem; --s-md: 1rem; --s-lg: 1.5rem;
  --s-xl: 2.5rem; --s-2xl: 4rem; --s-3xl: 6rem;

  /* Radius */
  --r-sm: 0.25rem; --r: 0.5rem; --r-md: 0.75rem; --r-lg: 1rem;
  --r-xl: 1.5rem; --r-full: 9999px;

  /* Elevation — crisp institutional */
  --el1: 0 1px 3px 0 rgba(13, 32, 64, 0.06), 0 1px 2px -1px rgba(13, 32, 64, 0.04);
  --el2: 0 10px 15px -3px rgba(13, 32, 64, 0.1), 0 4px 6px -4px rgba(13, 32, 64, 0.05);
  --el3: 0 20px 25px -5px rgba(13, 32, 64, 0.18), 0 8px 10px -6px rgba(13, 32, 64, 0.08);

  --container: 1280px;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Lora', Georgia, Cambria, 'Times New Roman', serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 7rem; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--on-surface);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: var(--r-sm); }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  font-family: 'Material Symbols Outlined' !important;
  font-size: 20px; line-height: 1; vertical-align: middle;
  font-style: normal;
}
.material-symbols-outlined.amber { color: var(--amber-deep); }
.material-symbols-outlined.blue { color: var(--blue-deep); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .brand-text strong, .footer-brand, .hotline-title {
  font-family: var(--font-display);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--navy-dark); }
h2 { font-size: 36px; font-weight: 800; line-height: 44px; letter-spacing: -0.02em; color: var(--navy-ink); }
h3 { font-size: 20px; font-weight: 700; line-height: 28px; color: var(--navy-ink); }
h4 { font-size: 18px; font-weight: 700; line-height: 26px; color: var(--navy-ink); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700; line-height: 18px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-deep);
}
.eyebrow.flush { margin: 0; }
.eyebrow.center { display: block; }
.muted { color: var(--on-surface-variant); }

/* ---------- Layout ---------- */
.page { width: 100%; }
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-2xl) var(--gutter);
}
.band {
  max-width: none;
  background: var(--surface-container-low);
  border-top: 1px solid var(--surface-container-high);
  border-bottom: 1px solid var(--surface-container-high);
}
.band > * { max-width: calc(var(--container) - var(--gutter) * 2); margin-left: auto; margin-right: auto; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: var(--s-lg);
  padding-bottom: var(--s-lg);
  margin-bottom: var(--s-xl);
  border-bottom: 1px solid var(--surface-container-high);
}
.section-head h2 { max-width: 22ch; }
.lede { max-width: 62ch; margin-top: var(--s-sm); color: var(--on-surface-variant); }
.head-kicker { display: flex; align-items: center; gap: var(--s-xs); color: var(--amber-deep); margin-bottom: var(--s-xs); }

.center-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-xs); margin-bottom: var(--s-xl); }
.center-head .rule { width: 64px; height: 4px; border-radius: var(--r-full); background: var(--amber); margin-top: var(--s-xs); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-xs);
  padding: 12px 24px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 14px; font-weight: 700; letter-spacing: 0.01em;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn .material-symbols-outlined { font-size: 20px; }

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); box-shadow: var(--el2); }
.btn-amber { background: var(--amber); color: var(--amber-fg); }
.btn-amber:hover { background: var(--amber-tint); box-shadow: var(--el2); }
.btn-white { background: #fff; color: var(--blue-deep); }
.btn-white:hover { background: var(--surface-container-high); box-shadow: var(--el2); }
.btn-tinted { background: var(--surface-container); color: var(--blue-deep); }
.btn-tinted:hover { background: var(--surface-container-high); }
.btn-ghost { color: var(--on-surface-variant); }
.btn-ghost:hover { color: var(--navy-ink); }

.link-btn { font: inherit; color: inherit; text-align: left; }
.link-btn:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}
.header-inner {
  max-width: var(--container); margin: 0 auto;
  min-height: 80px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-md);
}
.brand { display: flex; align-items: center; gap: var(--s-sm); }
.brand-mark {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: #fff; color: var(--blue);
}
.brand-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain; padding: 4px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--navy-dark); }
.brand-text small { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--on-surface-variant); }

.main-nav { display: flex; align-items: center; gap: var(--s-lg); }
.main-nav a { font-size: 14px; font-weight: 600; color: var(--on-surface-variant); transition: color 0.2s; }
.main-nav a:hover { color: var(--navy-ink); }
.main-nav a.is-active {
  font-weight: 700; color: var(--blue-deep);
  background: var(--surface-container-high);
  padding: 6px 16px; border-radius: var(--r-full);
}

.header-actions { display: flex; align-items: center; gap: var(--s-md); }
.avatar {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: var(--r-full);
  background: var(--blue); color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: var(--s-3xl) var(--gutter) var(--s-2xl);
  margin-top: 80px;
  background: var(--surface-container-lowest);
}
.hero-glow {
  position: absolute; border-radius: var(--r-full);
  filter: blur(70px); pointer-events: none;
}
.glow-a { width: 384px; height: 384px; top: -80px; right: -80px; background: rgba(220, 233, 255, 0.6); }
.glow-b { width: 320px; height: 320px; bottom: 0; left: 25%; background: rgba(254, 147, 44, 0.1); }

.hero-grid {
 position: relative; z-index: 1;
 max-width: var(--container); margin: 0 auto;
 display: flex; flex-wrap: wrap; gap: var(--s-xl);
 align-items: center;
}

.hero-media { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.portrait-wrap { position: relative; width: 100%; max-width: 448px; }
.portrait-backdrop {
  position: absolute; inset: -8px;
  border-radius: var(--r-lg);
  background: linear-gradient(to top right, var(--navy), var(--surface-container-high), rgba(254, 147, 44, 0.3));
  transform: rotate(1deg);
  transition: transform 0.3s;
}
.portrait-wrap:hover .portrait-backdrop { transform: rotate(0deg); }
.portrait-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: var(--s-sm);
  background: var(--surface-container-lowest);
  border-radius: var(--r-xl);
  box-shadow: var(--el3);
}
/* ponytail: plakat gradien CSS — tak ada berkas foto di paket. Ganti dengan <img> saat foto tersedia. */
.portrait-media {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; align-items: flex-end;
  background:
    radial-gradient(110% 75% at 50% 0%, rgba(254, 147, 44, 0.3) 0%, transparent 58%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.portrait-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%;
}
.portrait-veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(9, 18, 34, 0.92) 10%, rgba(13, 32, 64, 0.55) 55%, transparent 100%); }
.portrait-caption { position: relative; z-index: 2; width: 100%; padding: var(--s-md) var(--s-md) var(--s-md); color: #fff; }
.portrait-eyebrow {
  display: block; font-family: var(--font-body);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber-tint);
}
.portrait-district { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.portrait-caption p { font-size: 13px; color: var(--on-navy-muted); }

.verify-strip {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-sm);
  width: 100%; margin-top: var(--s-sm);
  padding: var(--s-xs) var(--s-sm);
  background: var(--surface-container);
  border-radius: var(--r);
}
.verify-left { display: flex; align-items: center; gap: var(--s-xs); color: var(--amber-deep); }
.verify-left .material-symbols-outlined { font-size: 18px; }
.verify-left span:last-child { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.verify-chip {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  padding: 2px 10px; border-radius: var(--r-full);
  background: var(--surface-container-lowest); color: var(--navy-ink);
  box-shadow: var(--el1);
}

.hero-copy { display: flex; flex-direction: column; gap: var(--s-md); }
.hero-titles { display: flex; flex-direction: column; gap: var(--s-xs); }
.credential-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s-md);
  letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 14px; font-weight: 600;
}
.cred-strong { color: var(--amber-deep); font-weight: 700; }
.cred-mid { color: var(--blue-deep); }
.cred-sep { color: var(--outline); }

.pulse-badge {
  display: inline-flex; align-items: center; gap: var(--s-xs); align-self: flex-start;
  padding: var(--s-xs) var(--s-md); border-radius: var(--r-full);
  background: var(--surface-container); color: var(--blue-deep);
}
.pulse-badge .eyebrow { color: var(--amber-deep); }
.pulse-dot { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--amber); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }

.slogan-box {
  position: relative; overflow: hidden;
  padding: var(--s-lg);
  background: rgba(254, 147, 44, 0.08);
  border-left: 4px solid var(--amber);
  border-radius: var(--r-lg);
  box-shadow: var(--el1);
}
.slogan {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 500; line-height: 1.6;
  font-style: italic; color: var(--navy-ink);
}
.slogan-sub { margin-top: var(--s-xs); font-size: 15px; color: var(--on-surface-variant); }

.stat-bar { display: flex; flex-wrap: wrap; gap: var(--s-sm); padding-top: var(--s-xs); }
.stat-tile {
  display: flex; flex-direction: column;
  padding: var(--s-sm);
  background: var(--surface-container-lowest);
  border-radius: var(--r-md);
  box-shadow: var(--el1);
}
.stat-tile strong {
  font-family: var(--font-display);
  font-size: 1.85rem; line-height: 1.2; font-weight: 800;
  color: var(--navy-dark);
  font-variant-numeric: tabular-nums;
}
.stat-tile strong.amber { color: var(--amber-deep); }
.stat-tile span {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--on-surface-variant);
}

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-sm); padding-top: var(--s-xs); }

/* ---------- Biografi bento ---------- */
.bio-bento { display: flex; flex-wrap: wrap; gap: var(--s-lg); }
.bio-main { display: flex; flex-direction: column; gap: var(--s-md); }
.bio-side { display: flex; flex-direction: column; gap: var(--s-md); }

.panel {
  display: flex; flex-direction: column; gap: var(--s-md);
  padding: var(--s-xl);
  background: var(--surface-container-lowest);
  border-radius: var(--r-xl);
  box-shadow: var(--el1);
}
.panel-head { display: flex; align-items: flex-start; gap: var(--s-md); }
.panel-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--surface-container); color: var(--navy-ink);
}
.panel-icon .material-symbols-outlined { font-size: 28px; }
.panel-kicker {
  display: block; font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--amber-deep);
}
.panel-kicker.amber { color: var(--amber-deep); }
.panel-body { display: flex; flex-direction: column; gap: var(--s-md); }
.panel-body p { font-size: 15px; line-height: 1.75; color: var(--on-surface-variant); }
.panel-body strong { color: var(--navy-ink); font-weight: 700; }
.panel-title { display: flex; align-items: center; gap: var(--s-xs); }

.assignment-grid { display: flex; flex-wrap: wrap; gap: var(--s-md); }
.assignment { display: flex; flex-direction: column; gap: var(--s-xs); padding: var(--s-md); background: var(--surface-container-low); border-radius: var(--r-md); }
.a-label { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--amber-deep); }
.a-title { font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--navy-ink); }
.assignment p { font-size: 13px; line-height: 1.65; color: var(--on-surface-variant); }

.facts-card {
  display: flex; flex-direction: column; gap: var(--s-md);
  padding: var(--s-xl);
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--el2);
}
.facts-head { display: flex; align-items: center; gap: var(--s-sm); }
.facts-head .dot { width: 12px; height: 12px; border-radius: var(--r-full); background: var(--amber); flex-shrink: 0; }
.facts-head span:last-child {
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--surface-container-high);
}
.facts-list { display: flex; flex-direction: column; }
.facts-list > div {
  display: flex; flex-direction: column; gap: 2px;
  padding: var(--s-xs) 0;
  border-bottom: 1px solid rgba(119, 136, 174, 0.28);
}
.facts-list > div:last-child { border-bottom: none; }
.facts-list dt { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--on-navy-muted); }
.facts-list dd { font-size: 15px; color: var(--surface-container-lowest); }
.facts-list dd.strong { font-family: var(--font-body); font-weight: 700; }
.facts-note { margin-top: var(--s-sm); padding: var(--s-md); background: var(--blue-deep); border-radius: var(--r-md); }
.facts-note span { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-tint); }
.facts-note p { margin-top: var(--s-xs); font-size: 13px; line-height: 1.65; color: var(--on-navy-muted); }

.hotline-title { font-size: 16px; font-weight: 700; color: var(--navy-ink); }
.hotline-list { display: flex; flex-direction: column; gap: var(--s-xs); padding-top: var(--s-xs); }
.hotline-list span { display: flex; align-items: center; gap: var(--s-xs); font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--navy-ink); }
.hotline-list .material-symbols-outlined { font-size: 18px; }

/* ---------- Filter pills ---------- */
.filter-shell {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-xs);
  padding: var(--s-xs);
  background: var(--surface-container-lowest);
  border-radius: var(--r-full);
  box-shadow: var(--el1);
}
.filter {
  padding: var(--s-xs) var(--s-md);
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--on-surface-variant);
  transition: background-color 0.2s, color 0.2s;
}
.filter:hover { color: var(--blue-deep); }
.filter.is-active { background: var(--blue); color: #fff; }

/* ---------- Program grid ---------- */
.program-grid { display: flex; flex-wrap: wrap; gap: var(--s-xl); }
.program-card {
  display: flex; flex-direction: column;
  background: var(--surface-container-lowest);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--el1);
  transition: box-shadow 0.3s;
}
.program-card:hover { box-shadow: var(--el2); }
.program-card[hidden] { display: none; }

.program-media { position: relative; height: 256px; display: flex; align-items: flex-end; overflow: hidden; }
/* ponytail: pengganti foto — 4 pola gradien CSS. Ganti dengan <img> saat aset foto proyek ada. */
.media-1 { background: linear-gradient(140deg, #FE4E00 0%, #931C00 55%, #0d2040 100%); }
.media-1::after { content: ''; position: absolute; inset: 0; background: radial-gradient(85% 60% at 22% 100%, rgba(254, 147, 44, 0.4) 0%, transparent 62%); }
.media-2 { background: linear-gradient(140deg, #DB6031 0%, #FE4E00 55%, #931C00 100%); }
.media-2::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 16px, transparent 16px 34px); }
.media-3 { background: linear-gradient(160deg, #0d2040 0%, #1e3a8a 55%, #FE4E00 100%); }
.media-3::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 80% 14%, rgba(254, 147, 44, 0.42) 0%, transparent 64%); }
.media-4 { background: linear-gradient(140deg, #931C00 0%, #0d2040 60%, #00091e 100%); }
.media-4::after { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 65% at 26% 18%, rgba(219, 96, 49, 0.5) 0%, transparent 62%); }
.program-media::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(13, 32, 64, 0.9) 0%, rgba(13, 32, 64, 0.4) 48%, transparent 100%);
}
.media-tags { position: absolute; top: var(--s-md); left: var(--s-md); right: var(--s-md); z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-xs); }
.media-caption { position: relative; z-index: 2; padding: var(--s-md); width: 100%; color: #fff; }
.media-caption h3 { color: var(--surface-container-lowest); font-size: 20px; font-weight: 700; }
.media-caption p { font-family: var(--font-body); font-size: 13px; color: var(--surface-container-high); margin-top: 2px; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px var(--s-sm); border-radius: var(--r-full);
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  box-shadow: var(--el1);
}
.chip .material-symbols-outlined { font-size: 16px; }
.chip-white { background: rgba(255, 255, 255, 0.9); color: var(--navy-ink); backdrop-filter: blur(8px); }
.chip-tint { background: var(--surface-container-high); color: var(--navy-ink); }
.chip-plan { background: var(--amber-tint); color: var(--amber-fg); }
.dot { width: 8px; height: 8px; border-radius: var(--r-full); }
.dot.gold { background: var(--amber-deep); }
.dot.amber { background: var(--amber); }

.program-body { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: var(--s-md); padding: var(--s-lg); }
.program-fill { display: flex; flex-direction: column; gap: var(--s-sm); }
.program-fill > p { font-size: 15px; line-height: 1.7; color: var(--on-surface-variant); }

.spec-block {
  display: flex; flex-direction: column; gap: var(--s-xs);
  padding: var(--s-md);
  background: var(--surface-container-low);
  border-radius: var(--r-md);
}
.spec-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-sm); }
.spec-row .k { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--outline); }
.spec-row .v { font-family: var(--font-body); font-size: 13px; color: var(--on-surface); }
.spec-row .v.accent { font-weight: 700; color: var(--amber-deep); }
.spec-row .v.strong { font-weight: 700; color: var(--navy-ink); }

.milestones { display: flex; flex-direction: column; gap: var(--s-xs); padding-top: var(--s-xs); }
.m-label { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--outline); }
.m-row { display: flex; align-items: center; gap: var(--s-sm); }
.m-row.wrap { flex-wrap: wrap; gap: var(--s-xs); }
.m-step { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-body); font-size: 11px; font-weight: 700; }
.m-step .material-symbols-outlined { font-size: 16px; }
.m-step.done { color: var(--amber-deep); }
.m-step.current { color: var(--navy-ink); }
.m-step.current .material-symbols-outlined { color: var(--blue-deep); }
.m-arrow { color: var(--outline); font-size: 13px; }
.m-plain { font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--amber-deep); }
.m-current-tag {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  padding: 2px var(--s-xs); border-radius: var(--r-sm);
  background: var(--amber-tint); color: var(--amber-fg);
}

.program-footer { display: flex; align-items: center; justify-content: space-between; gap: var(--s-sm); padding-top: var(--s-sm); }
.program-id { font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--outline); }

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: var(--s-xs); margin-top: var(--s-xl); }
.page-btn {
  width: 40px; height: 40px; border-radius: var(--r-full);
  display: grid; place-items: center;
  background: var(--surface-container-lowest); color: var(--on-surface);
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  box-shadow: var(--el1);
  transition: background-color 0.2s, color 0.2s;
}
.page-btn:hover { background: var(--surface-container); }
.page-btn.is-active { background: var(--blue); color: #fff; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: var(--s-2xl) var(--gutter); }
.cta-glow { position: absolute; width: 384px; height: 384px; border-radius: var(--r-full); filter: blur(70px); pointer-events: none; }
.glow-navy { top: -96px; right: -96px; background: rgba(254, 147, 44, 0.2); }
.glow-amber { bottom: -96px; left: -96px; background: rgba(147, 28, 0, 0.45); }

.cta-inner {
 position: relative; z-index: 1;
 max-width: var(--container); margin: 0 auto;
 display: flex; flex-wrap: wrap; gap: var(--s-xl);
 align-items: center;
}
.cta-copy { display: flex; flex-direction: column; gap: var(--s-md); }
.cta-badge {
  display: inline-flex; align-items: center; gap: var(--s-xs); align-self: flex-start;
  padding: var(--s-xs) var(--s-md); border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
.cta-badge .material-symbols-outlined { font-size: 18px; color: #fff; }
.cta-badge span:last-child {
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
}
.cta h2 { color: #fff; max-width: 24ch; }
.cta p { font-size: 18px; line-height: 1.75; color: rgba(255, 255, 255, 0.92); max-width: 62ch; }
.cta-highlights { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-lg); font-family: var(--font-body); font-size: 12px; font-weight: 700; }
.cta-highlights span { display: inline-flex; align-items: center; gap: var(--s-xs); color: rgba(255, 255, 255, 0.92); }
.cta-highlights .material-symbols-outlined { font-size: 20px; color: #fff; }

.cta-actions { display: flex; flex-direction: column; gap: var(--s-md); }
.cta-actions .btn { width: 100%; }
.cta-note { font-family: var(--font-body); font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, 0.8); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: #fff; padding: var(--s-2xl) var(--gutter) var(--s-xl); }
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-grid {
 display: flex; flex-wrap: wrap; gap: var(--s-xl);
 padding-bottom: var(--s-2xl);
}
.footer-col { display: flex; flex-direction: column; gap: var(--s-sm); }
.footer-brand { display: flex; align-items: center; gap: var(--s-sm); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--surface-container-lowest); }
.footer-dot { width: 12px; height: 12px; border-radius: var(--r-full); background: var(--amber); flex-shrink: 0; }
.footer-col p { font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, 0.82); }
.footer-title { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-tint); }
.footer-lines { display: flex; flex-direction: column; gap: var(--s-xs); font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }
.footer-links { display: flex; flex-direction: column; gap: var(--s-xs); font-family: var(--font-body); font-size: 12px; font-weight: 700; }
.footer-links a, .footer-links button { color: rgba(255, 255, 255, 0.82); transition: color 0.2s; }
.footer-links a:hover, .footer-links button:hover { color: var(--surface-container-lowest); }

.social-row { display: flex; gap: var(--s-sm); padding-top: var(--s-xs); }
.social-row a {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: var(--r-full);
  background: var(--blue); color: #fff;
  transition: background-color 0.2s, color 0.2s;
}
.social-row a:hover { background: var(--amber); color: var(--amber-fg); }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-md);
  padding-top: var(--s-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px; color: rgba(255, 255, 255, 0.72);
}
.footer-meta { display: flex; align-items: center; gap: var(--s-lg); font-family: var(--font-body); font-size: 11px; font-weight: 700; }

/* ---------- Modals ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: var(--s-md);
  background: rgba(13, 32, 64, 0.8);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s;
}
.modal-backdrop.is-open { opacity: 1; }
.modal-backdrop[hidden] { display: none; }

.modal {
  display: flex; flex-direction: column;
  width: 100%; max-height: 90vh;
  background: var(--surface-container-lowest);
  border-radius: var(--r-xl);
  box-shadow: var(--el3);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s;
}
.modal-backdrop.is-open .modal { transform: scale(1); }
.modal-lg { max-width: 672px; }
.modal-md { max-width: 576px; }

.modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-md);
  padding: var(--s-lg);
  background: var(--navy);
  color: #fff;
}
.modal-head h3 { color: var(--surface-container-lowest); }
.modal-head-meta { display: flex; align-items: center; gap: var(--s-xs); margin-bottom: 4px; }
.modal-badge {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  padding: 2px 10px; border-radius: var(--r-full);
  background: var(--amber); color: var(--amber-fg);
}
.modal-date { font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--on-navy-muted); }
.modal-kicker {
  display: block; font-family: var(--font-body);
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 2px;
}
.icon-btn { color: var(--on-navy-muted); padding: 4px; border-radius: var(--r); transition: color 0.2s; }
.icon-btn:hover { color: var(--surface-container-lowest); }
.icon-btn .material-symbols-outlined { font-size: 24px; }

.modal-body {
  display: flex; flex-direction: column; gap: var(--s-md);
  padding: var(--s-lg);
  overflow-y: auto;
  max-height: 70vh;
}
.modal-field { display: flex; flex-direction: column; gap: var(--s-xs); }
.modal-label {
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-deep);
}
.modal-label.navy { color: var(--navy-ink); }
.modal-value { font-size: 15px; font-weight: 600; color: var(--navy-ink); }
.modal-text { font-size: 15px; line-height: 1.75; color: var(--on-surface-variant); }

.modal-timeline { display: flex; flex-direction: column; gap: var(--s-sm); padding-top: var(--s-xs); }
.modal-timeline-box {
  display: flex; flex-direction: column; gap: var(--s-sm);
  padding: var(--s-md);
  background: var(--surface-container-low);
  border-radius: var(--r-lg);
}
.trail-item { display: flex; align-items: flex-start; gap: var(--s-sm); }
.trail-item .material-symbols-outlined { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.trail-item strong { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--navy-ink); }
.trail-item span { font-size: 13px; color: var(--on-surface-variant); }

.modal-foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-md);
  padding: var(--s-md);
  background: var(--surface-container);
}
.modal-foot > span { font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--on-surface-variant); }

.modal-actions { display: flex; align-items: center; justify-content: flex-end; gap: var(--s-sm); padding-top: var(--s-xs); }

/* ---------- Form fields ---------- */
.field { display: flex; flex-direction: column; gap: var(--s-xs); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-md); }
.field label {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy-ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: var(--s-sm) var(--s-md);
  font-family: var(--font-body); font-size: 15px; font-weight: 400;
  color: var(--navy-ink);
  background: var(--surface-container-low);
  border: 1.5px solid transparent;
  border-radius: var(--r);
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--outline); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--surface-container-lowest);
  border-color: var(--navy-ink);
  box-shadow: 0 0 0 2px rgba(254, 147, 44, 0.5);
}
.field input:invalid:not(:placeholder-shown) { border-color: #ba1a1a; }

.form-feedback {
  padding: var(--s-sm) var(--s-md);
  border-radius: var(--r);
  background: var(--surface-container-high);
  color: var(--navy-ink);
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
}
.form-feedback.is-error { background: #ffdad6; color: #93000a; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  h2 { font-size: 28px; line-height: 36px; }
  .main-nav { display: none; }
  .hero { padding: var(--s-2xl) var(--gutter) var(--s-xl); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-xl); }
  .bio-bento { grid-template-columns: 1fr; }
  .assignment-grid { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-lg); }
}

@media (max-width: 767px) {
  :root { --gutter: 1rem; }
  h2 { font-size: 26px; line-height: 34px; }
  .section { padding: var(--s-xl) var(--gutter); }
  .hero { padding: var(--s-2xl) var(--gutter) var(--s-xl); }
  .portrait-media { aspect-ratio: 5 / 6; }
  .stat-bar { }
  .panel { padding: var(--s-lg); }
  .facts-card { padding: var(--s-lg); }
  .field-row { grid-template-columns: 1fr; }
  .media-tags { flex-direction: column; align-items: flex-start; }
  .program-footer { flex-direction: column; align-items: stretch; }
  .program-footer .btn { width: 100%; }
  .program-id { text-align: center; }
  .spec-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .footer-grid { }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-meta { flex-wrap: wrap; gap: var(--s-md); }
  .header-actions .btn { display: none; }
  .cta-highlights { gap: var(--s-md); }
  .modal-body { max-height: 75vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
/* ===== Bootstrap port layer ===== */
[hidden]{display:none !important}
.navbar{display:block}
.navbar-brand{color:inherit;text-decoration:none}
.card{display:block}
.header-inner .main-nav a{text-decoration:none}
.assignment-grid.row{--bs-gutter-x:0;--bs-gutter-y:0}.bio-bento.row{--bs-gutter-x:0;--bs-gutter-y:0}.cta-inner.row{--bs-gutter-x:0;--bs-gutter-y:0}.footer-grid.row{--bs-gutter-x:0;--bs-gutter-y:0}.hero-grid.row{--bs-gutter-x:0;--bs-gutter-y:0}.program-grid.row{--bs-gutter-x:0;--bs-gutter-y:0}.stat-bar.row{--bs-gutter-x:0;--bs-gutter-y:0}
.assignment-grid>.col-12{max-width:none}.bio-bento>.col-12{max-width:none}.cta-inner>.col-12{max-width:none}.footer-grid>.col-12{max-width:none}.hero-grid>.col-12{max-width:none}.program-grid>.col-12{max-width:none}.stat-bar>.col-12{max-width:none}
.navbar-collapse{display:contents}
.navbar-collapse.show{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem;width:100%;padding:.75rem 0}
.navbar-toggler{display:none}

/* ===== fidelity: exact original grid tracks ===== */
.hero-grid > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-xl)))) * 5.0 / 12.0) !important}
.hero-grid > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-xl)))) * 7.0 / 12.0) !important}
.stat-bar > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((3)*(var(--s-sm)))) * 1.0 / 4.0) !important}
.stat-bar > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((3)*(var(--s-sm)))) * 1.0 / 4.0) !important}
.stat-bar > .col-12:nth-child(3){flex:0 0 auto;width:calc((100% - ((3)*(var(--s-sm)))) * 1.0 / 4.0) !important}
.stat-bar > .col-12:nth-child(4){flex:0 0 auto;width:calc((100% - ((3)*(var(--s-sm)))) * 1.0 / 4.0) !important}
.bio-bento > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-lg)))) * 8.0 / 12.0) !important}
.bio-bento > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-lg)))) * 4.0 / 12.0) !important}
.assignment-grid > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-md)))) * 1.0 / 2.0) !important}
.assignment-grid > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-md)))) * 1.0 / 2.0) !important}
.assignment-grid > .col-12:nth-child(3){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-md)))) * 1.0 / 2.0) !important}
.assignment-grid > .col-12:nth-child(4){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-md)))) * 1.0 / 2.0) !important}
.program-grid > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-xl)))) * 1.0 / 2.0) !important}
.program-grid > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-xl)))) * 1.0 / 2.0) !important}
.program-grid > .col-12:nth-child(3){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-xl)))) * 1.0 / 2.0) !important}
.program-grid > .col-12:nth-child(4){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-xl)))) * 1.0 / 2.0) !important}
.cta-inner > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-xl)))) * 8.0 / 12.0) !important}
.cta-inner > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-xl)))) * 4.0 / 12.0) !important}
.footer-grid > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((3)*(var(--s-xl)))) * 1.0 / 4.0) !important}
.footer-grid > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((3)*(var(--s-xl)))) * 1.0 / 4.0) !important}
.footer-grid > .col-12:nth-child(3){flex:0 0 auto;width:calc((100% - ((3)*(var(--s-xl)))) * 1.0 / 4.0) !important}
.footer-grid > .col-12:nth-child(4){flex:0 0 auto;width:calc((100% - ((3)*(var(--s-xl)))) * 1.0 / 4.0) !important}
@media (max-width: 1023px){.hero-grid > .col-12:nth-child(1){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.hero-grid > .col-12:nth-child(2){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.bio-bento > .col-12:nth-child(1){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.bio-bento > .col-12:nth-child(2){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.assignment-grid > .col-12:nth-child(1){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.assignment-grid > .col-12:nth-child(2){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.assignment-grid > .col-12:nth-child(3){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.assignment-grid > .col-12:nth-child(4){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.program-grid > .col-12:nth-child(1){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.program-grid > .col-12:nth-child(2){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.program-grid > .col-12:nth-child(3){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.program-grid > .col-12:nth-child(4){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.cta-inner > .col-12:nth-child(1){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.cta-inner > .col-12:nth-child(2){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.footer-grid > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-lg)))) * 1.0 / 2.0) !important}.footer-grid > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-lg)))) * 1.0 / 2.0) !important}.footer-grid > .col-12:nth-child(3){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-lg)))) * 1.0 / 2.0) !important}.footer-grid > .col-12:nth-child(4){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-lg)))) * 1.0 / 2.0) !important}}
@media (max-width: 767px){.stat-bar > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-sm)))) * 1.0 / 2.0) !important}.stat-bar > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-sm)))) * 1.0 / 2.0) !important}.stat-bar > .col-12:nth-child(3){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-sm)))) * 1.0 / 2.0) !important}.stat-bar > .col-12:nth-child(4){flex:0 0 auto;width:calc((100% - ((1)*(var(--s-sm)))) * 1.0 / 2.0) !important}.footer-grid > .col-12:nth-child(1){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.footer-grid > .col-12:nth-child(2){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.footer-grid > .col-12:nth-child(3){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.footer-grid > .col-12:nth-child(4){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}}
