:root {
  --ink: #102033;
  --ink-soft: #34465f;
  --muted: #6c7788;
  --line: #dfe5ec;
  --surface: #ffffff;
  --surface-soft: #f5f8fb;
  --navy: #0d1b2d;
  --navy-2: #172a42;
  --gold: #c79b45;
  --gold-soft: #f4ead6;
  --teal: #0f766e;
  --coral: #b9503b;
  --shadow: 0 20px 60px rgba(16, 32, 51, 0.13);
  --shadow-soft: 0 12px 28px rgba(16, 32, 51, 0.08);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#programs,
#tutoring,
#method,
#results,
#request-form {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface-soft);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 229, 236, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 10px 24px rgba(13, 27, 45, 0.18);
}

.brand strong,
.brand em {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  color: var(--ink);
}

.brand em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--navy);
  background: var(--gold-soft);
  outline: none;
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 10px 22px rgba(13, 27, 45, 0.18);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: #fff;
  background: var(--teal);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: 700px;
  color: #fff;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(13, 27, 45, 0.9), rgba(13, 27, 45, 0.58) 48%, rgba(13, 27, 45, 0.2)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=82") center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(13, 27, 45, 0.35), rgba(13, 27, 45, 0.88)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 120px);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 700px;
  padding: 96px 0 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.contact-hero h1,
.section-heading h2,
.cta-panel h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", "STSong", serif;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 4.4rem;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  color: #fff;
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(199, 155, 69, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #b88a35;
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px);
}

.btn-outline {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 12px 26px rgba(16, 32, 51, 0.08);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 160px));
  gap: 14px;
  max-width: 570px;
  margin: 52px 0 0;
}

.hero-stats div {
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.hero-stats dt {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.notice-band {
  background: var(--navy);
  color: #fff;
}

.notice-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.notice-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.notice-grid strong {
  color: #fff;
}

.notice-grid a {
  min-width: max-content;
  color: var(--gold);
  font-weight: 900;
}

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--surface-soft);
}

.section-white {
  background: #fff;
}

.section-deep {
  color: #fff;
  background:
    linear-gradient(135deg, var(--navy), #122640 56%, #0f3c3a);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading h2,
.cta-panel h2 {
  color: var(--ink);
  font-size: 2.65rem;
}

.section-deep .section-heading h2,
.section-deep .section-heading p,
.section-deep .section-heading .eyebrow {
  color: #fff;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

.section-deep .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-card,
.result-card,
.contact-card,
.request-form,
.form-aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.program-card {
  --track-accent: var(--gold);
  --track-deep: var(--navy);
  --track-soft: #f4ead6;
  position: relative;
  display: flex;
  min-height: 390px;
  padding: 24px;
  overflow: hidden;
  flex-direction: column;
  background: linear-gradient(180deg, #fff 0%, #fff 62%, #f8fafc 100%);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.program-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--track-accent), var(--track-deep));
}

.program-card:hover,
.program-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(199, 155, 69, 0.5);
  box-shadow: var(--shadow);
}

.track-math {
  --track-accent: #c79b45;
  --track-deep: #12304d;
  --track-soft: #f7efd9;
}

.track-english {
  --track-accent: #b9503b;
  --track-deep: #4a2531;
  --track-soft: #fff0ec;
}

.track-science {
  --track-accent: #0f766e;
  --track-deep: #143d3a;
  --track-soft: #e7f7f4;
}

.track-coding {
  --track-accent: #2f6ea3;
  --track-deep: #162d48;
  --track-soft: #eaf2fb;
}

.track-test {
  --track-accent: #7b5ab6;
  --track-deep: #2d254c;
  --track-soft: #f1edfb;
}

.track-planning {
  --track-accent: #d08a3b;
  --track-deep: #17314e;
  --track-soft: #fff2df;
}

.program-visual {
  position: relative;
  display: flex;
  min-height: 142px;
  margin: 0 0 24px;
  padding: 18px;
  overflow: hidden;
  gap: 9px;
  align-items: flex-start;
  flex-wrap: wrap;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.28)),
    linear-gradient(90deg, rgba(16, 32, 51, 0.065) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 32, 51, 0.065) 1px, transparent 1px),
    var(--track-soft);
  background-size: auto, 22px 22px, 22px 22px, auto;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 8px;
}

.program-visual::before {
  position: absolute;
  right: -36px;
  top: -32px;
  width: 190px;
  height: 108px;
  content: "";
  background: linear-gradient(135deg, var(--track-accent), var(--track-deep));
  border-radius: 8px;
  opacity: 0.86;
  transform: rotate(7deg);
  transition: transform 220ms ease;
}

.program-visual::after {
  position: absolute;
  left: -26px;
  bottom: -30px;
  width: 128px;
  height: 88px;
  content: "";
  border: 2px dashed var(--track-accent);
  border-radius: 8px 54px 8px 42px;
  opacity: 0.7;
}

.program-card:hover .program-visual::before,
.program-card:focus-within .program-visual::before {
  transform: rotate(4deg) translateY(3px);
}

.card-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  background: linear-gradient(135deg, var(--track-deep), var(--track-accent));
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(16, 32, 51, 0.14);
}

.visual-chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 30px;
  padding: 5px 10px;
  color: var(--track-deep);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(16, 32, 51, 0.08);
}

.visual-mark {
  position: absolute;
  right: 14px;
  bottom: -10px;
  z-index: 1;
  color: var(--track-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.3rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.16;
  transition: opacity 180ms ease, transform 180ms ease;
}

.program-card:hover .visual-mark,
.program-card:focus-within .visual-mark {
  opacity: 0.24;
  transform: translateY(-3px);
}

.program-card h3,
.result-card h3,
.steps h3,
.tab-panel h3,
.contact-card h2,
.form-aside h2 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.35;
}

.program-card h3 {
  margin-top: 0;
  font-size: 1.28rem;
}

.program-card p,
.result-card p,
.steps p,
.tab-panel p,
.form-aside p,
.contact-card p {
  color: var(--muted);
}

.program-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 900;
}

.program-detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.program-detail-button:hover,
.program-detail-button:focus-visible {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.18);
  outline: none;
  transform: translateY(-2px);
}

.program-modal {
  width: min(100% - 36px, 920px);
  max-height: min(88vh, 820px);
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.program-modal:not([open]) {
  display: none;
}

.program-modal::backdrop {
  background: rgba(13, 27, 45, 0.72);
  backdrop-filter: blur(10px);
}

.modal-shell {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(223, 229, 236, 0.95);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.modal-head {
  position: relative;
  padding: 30px 70px 24px 32px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--navy), #17314e 58%, var(--teal));
}

.modal-head .eyebrow {
  margin-bottom: 10px;
}

.modal-head h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: 2.35rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 1.55rem;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.modal-body {
  overflow: auto;
  max-height: calc(min(88vh, 820px) - 190px);
  padding: 30px 32px 6px;
}

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

.modal-section {
  margin-bottom: 24px;
}

.modal-section h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.08rem;
}

.modal-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.modal-section li {
  color: var(--muted);
}

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

.modal-resource-list a {
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.modal-resource-list a:hover,
.modal-resource-list a:focus-visible {
  color: var(--teal);
  border-color: rgba(15, 118, 110, 0.42);
  outline: none;
  transform: translateY(-2px);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  padding: 22px 32px 30px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.tutoring-main {
  display: flex;
  flex-direction: column;
}

.tutoring-main > .page-hero {
  order: 1;
}

.tutoring-main > .section-deep {
  order: 2;
}

.tutoring-main > .tutor-showcase {
  order: 3;
}

.tutoring-main > .section-white {
  order: 4;
}

.tutoring-main > .cta-section {
  order: 5;
}

.tutor-showcase {
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 0%, #f6f9fc 100%);
  border-bottom: 1px solid var(--line);
}

.tutor-showcase-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.tutor-showcase-heading .section-heading {
  margin-bottom: 0;
}

.tutor-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 0 30px;
}

.tutor-carousel::before,
.tutor-carousel::after {
  position: absolute;
  top: 0;
  z-index: 2;
  width: 92px;
  height: 100%;
  content: "";
  pointer-events: none;
}

.tutor-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #f8fafc, rgba(248, 250, 252, 0));
}

.tutor-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #f8fafc, rgba(248, 250, 252, 0));
}

.tutor-track {
  display: flex;
  width: max-content;
  animation: tutor-scroll 46s linear infinite;
}

.tutor-carousel:hover .tutor-track {
  animation-play-state: paused;
}

.tutor-card {
  flex: 0 0 278px;
  margin-right: 18px;
  padding: 18px;
  color: var(--ink);
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tutor-card:hover,
.tutor-card:focus-visible {
  border-color: rgba(199, 155, 69, 0.62);
  box-shadow: var(--shadow);
  outline: none;
  transform: translateY(-6px);
}

.tutor-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--surface-soft);
  border-radius: 8px;
}

.tutor-subject {
  display: inline-flex;
  margin-top: 16px;
  padding: 5px 10px;
  color: var(--teal);
  background: #e5f7f4;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.tutor-card strong,
.tutor-card em {
  display: block;
}

.tutor-card strong {
  margin-top: 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  line-height: 1.1;
}

.tutor-card em {
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.tutor-modal-body {
  padding-top: 24px;
}

.tutor-modal-profile {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 24px;
  padding: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tutor-modal-profile img {
  width: 150px;
  border-radius: 8px;
}

.tutor-modal-profile span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  color: var(--coral);
  background: #fff1ed;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.tutor-modal-profile strong {
  display: block;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.35;
}

.tutor-modal-profile p {
  margin: 10px 0 0;
  color: var(--muted);
}

.tutoring-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(520px, 1.16fr);
  gap: 52px;
  align-items: start;
}

.curriculum-panel {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.tab-button {
  min-height: 44px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-weight: 900;
}

.tab-button.active,
.tab-button:hover,
.tab-button:focus-visible {
  color: var(--navy);
  background: #fff;
  outline: none;
}

.tab-panel {
  min-height: 330px;
  padding: 34px;
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius);
}

.tab-panel h3 {
  margin-top: 0;
  font-size: 1.55rem;
}

.tab-panel ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tab-panel li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
}

.tab-panel li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--gold);
  border-radius: 99px;
}

.method-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  color: #fff;
  background: rgba(13, 27, 45, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.image-caption strong,
.image-caption span {
  display: block;
}

.image-caption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

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

.steps article {
  padding: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 900;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.result-card {
  padding: 28px;
}

.result-tag {
  display: inline-flex;
  margin: 0;
  padding: 5px 10px;
  color: var(--coral);
  background: #fff1ed;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.cta-section {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 27, 45, 0.92), rgba(15, 118, 110, 0.8)),
    url("https://images.unsplash.com/photo-1577896851231-70ef18881754?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-panel h2 {
  max-width: 760px;
  color: #fff;
}

.cta-panel p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 42px;
  padding: 54px 0 34px;
}

.footer-brand strong {
  color: #fff;
}

.footer-brand em {
  color: rgba(255, 255, 255, 0.58);
}

.footer-grid p {
  max-width: 420px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: #fff;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin: 8px 0;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
}

.contact-hero {
  padding: 112px 0 74px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 27, 45, 0.94), rgba(13, 27, 45, 0.62)),
    url("https://images.unsplash.com/photo-1434030216411-0b793f4b417a?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: end;
}

.contact-hero h1 {
  max-width: 760px;
  font-size: 3.45rem;
}

.contact-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.contact-card {
  padding: 28px;
  color: var(--ink);
}

.contact-card h2 {
  margin-top: 0;
}

.contact-card p {
  margin: 14px 0;
}

.contact-card strong,
.contact-card a,
.contact-card span {
  display: block;
}

.contact-card strong {
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card a,
.contact-card span {
  color: var(--ink);
  font-weight: 900;
}

.contact-card .small-note {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.founder-card {
  position: relative;
  overflow: hidden;
  padding: 34px 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0)),
    #faeee9;
  border-color: rgba(199, 155, 69, 0.3);
  text-align: center;
}

.founder-card .eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  color: var(--gold);
}

.founder-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-size: 1.38rem;
  letter-spacing: 0.24em;
}

.founder-contact-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  margin: 20px 0 16px;
  color: var(--ink);
  font-size: 1.02rem;
  letter-spacing: 0.06em;
}

.founder-contact-list a,
.founder-contact-list span {
  color: var(--ink);
  font-weight: 800;
}

.founder-service-list {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 315px;
  margin: 0 auto 18px;
  color: var(--ink-soft);
  font-weight: 800;
}

.founder-service-list span {
  padding: 5px 0;
  border-bottom: 1px solid rgba(16, 32, 51, 0.24);
}

.founder-card .small-note {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
  border-color: rgba(16, 32, 51, 0.16);
}

.founder-leaf {
  position: absolute;
  width: 118px;
  height: 92px;
  opacity: 0.48;
  pointer-events: none;
}

.founder-leaf::before {
  position: absolute;
  left: 18px;
  top: 48px;
  width: 92px;
  height: 2px;
  content: "";
  background: rgba(16, 32, 51, 0.5);
  transform: rotate(-28deg);
}

.founder-leaf::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(ellipse at 28% 22%, transparent 0 47%, rgba(16, 32, 51, 0.55) 48% 51%, transparent 52%),
    radial-gradient(ellipse at 52% 34%, transparent 0 47%, rgba(16, 32, 51, 0.55) 48% 51%, transparent 52%),
    radial-gradient(ellipse at 72% 50%, transparent 0 47%, rgba(16, 32, 51, 0.55) 48% 51%, transparent 52%),
    radial-gradient(ellipse at 36% 64%, transparent 0 47%, rgba(16, 32, 51, 0.55) 48% 51%, transparent 52%);
}

.founder-leaf-top {
  top: -18px;
  left: -26px;
}

.founder-leaf-bottom {
  right: -28px;
  bottom: -20px;
  transform: rotate(180deg);
}

.form-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.form-aside {
  position: sticky;
  top: 98px;
  padding: 28px;
}

.form-aside h2 {
  margin-top: 0;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: 2rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--teal);
  border-radius: 99px;
}

.request-form {
  padding: 30px;
}

.form-status {
  display: none;
  margin-bottom: 18px;
  padding: 14px 16px;
  color: #0b4d45;
  background: #e5f7f4;
  border: 1px solid #b8e5dd;
  border-radius: var(--radius);
  font-weight: 800;
}

.form-status.visible {
  display: block;
  position: sticky;
  top: 92px;
  z-index: 5;
}

.form-status.is-loading {
  color: #76521b;
  background: #fff7df;
  border-color: #ead28f;
}

.form-status.is-error {
  color: #8a241f;
  background: #fff0ee;
  border-color: #f1b8b2;
}

.form-status.is-success {
  color: #0b4d45;
  background: #e5f7f4;
  border-color: #b8e5dd;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

fieldset {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 900;
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  outline: none;
}

input,
select {
  min-height: 46px;
  padding: 0 13px;
}

textarea {
  min-height: 110px;
  padding: 12px 13px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.checkbox-grid label,
.consent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.checkbox-grid input,
.consent-row input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--teal);
}

.consent-row {
  align-items: flex-start;
  margin-bottom: 20px;
}

.form-submit {
  width: 100%;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-footnote {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 86px;
  color: #fff;
  background: linear-gradient(90deg, rgba(13, 27, 45, 0.94), rgba(13, 27, 45, 0.66));
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(13, 27, 45, 0.94), rgba(13, 27, 45, 0.6));
}

.page-hero-programs::before {
  background:
    linear-gradient(90deg, rgba(13, 27, 45, 0.94), rgba(13, 27, 45, 0.62)),
    url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero-tutoring::before {
  background:
    linear-gradient(90deg, rgba(13, 27, 45, 0.94), rgba(13, 27, 45, 0.58)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero-planning::before {
  background:
    linear-gradient(90deg, rgba(13, 27, 45, 0.94), rgba(13, 27, 45, 0.58)),
    url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero-results::before {
  background:
    linear-gradient(90deg, rgba(13, 27, 45, 0.94), rgba(13, 27, 45, 0.58)),
    url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: end;
}

.page-hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: 3.6rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}

.page-hero .hero-actions {
  margin-top: 28px;
}

.hero-note {
  padding: 26px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note strong {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-note span {
  margin-top: 10px;
  color: var(--ink);
  font-weight: 900;
}

.planning-hero-note ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 18px 0 0 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.planning-hero-note li::marker {
  color: var(--gold);
}

.service-navigation {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f5f8fb 0%, #fff 46%, #edf5f4 100%);
}

.service-navigation::before {
  position: absolute;
  inset: 0 0 auto;
  height: 210px;
  content: "";
  background:
    linear-gradient(90deg, rgba(199, 155, 69, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 32, 51, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, #000, transparent);
  pointer-events: none;
}

.service-navigation .container {
  position: relative;
  z-index: 1;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.portal-card {
  --portal-accent: var(--gold);
  --portal-deep: var(--navy);
  --portal-soft: #f4ead6;
  position: relative;
  display: flex;
  min-height: 360px;
  padding: 18px 18px 22px;
  overflow: hidden;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    #fff;
  border: 1px solid rgba(223, 229, 236, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(16, 32, 51, 0.08);
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.portal-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0) 58%, var(--portal-soft) 58% 100%);
  opacity: 0.92;
}

.portal-card::after {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  content: "";
  border-right: 2px solid var(--portal-accent);
  border-bottom: 2px solid var(--portal-accent);
  opacity: 0.45;
}

.portal-card:hover,
.portal-card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(199, 155, 69, 0.58);
  box-shadow: 0 30px 70px rgba(16, 32, 51, 0.14);
  outline: none;
}

.portal-programs {
  --portal-accent: #c79b45;
  --portal-deep: #12304d;
  --portal-soft: #f7efd9;
}

.portal-tutoring {
  --portal-accent: #0f766e;
  --portal-deep: #143d3a;
  --portal-soft: #e6f7f4;
}

.portal-planning {
  --portal-accent: #b9503b;
  --portal-deep: #4a2531;
  --portal-soft: #fff0ec;
}

.portal-results {
  --portal-accent: #2f6ea3;
  --portal-deep: #162d48;
  --portal-soft: #eaf2fb;
}

.portal-visual {
  position: relative;
  min-height: 128px;
  margin-bottom: 20px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.22)),
    linear-gradient(90deg, rgba(16, 32, 51, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 32, 51, 0.07) 1px, transparent 1px),
    var(--portal-soft);
  background-size: auto, 24px 24px, 24px 24px, auto;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 8px;
}

.portal-visual::before {
  position: absolute;
  right: -34px;
  top: -32px;
  width: 172px;
  height: 98px;
  content: "";
  background: linear-gradient(135deg, var(--portal-accent), var(--portal-deep));
  border-radius: 8px;
  transform: rotate(8deg);
  transition: transform 220ms ease;
}

.portal-visual::after {
  position: absolute;
  left: -22px;
  bottom: -26px;
  width: 104px;
  height: 72px;
  content: "";
  border: 2px dashed var(--portal-accent);
  border-radius: 8px 42px 8px 34px;
  opacity: 0.62;
}

.portal-card:hover .portal-visual::before,
.portal-card:focus-visible .portal-visual::before {
  transform: rotate(4deg) translateY(4px);
}

.portal-card .card-icon {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 1;
  width: 56px;
  height: 56px;
  color: #fff;
  background: linear-gradient(135deg, var(--portal-deep), var(--portal-accent));
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 14px 28px rgba(16, 32, 51, 0.16);
}

.portal-step {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 900;
}

.portal-mark {
  position: absolute;
  right: 16px;
  bottom: -9px;
  color: var(--portal-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.15;
}

.portal-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 10px;
  color: var(--portal-deep);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.portal-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.23rem;
}

.portal-card p {
  margin: 0;
  color: var(--muted);
}

.portal-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  color: var(--portal-deep);
  font-weight: 900;
}

.portal-link::after {
  margin-left: 8px;
  content: ">";
  color: var(--portal-accent);
  transition: transform 180ms ease;
}

.portal-card:hover .portal-link::after,
.portal-card:focus-visible .portal-link::after {
  transform: translateX(4px);
}

.split-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.quick-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 28px;
}

.quick-list p {
  margin: 0;
  padding: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quick-list strong,
.quick-list span {
  display: block;
}

.quick-list strong {
  color: var(--ink);
}

.quick-list span {
  margin-top: 4px;
  color: var(--muted);
}

.planning-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.planning-dashboard article,
.priority-grid article,
.deliverable-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.planning-dashboard article {
  min-height: 210px;
  padding: 28px;
}

.planning-dashboard span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--gold);
  background: var(--navy);
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.planning-dashboard h3,
.priority-grid h3 {
  margin: 20px 0 8px;
  color: var(--ink);
}

.planning-dashboard p,
.priority-grid p {
  margin: 0;
  color: var(--muted);
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.priority-grid article {
  padding: 30px;
  background: rgba(255, 255, 255, 0.94);
}

.priority-grid span {
  display: inline-flex;
  padding: 5px 11px;
  color: var(--teal);
  background: #e5f7f4;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

.priority-grid ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
  font-weight: 800;
}

.priority-grid li::marker {
  color: var(--gold);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-card {
  padding: 30px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.detail-card h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: 2rem;
  line-height: 1.16;
}

.detail-card p:not(.eyebrow),
.detail-card li {
  color: var(--muted);
}

.detail-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 20px;
}

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

.timeline-grid article {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.timeline-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  color: var(--teal);
  background: #e5f7f4;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.timeline-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
}

.timeline-grid p {
  margin: 0;
  color: var(--muted);
}

.deliverable-layout,
.planning-calendar-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

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

.deliverable-grid article {
  position: relative;
  min-height: 170px;
  padding: 28px;
  overflow: hidden;
}

.deliverable-grid article::before {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 34px;
  height: 34px;
  content: "";
  background: linear-gradient(135deg, var(--gold), var(--teal));
  border-radius: 50%;
  opacity: 0.16;
}

.deliverable-grid strong,
.deliverable-grid span {
  display: block;
}

.deliverable-grid strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.deliverable-grid span {
  margin-top: 10px;
  color: var(--muted);
}

.planning-calendar-layout h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.5rem;
}

.planning-calendar-layout p:not(.eyebrow) {
  max-width: 470px;
  color: var(--muted);
}

.planning-calendar {
  display: grid;
  gap: 12px;
}

.planning-calendar div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.planning-calendar span {
  color: var(--gold);
  font-weight: 900;
}

.planning-calendar strong {
  color: var(--ink-soft);
}

.testimonial-band {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
  align-items: start;
}

.quote-grid {
  display: grid;
  gap: 16px;
}

.quote-grid blockquote {
  margin: 0;
  padding: 24px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
}

.legacy-proof {
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 74%);
  border-bottom: 1px solid var(--line);
}

.legacy-inner {
  padding: 86px 0 64px;
  text-align: center;
}

.legacy-proof .section-heading {
  margin-bottom: 28px;
}

.legacy-proof blockquote {
  max-width: 860px;
  margin: 0 auto;
  color: #7d8796;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.7;
}

.legacy-metric {
  display: grid;
  place-items: center;
  width: 150px;
  height: 116px;
  margin: 36px auto 52px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: 0 28px 60px rgba(13, 27, 45, 0.22);
}

.legacy-metric strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.25rem;
  line-height: 1;
}

.legacy-metric span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.legacy-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 42px;
  border-top: 1px solid rgba(223, 229, 236, 0.8);
}

.legacy-pillars article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(223, 229, 236, 0.55);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(16, 32, 51, 0.05);
}

.legacy-pillars h3 {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: 1.12rem;
}

.legacy-pillars p {
  margin: 6px 0 0;
  color: #8c96a6;
  font-size: 0.86rem;
  font-weight: 800;
}

.school-band {
  padding: 56px 0 58px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.school-band > p {
  margin: 0 0 34px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: uppercase;
}

.school-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.school-marquee::before,
.school-marquee::after {
  position: absolute;
  top: 0;
  z-index: 2;
  width: 96px;
  height: 100%;
  content: "";
  pointer-events: none;
}

.school-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.school-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.school-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: school-scroll 34s linear infinite;
}

.school-item {
  display: grid;
  justify-items: center;
  min-width: 170px;
  padding: 0 24px;
  text-align: center;
}

.school-item span {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  color: #fff;
  background: var(--navy);
  border-radius: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(16, 32, 51, 0.1);
}

.school-item strong {
  margin-top: 13px;
  color: #667385;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.school-item em {
  color: #9aa5b5;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.logo-berkeley span {
  color: #f3c94d;
  background: #173b7a;
}

.logo-ucla span {
  background: #446fb4;
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
}

.logo-cmu span {
  background: #9c2f2a;
}

.logo-nyu span {
  background: #5b3f8f;
  font-family: Arial, sans-serif;
  font-size: 1.15rem;
}

.logo-usc span {
  color: #ffd45a;
  background: #9d1f1f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.logo-harvard span {
  background: #a51c30;
  font-size: 1.8rem;
}

.logo-yale span {
  background: #1b4f8f;
}

.logo-princeton span {
  color: #111;
  background: #f47d20;
}

.logo-columbia span {
  background: #75aadb;
}

.logo-upenn span {
  background: #011f5b;
  font-family: Arial, sans-serif;
  font-size: 1rem;
}

.logo-brown span {
  background: #4e3629;
}

.logo-cornell span {
  background: #b31b1b;
}

.tutor-credibility {
  background:
    linear-gradient(180deg, #fff 0%, #f6f9fc 100%);
  border-bottom: 1px solid var(--line);
}

.tutor-credibility-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 54px;
  align-items: center;
}

.tutor-copy h2 {
  margin: 0;
  max-width: 560px;
  color: var(--ink);
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: 2.65rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.tutor-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.mentor-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.mentor-stats div {
  min-height: 112px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.mentor-stats strong,
.mentor-stats span {
  display: block;
}

.mentor-stats strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.05rem;
  line-height: 1;
}

.mentor-stats span {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 900;
}

.mentor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mentor-quality-panel {
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(223, 229, 236, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mentor-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.mentor-panel-head span {
  display: inline-flex;
  min-width: max-content;
  padding: 6px 11px;
  color: var(--teal);
  background: #e5f7f4;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.mentor-panel-head strong {
  max-width: 380px;
  color: var(--ink);
  font-size: 1.32rem;
  line-height: 1.45;
  text-align: right;
}

.mentor-quality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.mentor-quality-grid article {
  min-height: 204px;
  padding: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mentor-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(13, 27, 45, 0.14);
}

.mentor-quality-grid article:nth-child(2) .mentor-icon {
  background: var(--teal);
}

.mentor-quality-grid article:nth-child(3) .mentor-icon {
  background: var(--gold);
}

.mentor-quality-grid article:nth-child(4) .mentor-icon {
  background: var(--coral);
}

.mentor-quality-grid h3 {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.35;
}

.mentor-quality-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.mentor-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  padding: 15px 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(13, 27, 45, 0.16);
}

.mentor-track span {
  position: relative;
  text-align: center;
  font-weight: 900;
}

.mentor-track span:not(:last-child)::after {
  position: absolute;
  right: -6px;
  top: 50%;
  width: 12px;
  height: 12px;
  content: "";
  border-top: 2px solid rgba(255, 255, 255, 0.6);
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) rotate(45deg);
}

.parent-feedback {
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(13, 27, 45, 0.98), rgba(18, 42, 66, 0.96) 54%, rgba(15, 118, 110, 0.9));
}

.feedback-heading-row {
  margin-bottom: 42px;
}

.parent-feedback .section-heading {
  margin-bottom: 0;
}

.parent-feedback .section-heading h2 {
  max-width: 700px;
  color: #fff;
}

.parent-feedback .section-heading p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.74);
}

.parent-message-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 34px 0 48px;
}

.parent-message-carousel::before,
.parent-message-carousel::after {
  position: absolute;
  top: 0;
  z-index: 2;
  width: 110px;
  height: 100%;
  content: "";
  pointer-events: none;
}

.parent-message-carousel::before {
  left: 0;
  background: linear-gradient(90deg, rgba(13, 27, 45, 0.98), rgba(13, 27, 45, 0));
}

.parent-message-carousel::after {
  right: 0;
  background: linear-gradient(270deg, rgba(15, 118, 110, 0.82), rgba(15, 118, 110, 0));
}

.parent-message-track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: parent-message-scroll 88s linear infinite;
}

.parent-message-carousel:hover .parent-message-track {
  animation-play-state: paused;
}

.parent-message-card {
  position: relative;
  z-index: 1;
  flex: 0 0 330px;
  margin: 0;
  margin-right: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
  transform-origin: center center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  will-change: transform;
}

.parent-message-card:hover,
.parent-message-card:focus-within {
  z-index: 3;
  border-color: rgba(199, 155, 69, 0.82);
  box-shadow: 0 34px 78px rgba(0, 0, 0, 0.34);
  transform: translateY(-12px) scale(1.12);
}

.parent-message-card img {
  width: 100%;
  height: 430px;
  object-fit: contain;
  object-position: top center;
  background: #f8fafc;
  border-radius: 6px;
}

@keyframes school-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes parent-message-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes tutor-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    border-radius: 8px;
  }

  .hero,
  .hero-content {
    min-height: 640px;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .program-grid,
  .portal-grid,
  .tutor-credibility-grid,
  .legacy-pillars,
  .result-grid,
  .tutoring-layout,
  .method-layout,
  .split-feature,
  .page-hero-grid,
  .planning-dashboard,
  .priority-grid,
  .detail-grid,
  .timeline-grid,
  .deliverable-layout,
  .planning-calendar-layout,
  .testimonial-band,
  .contact-hero-grid,
  .form-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-aside {
    position: static;
  }

  .image-card img {
    height: 420px;
  }

  .tutor-copy h2 {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav-shell {
    min-height: 64px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand em {
    font-size: 0.68rem;
  }

  .hero,
  .hero-content {
    min-height: 720px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(13, 27, 45, 0.88), rgba(13, 27, 45, 0.58) 42%, rgba(13, 27, 45, 0.94)),
      url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=80") center / cover;
  }

  .hero-content {
    justify-content: flex-end;
    padding: 98px 0 44px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-copy,
  .contact-hero p,
  .page-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .hero-stats div {
    padding: 14px;
  }

  .notice-grid,
  .tutor-showcase-heading,
  .cta-panel,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .cta-panel h2,
  .tutor-copy h2,
  .contact-hero h1,
  .page-hero h1 {
    font-size: 2rem;
  }

  .program-card,
  .portal-card,
  .planning-dashboard article,
  .priority-grid article,
  .mentor-quality-panel,
  .mentor-quality-grid article,
  .legacy-pillars article,
  .detail-card,
  .timeline-grid article,
  .deliverable-grid article,
  .planning-calendar div,
  .quote-grid blockquote,
  .result-card,
  .request-form,
  .form-aside,
  .contact-card {
    padding: 22px;
  }

  .program-card {
    min-height: 0;
  }

  .portal-card {
    min-height: 0;
  }

  .portal-visual {
    min-height: 112px;
  }

  .portal-mark {
    font-size: 3.4rem;
  }

  .program-visual {
    min-height: 120px;
    margin-bottom: 20px;
  }

  .visual-mark {
    font-size: 3.45rem;
  }

  .tab-list {
    grid-template-columns: 1fr 1fr;
  }

  .tab-panel {
    min-height: 0;
    padding: 24px;
  }

  .steps,
  .mentor-stats,
  .mentor-quality-grid,
  .deliverable-grid,
  .modal-grid,
  .modal-resource-list,
  .form-grid.two,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .planning-calendar div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .modal-head {
    padding: 26px 62px 22px 24px;
  }

  .modal-head h2 {
    font-size: 1.9rem;
  }

  .modal-body {
    padding: 24px 24px 4px;
  }

  .modal-actions {
    justify-content: stretch;
    padding: 18px 24px 24px;
  }

  .modal-actions .btn {
    width: 100%;
  }

  .tutor-carousel::before,
  .tutor-carousel::after {
    width: 42px;
  }

  .tutor-track {
    animation-duration: 38s;
  }

  .tutor-card {
    flex-basis: 238px;
    margin-right: 14px;
    padding: 14px;
  }

  .tutor-modal-profile {
    grid-template-columns: 1fr;
  }

  .tutor-modal-profile img {
    width: 132px;
  }

  .mentor-panel-head {
    display: grid;
  }

  .mentor-panel-head strong {
    text-align: left;
  }

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

  .mentor-track span:not(:last-child)::after {
    display: none;
  }

  .parent-message-carousel::before,
  .parent-message-carousel::after {
    width: 44px;
  }

  .parent-message-track {
    animation-duration: 72s;
  }

  .parent-message-card {
    flex-basis: 280px;
    margin-right: 14px;
    padding: 10px;
  }

  .parent-message-card img {
    height: 360px;
  }

  .contact-hero {
    padding: 86px 0 56px;
  }

  .page-hero {
    padding: 82px 0 58px;
  }

  .hero-note {
    padding: 20px;
  }

  .legacy-inner {
    padding: 64px 0 48px;
  }

  .legacy-proof blockquote {
    font-size: 1.18rem;
  }

  .legacy-metric {
    margin-bottom: 36px;
  }

  .school-band {
    padding: 44px 0;
  }

  .school-item {
    min-width: 138px;
    padding: 0 16px;
  }

  .school-item span {
    width: 58px;
    height: 58px;
    font-size: 1.75rem;
  }
}

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