:root {
  color-scheme: light;
  --navy: #122941;
  --navy-deep: #0c2034;
  --blue: #186d87;
  --blue-soft: #dceef4;
  --gold: #e1ad45;
  --gold-soft: #fbf1d9;
  --ink: #172638;
  --muted: #5b6978;
  --white: #ffffff;
  --paper: #f7f8f9;
  --tint: #eef1f4;
  --line: #d8dee4;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex="-1"]:focus {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.academic-band a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--gold);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.65rem 0.9rem;
  border-radius: 0.25rem;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.content {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 4.6rem;
  padding: 0.75rem max(1.25rem, calc((100vw - 1360px) / 2));
  border-bottom: 1px solid rgba(18, 41, 65, 0.12);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 1.65rem;
}

.brand span {
  color: var(--blue);
  font-size: 0.88em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
}

.site-nav a {
  color: #435469;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.site-nav .nav-cta {
  padding: 0.62rem 0.85rem;
  border-radius: 0.28rem;
  color: var(--navy-deep);
  background: var(--gold);
}

.site-nav [aria-current="page"] {
  color: var(--navy-deep);
}

.nav-toggle {
  display: none;
}

.hero {
  display: flex;
  align-items: center;
  min-height: 620px;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background: linear-gradient(135deg, #edf5f8 0%, #f8f8f5 76%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.hero-grid-text-only {
  grid-template-columns: minmax(0, 760px);
}

.hero-portrait-image {
  position: relative;
  isolation: isolate;
  justify-self: end;
  width: min(100%, 330px);
  margin: 0;
}

.hero-portrait-image::before {
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  z-index: -1;
  border-radius: 0.45rem;
  background: var(--blue-soft);
  content: "";
}

.hero-portrait-image::after {
  position: absolute;
  top: -0.55rem;
  right: -0.55rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.hero-portrait-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--blue);
  border-radius: 0.35rem;
  box-shadow: 0 18px 38px rgba(18, 41, 65, 0.18);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #82c8dc;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  line-height: 1.08;
}

h1 {
  max-width: 14ch;
  font-size: clamp(3.7rem, 7vw, 6.25rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.1rem, 4.1vw, 3.6rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.35rem;
}

.hero-lede {
  max-width: 64ch;
  margin: 1.4rem 0 0;
  color: #52677c;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.76rem 1.2rem;
  border: 1px solid var(--gold);
  border-radius: 0.28rem;
  color: var(--navy-deep);
  background: var(--gold);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #e9b958;
}

.button.dark {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

.text-link {
  color: var(--navy);
  font-weight: 800;
  text-underline-offset: 0.25em;
}

.physics-mark {
  position: relative;
  width: min(100%, 350px);
  aspect-ratio: 1;
  justify-self: end;
  border-radius: 50%;
  background: var(--blue-soft);
}

.physics-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.physics-mark .orbit {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.4;
}

.physics-mark .orbit-light {
  opacity: 0.56;
}

.physics-mark .central-body {
  fill: var(--blue);
}

.physics-mark .particle {
  fill: var(--gold);
}

.physics-mark .particle.small {
  opacity: 0.9;
}

.credibility {
  color: var(--white);
  background: var(--navy);
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.credibility-grid div {
  display: grid;
  align-content: center;
  min-height: 104px;
  padding: 1.2rem 1.6rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.credibility-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.credibility-grid strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.credibility-grid span {
  color: #d7e0e8;
  font-size: 0.82rem;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-white {
  background: var(--white);
}

.section-tint {
  background: var(--tint);
}

#questions {
  border-top: 20px solid rgba(18, 41, 65, 0.2);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading > p:last-child {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.capability-section {
  padding-bottom: 0;
}

.capability-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(6rem, 10vw, 8rem);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  min-height: 225px;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 0.35rem;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(18, 41, 65, 0.05);
}

.card-label {
  display: block;
  margin-bottom: 2.1rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.card p,
.process-grid p,
.parent-points p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid li {
  text-align: center;
}

.process-number {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  margin: 0 auto 1.35rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 800;
}

.tuition-foundation {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(1.6rem, 4vw, 2.75rem);
  border-top: 3px solid var(--gold);
  border-radius: 0.4rem;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(18, 41, 65, 0.06);
}

.foundation-intro .card-label {
  margin-bottom: 1.2rem;
}

.foundation-intro h3 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.foundation-intro > p:last-child,
.foundation-grid p,
.scenario-heading > p:last-child,
.scenario-body p,
.scenario-question p {
  color: var(--muted);
}

.foundation-intro > p:last-child {
  margin: 1rem 0 0;
}

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

.foundation-grid article {
  padding: 0 1.25rem 1.4rem;
  border-left: 1px solid var(--line);
}

.foundation-grid article:nth-child(n + 3) {
  padding-top: 1.4rem;
  padding-bottom: 0;
  border-top: 1px solid var(--line);
}

.foundation-grid h3 {
  font-size: 1.08rem;
}

.foundation-grid p {
  margin: 0.6rem 0 0;
  font-size: 0.93rem;
}

.scenario-section {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}

.lesson-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  max-width: 960px;
  margin-inline: auto;
}

.scenario-heading {
  max-width: 720px;
  margin: 0;
  text-align: left;
}

.scenario-heading h3 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}

.scenario-heading > p:last-child {
  margin: 0.9rem 0 0;
}

.lesson-teaching-image {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
}

.lesson-teaching-image::before {
  position: absolute;
  inset: 0.8rem -0.8rem -0.8rem 0.8rem;
  z-index: -1;
  border-radius: 0.45rem;
  background: var(--blue-soft);
  content: "";
}

.lesson-teaching-image::after {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.lesson-teaching-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 3px solid var(--blue);
  border-radius: 0.35rem;
  object-fit: cover;
  object-position: center 40%;
  box-shadow: 0 16px 34px rgba(18, 41, 65, 0.16);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
  margin-top: 2rem;
}

.scenario-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 0.35rem;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(18, 41, 65, 0.05);
}

.scenario-card[open] {
  border-color: #abcbd6;
  border-top-color: var(--blue);
  box-shadow: 0 16px 34px rgba(18, 41, 65, 0.1);
}

.scenario-card summary {
  position: relative;
  display: flex;
  min-height: 205px;
  flex-direction: column;
  padding: 1.5rem;
  cursor: pointer;
  list-style: none;
}

.scenario-card summary::-webkit-details-marker {
  display: none;
}

.scenario-card summary::after {
  position: absolute;
  right: 1.35rem;
  bottom: 1.3rem;
  color: var(--blue);
  content: "+";
  font-size: 1.45rem;
  font-weight: 700;
}

.scenario-card[open] summary {
  min-height: 0;
  border-bottom: 1px solid var(--line);
}

.scenario-card[open] summary::after {
  content: "–";
}

.scenario-label {
  margin-bottom: 1.4rem;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scenario-card summary strong {
  max-width: 15ch;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.42rem;
  line-height: 1.15;
}

.scenario-prompt {
  max-width: calc(100% - 2rem);
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.25em;
}

.scenario-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.scenario-body p {
  margin: 0;
}

.scenario-body p + p {
  margin-top: 0.85rem;
}

.scenario-common {
  max-width: 82ch;
  margin: 1.6rem auto 0;
  color: #40586a;
  text-align: center;
}

.scenario-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2.2rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
}

.scenario-question h3 {
  font-size: 1.4rem;
}

.scenario-question p {
  max-width: 68ch;
  margin: 0.55rem 0 0;
}

.scenario-question .button {
  flex: 0 0 auto;
}

.academic-band {
  color: var(--white);
  background: var(--navy-deep);
}

.academic-band h2 {
  color: var(--white);
}

.split,
.compact-split,
.interview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(2.5rem, 8vw, 7rem);
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #e6edf3;
}

.check-list span {
  margin-right: 0.65rem;
  color: var(--gold);
  font-weight: 900;
}

.large-copy {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.learning-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
}

.light-copy {
  color: #e6edf3;
}

.continuity-band {
  background: #f7f2e8;
}

.continuity-link {
  display: inline-block;
  margin-top: 1.25rem;
}

.parent-points {
  display: grid;
  gap: 1.4rem;
}

.parent-points article {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.parent-points article:last-child {
  padding-bottom: 0;
  border: 0;
}

.ai-band {
  background: var(--blue-soft);
}

.ai-content .section-action {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.compact-split {
  align-items: center;
}

.compact-split p {
  margin: 0;
  color: #40586a;
  font-size: 1.05rem;
}

.contact-methods {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.contact-method {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
}

.contact-label {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wechat-contact img {
  display: block;
  width: min(180px, 100%);
  height: auto;
  margin-top: 0.35rem;
  border: 1px solid var(--line);
}

.wechat-contact p,
.wechat-caption {
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.9rem;
}

.wechat-contact p {
  margin: 0.25rem 0 0;
}

.wechat-caption {
  color: var(--navy);
  font-weight: 750;
}

.supporting-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--white);
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.social-links svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.compact-split .development-note {
  margin-top: 1rem;
  color: #5c7280;
  font-size: 0.86rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 1.1rem 4rem;
}

.faq-layout .section-heading {
  grid-row: span 2;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  background: var(--white);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--blue);
  font-size: 1.25rem;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
}

.status-panel {
  grid-column: 2;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
}

.status-panel strong {
  color: var(--navy);
}

.status-panel p {
  margin: 0.35rem 0 0;
  color: #615b4f;
  font-size: 0.88rem;
}

.interview {
  background: var(--gold-soft);
}

.application-hero {
  padding: clamp(3.25rem, 6vw, 5rem) 0;
  border-top: 4px solid var(--navy);
  color: #52677c;
  background: linear-gradient(135deg, #e7f2f6 0%, #f8f8f5 82%);
}

.application-hero h1 {
  max-width: 15ch;
  color: var(--navy);
  font-size: clamp(3.1rem, 6vw, 5.4rem);
}

.application-hero .eyebrow {
  color: var(--blue);
}

.application-hero p:last-child {
  max-width: 68ch;
  margin: 1.3rem 0 0;
  font-size: 1.16rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2.4rem;
  color: var(--navy);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.application-intro p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.about-hero h1 {
  max-width: 17ch;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.tutor-portrait {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  text-align: center;
}

.tutor-portrait::before {
  position: absolute;
  top: -0.7rem;
  right: -0.7rem;
  z-index: -1;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue-soft);
  content: "";
}

.tutor-portrait::after {
  position: absolute;
  top: 0.2rem;
  right: -0.15rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.tutor-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 3px solid var(--blue);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 16px 34px rgba(18, 41, 65, 0.18);
}

.tutor-portrait figcaption {
  padding: 0.9rem 0.25rem 0;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}

.about-intro p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.profile-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-list li {
  display: grid;
  grid-template-columns: minmax(115px, 0.34fr) minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.profile-list li:first-child {
  padding-top: 0;
}

.profile-list strong {
  color: var(--navy);
}

.profile-list span {
  color: var(--muted);
}

.about-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-cards .card {
  min-height: 245px;
}

.capability-grid .card {
  min-height: 290px;
}

.fee-card .fee-value {
  display: block;
  margin: 0.75rem 0 0.35rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.05;
}

.fee-card p:last-child {
  color: var(--muted);
}

.plain-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 1rem 0 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.plain-list li::before {
  display: inline-block;
  width: 1.5rem;
  margin-left: -1.5rem;
  color: var(--blue);
  content: "—";
  font-weight: 900;
}

.application-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.application-stages {
  position: sticky;
  top: 7rem;
}

.application-stages h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.stage-list {
  display: grid;
  gap: 0.55rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.stage-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid #d5dee5;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.72);
}

.stage-list li:first-child {
  border-color: #b8d7e2;
  background: var(--blue-soft);
}

.stage-list li > span {
  display: grid;
  flex: 0 0 2rem;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-family: var(--serif);
  font-weight: 800;
}

.stage-list li div {
  display: grid;
}

.stage-list strong {
  color: var(--navy);
}

.stage-list small {
  color: var(--muted);
}

.application-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(18, 41, 65, 0.08);
}

.question-panel .prototype-form {
  padding-bottom: 2rem;
}

#contact-question .compact-split {
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 1.1rem 4rem;
}

#contact-question .contact-email {
  margin-top: 1.25rem;
}

.application-panel-heading {
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}

.application-panel-heading > span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.application-panel-heading h2 {
  margin-top: 0.35rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.application-panel-heading p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.prototype-form {
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
}

.prototype-safety {
  margin: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
}

.prototype-safety strong {
  color: var(--navy);
}

.prototype-safety p {
  margin: 0.25rem 0 0;
  color: #615b4f;
  font-size: 0.88rem;
}

.prototype-example {
  margin: 1rem clamp(1.25rem, 4vw, 2.5rem) 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
}

.prototype-example strong {
  color: var(--navy);
}

.prototype-example p {
  margin: 0.25rem 0 0;
  color: #435469;
  font-size: 0.88rem;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.prototype-form fieldset {
  margin: 0;
  padding: 2rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.prototype-form legend {
  margin-bottom: 1.2rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 800;
}

.form-grid {
  display: grid;
  gap: 1.1rem;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.prototype-form label {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.1rem;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 750;
}

.prototype-form .optional {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.prototype-form .field-hint {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
}

.form-grid label {
  margin-top: 0;
}

.prototype-form input,
.prototype-form select,
.prototype-form textarea {
  width: 100%;
  padding: 0.72rem 0.8rem;
  border: 1px solid #aebac5;
  border-radius: 0.28rem;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.prototype-form textarea {
  resize: vertical;
}

.prototype-form .consent-label {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 600;
}

.prototype-form .consent-label input {
  width: auto;
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.prototype-form input:focus,
.prototype-form select:focus,
.prototype-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(24, 109, 135, 0.2);
}

.prototype-form :disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.form-action {
  padding-top: 2rem;
}

.form-error {
  max-width: 38rem;
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid #a33d32;
  color: #7a281f;
  background: #fff1ef;
  font-weight: 700;
}

.form-success {
  max-width: 38rem;
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--blue);
  color: var(--navy);
  background: var(--blue-soft);
  font-weight: 700;
}

.prototype-form.form-submitted fieldset,
.prototype-form.form-submitted .form-action > .button,
.prototype-form.form-submitted .form-action > .form-error,
.prototype-form.form-submitted .form-action > .prototype-note {
  display: none;
}

.form-has-error input:invalid,
.form-has-error select:invalid,
.form-has-error textarea:invalid {
  border-color: #a33d32;
  box-shadow: 0 0 0 2px rgba(163, 61, 50, 0.14);
}

.form-action .prototype-note {
  display: block;
}

.form-action .button:disabled {
  color: #506071;
  border-color: #b8c1c9;
  background: #e2e6e9;
}

.application-next {
  background: var(--gold-soft);
}

.interview-grid {
  align-items: center;
}

.interview-grid > div:first-child > p:last-child {
  max-width: 60ch;
  margin: 1rem 0 0;
  color: #5d5a53;
  font-size: 1.08rem;
}

.interview-action {
  display: grid;
  justify-items: start;
}

.prototype-note {
  max-width: 54ch;
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--navy);
  color: #5b5b57;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

.prototype-note[hidden] {
  display: none;
}

.site-footer {
  padding: 2.25rem 0;
  color: #d6e0e8;
  background: var(--navy-deep);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-grid div {
  display: grid;
}

.footer-grid strong {
  color: var(--white);
}

.footer-grid span,
.footer-grid a {
  font-size: 0.84rem;
}

.footer-grid a {
  color: var(--gold);
  font-weight: 800;
  text-underline-offset: 0.25em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

@media (max-width: 1390px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    padding-block: 0.8rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: auto;
    padding: 0.45rem 0;
    border: 0;
    color: var(--navy);
    background: transparent;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
  }

  .nav-toggle-mark,
  .nav-toggle-mark::before,
  .nav-toggle-mark::after {
    display: block;
    width: 1.2rem;
    height: 2px;
    background: currentColor;
  }

  .nav-toggle-mark {
    position: relative;
  }

  .nav-toggle-mark::before,
  .nav-toggle-mark::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .nav-toggle-mark::before {
    top: -0.35rem;
  }

  .nav-toggle-mark::after {
    top: 0.35rem;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0.6rem max(1.25rem, calc((100vw - 1120px) / 2)) 1rem;
    border-bottom: 1px solid rgba(18, 41, 65, 0.12);
    background: var(--white);
    box-shadow: 0 12px 24px rgba(18, 41, 65, 0.08);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0;
  }

  .site-nav .nav-cta {
    margin-top: 0.35rem;
    padding: 0.7rem 0.85rem;
    color: var(--navy-deep);
    background: var(--gold);
    text-align: center;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .about-hero-grid,
  .split,
  .compact-split,
  .interview-grid,
  .faq-layout,
  .application-layout {
    grid-template-columns: 1fr;
  }

  #contact-question .compact-split {
    grid-template-columns: 1fr;
  }

  .application-stages {
    position: static;
  }

  .tutor-portrait {
    width: min(210px, 62vw);
  }

  .hero-portrait-image {
    justify-self: start;
    width: min(72vw, 300px);
  }

  .lesson-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lesson-teaching-image {
    width: min(100%, 560px);
  }

  .physics-mark {
    width: min(55vw, 250px);
    justify-self: start;
  }

  .credibility-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .credibility-grid div:nth-child(3),
  .credibility-grid div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .card-grid.three,
  .about-cards,
  .process-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .tuition-foundation {
    grid-template-columns: 1fr;
  }

  .scenario-card summary {
    min-height: 0;
  }

  .scenario-prompt {
    margin-top: 1.4rem;
    padding-top: 0;
  }

  .process-grid {
    gap: 2rem;
  }

  .process-grid li {
    text-align: left;
  }

  .process-number {
    margin-left: 0;
  }

  .faq-layout .section-heading {
    grid-row: auto;
  }

  .status-panel {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 7.5rem;
  }

  .site-header {
    gap: 0.75rem;
    padding-inline: 1rem;
  }

  .brand {
    gap: 0.45rem;
    font-size: 1.1rem;
  }

  .brand-mark {
    width: 1.4rem;
    height: 1.4rem;
    flex-basis: 1.4rem;
  }

  .brand span {
    display: none;
  }

  .nav-toggle {
    flex: 0 0 auto;
    gap: 0.45rem;
  }

  .content {
    width: min(100% - 2rem, 1120px);
  }

  .hero {
    min-height: 0;
    padding: 4.5rem 0;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .physics-mark {
    width: min(58vw, 220px);
  }

  .credibility-grid {
    grid-template-columns: 1fr;
  }

  .credibility-grid div {
    min-height: 82px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    text-align: left;
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .foundation-grid {
    grid-template-columns: 1fr;
  }

  .foundation-grid article,
  .foundation-grid article:nth-child(n + 3) {
    padding: 1rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .foundation-grid article:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .foundation-grid article:last-child {
    padding-bottom: 0;
  }

  .scenario-question {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .profile-list li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

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