:root {
  --navy: #072b4d;
  --navy-2: #0e4263;
  --ink: #10233d;
  --orange: #f47721;
  --orange-dark: #c95214;
  --green: #168447;
  --green-dark: #0b5e35;
  --yellow: #ffc857;
  --sky: #9ed8e8;
  --paper: #fff9ee;
  --paper-deep: #f2e9d6;
  --white: #fffef9;
  --line: rgba(7, 43, 77, 0.18);
  --line-light: rgba(255, 254, 249, 0.24);
  --shadow: 0 18px 44px rgba(7, 43, 77, 0.12);
  --content: 1240px;
  --nav-height: 86px;
  --section-pad: clamp(5.5rem, 10vw, 9rem);
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Trebuchet MS", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body[data-scroll-locked="true"] { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

::selection { color: var(--paper); background: var(--orange); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 16px;
  transform: translateY(-180%);
  padding: 10px 14px;
  color: var(--paper);
  background: var(--navy);
  border-radius: var(--radius);
}
.skip-link:focus { transform: translateY(0); }

.content-width {
  width: min(var(--content), calc(100% - 64px));
  margin: 0 auto;
}

.section-paper,
.section-yellow,
.section-green,
.section-dark { position: relative; isolation: isolate; }
.section-paper { background: var(--paper); }
.section-yellow { background: var(--yellow); }
.section-green { background: var(--green); color: var(--white); }
.section-dark { background: var(--navy); color: var(--white); }
.section-bordered { border-top: 1px solid var(--line); }

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  height: var(--nav-height);
  color: var(--paper);
  transition: background 240ms ease, box-shadow 240ms ease, color 240ms ease;
}
.site-header.is-scrolled {
  color: var(--navy);
  background: rgba(255, 249, 238, 0.96);
  box-shadow: 0 1px 0 rgba(7, 43, 77, 0.12);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1440px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  gap: 28px;
}
.brand-lockup { display: block; flex: 0 0 auto; width: 180px; }
.brand-lockup img { width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); margin-left: auto; }
.desktop-nav a,
.parent-login {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.is-active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.parent-login { gap: 7px; }
.parent-login .icon { width: 17px; height: 17px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition: transform 200ms var(--ease), background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-small { min-height: 44px; padding: 10px 16px; font-size: 13px; }
.button-primary { color: var(--paper); background: var(--orange); }
.button-primary:hover { background: var(--orange-dark); }
.button-secondary { color: var(--navy); background: transparent; border-color: currentColor; }
.button-secondary:hover { color: var(--orange-dark); border-color: var(--orange-dark); }
.button .icon { width: 18px; height: 18px; }

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.icon-button:hover { color: var(--paper); background: var(--orange); border-color: var(--orange); transform: rotate(6deg); }
.icon { display: inline-block; flex: 0 0 auto; width: 20px; height: 20px; background-color: currentColor; vertical-align: middle; -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; }
.icon-arrow { -webkit-mask-image: url("assets/icons/arrow-right.svg"); mask-image: url("assets/icons/arrow-right.svg"); }
.icon-arrow-down { -webkit-mask-image: url("assets/icons/arrow-down.svg"); mask-image: url("assets/icons/arrow-down.svg"); }
.icon-menu { -webkit-mask-image: url("assets/icons/menu.svg"); mask-image: url("assets/icons/menu.svg"); }
.icon-close { -webkit-mask-image: url("assets/icons/close.svg"); mask-image: url("assets/icons/close.svg"); }
.icon-user { -webkit-mask-image: url("assets/icons/user-circle.svg"); mask-image: url("assets/icons/user-circle.svg"); }
.icon-compass { -webkit-mask-image: url("assets/icons/compass.svg"); mask-image: url("assets/icons/compass.svg"); }
.icon-spark { -webkit-mask-image: url("assets/icons/spark.svg"); mask-image: url("assets/icons/spark.svg"); }
.icon-message { -webkit-mask-image: url("assets/icons/message.svg"); mask-image: url("assets/icons/message.svg"); }
.icon-note { -webkit-mask-image: url("assets/icons/file-text.svg"); mask-image: url("assets/icons/file-text.svg"); }
.icon-chart { -webkit-mask-image: url("assets/icons/line-chart.svg"); mask-image: url("assets/icons/line-chart.svg"); }
.icon-heart { -webkit-mask-image: url("assets/icons/heart.svg"); mask-image: url("assets/icons/heart.svg"); }

.menu-toggle, .mobile-menu { display: none; }

.hero { min-height: 100dvh; padding: calc(var(--nav-height) + 32px) 0 32px; overflow: hidden; }
.hero-backdrop { position: absolute; inset: 0; z-index: -2; background: var(--navy); }
.hero-backdrop::after { position: absolute; inset: 0; content: ""; background: url("assets/textures/paper-grain.webp") repeat; opacity: .12; mix-blend-mode: screen; }
.hero-inner { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(520px, 1.45fr); align-items: center; gap: clamp(34px, 6vw, 100px); min-height: calc(100dvh - var(--nav-height) - 120px); }
.hero-copy { position: relative; z-index: 2; padding: 28px 0 54px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-light { color: var(--yellow); }
.eyebrow-mark { display: inline-block; width: 27px; height: 9px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: skewX(-26deg); }
.hero h1, .section-heading h2, .section-intro h2, .assurance-heading h2, .brand-story-copy h2, .contact-copy h2 { margin: 0; font-size: clamp(2.75rem, 4rem, 5.6rem); font-weight: 900; letter-spacing: .01em; line-height: 1.07; }
.hero h1 { color: var(--paper); }
.hero h1 span, .section-heading em, .section-intro em, .assurance-heading em, .brand-story-copy em, .contact-copy em { color: var(--orange); font-style: normal; }
.hero-slogan { margin: 22px 0 14px; color: var(--yellow); font-size: clamp(1.15rem, 1.35rem, 1.75rem); font-weight: 700; letter-spacing: .02em; }
.hero-description { max-width: 34ch; margin: 0; color: rgba(255, 254, 249, .78); font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--green); font-weight: 800; border-bottom: 1px solid currentColor; transition: color 180ms ease, gap 180ms ease; }
.text-link:hover { gap: 15px; color: var(--orange-dark); }
.text-link-light { color: var(--paper); border-color: rgba(255, 254, 249, .52); }
.text-link-light:hover { color: var(--yellow); }
.hero-art { position: relative; align-self: end; min-width: 0; transform: translateY(24px); }
.hero-art-frame { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border: 1px solid rgba(255, 254, 249, .28); border-radius: 18px; box-shadow: 16px 16px 0 rgba(244, 119, 33, .16); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.art-note { position: absolute; z-index: 1; display: inline-block; color: var(--navy); background: var(--yellow); padding: 8px 12px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.art-note-top { top: 18px; left: 18px; transform: rotate(-4deg); }
.art-note-bottom { right: 18px; bottom: 18px; color: var(--paper); background: var(--orange); transform: rotate(3deg); }
.hero-edge { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 12px; color: rgba(255, 254, 249, .58); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.edge-line { display: block; width: 42px; height: 1px; background: currentColor; opacity: .72; }
.edge-arrow { display: inline-grid; place-items: center; width: 28px; height: 28px; color: var(--yellow); border: 1px solid rgba(255, 200, 87, .46); border-radius: 50%; font-size: 14px; line-height: 1; }
.edge-arrow .icon { width: 13px; height: 13px; }

.trust { padding: var(--section-pad) 0; }
.trust-layout { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.55fr); gap: clamp(48px, 8vw, 130px); }
.section-intro h2, .section-heading h2, .assurance-heading h2, .brand-story-copy h2 { color: var(--navy); font-size: clamp(2.25rem, 3.5rem, 4.65rem); }
.section-intro p, .section-heading > p, .assurance-heading p, .brand-story-copy > p { max-width: 36ch; margin: 24px 0 0; color: rgba(16, 35, 61, .72); font-size: 1.05rem; }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 54px; padding-top: 18px; }
.trust-item { position: relative; padding-top: 5px; border-top: 1px solid var(--line); }
.round-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; margin: 20px 0 17px; border-radius: 50%; }
.round-icon .icon { width: 24px; height: 24px; }
.round-icon-orange { color: var(--paper); background: var(--orange); }
.round-icon-green { color: var(--paper); background: var(--green); }
.round-icon-yellow { color: var(--navy); background: var(--yellow); }
.round-icon-navy { color: var(--paper); background: var(--navy); }
.trust-item h3, .stage-item h3, .journey-step h3, .tutor-note h3, .assurance-card h3, .story-item h3 { margin: 0; color: var(--navy); font-size: 1.25rem; line-height: 1.3; }
.trust-item p, .stage-item p, .journey-step p, .tutor-note p, .assurance-card p, .story-item p { margin: 9px 0 0; color: rgba(16, 35, 61, .68); font-size: .95rem; line-height: 1.6; }

.courses { padding: var(--section-pad) 0 calc(var(--section-pad) + 2rem); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(250px, .7fr); align-items: end; gap: 48px; }
.section-heading > p { margin-bottom: 8px; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .8fr); align-items: center; gap: clamp(44px, 8vw, 110px); margin-top: 76px; }
.map-art { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 18px; background: var(--paper-deep); box-shadow: var(--shadow); }
.map-art img { width: 100%; height: 100%; object-fit: cover; }
.map-stamp { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 80px; height: 80px; color: var(--paper); background: var(--navy); border-radius: 50%; font-size: 10px; font-weight: 900; line-height: 1.15; letter-spacing: .08em; text-align: center; transform: rotate(9deg); }
.stage-list { display: grid; gap: 0; }
.stage-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) 46px; align-items: center; gap: 14px; min-height: 146px; padding: 20px 0; border-top: 1px solid var(--line); }
.stage-item:last-child { border-bottom: 1px solid var(--line); }
.stage-item-active { padding-left: 18px; background: rgba(255, 200, 87, .24); border-top-color: transparent; }
.stage-item-active + .stage-item { border-top-color: transparent; }
.stage-index { color: var(--orange); font-size: 1.65rem; font-weight: 900; }
.stage-compass { display: grid; place-items: center; width: 42px; height: 42px; color: var(--navy); border: 1px solid var(--navy); border-radius: 50%; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.stage-item:hover .stage-compass { color: var(--paper); background: var(--orange); border-color: var(--orange); transform: rotate(-12deg); }

.teaching { padding: var(--section-pad) 0; overflow: hidden; }
.teaching-heading { display: block; max-width: 800px; }
.teaching-heading h2 { color: var(--paper); }
.teaching-heading h2 em { color: var(--yellow); }
.teaching-heading > p { max-width: 40ch; color: rgba(255, 254, 249, .78); }
.journey-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); align-items: center; gap: clamp(46px, 7vw, 110px); margin-top: 66px; }
.journey-art { overflow: hidden; aspect-ratio: 8 / 5; border-radius: 18px; background: var(--paper); box-shadow: 16px 16px 0 rgba(255, 200, 87, .2); }
.journey-art img { width: 100%; height: 100%; object-fit: cover; }
.journey-list { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.journey-step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 19px 0; border-top: 1px solid rgba(255, 254, 249, .26); }
.journey-step:last-child { border-bottom: 1px solid rgba(255, 254, 249, .26); }
.journey-step h3 { color: var(--paper); }
.journey-step p { color: rgba(255, 254, 249, .7); }
.journey-number { color: var(--yellow); font-size: 1.35rem; font-weight: 900; }

.tutors { padding: var(--section-pad) 0; overflow: hidden; }
.tutor-heading { align-items: start; }
.tutor-heading h2 { color: var(--paper); }
.tutor-heading h2 em { color: var(--yellow); }
.tutor-heading > p { color: rgba(255, 254, 249, .7); }
.tutor-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr); gap: clamp(48px, 8vw, 126px); align-items: center; margin-top: 66px; }
.tutor-art { position: relative; overflow: hidden; aspect-ratio: 7 / 5; border: 1px solid rgba(255, 254, 249, .3); border-radius: 18px; }
.tutor-art img { width: 100%; height: 100%; object-fit: cover; }
.tutor-caption { position: absolute; right: 16px; bottom: 16px; color: var(--navy); background: var(--yellow); padding: 8px 12px; font-size: 11px; font-weight: 900; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-3deg); }
.tutor-notes { display: grid; gap: 24px; }
.tutor-note { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: start; }
.note-line { width: 18px; height: 18px; margin-top: 5px; border: 3px solid var(--orange); border-radius: 50%; box-shadow: 6px 6px 0 rgba(255, 200, 87, .38); }
.tutor-note h3 { color: var(--paper); }
.tutor-note p { grid-column: 2; color: rgba(255, 254, 249, .7); }
.tutor-link { margin: 22px 0 0 46px; }

.assurance { padding: var(--section-pad) 0; }
.assurance-heading { max-width: 780px; }
.assurance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 62px; }
.assurance-card { position: relative; min-height: 240px; padding: 28px 27px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 254, 249, .46); transition: transform 200ms var(--ease), background 200ms ease, box-shadow 200ms ease; }
.assurance-card:hover { background: var(--white); box-shadow: var(--shadow); transform: translateY(-5px); }
.assurance-card-feature { min-height: 300px; color: var(--paper); background: var(--green); }
.assurance-card-feature:hover { background: var(--green-dark); }
.assurance-card-feature h3, .assurance-card-feature p { color: var(--paper); }
.assurance-card-wide { grid-column: span 2; min-height: 190px; }
.assurance-icon { display: inline-grid; place-items: center; width: 45px; height: 45px; margin-bottom: 32px; color: var(--orange); border: 1px solid currentColor; border-radius: 50%; }
.assurance-icon img { display: block; width: 22px; height: 22px; object-fit: contain; filter: brightness(0) saturate(100%) invert(50%) sepia(88%) saturate(2500%) hue-rotate(348deg) brightness(100%) contrast(92%); }
.assurance-card-feature .assurance-icon { color: var(--yellow); }
.assurance-card-feature .assurance-icon img { filter: brightness(0) saturate(100%) invert(85%) sepia(76%) saturate(856%) hue-rotate(324deg) brightness(104%) contrast(101%); }
.card-mark { position: absolute; right: 21px; bottom: 17px; color: rgba(7, 43, 77, .24); font-size: 2.5rem; font-weight: 900; }
.assurance-card-feature .card-mark { color: rgba(255, 254, 249, .32); }

.stories { padding: var(--section-pad) 0; overflow: hidden; }
.story-heading h2 { color: var(--navy); }
.story-heading > p { color: rgba(7, 43, 77, .72); }
.story-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .75fr); gap: clamp(46px, 8vw, 120px); align-items: center; margin-top: 60px; }
.story-art { overflow: hidden; aspect-ratio: 8 / 5; border: 1px solid rgba(7, 43, 77, .22); border-radius: 18px; }
.story-art img { width: 100%; height: 100%; object-fit: cover; }
.story-list { display: grid; gap: 0; }
.story-item { display: grid; grid-template-columns: 24px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(7, 43, 77, .25); }
.story-item:last-child { border-bottom: 1px solid rgba(7, 43, 77, .25); }
.story-dot { width: 16px; height: 16px; margin-top: 6px; background: var(--orange); border: 3px solid var(--navy); border-radius: 50%; }

.brand-story { padding: var(--section-pad) 0; }
.story-brand-layout { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(48px, 8vw, 126px); }
.brand-story-copy > p + p { margin-top: 14px; }
.brand-story-copy .text-link { margin-top: 30px; }
.brand-story-art { position: relative; overflow: hidden; aspect-ratio: 9 / 5; border-radius: 18px; box-shadow: var(--shadow); }
.brand-story-art img { width: 100%; height: 100%; object-fit: cover; }
.brand-stamp { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 88px; height: 88px; color: var(--paper); background: var(--green); border-radius: 50%; font-size: 10px; font-weight: 900; line-height: 1.2; letter-spacing: .08em; text-align: center; transform: rotate(-8deg); }

.contact { min-height: 620px; padding: calc(var(--section-pad) + 14px) 0; overflow: hidden; }
.contact-backdrop { position: absolute; inset: 0; z-index: -1; background: url("assets/illustrations/cta-night-sky-v2.webp") center / cover no-repeat; opacity: .94; }
.contact-backdrop::after { position: absolute; inset: 0; content: ""; background: rgba(7, 43, 77, .2); }
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(350px, 1.1fr); align-items: center; gap: 60px; }
.contact-copy h2 { color: var(--paper); font-size: clamp(2.5rem, 4rem, 5.25rem); }
.contact-copy h2 em { color: var(--yellow); }
.contact-copy > p { max-width: 33ch; margin: 22px 0 0; color: rgba(255, 254, 249, .78); }
.contact-slogan { font-size: 1.15rem; font-weight: 800; }
.contact-slogan span { color: var(--yellow); font-size: .95rem; }
.contact-copy .button { margin-top: 30px; }
.contact-map { position: relative; min-height: 330px; }
.map-line { position: absolute; top: 52%; right: 0; left: 0; height: 18px; border-top: 10px solid var(--orange); transform: rotate(-9deg); }
.map-line::after { position: absolute; top: -15px; right: 10%; width: 26px; height: 26px; content: ""; background: var(--yellow); border-radius: 50%; }
.map-point { position: absolute; width: 82px; height: 82px; border: 1px solid rgba(255, 254, 249, .55); border-radius: 50%; }
.map-point::after { position: absolute; top: 30px; left: 30px; width: 20px; height: 20px; content: ""; background: var(--yellow); border: 4px solid var(--navy); border-radius: 50%; }
.map-point-one { top: 14%; left: 12%; }
.map-point-two { top: 54%; left: 47%; }
.map-point-three { top: 24%; right: 7%; }

.consultation-fab { position: fixed; z-index: 30; top: 48%; right: 0; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 11px 15px 11px 13px; color: var(--paper); background: var(--orange); border: 0; border-radius: var(--radius) 0 0 var(--radius); box-shadow: 0 8px 24px rgba(7, 43, 77, .2); font-size: 13px; font-weight: 800; writing-mode: vertical-rl; transition: transform 180ms ease, background 180ms ease; }
.consultation-fab:hover { background: var(--orange-dark); transform: translateX(-4px); }
.consultation-fab .icon { width: 16px; height: 16px; }
.fab-orbit { display: block; width: 9px; height: 9px; border: 2px solid var(--yellow); border-radius: 50%; }
.mobile-consultation { display: none; }

.site-footer { padding: 70px 0 24px; }
.footer-main { display: grid; grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr); gap: 80px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer-brand img { width: min(230px, 100%); height: auto; }
.footer-brand p { margin: 20px 0 0; color: var(--yellow); font-size: 1.05rem; font-weight: 700; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-links h2 { margin: 0 0 14px; color: var(--yellow); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a { display: block; width: fit-content; min-height: 40px; padding: 4px 0; color: rgba(255, 254, 249, .74); font-size: .9rem; transition: color 160ms ease; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; color: rgba(255, 254, 249, .48); font-size: .75rem; }
.footer-bottom div { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--paper); }

.modal-layer { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; transition: visibility 200ms ease, opacity 200ms ease; }
.modal-layer.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7, 43, 77, .76); }
.consultation-modal { position: relative; width: min(560px, 100%); max-height: min(740px, calc(100dvh - 48px)); overflow-y: auto; padding: 32px; color: var(--ink); background: var(--paper); border: 1px solid rgba(255, 254, 249, .72); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .24); }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.modal-head h2 { margin: 0; color: var(--navy); font-size: 2.2rem; line-height: 1.15; }
.modal-head .eyebrow { margin-bottom: 10px; }
.modal-description { margin: 16px 0 26px; color: rgba(16, 35, 61, .7); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
form label { display: block; margin-top: 16px; color: var(--navy); font-size: .88rem; font-weight: 800; }
form label > span:first-of-type { margin-left: 3px; color: var(--orange); }
input, select, textarea { display: block; width: 100%; margin-top: 7px; padding: 11px 13px; color: var(--ink); background: var(--white); border: 1px solid rgba(7, 43, 77, .24); border-radius: 8px; outline: 0; transition: border-color 160ms ease, box-shadow 160ms ease; }
textarea { resize: vertical; min-height: 92px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244, 119, 33, .2); }
.field-error { display: block; min-height: 0; margin-top: 4px; color: var(--orange-dark); font-size: .76rem; font-weight: 600; line-height: 1.35; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--orange-dark); }
.checkbox-label { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 9px; font-weight: 600; }
.checkbox-label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.custom-checkbox { position: relative; display: block; width: 19px; height: 19px; margin-top: 2px; border: 1px solid var(--navy); border-radius: 4px; }
.checkbox-label input:focus-visible + .custom-checkbox { box-shadow: 0 0 0 3px rgba(244, 119, 33, .2); }
.checkbox-label input:checked + .custom-checkbox { background: var(--green); border-color: var(--green); }
.checkbox-label input:checked + .custom-checkbox::after { position: absolute; top: 2px; left: 5px; width: 5px; height: 10px; content: ""; border-right: 2px solid var(--paper); border-bottom: 2px solid var(--paper); transform: rotate(42deg); }
.checkbox-label > span:last-child { color: rgba(16, 35, 61, .76); font-size: .78rem; line-height: 1.45; }
.checkbox-label .field-error { font-size: .74rem; }
.demo-status { min-height: 26px; margin-top: 17px; color: var(--green-dark); font-size: .82rem; font-weight: 800; }
.button-submit { width: 100%; margin-top: 8px; }

/* Progressive enhancement: content remains readable when JavaScript is disabled. */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 120ms; }
.reveal-delay-1 { transition-delay: 90ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 230ms; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 1100px) {
  .nav-shell { width: min(100% - 40px, var(--content)); gap: 18px; }
  .desktop-nav { gap: 15px; }
  .desktop-nav a { font-size: 13px; }
  .brand-lockup { width: 150px; }
  .hero-inner { grid-template-columns: minmax(250px, .78fr) minmax(430px, 1.2fr); gap: 44px; }
  .content-width { width: min(var(--content), calc(100% - 40px)); }
}

@media (max-width: 900px) {
  :root { --nav-height: 74px; }
  .desktop-nav, .parent-login { display: none; }
  .menu-toggle { display: inline-grid; }
  .nav-actions { margin-left: auto; }
  .mobile-menu { position: fixed; inset: 0 0 auto 0; display: block; max-height: calc(100dvh - 16px); overflow-y: auto; padding: 26px 24px 30px; color: var(--paper); background: var(--navy); box-shadow: 0 24px 50px rgba(7, 43, 77, .3); transform: translateY(-110%); transition: transform 300ms var(--ease); }
  .mobile-menu.is-open { transform: translateY(0); }
  .mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line-light); color: var(--yellow); font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  .mobile-menu nav { display: grid; padding: 15px 0; }
  .mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 53px; border-bottom: 1px solid var(--line-light); font-size: 1.15rem; font-weight: 800; }
  .mobile-menu nav a .icon { color: var(--orange); }
  .mobile-login { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; color: var(--yellow); font-weight: 800; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .hero-copy { padding-bottom: 0; }
  .hero-art { width: min(720px, 100%); margin: 0 0 0 auto; transform: none; }
  .hero-edge { margin-top: 32px; }
  .trust-layout, .map-layout, .journey-layout, .tutor-layout, .story-layout, .story-brand-layout, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .map-layout, .journey-layout, .tutor-layout, .story-layout { margin-top: 48px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p { margin-top: 0; }
  .trust-grid { padding-top: 0; }
  .contact-map { min-height: 210px; }
  .footer-main { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 720px) {
  :root { --section-pad: 4.6rem; }
  .content-width { width: min(var(--content), calc(100% - 32px)); }
  .nav-shell { width: calc(100% - 32px); }
  .brand-lockup { width: 142px; }
  .nav-actions .button-small { display: none; }
  .hero { padding-top: calc(var(--nav-height) + 24px); padding-bottom: 40px; }
  .hero-inner { gap: 34px; }
  .hero h1 { font-size: clamp(2.7rem, 3.2rem, 4.1rem); }
  .hero-slogan { margin-top: 15px; font-size: 1.08rem; }
  .hero-description { max-width: 30ch; font-size: 1rem; }
  .hero-actions { gap: 17px; margin-top: 28px; }
  .hero-art-frame { border-radius: 14px; box-shadow: 10px 10px 0 rgba(244, 119, 33, .18); }
  .art-note { padding: 6px 8px; font-size: 9px; }
  .hero-edge { margin-top: 4px; font-size: 10px; }
  .section-intro h2, .section-heading h2, .assurance-heading h2, .brand-story-copy h2 { font-size: clamp(2.3rem, 2.9rem, 3.5rem); }
  .trust-grid { grid-template-columns: 1fr; gap: 26px; }
  .trust-item { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 16px 0; }
  .trust-item .round-icon { grid-row: span 2; margin: 0; }
  .trust-item h3 { align-self: end; }
  .trust-item p { align-self: start; margin-top: 4px; }
  .map-layout, .journey-layout, .tutor-layout, .story-layout { gap: 34px; }
  .map-art, .journey-art, .story-art, .brand-story-art { border-radius: 14px; }
  .stage-item { grid-template-columns: 40px minmax(0, 1fr) 42px; min-height: 128px; padding: 18px 0; }
  .stage-item-active { padding-left: 12px; }
  .stage-index { font-size: 1.35rem; }
  .stage-item h3 { font-size: 1.1rem; }
  .stage-item p { font-size: .9rem; }
  .journey-art { box-shadow: 10px 10px 0 rgba(255, 200, 87, .3); }
  .tutor-art { border-radius: 14px; }
  .tutor-caption { right: 10px; bottom: 10px; font-size: 9px; }
  .assurance-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .assurance-card, .assurance-card-feature, .assurance-card-wide { grid-column: auto; min-height: 0; padding: 24px 22px 28px; }
  .assurance-icon { margin-bottom: 22px; }
  .story-item { padding: 19px 0; }
  .brand-story-copy .text-link { margin-top: 22px; }
  .contact { min-height: 580px; padding-top: 5.7rem; }
  .contact-copy h2 { font-size: clamp(2.35rem, 2.85rem, 3.7rem); }
  .contact-map { min-height: 145px; }
  .map-point { width: 54px; height: 54px; }
  .map-point::after { top: 19px; left: 19px; width: 14px; height: 14px; border-width: 3px; }
  .map-line { height: 10px; border-top-width: 7px; }
  .map-line::after { top: -10px; width: 18px; height: 18px; }
  .consultation-fab { display: none; }
  .mobile-consultation { position: fixed; z-index: 35; right: 16px; bottom: 16px; left: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; color: var(--paper); background: var(--orange); border: 0; border-radius: var(--radius); box-shadow: 0 10px 28px rgba(7, 43, 77, .26); font-size: .95rem; font-weight: 900; }
  .footer-main { padding-bottom: 40px; }
  .footer-links { gap: 12px; }
  .footer-links a { min-height: 36px; font-size: .82rem; }
  .footer-bottom { display: grid; gap: 12px; padding-bottom: 66px; }
  .footer-bottom div { flex-wrap: wrap; gap: 7px 14px; }
  .consultation-modal { padding: 24px 18px; }
  .modal-head h2 { font-size: 1.8rem; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 375px) {
  .hero-edge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
