/* ============================================================
   Portal Pokir Hj. Yenni Eviliana — variant-4
   Tema: Navy Institusional + Gold Parlemen
   Tipografi: Plus Jakarta Sans (geometric, semi-modern)
   ============================================================ */

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

:root {
  /* Primary & Secondary */
  --primary: #007A3D;
  --primary-deep: #005E2F;
  --secondary: #d97706;
  --secondary-dark: #b45309;
  --tertiary: #1e40af;
  
  /* Neutrals & Surfaces */
  --on-surface: #0d1c2e;
  --on-surface-var: #44474e;
  --outline: #75777f;
  --surface: #f8f9ff;
  --surface-dim: #ccdbf3;
  --surface-bright: #ffffff;
  
  /* Status Tokens */
  --status-new-bg: #eef2ff;
  --status-new-text: #3730a3;
  --status-new-border: #c7d2fe;
  
  --status-plan-bg: #fef3c7;
  --status-plan-text: #92400e;
  --status-plan-border: #fde68a;
  
  --status-verify-bg: #ecfdf5;
  --status-verify-text: #065f46;
  --status-verify-border: #a7f3d0;
  
  --status-done-bg: #eff6ff;
  --status-done-text: #007A3D;
  --status-done-border: #bfdbfe;
  
  /* Shadows (Crisp Institutional) */
  --shadow-1: 0 1px 3px 0 rgba(0, 122, 61, 0.06), 0 1px 2px -1px rgba(0, 122, 61, 0.04);
  --shadow-2: 0 10px 15px -3px rgba(0, 122, 61, 0.1), 0 4px 6px -4px rgba(0, 122, 61, 0.05);
  --shadow-3: 0 20px 25px -5px rgba(0, 122, 61, 0.18), 0 8px 10px -6px rgba(0, 122, 61, 0.08);
  
  /* Typography */
  --ff-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-800: 800;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  font-size: 16px;
  font-weight: var(--fw-400);
  line-height: 1.5;
  color: var(--on-surface);
  background: var(--surface);
  overflow-x: hidden;
}

/* ============ TYPOGRAPHY ============ */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-700);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: 48px; line-height: 56px; letter-spacing: -0.02em; }
h2 { font-size: 36px; line-height: 44px; letter-spacing: -0.02em; }
h3 { font-size: 24px; line-height: 32px; letter-spacing: -0.01em; }
h4 { font-size: 20px; line-height: 28px; }
h5 { font-size: 18px; line-height: 26px; }
h6 { font-size: 16px; line-height: 24px; }

@media (max-width: 768px) {
  h1 { font-size: 32px; line-height: 40px; letter-spacing: -0.015em; }
  h2 { font-size: 26px; line-height: 34px; letter-spacing: -0.01em; }
  h3 { font-size: 20px; line-height: 28px; }
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: var(--fw-800);
  line-height: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

small { font-size: 13px; font-weight: var(--fw-400); }
strong { font-weight: var(--fw-700); }

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border: none;
  border-radius: 9999px;
  font-family: var(--ff-sans);
  font-size: 15px;
  font-weight: var(--fw-600);
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.btn-navy {
  background: var(--primary);
  color: #fff;
}
.btn-navy:hover { background: var(--primary-deep); }
.btn-navy:active { transform: scale(0.98); }

.btn-amber {
  background: var(--secondary);
  color: #fff;
}
.btn-amber:hover { background: var(--secondary-dark); }

.btn-white {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-white:hover { background: #f0f4f8; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--surface-dim); }

.btn-ghost {
  background: transparent;
  color: var(--on-surface-var);
  border: 1px solid var(--outline);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

/* ============ HEADER & NAV ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: var(--shadow-1);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--primary);
}

.brand-mark {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 8px;
  color: var(--primary);
  font-size: 20px;
}
.brand-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain; padding: 3px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong { font-size: 16px; font-weight: var(--fw-700); }
.brand-text small { font-size: 11px; color: var(--on-surface-var); }

.main-nav {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--on-surface-var);
  font-size: 14px;
  font-weight: var(--fw-500);
  border-bottom: 2px solid transparent;
  padding: 0.5rem 0;
  transition: all 0.2s ease;
}

.main-nav a:hover, .main-nav a.is-active {
  color: var(--primary);
  border-bottom-color: var(--secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface-dim);
  border-radius: 50%;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.2s ease;
}

.avatar:hover { background: #b3c8e8; }

@media (max-width: 1024px) {
  .main-nav { gap: 1.5rem; }
  .main-nav a { font-size: 13px; }
}

@media (max-width: 768px) {
  .header-inner { gap: 1rem; }
  .main-nav { display: none; }
  .brand-text small { display: none; }
}

/* ============ HERO SECTION ============ */

.hero {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  pointer-events: none;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: var(--secondary);
  top: -100px;
  right: -150px;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: var(--tertiary);
  bottom: 50px;
  left: -100px;
}

.hero-grid {
 display: flex; flex-wrap: wrap;
 gap: 3rem;
 align-items: start;
 position: relative;
 z-index: 1;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 350px;
}

.portrait-bg {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #dce9ff 0%, #e6eeff 50%, #d5e3fc 100%);
  border-radius: 1rem;
  border: 1.5px solid var(--primary);
}
.portrait-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%;
}

.portrait-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-2);
  text-align: center;
  z-index: 2;
}

.label-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: var(--fw-700);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

.label-district {
  display: block;
  font-size: 14px;
  font-weight: var(--fw-600);
  color: var(--primary);
  margin-top: 0.25rem;
}

.portrait-label p {
  font-size: 12px;
  color: var(--on-surface-var);
  margin-top: 0.5rem;
}

.portrait-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--status-verify-bg);
  border: 1px solid var(--status-verify-border);
  color: var(--status-verify-text);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  font-weight: var(--fw-600);
  z-index: 3;
}

.badge-meta {
  display: block;
  font-size: 10px;
  opacity: 0.8;
}

.hero-copy { display: flex; flex-direction: column; gap: 1.5rem; }

.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.5rem 1rem;
  background: var(--status-verify-bg);
  border: 1px solid var(--status-verify-border);
  border-radius: 9999px;
  color: var(--status-verify-text);
  font-size: 12px;
  font-weight: var(--fw-600);
}

.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--status-verify-text);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title { margin-bottom: 0.5rem; }
.hero-title h1 { color: var(--primary); margin-bottom: 0.5rem; }

.subtitle {
  font-size: 18px;
  font-weight: var(--fw-500);
  color: var(--on-surface-var);
  line-height: 1.4;
}

.hero-motto {
  padding: 1.5rem;
  background: var(--surface-bright);
  border-left: 4px solid var(--secondary);
  border-radius: 0.5rem;
}

.motto {
  font-size: 18px;
  font-weight: var(--fw-700);
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.motto-sub {
  font-size: 14px;
  color: var(--on-surface-var);
  line-height: 1.6;
}

.kpi-strip {
 display: flex; flex-wrap: wrap;
 gap: 1rem;
}

.kpi-tile {
  padding: 1rem;
  background: var(--status-done-bg);
  border: 1px solid var(--status-done-border);
  border-radius: 0.75rem;
  text-align: center;
}

.kpi-tile strong {
  display: block;
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.kpi-tile span {
  display: block;
  font-size: 12px;
  color: var(--on-surface-var);
  font-weight: var(--fw-500);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .hero-grid { gap: 2rem; }
  .hero-media { max-width: 300px; margin: 0 auto; }
  .kpi-strip { }
  .cta-row { justify-content: center; }
}

@media (max-width: 768px) {
  .hero { padding: 2rem 1rem; }
  .kpi-strip { gap: 0.75rem; }
  .kpi-tile { padding: 0.75rem; font-size: 13px; }
  .kpi-tile strong { font-size: 16px; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; justify-content: center; }
}

/* ============ SECTION LAYOUT ============ */

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section.band {
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header .section-eyebrow {
  color: var(--secondary);
  display: block;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-note {
  font-size: 15px;
  color: var(--on-surface-var);
  line-height: 1.6;
  margin-top: 0.75rem;
  max-width: 600px;
}

/* ============ BIOGRAPHY SECTION ============ */

.bio-layout {
 display: flex; flex-wrap: wrap;
 gap: 2rem;
}

.bio-main { display: flex; flex-direction: column; gap: 2rem; }

.bio-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-1);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.card-head .material-symbols-outlined { font-size: 20px; }

.card-kicker {
  font-size: 12px;
  font-weight: var(--fw-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: inherit;
}

.bio-card h3 {
  color: var(--primary);
  margin: 1rem 0;
  font-size: 20px;
}

.bio-text { display: flex; flex-direction: column; gap: 1rem; }
.bio-text p { font-size: 15px; line-height: 1.7; color: var(--on-surface-var); }

.assignments-grid {
 display: flex; flex-wrap: wrap;
 gap: 1.5rem;
 margin-top: 1rem;
}

.assignment {
  padding: 1rem;
  background: var(--surface);
  border-left: 3px solid var(--secondary);
  border-radius: 0.5rem;
}

.assign-label {
  display: block;
  font-size: 11px;
  font-weight: var(--fw-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.assignment strong {
  display: block;
  font-size: 14px;
  color: var(--primary);
  margin: 0.5rem 0;
}

.assignment p {
  font-size: 13px;
  color: var(--on-surface-var);
  line-height: 1.5;
}

.bio-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.facts-card, .hotline-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-1);
}

.facts-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: var(--fw-600);
  font-size: 14px;
}

.facts-head .material-symbols-outlined { font-size: 18px; }

.facts-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.facts-list div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.facts-list dt {
  font-size: 12px;
  font-weight: var(--fw-600);
  color: var(--on-surface-var);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.facts-list dd {
  font-size: 13px;
  color: var(--primary);
  font-weight: var(--fw-500);
}

.facts-seal {
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
}

.facts-seal strong {
  display: block;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.facts-seal p {
  color: var(--on-surface-var);
  line-height: 1.5;
}

.hotline-label {
  display: block;
  font-size: 11px;
  font-weight: var(--fw-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.hotline-title {
  display: block;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.hotline-card p {
  font-size: 13px;
  color: var(--on-surface-var);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hotline-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 12px;
  font-weight: var(--fw-500);
  color: var(--primary);
}

.hotline-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hotline-meta .material-symbols-outlined { font-size: 16px; }

@media (max-width: 768px) {
  .bio-layout { }
  .assignments-grid { }
}

/* ============ PROGRAM POKIR SECTION ============ */

.filter-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.filter {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1.5px solid var(--outline);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: var(--fw-600);
  color: var(--on-surface-var);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.filter.is-active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.program-grid {
 display: flex; flex-wrap: wrap;
 gap: 2rem;
 margin: 3rem 0;
}

.program-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-2);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #dce9ff 0%, #e6eeff 100%);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  overflow: hidden;
}

/* Gradient overlays for placeholder images */
.media-1 { background: linear-gradient(135deg, #dce9ff 0%, #e6eeff 50%, #d5e3fc 100%); }
.media-2 { background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 50%, #fde68a 100%); }
.media-3 { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 50%, #86efac 100%); }
.media-4 { background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 50%, #60a5fa 100%); }

/* ponytail: placeholder gradients — ganti dengan foto asli saat aset ada. */

.media-meta {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.meta-type {
  font-size: 11px;
  font-weight: var(--fw-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 122, 61, 0.7);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
}

.meta-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 11px;
  font-weight: var(--fw-600);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.meta-status.verified {
  background: var(--status-verify-bg);
  color: var(--status-verify-text);
  border: 1px solid var(--status-verify-border);
}

.meta-status.planning {
  background: var(--status-plan-bg);
  color: var(--status-plan-text);
  border: 1px solid var(--status-plan-border);
}

.card-media h3 {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  color: #fff;
  font-size: 20px;
  text-shadow: 0 2px 4px rgba(0, 122, 61, 0.3);
  z-index: 1;
}

.meta-date {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 11px;
  color: rgba(0, 122, 61, 0.6);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  z-index: 2;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-body > p {
  font-size: 14px;
  color: var(--on-surface-var);
  line-height: 1.6;
}

.specs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: 0.5rem;
}

.spec {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.spec span {
  color: var(--on-surface-var);
  font-weight: var(--fw-500);
}

.spec strong {
  color: var(--primary);
  text-align: right;
}

.timeline-strip {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--status-done-bg);
  border-radius: 0.5rem;
  border: 1px solid var(--status-done-border);
}

.tl-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  font-weight: var(--fw-600);
  color: var(--status-done-text);
}

.tl-label .material-symbols-outlined { font-size: 16px; }

.tl-steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.step {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 12px;
  font-weight: var(--fw-500);
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
}

.step.done {
  background: var(--status-verify-bg);
  color: var(--status-verify-text);
  border: 0.5px solid var(--status-verify-border);
}

.step.current {
  background: var(--status-plan-bg);
  color: var(--status-plan-text);
  border: 0.5px solid var(--status-plan-border);
}

.step.plain {
  background: transparent;
  color: var(--on-surface-var);
  border: 0.5px solid var(--outline);
}

.step .material-symbols-outlined { font-size: 14px; }

.step.wrap { flex-direction: column; }

.arrow {
  color: var(--on-surface-var);
  font-size: 12px;
  opacity: 0.6;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.card-id {
  font-size: 11px;
  font-weight: var(--fw-600);
  color: var(--on-surface-var);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.page-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--outline);
  background: transparent;
  border-radius: 0.5rem;
  font-size: 13px;
  font-weight: var(--fw-600);
  color: var(--on-surface-var);
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.page-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

@media (max-width: 1024px) {
  .program-grid { }
}

/* ============ CTA BLOCK ============ */

.cta-block {
  position: relative;
  background: var(--primary);
  color: #fff;
  margin-top: 4rem;
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}

.glow-x {
  width: 600px;
  height: 600px;
  background: var(--secondary);
  top: -100px;
  right: -150px;
}

.glow-y {
  width: 500px;
  height: 500px;
  background: #fff;
  bottom: -100px;
  left: -150px;
}

.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-copy { display: flex; flex-direction: column; gap: 1.5rem; }

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: var(--fw-600);
}

.cta-badge .material-symbols-outlined { font-size: 16px; }

.cta-copy h2 {
  color: #fff;
  font-size: 36px;
  line-height: 1.3;
}

.cta-copy p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.95;
}

.cta-perks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.cta-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 14px;
  font-weight: var(--fw-500);
}

.cta-perks .material-symbols-outlined { font-size: 20px; }

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-note {
  font-size: 12px;
  opacity: 0.85;
  text-align: center;
}

@media (max-width: 1024px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-block { padding: 3rem 1.5rem; }
}

@media (max-width: 768px) {
  .cta-actions { gap: 0.75rem; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ============ FOOTER ============ */

.site-footer {
  background: var(--primary-deep);
  color: #fff;
  padding: 3rem 1.5rem 1rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
 display: flex; flex-wrap: wrap;
 gap: 2rem;
 margin-bottom: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--fw-700);
  font-size: 16px;
  margin-bottom: 0.5rem;
}

.brand-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}

.footer-col > p {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.social-row {
  display: flex;
  gap: 1rem;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.social-row a:hover { background: var(--secondary); }
.social-row .material-symbols-outlined { font-size: 18px; }

.footer-title {
  display: block;
  font-weight: var(--fw-600);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.footer-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a, .footer-btn {
  font-size: 13px;
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.footer-links a:hover, .footer-btn:hover {
  color: var(--secondary);
  padding-left: 0.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  opacity: 0.8;
}

.footer-meta {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .footer-grid { }
}

@media (max-width: 768px) {
  .footer-grid { }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-meta { justify-content: center; gap: 1rem; }
}

/* ============ MODALS ============ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 122, 61, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.modal-backdrop[hidden] {
  display: none;
  opacity: 0;
}

.modal {
  position: relative;
  background: #fff;
  border-radius: 1rem 1rem 0 0;
  box-shadow: var(--shadow-3);
  max-height: 90vh;
  overflow-y: auto;
  animation: slide-up 0.3s ease;
}

@keyframes slide-up {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  gap: 1rem;
}

.modal-head-content { flex: 1; }

.modal-subtitle {
  display: block;
  font-size: 11px;
  font-weight: var(--fw-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.modal-head h3 {
  color: var(--primary);
  font-size: 20px;
}

.modal-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.modal-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 11px;
  font-weight: var(--fw-600);
  padding: 0.5rem 0.75rem;
  background: var(--status-verify-bg);
  color: var(--status-verify-text);
  border: 1px solid var(--status-verify-border);
  border-radius: 0.5rem;
}

.modal-date {
  font-size: 12px;
  color: var(--on-surface-var);
  font-weight: var(--fw-500);
}

.modal-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface-var);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--surface);
  color: var(--primary);
}

.modal-close .material-symbols-outlined { font-size: 20px; }

.modal-body {
  padding: 1.5rem;
}

.modal-form .modal-body { padding-bottom: 2rem; }

.modal-field {
  margin-bottom: 1.5rem;
}

.modal-label {
  display: block;
  font-size: 12px;
  font-weight: var(--fw-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.modal-field p, .modal-field span {
  font-size: 14px;
  color: var(--on-surface-var);
  line-height: 1.6;
}

.modal-timeline {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.trail-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.trail-item {
  padding: 1rem;
  background: var(--surface);
  border-left: 3px solid var(--secondary);
  border-radius: 0.5rem;
}

.trail-date {
  font-size: 12px;
  font-weight: var(--fw-600);
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.trail-item p {
  font-size: 13px;
  color: var(--on-surface-var);
  line-height: 1.5;
}

.modal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  background: var(--surface);
  font-size: 12px;
  color: var(--on-surface-var);
}

/* ============ FORM STYLES ============ */

.form-body {
  max-width: 500px;
  margin: 0 auto;
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: var(--fw-600);
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 0.5rem;
  background: #fff;
  color: var(--on-surface);
  transition: all 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-feedback {
  padding: 1rem;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 0.5rem;
  color: #991b1b;
  font-size: 13px;
  margin-bottom: 1rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .modal {
    width: calc(100% - 2rem);
    border-radius: 1rem;
    max-height: 90vh;
  }
  
  .modal-backdrop {
    align-items: center;
    padding-bottom: 1rem;
  }
  
  .form-row { grid-template-columns: 1fr; }
}

/* ============ RESPONSIVE ============ */

@media (max-width: 768px) {
  :root { --fw-lg: 14px; }
  
  body { font-size: 15px; }
  
  .section { padding: 2rem 1rem; }
  
  .btn { padding: 10px 20px; font-size: 14px; }
}

/* ===== 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}
.assignments-grid.row{--bs-gutter-x:0;--bs-gutter-y:0}.bio-layout.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}.kpi-strip.row{--bs-gutter-x:0;--bs-gutter-y:0}.program-grid.row{--bs-gutter-x:0;--bs-gutter-y:0}
.assignments-grid>.col-12{max-width:none}.bio-layout>.col-12{max-width:none}.footer-grid>.col-12{max-width:none}.hero-grid>.col-12{max-width:none}.kpi-strip>.col-12{max-width:none}.program-grid>.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)*(3rem))) * 1.0 / 2.5) !important}
.hero-grid > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((1)*(3rem))) * 1.5 / 2.5) !important}
.kpi-strip > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((3)*(1rem))) * 1.0 / 4.0) !important}
.kpi-strip > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((3)*(1rem))) * 1.0 / 4.0) !important}
.kpi-strip > .col-12:nth-child(3){flex:0 0 auto;width:calc((100% - ((3)*(1rem))) * 1.0 / 4.0) !important}
.kpi-strip > .col-12:nth-child(4){flex:0 0 auto;width:calc((100% - ((3)*(1rem))) * 1.0 / 4.0) !important}
.bio-layout > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((1)*(2rem)) - 350.0px) * 1.0 / 1.0) !important}
.bio-layout > .col-12:nth-child(2){flex:0 0 350.0px;width:350.0px;max-width:none !important}
.assignments-grid > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((1)*(1.5rem))) * 1.0 / 2.0) !important}
.assignments-grid > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((1)*(1.5rem))) * 1.0 / 2.0) !important}
.assignments-grid > .col-12:nth-child(3){flex:0 0 auto;width:calc((100% - ((1)*(1.5rem))) * 1.0 / 2.0) !important}
.assignments-grid > .col-12:nth-child(4){flex:0 0 auto;width:calc((100% - ((1)*(1.5rem))) * 1.0 / 2.0) !important}
.program-grid > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((1)*(2rem))) * 1.0 / 2.0) !important}
.program-grid > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((1)*(2rem))) * 1.0 / 2.0) !important}
.program-grid > .col-12:nth-child(3){flex:0 0 auto;width:calc((100% - ((1)*(2rem))) * 1.0 / 2.0) !important}
.program-grid > .col-12:nth-child(4){flex:0 0 auto;width:calc((100% - ((1)*(2rem))) * 1.0 / 2.0) !important}
.footer-grid > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((3)*(2rem))) * 1.0 / 4.0) !important}
.footer-grid > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((3)*(2rem))) * 1.0 / 4.0) !important}
.footer-grid > .col-12:nth-child(3){flex:0 0 auto;width:calc((100% - ((3)*(2rem))) * 1.0 / 4.0) !important}
.footer-grid > .col-12:nth-child(4){flex:0 0 auto;width:calc((100% - ((3)*(2rem))) * 1.0 / 4.0) !important}
@media (max-width: 1024px){.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}.kpi-strip > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((1)*(1rem))) * 1.0 / 2.0) !important}.kpi-strip > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((1)*(1rem))) * 1.0 / 2.0) !important}.kpi-strip > .col-12:nth-child(3){flex:0 0 auto;width:calc((100% - ((1)*(1rem))) * 1.0 / 2.0) !important}.kpi-strip > .col-12:nth-child(4){flex:0 0 auto;width:calc((100% - ((1)*(1rem))) * 1.0 / 2.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}.footer-grid > .col-12:nth-child(1){flex:0 0 auto;width:calc((100% - ((1)*(2rem))) * 1.0 / 2.0) !important}.footer-grid > .col-12:nth-child(2){flex:0 0 auto;width:calc((100% - ((1)*(2rem))) * 1.0 / 2.0) !important}.footer-grid > .col-12:nth-child(3){flex:0 0 auto;width:calc((100% - ((1)*(2rem))) * 1.0 / 2.0) !important}.footer-grid > .col-12:nth-child(4){flex:0 0 auto;width:calc((100% - ((1)*(2rem))) * 1.0 / 2.0) !important}.hero-grid > .col-12:nth-child(1){flex:0 1 auto;width:auto !important;max-width:none !important;margin-left:auto;margin-right:auto}}
@media (max-width: 768px){.bio-layout > .col-12:nth-child(1){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.bio-layout > .col-12:nth-child(2){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.assignments-grid > .col-12:nth-child(1){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.assignments-grid > .col-12:nth-child(2){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.assignments-grid > .col-12:nth-child(3){flex:0 0 auto;width:calc(100% * 1.0 / 1.0) !important}.assignments-grid > .col-12:nth-child(4){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.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}}
