:root {
  --ink: #222222;
  --navy: #323261;
  --navy-dark: #191931;
  --gold: #e8a545;
  --gold-dark: #d49133;
  --paper: #ffffff;
  --muted: #666979;
  --line: #ececf2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Sen", Arial, sans-serif;
  background: var(--paper);
}

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

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

.site-top {
  align-items: center;
  background: #222;
  color: #fff;
  display: flex;
  gap: 32px;
  justify-content: center;
  min-height: 76px;
  padding: 16px 10vw;
  position: sticky;
  top: 0;
  z-index: 50;
}

.assessment {
  align-items: center;
  display: flex;
  gap: 26px;
}

.assessment span,
.btn,
.contact-panel button,
.language button {
  background: var(--gold);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  min-height: 36px;
  padding: 11px 26px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.assessment span {
  border-radius: 999px;
}

.assessment strong,
.phone {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.phone {
  margin-left: auto;
}

.btn:hover,
.assessment span:hover,
.contact-panel button:hover,
.language button:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.nav-wrap {
  align-items: center;
  background: var(--navy);
  color: #f9f9f9;
  display: flex;
  height: 80px;
  justify-content: space-between;
  padding: 0 4.5vw;
  position: sticky;
  top: 76px;
  z-index: 49;
}

.brand img {
  height: 52px;
  width: auto;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(24px, 4vw, 58px);
}

.main-nav a {
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--gold);
}

.main-nav a.active {
  color: var(--gold);
}

.main-nav a.nav-pill {
  background: var(--gold);
  border-radius: 7px;
  color: #fff;
  padding: 11px 18px;
}

.main-nav a.nav-pill:hover {
  background: var(--gold-dark);
  color: #fff;
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  background: #fff;
  border-radius: 1px;
  display: block;
  height: 2px;
  width: 26px;
}

.hero {
  min-height: 550px;
  overflow: hidden;
  position: relative;
}

.hero video,
.teacher-film video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.hero-shade {
  background: linear-gradient(180deg, rgba(34, 34, 34, 0.14), #222);
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero-content {
  color: #f9f9f9;
  margin-left: 3.8vw;
  max-width: 930px;
  padding: 123px 0 72px;
}

.hero h1 {
  font-size: clamp(44px, 5.2vw, 72px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 20px;
}

.page-hero {
  background:
    linear-gradient(120deg, rgba(25, 25, 49, 0.94), rgba(50, 50, 97, 0.78)),
    url("assets/img/home/contact.jpg") center/cover no-repeat;
  color: #fff;
  min-height: 360px;
  padding: 92px max(24px, calc((100vw - 1200px) / 2));
}

.page-hero > div {
  max-width: 820px;
}

.page-hero h1,
.teacher-copy h1,
.contact-panel h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.page-hero p:not(.eyebrow) {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  margin: 22px 0 0;
  max-width: 660px;
}

.ai-page-hero {
  background:
    linear-gradient(120deg, rgba(25, 25, 49, 0.96), rgba(50, 50, 97, 0.72)),
    radial-gradient(circle at 82% 24%, rgba(232, 165, 69, 0.32), transparent 30%),
    #191931;
}

.about-hero {
  background:
    linear-gradient(180deg, rgba(34, 34, 34, 0.08), #222),
    url("assets/img/story/bg1.jpeg") center/cover no-repeat;
  color: #fff;
  min-height: 550px;
  padding: 85px max(24px, calc((100vw - 1200px) / 2)) 70px;
}

.about-hero-content {
  max-width: 560px;
}

.about-hero h1 {
  font-size: clamp(48px, 5.8vw, 78px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 22px;
}

.about-hero p {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 32px;
}

.hero p {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 48px;
  max-width: 610px;
}

.stats {
  background: var(--navy);
  color: #fff;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(5, 1fr);
  padding: 18px max(24px, calc((100vw - 1200px) / 2));
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 33px;
  font-weight: 800;
  margin-bottom: 8px;
}

.stats span {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.section-pad {
  padding: 65px max(24px, calc((100vw - 1200px) / 2));
}

.section-head {
  margin-bottom: 52px;
}

.split {
  align-items: flex-start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
}

.eyebrow {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  margin: 0;
}

.section-head > p,
.split > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
}

.gateway-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}

.gateway-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  min-height: 255px;
  padding: 30px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gateway-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.gateway-card span {
  color: var(--navy);
  display: block;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 18px;
}

.gateway-card h3 {
  font-size: 27px;
  margin: 0 0 16px;
}

.gateway-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.about-intro {
  background: var(--navy);
  color: #fff;
  padding: 72px max(24px, calc((100vw - 1200px) / 2)) 86px;
  text-align: center;
}

.about-intro > h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 18px;
}

.about-intro > p {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 680px;
}

.why-feature-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 72px;
  text-align: left;
}

.why-feature-grid img {
  height: 48px;
  margin-bottom: 24px;
  width: 48px;
}

.why-feature-grid h3 {
  font-size: 24px;
  margin: 0 0 18px;
}

.why-feature-grid p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.about-team-head {
  background:
    linear-gradient(180deg, rgba(34, 34, 34, 0.1), #222),
    url("assets/img/story/bg2.jpg") center/cover no-repeat;
  color: #fff;
  min-height: 460px;
  padding: 120px max(24px, calc((100vw - 1200px) / 2));
}

.about-team-head > div {
  max-width: 720px;
}

.about-team-head h2 {
  margin-bottom: 24px;
}

.about-team-head p {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
  margin: 0;
}

.about-team-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(2, 1fr);
}

.about-teacher {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 180px 1fr;
  min-height: 265px;
  padding: 24px 0;
}

.about-teacher img {
  aspect-ratio: 1;
  border-radius: 50%;
  height: 180px;
  object-fit: cover;
  width: 180px;
}

.about-teacher h3 {
  color: var(--navy);
  font-size: 26px;
  margin: 0 0 12px;
}

.about-teacher p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
  margin: 0 0 12px;
}

.about-teacher .credentials {
  color: var(--ink);
  font-weight: 700;
}

.team-cta {
  background: #f5f5f8;
  padding: 72px max(24px, calc((100vw - 1200px) / 2));
  text-align: center;
}

.team-cta p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 22px auto 28px;
  max-width: 780px;
}

.story-container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 24px;
}

.story-hero {
  background:
    linear-gradient(180deg, rgba(34, 34, 34, 0.56), var(--navy-dark)),
    url("assets/img/about/bg1.jpeg") center/cover no-repeat;
  color: #fff;
  min-height: 560px;
  padding: 100px max(24px, calc((100vw - 1200px) / 2)) 80px;
}

.story-hero-content {
  max-width: 820px;
}

.story-hero h1 {
  font-size: clamp(44px, 5.2vw, 72px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 20px;
}

.story-hero h2 {
  color: var(--gold);
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 0 0 28px;
}

.story-hero p {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  margin: 0;
  max-width: 780px;
}

.story-about {
  background: #fff;
  padding: 76px max(24px, calc((100vw - 1200px) / 2));
}

.story-about > div {
  max-width: 980px;
}

.story-about h2,
.mission h2,
.success-stories h2,
.founder h2,
.timeline-intro h2 {
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.08;
  margin: 0 0 24px;
}

.story-about p,
.timeline-intro p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
}

.mission {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.56), rgb(87, 74, 57));
  color: #fff;
  padding: 80px 0;
}

.mission-container {
  margin: 0 auto;
  max-width: 1000px;
  padding: 0 24px;
  text-align: center;
}

.mission-container > p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 auto 44px;
  max-width: 760px;
}

.mission-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}

.mission-grid article {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mission-grid img {
  height: 150px;
  object-fit: contain;
  width: 150px;
}

.mission-grid h3 {
  font-size: 18px;
  line-height: 1.45;
  margin: 0;
}

.success-stories {
  background: #fff;
  padding: 72px 0 78px;
}

.success-stories h2 {
  margin-left: 72px;
}

.success-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  text-align: center;
}

.success-image {
  align-items: center;
  background: #fff;
  box-shadow: 0 0 10px rgba(25, 25, 49, 0.16);
  display: flex;
  justify-content: center;
  margin: 0 auto 44px;
  min-height: 280px;
  padding: 0;
  width: 280px;
}

.success-image img {
  aspect-ratio: 1;
  border-radius: 50%;
  height: 260px;
  object-fit: cover;
  width: 260px;
}

.success-grid strong {
  display: block;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 18px;
}

.success-grid span {
  font-size: 17px;
}

.founder {
  background: var(--navy);
  padding: 72px max(24px, calc((100vw - 1200px) / 2));
}

.founder-card {
  align-items: center;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  margin: 0 auto;
  max-width: 1200px;
}

.founder-image {
  background: #fff;
  min-height: 430px;
  overflow: hidden;
}

.founder-image img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.founder-copy {
  background: var(--navy-dark);
  border-radius: 6px;
  color: #fff;
  margin-left: -90px;
  padding: 66px;
}

.founder-copy p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  margin: 0 0 18px;
}

.timeline-section {
  background: #fff;
  padding: 80px 0;
}

.timeline-intro {
  max-width: 920px;
}

.timeline-intro p + p {
  margin-top: 18px;
}

.timeline {
  display: grid;
  gap: 48px 90px;
  grid-template-columns: repeat(2, 1fr);
  margin: 70px auto 50px;
  max-width: 1040px;
  position: relative;
}

.timeline::before {
  background: var(--navy);
  content: "";
  height: 100%;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
}

.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  position: relative;
}

.timeline article::after {
  background: var(--gold);
  border: 5px solid #fff;
  border-radius: 50%;
  content: "";
  height: 18px;
  position: absolute;
  top: 30px;
  width: 18px;
  z-index: 1;
}

.timeline article:nth-child(odd)::after {
  right: -59px;
}

.timeline article:nth-child(even)::after {
  left: -59px;
}

.timeline span {
  color: var(--gold);
  display: block;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.timeline h3 {
  color: var(--navy);
  font-size: 25px;
  margin: 0 0 14px;
}

.timeline p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
  margin: 0;
}

.story-closing {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.14;
  margin-top: 50px;
  text-align: center;
}

.contact-hero {
  background:
    linear-gradient(90deg, var(--navy-dark), rgba(34, 34, 34, 0.18) 76%),
    url("assets/img/contact/bg1.jpeg") center/cover no-repeat;
  color: #fff;
  min-height: 760px;
  padding: 70px max(24px, calc((100vw - 1200px) / 2));
}

.contact-hero-wrap {
  display: grid;
  gap: 62px;
  grid-template-columns: 0.95fr 1.05fr;
  margin: 0 auto;
  max-width: 1200px;
}

.contact-left h1 {
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.08;
  margin: 0 0 44px;
}

.contact-action-grid {
  display: grid;
  gap: 26px;
}

.contact-action-grid article,
.contact-info,
.contact-form-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  color: var(--ink);
  padding: 34px;
}

.contact-action-grid img {
  height: 48px;
  margin-bottom: 20px;
  width: 48px;
}

.contact-action-grid h2,
.contact-info h2,
.contact-form-card h2 {
  color: var(--navy);
  font-size: 31px;
  line-height: 1.12;
  margin: 0 0 16px;
}

.contact-action-grid p,
.contact-info p,
.contact-form-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px;
}

.contact-right {
  display: grid;
  gap: 26px;
}

.contact-info p {
  margin-bottom: 12px;
}

.contact-info strong {
  color: var(--ink);
}

.contact-form-card form {
  display: grid;
  gap: 10px;
}

.contact-form-card label {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  margin-top: 8px;
}

.contact-form-card input,
.contact-form-card textarea {
  border: 1px solid #d8d8e4;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.contact-form-card button {
  background: var(--gold);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  margin-top: 16px;
  min-height: 42px;
  width: 135px;
}

.contact-form-card button:hover {
  background: var(--gold-dark);
}

.service-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 35px;
}

.service {
  min-height: 342px;
  overflow: hidden;
  padding: 4px 0;
  position: relative;
}

.service-top {
  min-height: 134px;
  position: relative;
}

.service-top span {
  color: var(--navy);
  display: block;
  font-size: 54px;
  font-weight: 800;
}

.service-top h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 8px 80px 0 0;
}

.service-top img {
  max-height: 96px;
  opacity: 0.55;
  position: absolute;
  right: 18px;
  top: 10px;
  width: 90px;
}

.service p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
  margin: 0;
}

.btn-wide {
  margin-top: 10px;
  min-width: min(100%, 330px);
}

.teacher-film {
  background: linear-gradient(180deg, rgba(34, 34, 34, 0.17), var(--navy-dark));
  color: #fff;
  min-height: 550px;
  overflow: hidden;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  position: relative;
}

.teacher-film::after {
  background: linear-gradient(180deg, rgba(25, 25, 49, 0.16), var(--navy-dark));
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.teacher-copy {
  max-width: 520px;
  padding-top: 150px;
}

.teacher-copy p {
  font-size: 18px;
  line-height: 1.5;
  margin: 24px 0 28px;
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  background: var(--gold);
  color: #fff;
}

.teacher-list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 34px;
}

.teacher-card {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 150px 1fr;
  min-height: 220px;
  padding: 22px 0;
}

.teacher-card img {
  aspect-ratio: 1;
  border-radius: 50%;
  height: 150px;
  object-fit: cover;
  width: 150px;
}

.teacher-card h3 {
  color: var(--navy);
  font-size: 26px;
  margin: 0 0 12px;
}

.teacher-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.ai-youth {
  background: #f5f5f8;
}

.ai-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
}

.ai-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 320px;
  padding: 30px;
}

.feature-panel {
  background: var(--navy-dark);
  color: #fff;
}

.panel-kicker {
  color: var(--gold);
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.ai-panel h3 {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 18px;
}

.ai-panel p,
.ai-panel li {
  font-size: 16px;
  line-height: 1.65;
}

.ai-panel p {
  margin: 0 0 28px;
}

.ai-panel ul {
  margin: 0;
  padding-left: 20px;
}

.process-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 34px;
}

.process-grid article {
  min-height: 380px;
  overflow: hidden;
  position: relative;
}

.process-grid strong {
  color: var(--navy);
  display: block;
  font-size: 68px;
  line-height: 1;
}

.process-grid h3 {
  font-size: 25px;
  line-height: 1.05;
  margin: 8px 0 18px;
  min-height: 55px;
}

.process-grid img {
  width: 100%;
}

.contact {
  background: var(--navy-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

.contact-image {
  background: url("assets/img/home/contact.jpg") center/cover no-repeat;
}

.contact-panel {
  align-items: flex-start;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px max(32px, 7vw);
}

.contact-panel h2,
.contact-panel h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 32px;
}

.contact-panel form {
  display: grid;
  gap: 10px;
  width: min(100%, 520px);
}

.contact-panel label {
  font-size: 15px;
  font-weight: 800;
  margin-top: 8px;
}

.contact-panel input,
.contact-panel textarea,
.language select {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0;
  color: #fff;
  font: inherit;
  min-height: 42px;
  padding: 9px 12px;
  width: 100%;
}

.contact-panel button {
  margin-top: 18px;
  width: 170px;
}

.contact-panel img {
  margin-top: 28px;
  max-width: 120px;
}

.footer {
  background: var(--navy-dark);
  color: #fff;
  padding: 64px max(24px, calc((100vw - 1200px) / 2)) 22px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.6fr 0.9fr 1fr;
}

.footer-logo {
  height: 62px;
  margin-bottom: 20px;
  object-fit: cover;
  object-position: top left;
  width: 180px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 11px;
}

.footer h3 {
  font-size: 17px;
  margin: 0 0 18px;
}

.wechat {
  width: 120px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.socials a {
  align-items: center;
  background: var(--navy);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  margin: 0;
  width: 38px;
}

.language {
  display: flex;
  gap: 10px;
}

.language select {
  color: #222;
  max-width: 145px;
}

.language button {
  border-radius: 4px;
  min-height: 42px;
  padding-inline: 18px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 38px !important;
  padding-top: 22px;
  text-align: center;
}

@media (max-width: 980px) {
  .site-top {
    flex-wrap: wrap;
    gap: 12px;
    min-height: 102px;
    padding: 16px 22px;
  }

  .phone {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .nav-wrap {
    top: 102px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    background: var(--navy);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 10px 24px 24px;
    position: absolute;
    right: 0;
    top: 80px;
  }

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

  .main-nav a {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 17px 0;
    width: 100%;
  }

  .main-nav a.nav-pill {
    background: transparent;
    border-radius: 0;
    color: var(--gold);
    padding: 17px 0;
  }

  .split,
  .contact,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats,
  .service-grid,
  .teacher-list,
  .ai-grid,
  .process-grid,
  .gateway-grid,
  .why-feature-grid,
  .about-team-grid,
  .mission-grid,
  .success-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .contact-hero-wrap {
    grid-template-columns: 1fr;
  }

  .founder-copy {
    margin-left: 0;
    padding: 42px;
  }

  .timeline {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .timeline::before,
  .timeline article::after {
    display: none;
  }

  .contact-image {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .assessment {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .nav-wrap {
    padding-inline: 18px;
    top: 126px;
  }

  .brand img {
    height: 45px;
  }

  .hero-content {
    margin: 0;
    padding: 95px 24px 58px;
  }

  .stats,
  .service-grid,
  .teacher-list,
  .ai-grid,
  .process-grid,
  .gateway-grid,
  .why-feature-grid,
  .about-team-grid,
  .mission-grid,
  .success-grid {
    grid-template-columns: 1fr;
  }

  .story-hero {
    padding-inline: 24px;
  }

  .contact-hero {
    padding-inline: 24px;
  }

  .success-stories h2 {
    margin-left: 0;
  }

  .success-image {
    min-height: 250px;
    width: 250px;
  }

  .success-image img {
    height: 230px;
    width: 230px;
  }

  .about-hero {
    padding-inline: 24px;
  }

  .about-teacher {
    grid-template-columns: 120px 1fr;
  }

  .about-teacher img {
    height: 120px;
    width: 120px;
  }

  .teacher-card {
    grid-template-columns: 110px 1fr;
  }

  .teacher-card img {
    height: 110px;
    width: 110px;
  }

  .process-grid article {
    min-height: auto;
  }
}
