/* ==========================================================================
   NIET — National Institute of Education & Trainings
   Design system: "The Register"

   Palette sampled from the NIET seal (deep navy #000040, teal #00A8A8)
   and the brand plan (gold #C9A227, ivory #FAF7F0, seal green #1E5631).

   Display face  : Marcellus  — Roman inscriptional capitals, the lettering
                               of a carved plaque and a conferred certificate.
   Body face     : Archivo    — sturdy grotesque, institutional at small sizes.
   Data face     : IBM Plex Mono — certificate IDs, cohort codes, dates, fees.
   ========================================================================== */

/* --------------------------------------------------------------- 1. tokens */
:root {
  --ink:          #071033;
  --ink-raise:    #0c1a44;
  --ink-line:     #1a2a58;
  --ink-soft:     #9fb0d4;

  --teal:         #00a8a8;
  --teal-deep:    #046a70;
  --teal-dim:     rgba(0, 168, 168, .22);

  --gold:         #c9a227;
  --gold-lift:    #e0bc4a;
  --gold-dim:     rgba(201, 162, 39, .18);

  --ivory:        #faf7f0;
  --ivory-2:      #f2ede1;
  --paper-line:   #e0d8c6;

  --green:        #1e5631;
  --rose:         #9b2c2c;

  --text:         #16203c;
  --text-soft:    #5a6480;

  --ff-display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --ff-body:    "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ff-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --shell:      1240px;
  --gut:        clamp(20px, 5vw, 56px);
  --radius:     2px;

  --ease:       cubic-bezier(.22, .61, .36, 1);
  --ease-seal:  cubic-bezier(.16, .84, .44, 1);
}

/* ----------------------------------------------------------- 2. foundation */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  :where(html:focus-within) { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip {
  position: absolute; left: 10px; top: -60px; z-index: 999;
  background: var(--ink); color: var(--ivory);
  padding: 12px 18px; font-size: 14px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip:focus { top: 10px; }

.u-hide { display: none !important; }
.u-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------------- 3. shell */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.shell--wide { max-width: 1480px; }
.shell--tight { max-width: 860px; }

.band { padding-block: clamp(64px, 9vw, 128px); position: relative; scroll-margin-top: 100px; }
.band--tight { padding-block: clamp(48px, 6vw, 80px); }
.band--dark { background: var(--ink); color: var(--ivory); }
.band--deep {
  background:
    radial-gradient(120% 80% at 85% 0%, #0e2054 0%, transparent 62%),
    var(--ink);
  color: var(--ivory);
}
.band--paper { background: var(--ivory-2); }
.band--dark h1, .band--dark h2, .band--dark h3,
.band--deep h1, .band--deep h2, .band--deep h3 { color: var(--ivory); }

/* ------------------------------------------------- 4. type scale + eyebrow */
.display {
  font-size: clamp(2.6rem, 6.4vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.018em;
}
.h1 { font-size: clamp(2.15rem, 4.8vw, 3.6rem); }
.h2 { font-size: clamp(1.75rem, 3.3vw, 2.65rem); }
.h3 { font-size: clamp(1.28rem, 2vw, 1.6rem); line-height: 1.2; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 62ch;
}
.band--dark .lede, .band--deep .lede { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: .55;
}
.band--dark .eyebrow, .band--deep .eyebrow { color: var(--teal); }

.mono { font-family: var(--ff-mono); font-size: .82em; letter-spacing: .02em; }

.caps {
  font-family: var(--ff-display);
  text-transform: uppercase;
  letter-spacing: .16em;
}

/* ------------------------------------------------------------ 5. the rule */
/* Hairline + seal ornament used as the connective tissue between sections. */
.rule {
  display: flex; align-items: center; gap: 18px;
  margin-block: clamp(40px, 5vw, 64px);
}
.rule::before, .rule::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--paper-line) 22%, var(--paper-line) 78%, transparent);
}
.rule__mark { display: block; width: 32px; height: 32px; flex: none; color: var(--teal-deep); }
.band--dark .rule__mark, .band--deep .rule__mark { color: var(--teal); }
.band--dark .rule::before, .band--dark .rule::after,
.band--deep .rule::before, .band--deep .rule::after {
  background: linear-gradient(90deg, transparent, var(--ink-line) 22%, var(--ink-line) 78%, transparent);
}

/* -------------------------------------------------------------- 6. buttons */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  --btn-bd: var(--gold);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--ff-body);
  font-size: 14px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -12px rgba(7,16,51,.55); }
.btn:active { transform: translateY(0); }
.btn__i { width: 15px; height: 15px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .btn__i { transform: translateX(3px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bd: rgba(159,176,212,.45); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.06); --btn-bd: var(--teal); }

.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--ivory); --btn-bd: var(--ink); }
.btn--ink:hover { --btn-bg: var(--ink-raise); }

.btn--teal { --btn-bg: var(--teal-deep); --btn-fg: #fff; --btn-bd: var(--teal-deep); }

.btn--line { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--paper-line); }
.btn--line:hover { --btn-bd: var(--ink); }

.btn--sm { padding: 11px 18px; font-size: 12px; }
.btn--block { display: flex; width: 100%; }

.btnrow { display: flex; flex-wrap: wrap; gap: 14px; }

/* Text link that underlines from the left on hover. */
.tlink {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; text-decoration: none;
  color: var(--teal-deep);
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .35s var(--ease), color .25s var(--ease);
}
.tlink:hover { background-size: 100% 1px; }
.band--dark .tlink, .band--deep .tlink { color: var(--gold); }

/* ------------------------------------------------------------- 7. the seal */
/* The signature element. Draws on load in the hero, sits as an ornament on
   dividers, and stamps down on the certificate verification page.          */
.seal { display: block; color: var(--teal); }
.seal__rim  { fill: none; stroke: currentColor; stroke-width: 1; opacity: .95; }
.seal__hair { fill: none; stroke: currentColor; stroke-width: .5; opacity: .45; }
.seal__gold { fill: none; stroke: var(--gold); stroke-width: 1.2; }
.seal__type { fill: var(--gold); font-family: var(--ff-display); font-size: 6.9px; letter-spacing: .135em; }
.seal__core { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.seal__ray  { stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; }

.seal__spinA { animation: sealSpin 68s linear infinite; transform-origin: 100px 100px; }
.seal__spinB { animation: sealSpin 92s linear infinite reverse; transform-origin: 100px 100px; }
@keyframes sealSpin { to { transform: rotate(360deg); } }

/* draw-on entrance */
.seal--draw .seal__rim,
.seal--draw .seal__hair,
.seal--draw .seal__gold,
.seal--draw .seal__core {
  stroke-dasharray: var(--len, 900);
  stroke-dashoffset: var(--len, 900);
  animation: sealDraw 2.1s var(--ease-seal) forwards;
}
.seal--draw .seal__hair { animation-delay: .16s; }
.seal--draw .seal__gold { animation-delay: .30s; }
.seal--draw .seal__core { animation-delay: .52s; }
@keyframes sealDraw { to { stroke-dashoffset: 0; } }

.seal--draw .seal__type,
.seal--draw .seal__ray { opacity: 0; animation: sealFade .9s var(--ease) .95s forwards; }
@keyframes sealFade { to { opacity: 1; } }

/* ------------------------------------------------------ 8. engraved ground */
/* Guilloché line-work — the texture of a certificate, drawn not imaged. */
.engrave {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: .5;
}
.engrave svg { position: absolute; }
.engrave__set { fill: none; stroke: var(--teal); stroke-width: .5; opacity: .28; }

/* ---------------------------------------------------------- 9. announcement */
.topbar {
  background: var(--ink);
  color: var(--ink-soft);
  border-bottom: 1px solid var(--ink-line);
  font-size: 12.5px;
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 40px; padding-block: 7px;
}
.topbar__note { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topbar__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none;
  box-shadow: 0 0 0 0 var(--teal-dim);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,168,168,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(0,168,168,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,168,168,0); }
}
.topbar__txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__txt b { color: var(--ivory); font-weight: 600; }
.topbar__links { display: flex; gap: 22px; flex: none; }
.topbar__links a { text-decoration: none; transition: color .2s var(--ease); }
.topbar__links a:hover { color: var(--gold); }
@media (max-width: 820px) { .topbar__links { display: none; } }

/* -------------------------------------------------------------- 10. header */
.hdr {
  position: sticky; top: 0; z-index: 90;
  background: rgba(250,247,240,.9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.hdr.is-stuck {
  border-bottom-color: var(--paper-line);
  box-shadow: 0 12px 30px -26px rgba(7,16,51,.6);
}
.hdr__in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 76px;
}

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; flex: none; }
.brand__seal { width: 42px; height: 42px; flex: none; }
.brand__seal img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.brand__txt { display: grid; gap: 2px; }
.brand__name {
  font-family: var(--ff-display);
  font-size: 21px; line-height: 1; letter-spacing: .1em;
  color: var(--ink);
}
.brand__sub {
  font-family: var(--ff-mono);
  font-size: 9px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--text-soft);
}
/* The full institute name needs room; below this the wordmark carries it. */
@media (max-width: 1400px) { .brand__sub { display: none; } }

.nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
@media (max-width: 1080px) { .nav { display: none; } }
@media (max-width: 1220px) {
  .nav__link { padding-inline: 10px; font-size: 13px; }
  .nav__link::after { left: 10px; right: 10px; }
  .hdr__cta .btn--line { display: none; }
}

.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  font-size: 13.5px; font-weight: 500; letter-spacing: .04em;
  white-space: nowrap;
  text-decoration: none; color: var(--text);
  border-radius: var(--radius);
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--teal-deep); }
.nav__link:hover::after,
.nav__item:focus-within .nav__link::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--teal-deep); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--gold); }
.nav__caret { width: 9px; height: 9px; opacity: .5; transition: transform .3s var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

.nav__drop {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 250px;
  background: var(--ivory);
  border: 1px solid var(--paper-line);
  box-shadow: 0 26px 60px -30px rgba(7,16,51,.5);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav__item:hover .nav__drop,
.nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__drop a {
  display: block; padding: 10px 14px;
  font-size: 13.5px; text-decoration: none; color: var(--text);
  border-left: 1px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), padding-left .2s var(--ease);
}
.nav__drop a:hover {
  background: var(--ivory-2); border-left-color: var(--teal); padding-left: 18px;
}
.nav__drop small {
  display: block; font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); margin-top: 2px;
}

.hdr__cta { display: flex; align-items: center; gap: 12px; flex: none; }
@media (max-width: 1080px) { .hdr__cta .btn { display: none; } }

.burger {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--paper-line); cursor: pointer;
  border-radius: var(--radius);
}
@media (max-width: 1080px) { .burger { display: inline-flex; } }
.burger span { position: relative; width: 18px; height: 1.5px; background: var(--ink); display: block; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 95;
  background: var(--ink); color: var(--ivory);
  padding: 88px var(--gut) 40px;
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path .55s var(--ease);
  visibility: hidden;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.drawer__close {
  position: absolute; top: 22px; right: var(--gut);
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 1px solid var(--ink-line); color: var(--ivory); cursor: pointer;
}
.drawer__grp { border-top: 1px solid var(--ink-line); padding-block: 6px; }
.drawer__grp:first-of-type { border-top: 0; }
.drawer__lbl {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--teal); padding: 14px 0 6px;
}
.drawer a {
  display: block; padding: 11px 0;
  font-family: var(--ff-display); font-size: 22px; letter-spacing: .01em;
  text-decoration: none; color: var(--ivory);
  opacity: 0; transform: translateY(14px);
}
.drawer.is-open a { animation: drawerIn .5s var(--ease) forwards; }
@keyframes drawerIn { to { opacity: 1; transform: none; } }
.drawer__foot { margin-top: 30px; display: grid; gap: 12px; }

/* ---------------------------------------------------------------- 11. hero */
.hero {
  position: relative;
  background:
    radial-gradient(90% 120% at 78% 12%, #10245c 0%, transparent 58%),
    var(--ink);
  color: var(--ivory);
  overflow: hidden;
  padding-block: clamp(60px, 8vw, 104px) clamp(56px, 7vw, 96px);
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 15px 7px 11px;
  border: 1px solid var(--ink-line);
  border-radius: 100px;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 26px;
}
.hero__kicker b { color: var(--gold); font-weight: 500; }

.hero h1 { color: var(--ivory); margin-bottom: 26px; }
.hero h1 em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: 1px;
  background: var(--gold-dim);
}
.hero__lede { color: var(--ink-soft); max-width: 52ch; margin-bottom: 34px; }
.hero__cta { margin-bottom: 34px; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 0 40px;
  padding-top: 26px; border-top: 1px solid var(--ink-line);
}
.hero__metaitem { padding-block: 6px; }
.hero__metaitem dt {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 5px;
}
.hero__metaitem dd { margin: 0; font-size: 15px; font-weight: 500; color: var(--ivory); }

.hero__seal { position: relative; display: grid; place-items: center; }
.hero__seal .seal { width: min(100%, 430px); height: auto; }
@media (max-width: 940px) { .hero__seal .seal { width: min(72%, 320px); } }

/* slow float on the seal, disabled for reduced motion */
.hero__seal { animation: floaty 9s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* ------------------------------------------------------- 12. the roll strip */
/* A marquee of the actual national panel — a roll of honour, not decoration. */
.roll {
  background: var(--ink-raise);
  border-block: 1px solid var(--ink-line);
  color: var(--ink-soft);
  padding-block: 15px;
  overflow: hidden;
  position: relative;
}
.roll::before, .roll::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.roll::before { left: 0;  background: linear-gradient(90deg, var(--ink-raise), transparent); }
.roll::after  { right: 0; background: linear-gradient(270deg, var(--ink-raise), transparent); }
.roll__track { display: flex; width: max-content; animation: rollMove 46s linear infinite; }
.roll:hover .roll__track { animation-play-state: paused; }
@keyframes rollMove { to { transform: translateX(-50%); } }
.roll__set { display: flex; align-items: center; }
.roll__item {
  display: inline-flex; align-items: center; gap: 16px;
  padding-inline: 26px;
  font-family: var(--ff-display); font-size: 15px;
  letter-spacing: .13em; text-transform: uppercase; white-space: nowrap;
}
.roll__item::after { content: ""; width: 4px; height: 4px; background: var(--teal); border-radius: 50%; }

/* --------------------------------------------------------------- 13. stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--paper-line); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--ivory); padding: clamp(24px, 3vw, 38px) clamp(18px, 2.4vw, 30px); }
.band--dark .stat, .band--deep .stat { background: var(--ink); }
.stats--dark { background: var(--ink-line); }
.stat__n {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 5vw, 3.9rem); line-height: 1;
  color: var(--ink); letter-spacing: -.02em;
}
.band--dark .stat__n, .band--deep .stat__n { color: var(--gold); }
.stat__n sup { font-size: .42em; vertical-align: super; color: var(--teal-deep); }
.band--dark .stat__n sup, .band--deep .stat__n sup { color: var(--teal); }
.stat__l {
  margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--text-soft);
  max-width: 24ch;
}
.band--dark .stat__l, .band--deep .stat__l { color: var(--ink-soft); }

/* ------------------------------------------------------------ 14. sec head */
.sechead { display: grid; gap: 18px; margin-bottom: clamp(34px, 4vw, 56px); }
.sechead--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(24px, 4vw, 64px); align-items: end;
}
@media (max-width: 860px) { .sechead--split { grid-template-columns: 1fr; align-items: start; } }
.sechead__aside { display: grid; gap: 18px; justify-items: start; }

/* --------------------------------------------------------- 15. prog cards */
.progs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .progs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .progs { grid-template-columns: 1fr; } }
.prog--feature { grid-column: 1 / -1; }
@media (min-width: 901px) {
  .prog--feature {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    column-gap: clamp(32px, 4vw, 64px);
    padding: 36px 34px 30px;
  }
  .prog--feature .prog__code { grid-column: 1 / -1; }
  .prog--feature .prog__name { grid-column: 1; align-self: center; margin-bottom: 0; font-size: clamp(1.5rem, 2.3vw, 2rem); }
  .prog--feature .prog__desc { grid-column: 2; align-self: center; margin-bottom: 0; flex: none; }
  .prog--feature .prog__foot { grid-column: 1 / -1; margin-top: 30px; }
}

.prog {
  position: relative; display: flex; flex-direction: column;
  background: var(--ivory);
  border: 1px solid var(--paper-line);
  padding: 30px 28px 28px;
  text-decoration: none; color: inherit;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s var(--ease), box-shadow .4s var(--ease);
}
.prog::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.prog:hover { transform: translateY(-5px); border-color: #cdc2a8; box-shadow: 0 26px 50px -34px rgba(7,16,51,.5); }
.prog:hover::before { transform: scaleX(1); }
.prog--feature { background: var(--ink); color: var(--ivory); border-color: var(--ink-line); }
.prog--feature:hover { border-color: var(--teal-deep); }

.prog__code {
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal-deep); margin-bottom: 20px;
  display: flex; justify-content: space-between; gap: 12px;
}
.prog--feature .prog__code { color: var(--teal); }
.prog__tag {
  padding: 3px 9px; border: 1px solid currentColor; border-radius: 100px;
  font-size: 9.5px; letter-spacing: .12em;
}
.prog__name { font-size: clamp(1.24rem, 1.8vw, 1.5rem); margin-bottom: 12px; }
.prog--feature .prog__name { color: var(--ivory); }
.prog__desc { font-size: 14.5px; line-height: 1.6; color: var(--text-soft); margin-bottom: 22px; flex: 1; }
.prog--feature .prog__desc { color: var(--ink-soft); }
.prog__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-top: 18px; border-top: 1px solid var(--paper-line);
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .07em;
}
.prog--feature .prog__foot { border-top-color: var(--ink-line); }
.prog__when { color: var(--text); }
.prog--feature .prog__when { color: var(--gold); }
.prog__go { display: inline-flex; align-items: center; gap: 7px; color: var(--teal-deep); text-transform: uppercase; }
.prog--feature .prog__go { color: var(--teal); }
.prog__go svg { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.prog:hover .prog__go svg { transform: translateX(4px); }

/* ------------------------------------------------------------- 16. faculty */
.fac { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .fac { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .fac { grid-template-columns: 1fr; } }

.fcard {
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--paper-line);
  text-align: left;
  padding: 0 0 24px;
  cursor: pointer;
  width: 100%;
  font: inherit; color: inherit;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease);
}
.fcard:hover { transform: translateY(-5px); border-color: #cdc2a8; box-shadow: 0 26px 50px -34px rgba(7,16,51,.45); }

.fcard__frame {
  display: block;
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--ivory-2); margin-bottom: 20px;
}
.fcard__frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  transition: transform .8s var(--ease);
}
.fcard:hover .fcard__frame img { transform: scale(1.045); }
.fcard__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(7,16,51,.62));
}
.fcard__state {
  display: block;
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--gold);
}
.fcard__body { display: block; padding-inline: 22px; }
.fcard__name { display: block; font-size: 1.18rem; margin-bottom: 6px; }
.fcard__role { display: block; font-size: 13px; line-height: 1.5; color: var(--text-soft); }
.fcard__topic {
  display: block;
  margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--paper-line);
  font-size: 12.5px; line-height: 1.5; color: var(--teal-deep);
}
.fcard__topic b { display: block; font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 5px; font-weight: 500; }

/* faculty dialog */
.fmodal {
  border: 0; padding: 0; max-width: 720px; width: calc(100vw - 32px);
  background: var(--ivory); color: var(--text);
  box-shadow: 0 40px 100px -40px rgba(7,16,51,.7);
}
.fmodal::backdrop { background: rgba(7,16,51,.72); backdrop-filter: blur(3px); }
.fmodal[open] { animation: modalIn .35s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.fmodal__in { display: grid; grid-template-columns: 232px minmax(0, 1fr); }
@media (max-width: 640px) { .fmodal__in { grid-template-columns: 1fr; } }
.fmodal__pic { background: var(--ink); }
.fmodal__pic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.fmodal__body { padding: 32px 32px 30px; }
.fmodal__close {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--ivory); border: 1px solid var(--paper-line); cursor: pointer; color: var(--text);
}
.fmodal__name { font-size: 1.7rem; margin-bottom: 8px; }
.fmodal__role { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 18px; }
.fmodal__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fmodal__list li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.55; color: var(--text-soft); }
.fmodal__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 1px; background: var(--teal);
}

/* -------------------------------------------------------------- 17. steps */
/* Numbered because admissions genuinely is an ordered sequence. */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 40px); align-items: start;
  padding-block: clamp(26px, 3.2vw, 40px);
  border-top: 1px solid var(--paper-line);
}
.step:last-child { border-bottom: 1px solid var(--paper-line); }
@media (max-width: 720px) { .step { grid-template-columns: 56px minmax(0, 1fr); } }
.step__n {
  counter-increment: step;
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .1em;
  color: var(--teal-deep); padding-top: 6px;
}
.step__n::before { content: counter(step, decimal-leading-zero); }
.step__b h3 { margin-bottom: 9px; }
.step__b p { font-size: 15px; color: var(--text-soft); margin: 0; max-width: 60ch; }
.step__side { text-align: right; font-family: var(--ff-mono); font-size: 12px; color: var(--text-soft); padding-top: 6px; }
@media (max-width: 720px) { .step__side { grid-column: 2; text-align: left; padding-top: 12px; } }

/* ---------------------------------------------------------- 18. accordions */
.acc { border-top: 1px solid var(--paper-line); }
.acc__item { border-bottom: 1px solid var(--paper-line); }
.acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 24px 0; text-align: left;
  background: none; border: 0; cursor: pointer;
  font-family: var(--ff-display); font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--text); line-height: 1.25;
  transition: color .2s var(--ease);
}
.acc__btn:hover { color: var(--teal-deep); }
.acc__sign { position: relative; width: 16px; height: 16px; flex: none; }
.acc__sign::before, .acc__sign::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--teal-deep);
}
.acc__sign::before { width: 16px; height: 1.5px; }
.acc__sign::after  { width: 1.5px; height: 16px; transition: transform .35s var(--ease); }
.acc__btn[aria-expanded="true"] .acc__sign::after { transform: scaleY(0); }
.acc__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.acc__panel.is-open { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p, .acc__panel ul { font-size: 15px; color: var(--text-soft); }
.acc__panel > div > :last-child { margin-bottom: 26px; }
.band--dark .acc, .band--dark .acc__item { border-color: var(--ink-line); }
.band--dark .acc__btn { color: var(--ivory); }
.band--dark .acc__panel p { color: var(--ink-soft); }

/* --------------------------------------------------------- 19. pull quote */
.quote { display: grid; gap: 28px; justify-items: start; max-width: 900px; }
.quote__mark { font-family: var(--ff-display); font-size: 76px; line-height: .6; color: var(--gold); }
.quote blockquote {
  margin: 0;
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3.1vw, 2.4rem);
  line-height: 1.28;
  letter-spacing: -.01em;
}
.quote__by { display: flex; align-items: center; gap: 16px; }
.quote__by img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.quote__who { font-size: 15px; font-weight: 600; }
.quote__what { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }

/* ------------------------------------------------------------- 20. gallery */
.gal { columns: 3; column-gap: 18px; }
@media (max-width: 900px) { .gal { columns: 2; } }
@media (max-width: 560px) { .gal { columns: 1; } }
.gal__fig { break-inside: avoid; margin: 0 0 18px; position: relative; cursor: zoom-in; overflow: hidden; background: var(--ivory-2); }
.gal__fig img { width: 100%; transition: transform .7s var(--ease), filter .5s var(--ease); }
.gal__fig:hover img { transform: scale(1.04); }
.gal__cap {
  position: absolute; inset: auto 0 0 0;
  padding: 34px 18px 15px;
  background: linear-gradient(transparent, rgba(7,16,51,.86));
  color: var(--ivory); font-size: 13px; line-height: 1.4;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gal__fig:hover .gal__cap, .gal__fig:focus-within .gal__cap { opacity: 1; transform: none; }
.gal__cap b { display: block; font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; font-weight: 500; }

.lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: none; place-items: center;
  background: rgba(7,16,51,.94);
  padding: 24px;
}
.lightbox.is-open { display: grid; animation: lbIn .3s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox img { max-width: min(1100px, 94vw); max-height: 86vh; object-fit: contain; }
.lightbox__cap { color: var(--ink-soft); font-size: 13px; text-align: center; margin-top: 16px; font-family: var(--ff-mono); letter-spacing: .06em; }
.lightbox__x {
  position: absolute; top: 22px; right: 22px; width: 46px; height: 46px;
  display: grid; place-items: center; background: none;
  border: 1px solid var(--ink-line); color: var(--ivory); cursor: pointer;
}

/* --------------------------------------------------------------- 21. forms */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field__l {
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-soft);
}
.field__l span { color: var(--rose); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 15px;
  font-family: var(--ff-body); font-size: 15px; color: var(--text);
  background: var(--ivory);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-dim); background: #fff;
}
.field__err { font-size: 12.5px; color: var(--rose); min-height: 0; }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--rose); }

.band--dark .field input, .band--dark .field select, .band--dark .field textarea,
.band--deep .field input, .band--deep .field select, .band--deep .field textarea {
  background: var(--ink-raise); border-color: var(--ink-line); color: var(--ivory);
}
.band--dark .field__l, .band--deep .field__l { color: var(--ink-soft); }

.note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--paper-line); border-left: 2px solid var(--teal);
  background: var(--ivory-2);
  font-size: 13.5px; line-height: 1.55; color: var(--text-soft);
}
.note svg { width: 17px; height: 17px; flex: none; color: var(--teal-deep); margin-top: 2px; }
.band--dark .note, .band--deep .note { background: var(--ink-raise); border-color: var(--ink-line); border-left-color: var(--teal); color: var(--ink-soft); }

.formsuccess {
  display: none; gap: 14px; align-items: flex-start;
  padding: 20px; border: 1px solid var(--green); background: rgba(30,86,49,.07); color: var(--green);
  font-size: 14.5px;
}
.formsuccess.is-on { display: flex; }

/* --------------------------------------------------------- 22. verify tool */
.verify {
  background: var(--ivory); border: 1px solid var(--paper-line);
  padding: clamp(26px, 4vw, 46px);
  position: relative; overflow: hidden;
}
.verify__form { display: flex; gap: 12px; flex-wrap: wrap; }
.verify__form .field { flex: 1 1 260px; }
.verify__form input { font-family: var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; }
.verify__out { margin-top: 28px; display: none; }
.verify__out.is-on { display: block; animation: modalIn .4s var(--ease); }

.record {
  display: grid; grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px); align-items: center;
  padding: 26px; border: 1px solid var(--paper-line); background: var(--ivory-2);
}
@media (max-width: 620px) { .record { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.record--bad { border-color: rgba(155,44,44,.4); background: rgba(155,44,44,.05); }
.record__stamp { position: relative; display: grid; place-items: center; }
.record__stamp .seal { width: 124px; color: var(--green); }
.record__stamp .seal .seal__gold,
.record__stamp .seal .seal__ray,
.record__stamp .seal .seal__type { stroke: var(--green); fill: none; }
.record__stamp .seal .seal__type { fill: var(--green); stroke: none; }
.is-on .record__stamp { animation: stampDown .55s var(--ease-seal) backwards; }
@keyframes stampDown {
  0%   { transform: scale(2.1) rotate(-14deg); opacity: 0; }
  60%  { transform: scale(.94) rotate(2deg);  opacity: 1; }
  100% { transform: scale(1) rotate(0);       opacity: 1; }
}
.record__dl { margin: 0; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 8px 22px; font-size: 14.5px; }
@media (max-width: 620px) { .record__dl { grid-template-columns: 1fr; gap: 3px 0; text-align: center; } }
.record__dl dt { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--text-soft); padding-top: 4px; }
.record__dl dd { margin: 0; font-weight: 500; }
.record__ok {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.record--bad .record__ok { color: var(--rose); }

/* ------------------------------------------------------------ 23. partners */
.partners { display: flex; flex-wrap: wrap; gap: 14px; }
.partner {
  flex: 1 1 220px;
  display: grid; gap: 6px;
  padding: 20px 22px;
  border: 1px solid var(--ink-line);
  background: var(--ink-raise);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.partner:hover { border-color: var(--teal-deep); transform: translateY(-3px); }
.partner__n { font-family: var(--ff-display); font-size: 17px; letter-spacing: .04em; color: var(--ivory); }
.partner__r { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--teal); }
.partner__d { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* --------------------------------------------------------------- 24. cards */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); }
.tile { background: var(--ivory); padding: clamp(24px, 3vw, 34px); }
.tile__i { width: 26px; height: 26px; color: var(--teal-deep); margin-bottom: 18px; }
.tile h3 { font-size: 1.2rem; margin-bottom: 10px; }
.tile p { font-size: 14.5px; color: var(--text-soft); margin: 0; }
.band--dark .tiles, .band--deep .tiles { background: var(--ink-line); border-color: var(--ink-line); }
.band--dark .tile, .band--deep .tile { background: var(--ink); }
.band--dark .tile p, .band--deep .tile p { color: var(--ink-soft); }
.band--dark .tile__i, .band--deep .tile__i { color: var(--teal); }

/* -------------------------------------------------------------- 25. banner */
.cta {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
  padding-block: clamp(56px, 7vw, 96px);
}
.cta__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; align-items: center; }
@media (max-width: 860px) { .cta__in { grid-template-columns: 1fr; } }
.cta h2 { color: var(--ivory); margin-bottom: 14px; }

/* -------------------------------------------------------------- 26. footer */
.ftr { background: var(--ink); color: var(--ink-soft); padding-block: clamp(52px, 6vw, 82px) 0; }
.ftr__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 940px) { .ftr__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__top { grid-template-columns: 1fr; } }
.ftr__brand { display: grid; gap: 18px; align-content: start; }
.ftr__logo { display: flex; align-items: center; gap: 13px; }
.ftr__logo img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; }
.ftr__logo b { font-family: var(--ff-display); font-size: 22px; letter-spacing: .1em; color: var(--ivory); font-weight: 400; display: block; }
.ftr__logo span { font-family: var(--ff-mono); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.ftr__blurb { font-size: 14px; line-height: 1.6; max-width: 38ch; }
.ftr h4 {
  font-family: var(--ff-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
  margin: 0 0 18px;
}
.ftr__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ftr__list a { font-size: 14px; text-decoration: none; transition: color .2s var(--ease); }
.ftr__list a:hover { color: var(--gold); }
.ftr__contact { display: grid; gap: 14px; font-size: 14px; }
.ftr__contact a { text-decoration: none; }
.ftr__contact a:hover { color: var(--gold); }
.ftr__ci { display: flex; gap: 11px; align-items: flex-start; }
.ftr__ci svg { width: 15px; height: 15px; color: var(--teal); flex: none; margin-top: 4px; }
.ftr__bottom {
  margin-top: clamp(38px, 5vw, 60px); padding-block: 24px;
  border-top: 1px solid var(--ink-line);
  display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between;
  font-size: 12.5px;
}
.ftr__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.ftr__legal a { text-decoration: none; }
.ftr__legal a:hover { color: var(--gold); }
.ftr__reg { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .06em; }

/* ------------------------------------------------------------ 27. whatsapp */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: inline-flex; align-items: center; gap: 0;
  height: 56px; padding: 0 16px;
  background: #1c7c4a; color: #fff;
  border-radius: 100px; text-decoration: none;
  box-shadow: 0 14px 34px -12px rgba(28,124,74,.7);
  transition: gap .35s var(--ease), padding .35s var(--ease), transform .3s var(--ease);
}
.wa:hover { transform: translateY(-3px); gap: 11px; padding-right: 24px; }
.wa svg { width: 26px; height: 26px; flex: none; }
.wa span {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: 14px; font-weight: 600;
  transition: max-width .35s var(--ease);
}
.wa:hover span { max-width: 180px; }
@media (max-width: 560px) { .wa { right: 14px; bottom: 14px; height: 52px; } }

/* ------------------------------------------------------- 28. page headers */
.phead {
  position: relative; overflow: hidden;
  background: radial-gradient(80% 130% at 82% 0%, #10245c 0%, transparent 60%), var(--ink);
  color: var(--ivory);
  padding-block: clamp(52px, 7vw, 96px);
}
.phead__in { position: relative; z-index: 2; max-width: 780px; }
.phead h1 { color: var(--ivory); margin-bottom: 20px; }
.crumbs {
  display: flex; flex-wrap: wrap; gap: 9px; align-items: center;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px;
}
.crumbs a { text-decoration: none; transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--gold); }
.crumbs span { opacity: .45; }

/* --------------------------------------------------------------- 29. prose */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 46px 0 16px; }
.prose h3 { font-size: 1.22rem; margin: 32px 0 12px; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-soft); font-size: 16px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; margin: 0 0 1.2em; }
.prose a { color: var(--teal-deep); text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--paper-line); }
.prose th { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); font-weight: 500; }

/* -------------------------------------------------------------- 30. fees */
.fees { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.fee { border: 1px solid var(--paper-line); padding: 30px 28px; background: var(--ivory); display: grid; gap: 16px; align-content: start; }
.fee--pick { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); position: relative; }
.fee--pick::after {
  content: "Most chosen"; position: absolute; top: -1px; right: 20px;
  transform: translateY(-50%);
  background: var(--gold); color: var(--ink);
  font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 10px;
}
.fee__t { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); }
.fee__amt { font-family: var(--ff-display); font-size: 2.5rem; line-height: 1; }
.fee__amt small { font-family: var(--ff-mono); font-size: .82rem; letter-spacing: .06em; color: var(--text-soft); display: block; margin-top: 8px; }
.fee__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--text-soft); }
.fee__list li { position: relative; padding-left: 22px; }
.fee__list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 5px;
  border-left: 1.5px solid var(--teal); border-bottom: 1.5px solid var(--teal);
  transform: rotate(-45deg);
}

/* ----------------------------------------------------------- 31. downloads */
.dls { display: grid; gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); }
.dl {
  display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 20px; align-items: center;
  background: var(--ivory); padding: 20px 24px;
  text-decoration: none; color: inherit;
  transition: background-color .25s var(--ease);
}
.dl:hover { background: var(--ivory-2); }
.dl__i { display: block; width: 26px; height: 26px; color: var(--teal-deep); }
.dl__n { display: block; font-weight: 600; font-size: 15.5px; }
.dl__m { display: block; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .08em; color: var(--text-soft); margin-top: 3px; }
.dl__go { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }

/* ------------------------------------------------------------- 32. reveal */
/* Progressive enhancement: without JS nothing is ever hidden. The .js class is
   set by the inline head script, so no-JS visitors get the full page. */
.js [data-rise] { opacity: 0; transform: translateY(22px); }
.js [data-rise].is-in {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}

/* ---------------------------------------------------- 33. reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-rise] { opacity: 1; transform: none; }
  .roll__track { animation: none; }
  .hero__seal { animation: none; }
  .seal--draw .seal__rim, .seal--draw .seal__hair,
  .seal--draw .seal__gold, .seal--draw .seal__core { stroke-dashoffset: 0; }
  .seal--draw .seal__type, .seal--draw .seal__ray { opacity: 1; }
}

/* --------------------------------------------------------------- 34. print */
@media print {
  .topbar, .hdr, .wa, .drawer, .cta, .roll { display: none !important; }
  body { background: #fff; color: #000; }
  .band, .phead, .hero { background: #fff !important; color: #000 !important; padding-block: 18px; }
  .phead h1, .hero h1 { color: #000 !important; }
}
