/* ==========================================================================
   oops. Landing Page — Bold Option 1: Open-Campus Editorial Portal
   Loaded ONLY by public/index.html. Builds on public/css/kp.css tokens.
   Zero external requests; self-hosted fonts & local assets only.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Editorial Header Geometry & Pinned Far-Right CTA
   -------------------------------------------------------------------------- */
.ld-header {
  border-bottom: 1px solid oklch(0.21 0.02 55 / 0.16);
}

.ld-header .kp-nav-list {
  gap: 20px;
}

.ld-header .kp-nav-list > li {
  order: 1;
}

/* Dynamically injected login/portal link sits right before the pinned Town pill */
.ld-header .kp-nav-list > li:has([data-nav-portal]) {
  order: 50;
}

/* Pin Chiang Mai Town CTA pill strictly to the far right */
.ld-header .kp-nav-list > li.ld-nav-cta-item {
  order: 99;
}

.ld-nav-town-btn {
  background-color: var(--ink);
  color: var(--paper);
  border: 1.5px solid var(--ink);
  font-weight: 700;
  padding: 0 18px;
  gap: 6px;
}

.ld-nav-town-btn::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lantern);
  flex-shrink: 0;
}

.ld-nav-town-btn:hover {
  background-color: var(--night);
  border-color: var(--night);
}

@media (min-width: 1001px) and (max-width: 1280px) {
  .ld-header .kp-nav-list {
    gap: 14px;
  }
  .ld-header .kp-nav-link {
    font-size: 13.5px;
  }
  .ld-header .kp-brand-tag {
    display: none;
  }
}

@media (max-width: 1000px) {
  .ld-header .kp-nav-list {
    padding: 8px var(--gutter) 24px;
    gap: 0;
  }
  .ld-header .kp-nav-list > li.ld-nav-cta-item {
    order: 99;
    margin-top: 18px;
  }
  .ld-header .kp-nav-list > li:has([data-nav-portal]) .kp-nav-link {
    border-bottom: none;
  }
  .ld-header .kp-nav-list .kp-btn-nav-apply {
    width: 100%;
    height: 48px;
    border-radius: var(--r-pill);
  }
}

/* --------------------------------------------------------------------------
   2. Strict Surface Alternation & Architectural Section Chrome
   -------------------------------------------------------------------------- */
.ld-section {
  padding: clamp(28px, 2.8vw, 36px) 0;
  position: relative;
}

.ld-band-paper {
  background-color: var(--paper);
  --surface-sunk: var(--paper-2);
}

.ld-band-alt {
  background-color: var(--paper-2);
  --surface-sunk: var(--paper);
  border-top: 1px solid oklch(0.21 0.02 55 / 0.1);
  border-bottom: 1px solid oklch(0.21 0.02 55 / 0.1);
}

.ld-sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  margin-bottom: clamp(16px, 1.5vw, 20px);
  max-width: 860px;
}

.ld-sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-subtle);
}

.ld-sec-kicker::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--lantern);
  flex-shrink: 0;
}

.ld-sec-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.18;
  color: var(--text);
  text-wrap: balance;
}

html:lang(zh-CN) .ld-sec-title {
  letter-spacing: var(--tracking-cjk);
  line-height: 1.24;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

html:lang(en) .ld-sec-title {
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.ld-sec-lead {
  font-size: clamp(15px, 1.25vw, 16px);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 46em;
}

.ld-subhead-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--ink);
  margin-bottom: 16px;
}

.ld-subhead-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 1.8vw, 22px);
  color: var(--text);
}

.ld-subhead-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}

/* --------------------------------------------------------------------------
   3. Hero: Warm Editorial Paper + Architectural Grid + Chiang Mai Town Stage
   Fits cleanly above the 1440x900 desktop fold including 4-col Proof Ledger
   -------------------------------------------------------------------------- */
.ld-hero {
  position: relative;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, oklch(0.21 0.02 55 / 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.21 0.02 55 / 0.045) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
  background-size: 48px 48px, 48px 48px, 160px 160px;
  padding: clamp(22px, 2.8vw, 34px) 0 clamp(28px, 3.2vw, 40px);
  overflow-x: clip;
}

.ld-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.2vw, 44px);
  align-items: center;
}

@media (min-width: 960px) {
  .ld-hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  }
}

.ld-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 1.8vw, 20px);
  min-width: 0;
}

.ld-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px;
  border: 1px solid oklch(0.21 0.02 55 / 0.22);
  border-radius: var(--r-pill);
  background: oklch(0.99 0.006 80 / 0.85);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  max-width: 100%;
}

@media (max-width: 480px) {
  .ld-hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    gap: 6px;
  }
}

.ld-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lantern);
  box-shadow: 0 0 0 3px oklch(0.72 0.16 52 / 0.22);
  flex-shrink: 0;
}

.ld-hero-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.65vw, 50px);
  color: var(--ink);
  line-height: 1.18;
  margin: 0;
}

html:lang(zh-CN) .ld-hero-h1 {
  letter-spacing: 0.015em;
  line-height: 1.22;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

html:lang(en) .ld-hero-h1 {
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.ld-period {
  color: var(--lantern);
  font-weight: 900;
  display: inline;
}

.ld-hero-lead {
  font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 31em;
  text-wrap: pretty;
  margin: 0;
}

.ld-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.ld-btn-hero-primary {
  min-height: 50px;
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 700;
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.ld-btn-hero-primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.ld-btn-hero-primary:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

.ld-btn-hero-secondary {
  min-height: 50px;
  padding: 12px 22px;
  font-size: 15.5px;
  font-weight: 700;
  border-width: 1.5px;
  border-color: var(--ink);
  background: var(--surface);
  color: var(--ink);
}

.ld-btn-hero-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.ld-hero-sublinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding-top: 10px;
  border-top: 1px dashed oklch(0.21 0.02 55 / 0.22);
  width: 100%;
  font-size: 14px;
  color: var(--ink-2);
}

.ld-hero-try-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}

.ld-inline-link {
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--lantern);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color var(--dur) var(--ease);
}

.ld-inline-link:hover {
  color: var(--lantern-ink);
}

.ld-inline-sep {
  color: var(--line-strong);
  user-select: none;
}

/* Interactive Chiang Mai Town Architectural Stage / Postcard */
.ld-town-stage {
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
  min-width: 0;
}

.ld-stage-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: var(--night);
  color: var(--on-night);
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ld-stage-plate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ld-stage-coords {
  color: var(--on-night-2);
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .ld-stage-coords {
    display: none;
  }
}

.ld-stage-canvas {
  position: relative;
  padding: 14px;
  background-color: oklch(0.955 0.018 82);
  background-image:
    radial-gradient(oklch(0.21 0.02 55 / 0.14) 1px, transparent 1px);
  background-size: 16px 16px;
}

.ld-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ld-town-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px 10px;
  border-radius: 14px;
  border: 1.5px solid oklch(0.21 0.02 55 / 0.16);
  background: #fffdf9;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
  min-width: 0;
}

.ld-town-tile:hover,
.ld-town-tile:focus-visible,
.ld-town-tile.is-active {
  border-color: var(--ink);
  background: #fffdf9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px oklch(0.21 0.02 55 / 0.12), inset 0 0 0 1px var(--lantern);
}

.ld-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

.ld-tile-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--lantern-ink);
  letter-spacing: 0.06em;
}

.ld-tile-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  color: var(--ink-2);
  border: 1px solid oklch(0.21 0.02 55 / 0.12);
}

.ld-town-tile.is-active .ld-tile-tag,
.ld-town-tile:hover .ld-tile-tag {
  background: var(--lantern-soft);
  color: var(--ink);
  border-color: var(--lantern);
}

.ld-tile-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(90px, 9.6vw, 122px);
  padding: 4px 2px;
  background: #fffdf9;
  border-radius: 8px;
  overflow: hidden;
}

.ld-tile-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--dur) var(--ease);
}

.ld-town-tile:hover .ld-tile-art img,
.ld-town-tile.is-active .ld-tile-art img {
  transform: scale(1.04);
}

.ld-tile-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid oklch(0.21 0.02 55 / 0.1);
}

.ld-tile-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}

.ld-tile-arrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lantern-ink);
  transition: transform var(--dur) var(--ease);
}

.ld-town-tile:hover .ld-tile-arrow,
.ld-town-tile.is-active .ld-tile-arrow {
  transform: translateX(3px);
}

/* Live Destination Preview Strip */
.ld-stage-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  background: var(--surface);
  border-top: 1.5px solid var(--ink);
  min-height: 54px;
}

.ld-preview-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.ld-preview-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--lantern-ink);
  flex-shrink: 0;
}

.ld-preview-copy {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0;
}

.ld-preview-copy strong {
  color: var(--ink);
  font-weight: 700;
  margin-right: 6px;
}

.ld-preview-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--lantern);
  padding: 5px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.ld-preview-link:hover {
  background: var(--lantern-hover);
}

@media (max-width: 520px) {
  .ld-stage-preview {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* 4-Column Architectural Proof Ledger (Above the Fold at 1440x900) */
.ld-proof-ledger {
  margin-top: clamp(22px, 2.6vw, 30px);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid oklch(0.21 0.02 55 / 0.2);
  background: oklch(0.99 0.006 80 / 0.72);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 860px) {
  .ld-proof-ledger {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ld-ledger-cell {
  padding: 16px 18px;
  border-bottom: 1px solid oklch(0.21 0.02 55 / 0.14);
  min-width: 0;
}

.ld-ledger-cell:nth-child(odd) {
  border-right: 1px solid oklch(0.21 0.02 55 / 0.14);
}

.ld-ledger-cell:nth-last-child(-n+2) {
  border-bottom: none;
}

@media (min-width: 860px) {
  .ld-ledger-cell {
    padding: 18px 20px;
    border-bottom: none;
    border-right: 1px solid oklch(0.21 0.02 55 / 0.14);
  }
  .ld-ledger-cell:first-child {
    padding-left: 6px;
  }
  .ld-ledger-cell:last-child {
    border-right: none;
    padding-right: 6px;
  }
}

.ld-ledger-idx {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--lantern-ink);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.ld-ledger-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.ld-ledger-lbl {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   4. Section 1: #degree — Dark Payap Plate + Visual WBL Stacked Bar
   -------------------------------------------------------------------------- */
.ld-degree-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 880px) {
  .ld-degree-top {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  }
}

.ld-degree-plate {
  border-radius: 20px;
  padding: clamp(18px, 2vw, 22px);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.ld-plate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.ld-plate-top .kp-card-eyebrow {
  margin-bottom: 0;
}

.ld-target-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--lantern);
  color: var(--ink);
}

.ld-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 1.85vw, 23px);
  line-height: 1.28;
  color: var(--text);
  margin: 0 0 10px;
}

html:lang(zh-CN) .ld-card-title {
  letter-spacing: var(--tracking-cjk);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

html:lang(en) .ld-card-title {
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ld-degree-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.ld-degree-chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--night-2);
  color: var(--on-night);
}

.ld-photo-plate {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  background: var(--surface);
  height: 100%;
}

.ld-photo-plate picture {
  display: block;
  flex: 1;
  min-height: 165px;
  max-height: 220px;
  overflow: hidden;
  background: var(--sand);
}

.ld-photo-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ld-photo-plate-cap {
  padding: 10px 14px;
  border-top: 1px solid oklch(0.21 0.02 55 / 0.14);
  font-size: 13px;
  color: var(--ink-2);
  background: var(--surface);
}

/* WBL Stacked Bar + Dual Credentials Row */
.ld-degree-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

@media (min-width: 880px) {
  .ld-degree-bottom {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  }
}

.ld-wbl-card {
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: clamp(16px, 2vw, 22px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 11px;
}

.ld-wbl-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.ld-wbl-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1.5px solid var(--lantern-ink);
  border-radius: 8px;
  background: var(--lantern-soft);
  color: var(--lantern-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ld-wbl-bar-wrap {
  margin: 2px 0 4px;
}

.ld-wbl-bar {
  display: flex;
  width: 100%;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
}

.ld-wbl-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  border-right: 1.5px solid var(--ink);
}

.ld-wbl-seg:last-child {
  border-right: none;
}

.ld-wbl-seg.is-50 {
  flex: 50 1 0%;
  background: var(--lantern);
  color: var(--ink);
}

.ld-wbl-seg.is-20a {
  flex: 20 1 0%;
  background: var(--night);
  color: var(--on-night);
}

.ld-wbl-seg.is-20b {
  flex: 20 1 0%;
  background: var(--ink-2);
  color: var(--paper);
}

.ld-wbl-seg.is-10 {
  flex: 10 1 0%;
  background: var(--sand);
  color: var(--ink);
  font-size: 13px;
}

.ld-wbl-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 12px;
}

@media (min-width: 560px) {
  .ld-wbl-legend {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ld-wbl-leg-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 10px;
  border-left: 3px solid var(--border);
}

.ld-wbl-leg-item.is-50 { border-left-color: var(--lantern); }
.ld-wbl-leg-item.is-20a { border-left-color: var(--night); }
.ld-wbl-leg-item.is-20b { border-left-color: var(--ink-2); }
.ld-wbl-leg-item.is-10 { border-left-color: var(--line-strong); }

.ld-wbl-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.ld-wbl-lbl {
  font-size: 12.5px;
  color: var(--ink-2);
}

.ld-wbl-rule {
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--paper-2);
  border-left: 3.5px solid var(--lantern);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 500;
}

/* Dual Credentials Card */
.ld-dual-card {
  background: var(--surface);
  border: 1.5px solid oklch(0.21 0.02 55 / 0.22);
  border-radius: 22px;
  padding: clamp(22px, 2.8vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.ld-dual-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.ld-dual-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.ld-dual-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--lantern-ink);
  padding-top: 2px;
}

.ld-dual-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. Section 2: #how — 50/50 Credit Split + Interactive 4-Year Tabs
   -------------------------------------------------------------------------- */
.ld-credit-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

@media (min-width: 780px) {
  .ld-credit-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ld-split-half {
  padding: clamp(18px, 2.2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ld-split-half.is-dark {
  background: var(--night);
  color: var(--on-night);
  --text: var(--on-night);
  --text-muted: var(--on-night-2);
  --border: oklch(0.4 0.03 265);
}

.ld-split-half.is-light {
  background: var(--paper-2);
  color: var(--ink);
}

.ld-split-metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.ld-split-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 4.4vw, 56px);
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.ld-split-half.is-dark .ld-split-big {
  color: var(--lantern);
}

.ld-split-unit {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 6px;
  color: var(--text-muted);
}

.ld-split-ratio {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
}

/* Interactive 4-Year Progression Tabs */
.ld-years {
  margin-top: clamp(24px, 3vw, 34px);
}

.ld-year-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  position: relative;
}

@media (min-width: 720px) {
  .ld-year-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
}

/* Without JS, hide interactive tab buttons and display all 4 panels stacked cleanly */
.ld-year-rail {
  display: none;
}

.ld-years.is-enhanced .ld-year-rail {
  display: grid;
}

.ld-year-tab {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1.5px solid oklch(0.21 0.02 55 / 0.18);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  color: var(--ink-2);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.ld-year-tab:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.ld-year-tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.ld-year-tab::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3.5px;
  border-radius: 4px 4px 0 0;
  background: var(--lantern);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 280ms var(--ease);
}

.ld-year-tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.ld-year-tab-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1;
  color: var(--lantern-ink);
  font-variant-numeric: tabular-nums;
}

.ld-year-tab[aria-selected="true"] .ld-year-tab-num {
  color: var(--lantern);
}

.ld-year-tab-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
}

.ld-year-panels {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.ld-year-panel {
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  padding: clamp(18px, 2.2vw, 24px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px 28px;
  align-items: center;
}

@media (min-width: 820px) {
  .ld-year-panel {
    grid-template-columns: 160px minmax(0, 1fr);
  }
}

.ld-year-panel[hidden] {
  display: none;
}

.ld-years.is-enhanced .ld-year-panel:not([hidden]) {
  animation: ld-panel-in 260ms var(--ease);
}

@keyframes ld-panel-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ld-year-big-idx {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 6vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ld-year-big-idx span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lantern-ink);
}

.ld-year-question {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  background: var(--lantern-soft);
  padding: 5px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   6. Full-Bleed Night City Vision Band (#vision)
   -------------------------------------------------------------------------- */
.ld-vision-band {
  background-color: var(--night);
  color: var(--on-night);
  --bg: var(--night);
  --surface: var(--night-2);
  --text: var(--on-night);
  --text-muted: var(--on-night-2);
  --text-subtle: var(--on-night-2);
  --border: oklch(0.38 0.03 265);
  border-top: 3px solid var(--lantern);
  padding: clamp(28px, 3.2vw, 40px) 0;
}

.ld-vision-quote-wrap {
  max-width: 900px;
  margin-bottom: clamp(16px, 2vw, 22px);
}

.ld-vision-band .kp-quote {
  font-size: clamp(25px, 3.2vw, 40px);
  margin: 8px 0 10px;
}

.ld-vision-photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

@media (min-width: 760px) {
  .ld-vision-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ld-vision-photo {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--night-2);
  display: flex;
  flex-direction: column;
}

.ld-vision-photo picture {
  display: block;
  aspect-ratio: 16 / 9;
  max-height: 205px;
  overflow: hidden;
}

.ld-vision-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ld-vision-photo figcaption {
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--on-night-2);
}

/* --------------------------------------------------------------------------
   7. Section 3: #mentors — 2-Col Editorial Roster + Collapsed 22 Reserve Drawer
   -------------------------------------------------------------------------- */
.ld-mentor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

@media (min-width: 820px) {
  .ld-mentor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
  }
}

.ld-mentor-card {
  background: var(--surface);
  border: 1px solid oklch(0.21 0.02 55 / 0.18);
  border-radius: 16px;
  padding: 13px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.ld-mentor-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-1);
}

.ld-mentor-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.ld-mentor-id {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.ld-mentor-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  color: var(--lantern-ink);
  font-variant-numeric: tabular-nums;
}

.ld-mentor-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}

.ld-mentor-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: var(--r-pill);
  background: var(--lantern-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.ld-mentor-hl {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.ld-bio-toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--lantern-ink);
  cursor: pointer;
}

.ld-bio-toggle:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ld-bio-toggle::after {
  content: "+";
  font-size: 15px;
  line-height: 1;
}

.ld-bio-toggle[aria-expanded="true"]::after {
  content: "−";
}

.ld-bio-panel {
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}

.ld-bio-panel[hidden] {
  display: none;
}

/* Reserve Mentors Collapsed Architectural Index Drawer */
.ld-reserve-box {
  margin-top: 20px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
}

.ld-reserve-bar {
  padding: clamp(16px, 2vw, 22px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}

.ld-reserve-info {
  flex: 1 1 380px;
  min-width: 0;
}

.ld-reserve-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.1vw, 24px);
  color: var(--ink);
  margin: 4px 0 6px;
}

.ld-reserve-lead {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 12px;
}

.ld-reserve-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ld-reserve-chip {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  border: 1px solid oklch(0.21 0.02 55 / 0.14);
  color: var(--ink);
}

.ld-reserve-chip.is-more {
  background: var(--lantern-soft);
  border-color: var(--lantern);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
}

.ld-reserve-trigger {
  min-height: 46px;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.ld-reserve-trigger:hover {
  background: var(--night);
}

.ld-reserve-trigger:active {
  transform: scale(0.97);
}

.ld-reserve-trigger-icon {
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--lantern);
}

.ld-reserve-drawer {
  padding: 20px clamp(18px, 2.8vw, 28px) 28px;
  border-top: 1.5px solid var(--ink);
  background: var(--paper);
}

.ld-reserve-drawer[hidden] {
  display: none;
}

.ld-reserve-drawer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.ld-reserve-grid {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

@media (min-width: 680px) {
  .ld-reserve-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1060px) {
  .ld-reserve-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ld-reserve-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color var(--dur) var(--ease);
}

.ld-reserve-item[open] {
  border-color: var(--ink);
}

.ld-reserve-item summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ld-reserve-item summary::-webkit-details-marker {
  display: none;
}

.ld-reserve-item-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.ld-reserve-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--lantern-ink);
  flex-shrink: 0;
}

.ld-reserve-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16.5px;
  color: var(--ink);
}

.ld-reserve-plus {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--ink-3);
  flex-shrink: 0;
}

.ld-reserve-item[open] .ld-reserve-plus {
  color: var(--lantern-ink);
}

.ld-reserve-bio {
  padding: 0 16px 16px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-2);
  white-space: pre-line;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}

/* --------------------------------------------------------------------------
   8. Section 4: #curious — 3-Pillar Showcase + Compact 4x2 Team Grid
   -------------------------------------------------------------------------- */
.ld-curious-pillars {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

@media (min-width: 960px) {
  .ld-curious-pillars {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
  }
}

.ld-pillar-card {
  background: var(--surface);
  border: 1px solid oklch(0.21 0.02 55 / 0.16);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ld-pillar-card.is-courses {
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
}

.ld-course-stack {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.ld-course-row {
  padding: 8px 11px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.ld-course-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.ld-course-code {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--lantern-soft);
  color: var(--lantern-ink);
}

.ld-course-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15.5px;
  color: var(--ink);
}

.ld-course-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* Compact 4x2 Resident Team Grid */
.ld-team-wrap {
  margin-top: 26px;
}

.ld-team-grid {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

@media (min-width: 620px) {
  .ld-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .ld-team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ld-team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.ld-team-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  margin: 0;
}

.ld-team-role {
  font-size: 13px;
  line-height: 1.5;
  color: var(--lantern-ink);
  font-weight: 600;
  margin: 4px 0 0;
}

.ld-team-bio {
  font-size: 13px;
  line-height: 1.68;
  color: var(--ink-2);
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  margin: 4px 0 0;
}

.ld-team-bio[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   9. Section 5: #safety — Pull-Quote + Numbered 01-06 Ruled Ledger + 2 Photos
   -------------------------------------------------------------------------- */
.ld-safety-quote {
  border-left: 4px solid var(--lantern);
  padding-left: clamp(16px, 2.2vw, 24px);
}

.ld-safety-ledger {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

@media (min-width: 640px) {
  .ld-safety-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .ld-safety-ledger {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ld-safety-card {
  background: var(--surface);
  border: 1px solid oklch(0.21 0.02 55 / 0.16);
  border-top: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 15px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ld-safety-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  color: var(--lantern-ink);
  font-variant-numeric: tabular-nums;
}

.ld-safety-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}

.ld-safety-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}

.ld-safety-photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
}

@media (min-width: 760px) {
  .ld-safety-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ld-safety-photos .ld-photo-plate picture {
  aspect-ratio: 16 / 9;
  min-height: 155px;
  max-height: 190px;
}

/* --------------------------------------------------------------------------
   10. Section 6: #english — High-Contrast 2-Card Strip
   -------------------------------------------------------------------------- */
.ld-english-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

@media (min-width: 820px) {
  .ld-english-strip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.ld-eng-card {
  border-radius: 20px;
  padding: clamp(20px, 2.4vw, 26px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.ld-eng-card.is-night {
  background: var(--night);
  color: var(--on-night);
  --text: var(--on-night);
  --text-muted: var(--on-night-2);
  --border: oklch(0.38 0.03 265);
  border: 1.5px solid var(--ink);
}

.ld-eng-card.is-paper {
  background: var(--surface);
  border: 1.5px solid var(--ink);
}

.ld-eng-metric {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 10px;
  background: var(--lantern);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   11. Section 7: #faq — Tightened Ruled Editorial Accordion
   -------------------------------------------------------------------------- */
.ld-faq-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  border-left: 1px solid oklch(0.21 0.02 55 / 0.14);
  border-right: 1px solid oklch(0.21 0.02 55 / 0.14);
}

.ld-faq-item {
  border-bottom: 1px solid var(--border);
}

.ld-faq-item:last-child {
  border-bottom: none;
}

.ld-faq-item summary {
  padding: 11px 18px;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.ld-faq-item summary::-webkit-details-marker {
  display: none;
}

.ld-faq-item summary:hover {
  background: oklch(0.972 0.012 80 / 0.6);
  color: var(--lantern-ink);
}

.ld-faq-q-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.ld-faq-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--lantern-ink);
  flex-shrink: 0;
}

.ld-faq-toggle {
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--lantern-ink);
  flex-shrink: 0;
}

.ld-faq-item[open] .ld-faq-toggle::before {
  content: "−";
}

.ld-faq-item:not([open]) .ld-faq-toggle::before {
  content: "+";
}

.ld-faq-body {
  padding: 0 22px 20px 52px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}

@media (max-width: 600px) {
  .ld-faq-item summary {
    padding: 16px;
  }
  .ld-faq-body {
    padding: 0 16px 18px 16px;
  }
}

.ld-faq-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.ld-faq-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.ld-faq-pill-link:hover {
  background: var(--lantern);
  color: var(--ink);
}

.ld-faq-jump {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lantern-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   12. Pre-Footer Open-Campus Action Band (#cta) & Footer
   -------------------------------------------------------------------------- */
.ld-cta-band {
  background-color: var(--night);
  color: var(--on-night);
  --bg: var(--night);
  --surface: var(--night-2);
  --text: var(--on-night);
  --text-muted: var(--on-night-2);
  --text-subtle: var(--on-night-2);
  --border: oklch(0.38 0.03 265);
  border-top: 4px solid var(--lantern);
  padding: clamp(30px, 3.4vw, 40px) 0 clamp(26px, 3vw, 34px);
}

.ld-cta-head {
  max-width: 780px;
  margin-bottom: clamp(20px, 2.4vw, 28px);
}

.ld-cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.3vw, 40px);
  line-height: 1.18;
  color: var(--on-night);
  margin: 8px 0 10px;
  text-wrap: balance;
}

html:lang(zh-CN) .ld-cta-title {
  letter-spacing: 0.02em;
  word-break: keep-all;
}

.ld-cta-lead {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--on-night-2);
  margin: 0;
}

.ld-doorway-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

@media (min-width: 880px) {
  .ld-doorway-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ld-doorway {
  background: var(--night-2);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.ld-doorway:hover {
  transform: translateY(-3px);
  border-color: var(--lantern);
}

.ld-doorway.is-featured {
  background: var(--lantern);
  border-color: var(--lantern);
  color: var(--ink);
}

.ld-doorway-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lantern);
  margin-bottom: 8px;
  display: block;
}

.ld-doorway.is-featured .ld-doorway-code {
  color: oklch(0.28 0.04 50);
}

.ld-doorway-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.ld-doorway-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--on-night-2);
  margin: 0;
}

.ld-doorway.is-featured .ld-doorway-desc {
  color: oklch(0.26 0.03 55);
}

.ld-doorway-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ld-doorway-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid var(--on-night);
  background: transparent;
  color: var(--on-night);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.ld-doorway-btn:hover {
  background: var(--on-night);
  color: var(--night);
}

.ld-doorway.is-featured .ld-doorway-btn {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.ld-doorway.is-featured .ld-doorway-btn:hover {
  background: var(--night);
  border-color: var(--night);
}

.ld-footer {
  padding: 34px 0 24px;
  border-top: 1px solid oklch(0.38 0.03 265);
}

.ld-footer .kp-footer-grid {
  margin-bottom: 24px;
}

.ld-footer-wecom-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--lantern);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  text-align: left;
}

.ld-footer-wecom-btn:hover {
  color: var(--on-night);
}

/* Keep WeCom modal scrollable and fully reachable on short landscape phones */
#wechat-modal .kp-modal-box {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ld-year-panel:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--focus-halo);
}

/* --------------------------------------------------------------------------
   13. Orchestrated Motion (Progressive Enhancement + Reduced Motion Safe)
   -------------------------------------------------------------------------- */
@keyframes ld-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html.ld-js-ready [data-hero-reveal] {
  animation: ld-rise 420ms var(--ease) both;
}

html.ld-js-ready [data-hero-reveal="1"] { animation-delay: 40ms; }
html.ld-js-ready [data-hero-reveal="2"] { animation-delay: 110ms; }
html.ld-js-ready [data-hero-reveal="3"] { animation-delay: 180ms; }
html.ld-js-ready [data-hero-reveal="4"] { animation-delay: 250ms; }

html.ld-js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

html.ld-js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.ld-js-ready [data-hero-reveal],
  html.ld-js-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
