:root {
  --ink: #061827;
  --ink-2: #0a2639;
  --paper: #f4f9fb;
  --white: #ffffff;
  --cyan: #16c9dd;
  --cyan-dark: #007f98;
  --yellow: #ffd84a;
  --muted: #657680;
  --line: #ccd9de;
  --max: 1180px;
  --font: "Segoe UI", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.review-page { --font: "Segoe UI", Arial, sans-serif; }
.review-page .hero h1 { font-size: clamp(2.65rem, 5vw, 4.85rem); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.nav-shell,
.section-shell,
.hero-shell,
.footer-shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}
.nav-shell {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 7px solid var(--cyan);
  border-radius: 50%;
  border-right-color: var(--yellow);
  transform: rotate(-24deg);
}
.brand-mark span {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  font-size: .9rem;
  color: #c9d8e2;
}
.menu-toggle {
  display: none;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  font: inherit;
  font-size: .86rem;
  font-weight: 750;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.menu-toggle:hover,
.menu-toggle:focus-visible {
  color: var(--yellow);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,216,74,.62);
}
.menu-toggle-icon {
  width: 20px;
  display: grid;
  gap: 4px;
}
.menu-toggle-icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.main-nav a,
.language-link,
.footer-links a { transition: color .2s ease; }
.main-nav a:hover,
.main-nav a:focus-visible,
.language-link:hover,
.language-link:focus-visible { color: var(--yellow); }
.language-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0 7px 13px;
  color: var(--cyan);
  border-left: 1px solid rgba(255,255,255,.25);
  font-weight: 800;
  font-size: .82rem;
}
.language-link span { color: #c9d8e2; font-weight: 500; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 30%, rgba(22,201,221,.16), transparent 28%),
    linear-gradient(120deg, #04131f 0%, #071d2e 58%, #09263a 100%);
  padding: 160px 0 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(22,201,221,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,201,221,.22) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, transparent 5%, black 70%);
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(350px, .87fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
  padding-bottom: 92px;
}
.eyebrow,
.section-index {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--cyan-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow { color: var(--cyan); }
.eyebrow span {
  width: 34px;
  height: 2px;
  background: var(--yellow);
}
.hero h1 {
  max-width: 770px;
  margin-bottom: 30px;
  font-size: clamp(2.75rem, 6vw, 5.55rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.08;
}
.hero h1 em {
  color: var(--yellow);
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 4px;
  text-underline-offset: 10px;
}
.hero-lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: #d7e5eb;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.85;
}
.hero-actions,
.directory-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible,
.text-link:focus-visible,
.cta-circle:focus-visible,
.footer-links a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.button-primary { color: var(--ink); background: var(--yellow); }
.button-primary:hover { background: #ffe67f; }
.button-quiet { color: var(--white); border-color: rgba(255,255,255,.35); }
.button-quiet:hover { border-color: var(--cyan); background: rgba(22,201,221,.08); }
.language-note {
  max-width: 630px;
  margin: 24px 0 0;
  padding-left: 15px;
  color: #98abb6;
  border-left: 2px solid var(--cyan-dark);
  font-size: .86rem;
}

.hero-visual {
  position: relative;
  min-height: 465px;
  border: 1px solid rgba(22,201,221,.35);
  background:
    linear-gradient(145deg, rgba(9,43,63,.94), rgba(3,16,27,.96)),
    var(--ink);
  box-shadow: 22px 22px 0 rgba(0,0,0,.18);
}
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero-visual::before {
  inset: 14px;
  border: 1px solid rgba(255,255,255,.09);
}
.hero-visual::after {
  top: -1px;
  right: 42px;
  width: 92px;
  height: 5px;
  background: var(--yellow);
}
.visual-code {
  position: absolute;
  top: 48px;
  left: 38px;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 7px 14px;
  color: var(--cyan);
  font-family: Consolas, "Courier New", monospace;
  font-size: .72rem;
  letter-spacing: .12em;
}
.visual-code span { color: #536e7c; }
.visual-code b { font-weight: 600; }
.professor-hero {
  position: absolute;
  right: 58px;
  bottom: 55px;
  width: min(44%, 192px);
  height: auto;
  filter: drop-shadow(16px 20px 18px rgba(0,0,0,.36));
}
.anniversary-badge {
  position: absolute;
  left: 38px;
  bottom: 67px;
  width: 116px;
  height: 116px;
  transform: rotate(-7deg);
  filter: drop-shadow(0 10px 15px rgba(0,0,0,.32));
}
.visual-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: #8ea4b0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-family: Consolas, "Courier New", monospace;
  font-size: .7rem;
  letter-spacing: .08em;
}
.visual-caption span { color: var(--yellow); font-weight: 800; }

.signal-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(145px, 1fr)) minmax(300px, 2fr);
  align-items: stretch;
  border-top: 1px solid rgba(255,255,255,.14);
}
.signal-strip > div,
.signal-strip > p {
  min-height: 100px;
  margin: 0;
  padding: 22px clamp(18px, 3vw, 44px);
  border-right: 1px solid rgba(255,255,255,.14);
}
.signal-strip > div { display: flex; flex-direction: column; justify-content: center; }
.signal-strip strong { color: var(--yellow); font-size: 1.55rem; line-height: 1.2; }
.signal-strip span { color: #92a7b3; font-size: .78rem; }
.signal-strip p {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c7d8e0;
  font-size: .88rem;
  letter-spacing: .12em;
  text-align: center;
}

.project-section,
.categories-section,
.anniversary-section { padding: 120px 0; }
.project-layout {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(50px, 9vw, 130px);
}
.section-heading h2,
.split-heading h2,
.categories-intro h2,
.professor-copy h2,
.anniversary-copy h2,
.info-layout h2,
.cta-layout h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.8vw, 4.7rem);
  letter-spacing: -.055em;
  line-height: 1.12;
}
.large-copy {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.72rem);
  font-weight: 650;
  line-height: 1.7;
}
.project-copy > p:not(.large-copy) { max-width: 700px; color: var(--muted); }
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  color: var(--cyan-dark);
  border-bottom: 2px solid var(--cyan);
  font-weight: 800;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px,-3px); }

.standards-section,
.professor-section,
.info-section {
  color: var(--white);
  background: var(--ink);
  padding: 120px 0;
}
.section-index.light { color: var(--cyan); }
.split-heading {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 64px;
}
.split-heading > p {
  max-width: 510px;
  margin: 0 0 7px;
  color: #a9bbc4;
  font-size: 1.06rem;
}
.standard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #2e4757;
  border-bottom: 1px solid #2e4757;
}
.standard-grid article {
  min-height: 310px;
  padding: 34px clamp(24px, 3vw, 42px);
  border-right: 1px solid #2e4757;
}
.standard-grid article:last-child { border-right: 0; }
.card-number {
  display: block;
  margin-bottom: 68px;
  color: var(--cyan);
  font: 700 .75rem/1 Consolas, monospace;
}
.standard-grid h3 { margin-bottom: 14px; font-size: 1.55rem; }
.standard-grid p { margin: 0; color: #9fb1ba; }

.categories-intro {
  display: grid;
  grid-template-columns: 1fr .6fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 62px;
}
.categories-intro > p { max-width: 420px; margin: 0 0 7px; color: var(--muted); }
.category-list { border-top: 2px solid var(--ink); }
.category {
  display: grid;
  grid-template-columns: 66px minmax(220px, .85fr) 1.15fr;
  gap: 30px;
  align-items: center;
  min-height: 100px;
  border-bottom: 1px solid var(--line);
  transition: padding .2s ease, background .2s ease;
}
.category:hover { padding-inline: 14px; background: var(--white); }
.category span { color: var(--cyan-dark); font: 700 .72rem/1 Consolas, monospace; }
.category h3 { margin: 0; font-size: 1.38rem; }
.category p { margin: 0; color: var(--muted); }
.directory-actions { margin-top: 42px; }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--ink-2); }
.button-outline-dark { color: var(--ink); border-color: var(--ink); }
.button-outline-dark:hover { color: var(--white); background: var(--ink); }

.professor-section {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}
.professor-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(60px, 10vw, 150px);
  align-items: center;
}
.professor-portrait {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 38px;
}
.portrait-ring {
  position: absolute;
  top: 0;
  left: 50%;
  width: 365px;
  max-width: 92%;
  aspect-ratio: 1;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 22px rgba(22,201,221,.04), 0 0 0 44px rgba(22,201,221,.025);
}
.professor-portrait img {
  position: relative;
  z-index: 1;
  width: 205px;
  height: auto;
  filter: drop-shadow(0 22px 18px rgba(0,0,0,.34));
}
.professor-portrait p {
  position: absolute;
  right: 0;
  bottom: 25px;
  z-index: 2;
  display: grid;
  gap: 3px;
  min-width: 208px;
  margin: 0;
  padding: 12px 18px 13px;
  color: var(--ink);
  background: var(--yellow);
  text-align: center;
}
.professor-portrait p span,
.professor-portrait p strong {
  display: block;
  white-space: nowrap;
}
.professor-portrait p span {
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .035em;
}
.professor-portrait p strong {
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.25;
}
.professor-copy > p:not(.section-index) { max-width: 650px; margin: 30px 0; color: #afc0c9; font-size: 1.08rem; }
.professor-copy blockquote {
  max-width: 660px;
  margin: 40px 0 0;
  padding: 22px 0 22px 28px;
  color: var(--yellow);
  border-left: 3px solid var(--cyan);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 750;
}

.anniversary-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
.anniversary-copy { max-width: 960px; }
.anniversary-copy h2 span { color: var(--cyan-dark); font-size: 1.35em; }
.anniversary-copy > p:not(.section-index) { margin: 30px 0 15px; color: var(--muted); }
.anniversary-layout figure { margin: 0; }
.anniversary-layout figure img {
  width: 100%;
  border: 8px solid var(--white);
  box-shadow: 20px 20px 0 #dce7ea;
}
.anniversary-layout figcaption { margin-top: 24px; color: var(--muted); font-size: .78rem; }

.info-section { border-top: 1px solid #263e4d; }
.info-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(55px, 9vw, 130px);
}
.info-points { border-top: 1px solid #3a5362; }
.info-points p {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 24px;
  margin: 0;
  padding: 24px 0;
  color: #acbdc6;
  border-bottom: 1px solid #3a5362;
}
.info-points span { color: var(--yellow); font-weight: 800; }

.final-cta {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--yellow);
  padding: 105px 0;
}
.final-cta::after {
  content: "OPEN";
  position: absolute;
  right: -2vw;
  bottom: -7vw;
  color: rgba(6,24,39,.06);
  font-size: min(24vw, 290px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
}
.cta-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
}
.cta-layout > div > p { margin-bottom: 12px; color: #6c5b00; font: 800 .75rem/1 Consolas, monospace; letter-spacing: .18em; }
.cta-circle {
  width: 190px;
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-weight: 800;
  transition: transform .25s ease, background .25s ease;
}
.cta-circle:hover { background: var(--ink-2); transform: rotate(-4deg) scale(1.04); }
.cta-circle b { color: var(--cyan); font-size: 1.55rem; }

.site-footer { color: #9aadb7; background: #03101a; padding: 62px 0 34px; }
.footer-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  align-items: start;
}
.footer-brand { color: var(--white); }
.footer-shell > div:first-child > p { margin: 16px 0 0; font-size: .78rem; letter-spacing: .08em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; font-size: .86rem; }
.footer-links a:hover { color: var(--yellow); }
.copyright {
  grid-column: 1 / -1;
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid #203440;
  font-size: .76rem;
}

/* Information pages */
.subpage { background: var(--paper); }
.subpage .site-header {
  position: relative;
  background: #04131f;
}
.subpage .main-nav { justify-content: flex-end; }
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 35%, rgba(22,201,221,.18), transparent 26%),
    linear-gradient(120deg, #04131f 0%, #071d2e 62%, #09263a 100%);
  padding: 84px 0 92px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image:
    linear-gradient(rgba(22,201,221,.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,201,221,.24) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, transparent, black);
}
.page-hero-shell {
  position: relative;
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: #91a8b4;
  font-size: .82rem;
}
.breadcrumb a:hover { color: var(--yellow); }
.page-kicker {
  margin-bottom: 17px;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.page-hero h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.page-hero .page-lead {
  max-width: 750px;
  margin: 0;
  color: #c7d8e0;
  font-size: clamp(1.05rem, 2vw, 1.27rem);
}
.page-number {
  color: rgba(255,216,74,.92);
  font: 900 clamp(5rem, 12vw, 10rem)/.8 Consolas, monospace;
  letter-spacing: -.08em;
}
.page-symbol {
  width: clamp(126px, 14vw, 180px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.page-symbol img {
  width: 100%;
  height: auto;
  filter: drop-shadow(8px 12px 10px rgba(0,0,0,.3));
}
.content-section { padding: 92px 0; }
.content-section.white { background: var(--white); }
.content-section.dark { color: var(--white); background: var(--ink); }
.content-layout {
  display: grid;
  grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
  gap: clamp(48px, 8vw, 116px);
  align-items: start;
}
.content-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.14;
  letter-spacing: -.045em;
}
.content-copy { max-width: 760px; }
.content-copy > p { color: var(--muted); }
.dark .content-copy > p { color: #afc0c9; }
.section-lead {
  color: var(--ink) !important;
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  font-weight: 650;
}
.dark .section-lead { color: var(--white) !important; }
.fact-grid,
.topic-grid,
.software-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.fact-grid { margin-top: 38px; }
.fact-card,
.topic-card,
.software-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cyan);
}
.fact-card strong {
  display: block;
  color: var(--cyan-dark);
  font-size: 2rem;
  line-height: 1.15;
}
.fact-card span { color: var(--muted); font-size: .88rem; }
.topic-card h3,
.software-card h3 { margin-bottom: 9px; font-size: 1.3rem; }
.program-link {
  display: inline-flex;
  gap: .48rem;
  align-items: baseline;
  color: inherit;
  border-bottom: 2px solid rgba(22,201,221,.55);
  transition: color .2s ease, border-color .2s ease;
}
.program-link span {
  color: #087f91;
  font-size: .65em;
  font-weight: 900;
  letter-spacing: .06em;
  white-space: nowrap;
}
.program-link:hover { color: #087f91; border-color: #087f91; }
.program-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.topic-card p,
.software-card p { margin: 0; color: var(--muted); }
.topic-card .text-link,
.software-card .text-link { margin-top: 16px; }
.step-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.dark .step-list li { border-color: #2e4757; }
.step-list b { color: var(--cyan-dark); font: 800 .84rem/1.6 Consolas, monospace; }
.dark .step-list b { color: var(--cyan); }
.step-list h3 { margin-bottom: 7px; }
.step-list p { margin: 0; color: var(--muted); }
.dark .step-list p { color: #9fb1ba; }
.tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 9px;
  color: #005f73;
  background: #dff8fb;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 800;
}
.notice-panel {
  margin-top: 32px;
  padding: 24px 26px;
  color: #4d606a;
  background: #e7f2f5;
  border-left: 4px solid var(--cyan-dark);
}
.notice-panel strong { color: var(--ink); }
.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 40px;
  color: var(--white);
  background: var(--ink-2);
  border-top: 5px solid var(--yellow);
}
.cta-panel h2 { margin-bottom: 10px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.cta-panel p { margin: 0; color: #afc0c9; }
.cta-panel .button { color: var(--ink); background: var(--yellow); }
.page-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--cyan-dark);
  font-weight: 800;
}
.review-list { display: grid; gap: 24px; }
.review-item {
  padding: clamp(28px, 5vw, 58px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--cyan);
}
.review-item h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -.045em;
}
.review-item > p { color: var(--muted); }
.review-intro {
  color: var(--ink) !important;
  font-size: 1.22rem;
  font-weight: 650;
}
.review-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.review-subgrid > div {
  padding: 24px;
  background: var(--paper);
  border-left: 3px solid var(--yellow);
}
.review-subgrid h3 { margin-bottom: 8px; }
.review-subgrid p { color: var(--muted); }
.review-subgrid a { color: var(--cyan-dark); font-weight: 800; }
.review-programs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  margin: 26px 0;
}
.review-programs p {
  margin: 0;
  padding: 15px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr);
  gap: clamp(42px, 7vw, 90px);
}
.email-card {
  padding: 28px;
  color: var(--white);
  background: var(--ink-2);
  border-top: 5px solid var(--yellow);
}
.email-card a { color: var(--yellow); font-weight: 800; overflow-wrap: anywhere; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.contact-form label { display: grid; gap: 7px; font-weight: 750; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #aebfc7;
  border-radius: 6px;
  font: inherit;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 3px solid rgba(22,201,221,.3); border-color: var(--cyan-dark); }
.contact-form .consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  font-weight: 500;
}
.contact-form .consent input { width: 18px; height: 18px; margin-top: 5px; }
.form-status { min-height: 28px; margin: 0; color: var(--cyan-dark); font-weight: 750; }
.review-index { display: grid; gap: 18px; }
.review-index article { padding: 30px; background: var(--white); border-left: 4px solid var(--cyan); }
.review-index h2 { margin-bottom: 12px; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.review-index h3 { margin: 20px 0 7px; }
.review-index p { color: var(--muted); }
.review-index ul { color: var(--muted); }

@media (max-width: 960px) {
  .nav-shell { grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; }
  .subpage .nav-shell { padding: 12px 0; }
  .menu-ready .menu-toggle { display: inline-flex; }
  .main-nav,
  .subpage .main-nav {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    padding: 6px 0 14px;
  }
  .menu-ready .main-nav { display: none; }
  .menu-ready .main-nav.is-open { display: flex; }
  .main-nav a,
  .subpage .main-nav a {
    padding: 11px 14px;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .site-header.menu-open { background: #04131f; box-shadow: 0 16px 34px rgba(0,0,0,.2); }
  .hero-shell { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(100%, 560px); justify-self: center; }
  .signal-strip { grid-template-columns: repeat(3, 1fr); }
  .signal-strip > p { grid-column: 1 / -1; }
  .project-layout,
  .split-heading,
  .categories-intro,
  .professor-layout,
  .anniversary-layout,
  .info-layout { grid-template-columns: 1fr; }
  .section-heading h2 br,
  .categories-intro h2 br { display: none; }
  .standard-grid { grid-template-columns: 1fr; }
  .standard-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid #2e4757; }
  .standard-grid article:last-child { border-bottom: 0; }
  .card-number { margin-bottom: 26px; }
  .professor-section { background: var(--ink-2); }
  .professor-portrait { width: min(100%, 520px); margin-inline: auto; }
  .anniversary-copy { max-width: 720px; }
  .content-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .page-number,
  .page-symbol { display: none; }
}

@media (max-width: 680px) {
  .nav-shell,
  .section-shell,
  .hero-shell,
  .footer-shell { width: min(calc(100% - 32px), var(--max)); }
  .nav-shell { min-height: 70px; }
  .menu-toggle { width: 44px; padding-inline: 10px; }
  .menu-toggle-label { display: none; }
  .language-link span { display: none; }
  .hero { padding-top: 124px; }
  .hero-shell { gap: 48px; padding-bottom: 62px; }
  .hero h1 { font-size: clamp(2.45rem, 12.5vw, 4rem); }
  .hero h1 em { text-underline-offset: 6px; text-decoration-thickness: 3px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 390px; }
  .professor-hero { right: 32px; bottom: 53px; width: 42%; }
  .anniversary-badge { left: 26px; bottom: 74px; width: 96px; height: 96px; }
  .visual-code { top: 40px; left: 26px; }
  .signal-strip { grid-template-columns: 1fr; }
  .signal-strip > div,
  .signal-strip > p { min-height: 80px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .signal-strip > p { grid-column: auto; }
  .project-section,
  .categories-section,
  .anniversary-section,
  .standards-section,
  .professor-section,
  .info-section { padding: 82px 0; }
  .section-heading h2,
  .split-heading h2,
  .categories-intro h2,
  .professor-copy h2,
  .anniversary-copy h2,
  .info-layout h2,
  .cta-layout h2 { font-size: clamp(2.15rem, 11vw, 3.5rem); }
  .category { grid-template-columns: 42px 1fr; gap: 10px 18px; padding: 20px 0; }
  .category p { grid-column: 2; }
  .directory-actions .button { width: 100%; }
  .professor-portrait { min-height: 400px; }
  .professor-portrait p { right: 6px; }
  .anniversary-layout figure img { border-width: 5px; box-shadow: 11px 11px 0 #dce7ea; }
  .info-points p { grid-template-columns: 1fr; gap: 7px; }
  .cta-layout { grid-template-columns: 1fr; }
  .cta-circle { width: 155px; height: 155px; }
  .footer-shell { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .page-hero-shell { width: min(calc(100% - 32px), var(--max)); }
  .page-hero { padding: 62px 0 68px; }
  .page-hero h1 { font-size: clamp(2.35rem, 12vw, 3.8rem); }
  .content-section { padding: 72px 0; }
  .fact-grid,
  .topic-grid,
  .software-grid,
  .review-subgrid,
  .review-programs,
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
  .cta-panel { grid-template-columns: 1fr; padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
