:root {
  --ink: #171b20;
  --muted: #68717d;
  --orange: #ff4d23;
  --red: #ed3326;
  --cream: #fff8f3;
  --line: #f5ded3;
  --shadow: 0 14px 38px rgba(87, 43, 18, 0.08);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.55;
  background: #fff;
}
img {
  display: block;
  max-width: 100%;
}
button,
input {
  font: inherit;
}
a {
  text-decoration: none;
  color: inherit;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  z-index: 100;
}
.wrap {
  width: min(1200px, calc(100% - 48px));
  margin: auto;
}
.header {
  height: 80px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 12px rgba(30, 20, 10, 0.06);
}
.header-row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  line-height: 1.1;
}
.brand-mark {
  width: 48px;
  height: 48px;
  display: block;
  flex: none;
}
.brand .brand-mark { filter: saturate(1.28) brightness(1.07); }
.brand strong {
  font-size: 17px;
  letter-spacing: 0.04em;
}
.brand small {
  display: block;
  color: #888;
  font-size: 9px;
  letter-spacing: 0.18em;
  margin-top: 4px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.nav a {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.nav a:hover {
  color: var(--red);
}
.header-phone {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  gap: 8px;
}
.header-phone small {
  color: #676767;
  font-size: 11px;
}
.header-phone strong {
  font-size: 18px;
  color: var(--red);
}
.menu-toggle {
  display: none;
}
.hero {
  min-height: 535px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 251, 245, 0.83),
      rgba(255, 250, 244, 0.18) 61%,
      rgba(0, 0, 0, 0.05)
    ),
    var(--home-hero-image, url(/assets/hero-v1.png)) center/cover no-repeat;
}
.hero-inner {
  min-height: 535px;
  display: flex;
  align-items: center;
}
.hero-copy {
  max-width: 570px;
  padding: 35px 0 55px;
}
.eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.38em;
  margin: 0 0 20px;
}
.hero h1 {
  font-size: clamp(57px, 6.8vw, 92px);
  line-height: 1.06;
  letter-spacing: -0.06em;
  margin: 0;
  font-weight: 950;
  color: #090909;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-sub {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 18px 0 26px;
}
.hero-tags {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 16px;
  font-weight: 700;
}
.hero-tags span:first-letter {
  color: var(--orange);
}
.actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(115deg, var(--red), var(--orange));
  color: #fff;
  padding: 13px 25px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 17px rgba(235, 72, 29, 0.16);
  text-align: center;
}
.button:hover {
  filter: brightness(0.95);
}
.online-consult[aria-disabled="true"] {
  opacity: 0.65;
  pointer-events: none;
}
.button-white {
  color: var(--orange);
  background: #fff;
  border: 1px solid var(--orange);
  box-shadow: none;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  padding: 26px 0;
}
.stats div {
  text-align: center;
  border-right: 1px solid #ece7e2;
}
.stats div:last-child {
  border: 0;
}
.stats strong {
  display: block;
  color: var(--orange);
  font-size: 35px;
  line-height: 1.1;
}
.stats strong small {
  font-size: 18px;
}
.stats span {
  font-size: 13px;
  color: #53606b;
  font-weight: 700;
}
.section {
  padding: 56px 0;
}
.section-tint {
  background: #fff7f1;
}
.home-hidden { display: none !important; }
.section-head {
  text-align: center;
  margin: 0 auto 28px;
}
.section-head > span {
  display: block;
  width: 58px;
  height: 5px;
  border-radius: 9px;
  background: var(--orange);
  margin: 0 auto 17px;
}
.section-head h2 {
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.25;
  margin: 0 0 9px;
  font-weight: 950;
  letter-spacing: -0.03em;
}
.section-head h2 em {
  font-style: normal;
  color: var(--orange);
}
.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}
.photo-card {
  overflow: hidden;
  background: linear-gradient(#fff, #fff9f4);
  border: 1px solid #f7e7d8;
  border-radius: 10px;
}
.photo-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}
.photo-card > div {
  padding: 14px 16px 20px;
  text-align: center;
  position: relative;
}
.photo-card b {
  position: absolute;
  left: 15px;
  top: 12px;
  color: var(--orange);
  font-size: 18px;
}
.photo-card h3 {
  font-size: 18px;
  margin: 0 0 7px;
}
.photo-card p {
  color: #68717d;
  font-size: 13px;
  margin: 0;
  line-height: 1.55;
}
.compare {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  align-items: center;
  max-width: 940px;
  margin: auto;
}
.compare-card {
  border-radius: 12px;
  border: 1px solid #e4e4e4;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.compare-card h3 {
  color: #fff;
  margin: 0;
  text-align: center;
  background: #656b70;
  padding: 11px;
  font-size: 22px;
}
.compare-card.arts h3 {
  background: linear-gradient(100deg, #ff7351, var(--orange));
}
.compare-card ol,
.compare-card ul {
  margin: 0;
  padding: 18px 35px 22px;
  list-style: none;
}
.compare-card li {
  font-size: 17px;
  font-weight: 700;
  padding: 5px 0;
}
.compare-card li:before {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #83898c;
  color: #fff;
  margin-right: 16px;
  content: counter(item);
  counter-increment: item;
  font-size: 15px;
}
.compare-card ol {
  counter-reset: item;
}
.compare-card ul li:before {
  content: "✓";
  background: var(--orange);
}
.compare-vs {
  text-align: center;
  color: var(--orange);
  font-size: 32px;
  font-weight: 900;
  font-style: italic;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature {
  border: 1px solid #ffb99e;
  border-radius: 12px;
  text-align: center;
  padding: 30px 22px 25px;
  background: linear-gradient(180deg, #fff, #fff9f5);
}
.feature i {
  width: 90px;
  height: 90px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 42px;
  font-style: normal;
}
.feature h3 {
  font-size: 24px;
  margin: 14px 0 5px;
}
.feature p {
  font-size: 15px;
  color: #65717a;
  margin: 0;
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.reason-grid > div {
  background: #fff5ee;
  border: 1px solid #ffddcd;
  border-radius: 10px;
  text-align: center;
  padding: 20px 9px;
}
.reason-grid b {
  color: var(--orange);
  font-size: 30px;
}
.reason-grid h3 {
  font-size: 16px;
  margin: 4px 0;
}
.reason-grid p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.loop-title {
  text-align: center;
  font-size: 27px;
  margin: 50px 0 24px;
}
.loop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}
.loop span {
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  width: 74px;
  height: 74px;
  font-size: 25px;
  font-weight: 900;
}
.loop b {
  color: var(--orange);
  font-size: 28px;
  font-weight: 400;
}
.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.class-card {
  overflow: hidden;
  border: 1px solid #ffdecb;
  border-radius: 13px;
  background: #fff9f5;
}
.class-card.featured {
  border: 2px solid var(--orange);
  background: #fff;
}
.class-card img {
  height: 206px;
  width: 100%;
  object-fit: cover;
}
.class-body {
  padding: 15px 22px 20px;
  text-align: center;
}
.class-body h3 {
  font-size: 28px;
  margin: 0 0 4px;
}
.class-body strong {
  color: var(--orange);
  font-size: 16px;
}
.class-body p {
  margin: 10px 0;
  color: #68717d;
  font-size: 14px;
  min-height: 42px;
}
.class-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  text-align: left;
}
.class-body li {
  padding: 7px 12px;
  margin-bottom: 6px;
  background: #fff;
  border-radius: 10px;
  font-size: 14px;
}
.class-body li:before {
  content: "✓";
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  margin-right: 10px;
  padding: 1px 4px;
}
.class-body .button {
  display: flex;
  width: max-content;
  margin-inline: auto;
  border-radius: 40px;
  padding: 9px 14px;
}
.inline-cta {
  max-width: 1100px;
  margin: 29px auto 0;
  padding: 28px 40px;
  background: linear-gradient(110deg, #fff7ee, #ffe1c8);
  border: 1px solid #ffc7a7;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.inline-cta h3 {
  font-size: 26px;
  margin: 0;
}
.inline-cta p {
  margin: 4px 0 0;
  color: var(--muted);
}
.carousel-shell {
  display: flex;
  align-items: center;
  gap: 18px;
}
.arrow {
  flex: none;
  border: 1px solid #ffad8c;
  background: #fff;
  color: var(--orange);
  font-size: 34px;
  line-height: 1;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.scroller {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
}
.scroller::-webkit-scrollbar {
  display: none;
}
.teacher-card {
  flex: 0 0 calc((100% - 48px) / 4);
  text-align: center;
  scroll-snap-align: start;
}
.portrait {
  height: 255px;
  border-radius: 12px;
  background-image: url(/assets/teacher-placeholders.png);
  background-repeat: no-repeat;
  background-size: 400% 100%;
  background-color: #eee;
}
.portrait-one {
  background-position: 0 0;
}
.portrait-two {
  background-position: 33.333% 0;
}
.portrait-three {
  background-position: 66.666% 0;
}
.portrait-four {
  background-position: 100% 0;
}
.teacher-card h3 {
  font-size: 21px;
  margin: 9px 0 0;
}
.teacher-card strong {
  display: block;
  color: var(--orange);
  font-size: 14px;
  margin: 2px 0;
}
.teacher-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.steps > div {
  position: relative;
  text-align: center;
  padding: 15px 8px;
  background: #fff8f4;
  border-radius: 12px;
}
.steps b {
  color: var(--orange);
  position: absolute;
  left: 10px;
  top: 6px;
}
.steps i {
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 30px;
  font-style: normal;
  margin: 12px auto;
}
.steps h3 {
  margin: 4px 0;
  font-size: 17px;
}
.steps p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.day-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.day-grid article {
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.day-grid article > div {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 9px;
}
.day-grid time {
  background: var(--orange);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 800;
}
.day-grid h3 {
  margin: 0;
  font-size: 20px;
}
.day-grid img {
  height: 175px;
  width: 100%;
  object-fit: cover;
  border-radius: 9px;
}
.day-grid p {
  color: #596574;
  text-align: center;
  font-size: 14px;
  margin: 9px 0 4px;
}
.campus-track article {
  flex: 0 0 calc((100% - 48px) / 4);
  scroll-snap-align: start;
  text-align: center;
  background: #fff9f4;
  border-radius: 10px;
  overflow: hidden;
  padding-bottom: 15px;
}
.campus-track img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}
.campus-track h3 {
  font-size: 18px;
  margin: 10px 0 0;
}
.campus-track p {
  color: var(--muted);
  font-size: 13px;
  margin: 2px 0;
}
.graduate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.graduate-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 9px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.faq-grid article {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff9f5;
  border-radius: 13px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
}
.faq-grid b {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
}
.faq-grid h3 {
  font-size: 17px;
  margin: 0 0 6px;
}
.faq-grid p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.faq-more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 15px 30px;
  border-radius: 13px;
  background: #fff0e7;
}
.faq-more h3 {
  font-size: 20px;
  margin: 0;
}
.faq-more p {
  margin: 2px 0;
  color: var(--muted);
  font-size: 14px;
}
.final-section {
  padding: 40px 0;
  background: linear-gradient(105deg, #ee382d, #ff652e 70%, #ffb240);
  color: #fff;
}
.final-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  align-items: center;
  gap: 70px;
}
.final-grid h2 {
  font-size: 40px;
  line-height: 1.23;
  margin: 0;
}
.final-grid p {
  font-size: 17px;
}
.final-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid #ffffff6b;
  padding-top: 20px;
  font-size: 13px;
}
.contact-form {
  background: #fff;
  color: var(--ink);
  padding: 26px;
  border-radius: 15px;
  width: 100%;
  max-width: 390px;
  justify-self: center;
}
.contact-form h3 {
  font-size: 23px;
  margin: 0;
  text-align: center;
}
.contact-form p {
  color: var(--muted);
  font-size: 14px;
  margin: 5px 0 17px;
  text-align: center;
}
.contact-form label {
  font-size: 13px;
  font-weight: 700;
}
.contact-form input {
  display: block;
  width: 100%;
  border: 1px solid #d8dee3;
  border-radius: 9px;
  padding: 12px;
  margin: 5px 0 12px;
}
.contact-form button {
  width: 100%;
}
.contact-form small {
  display: block;
  text-align: center;
  color: #89919a;
  font-size: 11px;
  margin-top: 12px;
}
.form-state {
  font-size: 12px;
  color: #ad321c;
  margin-top: 9px;
}
.footer {
  background: #23201e;
  color: #ccc;
  padding: 20px 0;
  font-size: 12px;
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
}
.mobile-actions {
  display: none;
}
@media (max-width: 1100px) {
  .nav {
    gap: 11px;
  }
  .nav a {
    font-size: 11px;
  }
  .header-phone small {
    display: none;
  }
  .header-phone strong {
    font-size: 14px;
  }
  .wrap {
    width: min(100% - 32px, 1200px);
  }
}
@media (max-width: 780px) {
  .header {
    height: 64px;
  }
  .brand strong {
    font-size: 15px;
  }
  .header-phone {
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    order: 3;
    width: 37px;
    height: 35px;
    background: #fff7f3;
    border: 0;
    border-radius: 8px;
    padding: 9px;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    height: 2px;
    background: var(--red);
  }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 20px 18px;
    background: rgba(22, 33, 43, .86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 36px #0b162766;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .nav.open {
    display: grid;
  }
  .nav a {
    font-size: 14px;
    padding: 11px;
    color: #fff;
    border-bottom: 1px solid #ffffff26;
  }
  .nav a:hover { color: #ffd2c2; }
  .hero,
  .hero-inner {
    min-height: 650px;
  }
  .hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(255, 249, 241, 0.95) 0%,
        rgba(255, 249, 241, 0.78) 42%,
        rgba(255, 248, 240, 0.1) 86%
      ),
      var(--home-hero-image, url(/assets/hero-v1.png));
    background-position: 66% center;
  }
  .hero-inner {
    align-items: flex-start;
  }
  .hero-copy {
    padding-top: 50px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
    margin-top: -25px;
  }
  .stats div:nth-child(2) {
    border: 0;
  }
  .section {
    padding: 42px 0;
  }
  .challenge-grid,
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .compare {
    grid-template-columns: 1fr 60px 1fr;
  }
  .reason-grid,
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .class-grid,
  .day-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .teacher-card,
  .campus-track article {
    flex-basis: calc((100% - 16px) / 2);
  }
  .final-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .graduate-grid img {
    height: 180px;
  }
  .mobile-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    z-index: 40;
    left: 10px;
    right: 10px;
    bottom: 9px;
    background: #e53522;
    border-radius: 15px;
    box-shadow: 0 8px 26px #0003;
    overflow: hidden;
  }
  .mobile-actions a {
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 11px 5px;
    border-right: 1px solid #ffffff50;
  }
  .mobile-actions a:last-child {
    border: 0;
  }
}
@media (max-width: 520px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .brand-mark {
    width: 42px;
    height: 42px;
  }
  .brand strong {
    font-size: 13px;
  }
  .brand small {
    font-size: 8px;
  }
  .header-phone strong {
    font-size: 12px;
  }
  .hero,
  .hero-inner {
    min-height: 620px;
  }
  .hero {
    background-position: 63% center;
  }
  .hero-copy {
    padding-top: 35px;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.17em;
  }
  .hero h1 {
    font-size: 50px;
  }
  .hero-sub {
    font-size: 15px;
    margin: 14px 0;
  }
  .hero-tags {
    gap: 10px;
    font-size: 12px;
  }
  .actions {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 23px;
  }
  .button {
    padding: 11px 16px;
    font-size: 13px;
  }
  .stats {
    padding: 18px 4px;
  }
  .stats strong {
    font-size: 25px;
  }
  .stats strong small {
    font-size: 12px;
  }
  .stats span {
    font-size: 10px;
  }
  .section-head {
    margin-bottom: 24px;
  }
  .section-head h2 {
    font-size: 26px;
  }
  .section-head p {
    font-size: 13px;
  }
  .challenge-grid {
    gap: 10px;
  }
  .photo-card img {
    height: 112px;
  }
  .photo-card > div {
    padding: 10px;
  }
  .photo-card b {
    position: static;
    font-size: 13px;
  }
  .photo-card h3 {
    font-size: 15px;
  }
  .photo-card p {
    font-size: 11px;
  }
  .compare {
    display: block;
  }
  .compare-vs {
    padding: 7px;
  }
  .compare-card li {
    font-size: 13px;
  }
  .method-grid {
    gap: 9px;
  }
  .feature {
    padding: 17px 10px;
  }
  .feature i {
    width: 52px;
    height: 52px;
    font-size: 25px;
  }
  .feature h3 {
    font-size: 18px;
  }
  .feature p {
    font-size: 11px;
  }
  .reason-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .reason-grid h3,
  .steps h3 {
    font-size: 14px;
  }
  .loop-title {
    font-size: 20px;
    margin: 35px 0 18px;
  }
  .loop {
    gap: 5px;
  }
  .loop span {
    width: 46px;
    height: 46px;
    font-size: 14px;
  }
  .loop b {
    font-size: 14px;
  }
  .class-grid,
  .day-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .class-card img {
    height: 180px;
  }
  .inline-cta,
  .faq-more {
    padding: 20px;
    display: block;
  }
  .inline-cta h3 {
    font-size: 20px;
  }
  .inline-cta .button,
  .faq-more .button {
    margin-top: 14px;
  }
  .teacher-card,
  .campus-track article {
    flex-basis: 77%;
  }
  .portrait {
    height: 250px;
  }
  .arrow {
    width: 29px;
    height: 29px;
    font-size: 24px;
  }
  .carousel-shell {
    gap: 5px;
  }
  .day-grid img {
    height: 175px;
  }
  .graduate-grid {
    gap: 6px;
  }
  .graduate-grid img {
    height: 115px;
  }
  .faq-grid article {
    padding: 15px;
  }
  .faq-grid h3 {
    font-size: 15px;
  }
  .faq-grid p {
    font-size: 12px;
  }
  .final-grid h2 {
    font-size: 30px;
  }
  .final-tags {
    gap: 10px;
  }
  .footer .wrap {
    display: block;
  }
  .footer span {
    display: block;
  }
}

/* Consultation is a separate card so the hero can reflow on narrow screens. */
.hero-inner {
  justify-content: space-between;
  gap: 28px;
}
.hero-copy {
  flex: 0 1 570px;
}
.hero-form {
  flex: 0 0 342px;
  padding: 23px 25px 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 48px rgba(70, 38, 24, 0.22);
  backdrop-filter: blur(12px);
}
.hero-form .form-kicker {
  margin: 0 0 5px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
}
.hero-form h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}
.hero-form .form-intro {
  margin: 5px 0 13px;
  color: var(--muted);
  font-size: 12px;
}
.hero-form label {
  display: block;
  margin: 8px 0 4px;
  font-size: 12px;
  font-weight: 800;
}
.hero-form input,
.hero-form select {
  display: block;
  width: 100%;
  height: 38px;
  padding: 6px 10px;
  border: 1px solid #d8dde4;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}
.hero-form .button {
  width: 100%;
  margin-top: 14px;
  padding: 10px 14px;
}
.hero-form small {
  display: block;
  color: #a55242;
  font-size: 10px;
  margin-top: 8px;
  text-align: center;
}
.stats strong {
  font-size: 23px;
  line-height: 1.3;
}
.stats span {
  display: block;
  padding: 0 6px;
  font-size: 12px;
}
.loop-heading {
  margin: 46px auto 24px;
  text-align: center;
}
.loop-heading-line {
  display: block;
  width: 58px;
  height: 5px;
  margin: 0 auto 15px;
  border-radius: 9px;
  background: var(--orange);
}
.loop-heading h3 {
  margin: 0;
  font-size: 28px;
}
.loop-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.learning-loop {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.learning-loop article {
  position: relative;
  min-height: 205px;
  padding: 18px 16px 20px;
  border: 1px solid #ffdfcf;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(101, 54, 32, 0.06);
}
.learning-loop article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 42%;
  right: -19px;
  z-index: 2;
  color: var(--orange);
  font-size: 22px;
  font-weight: 800;
}
.learning-loop article > span {
  display: block;
  color: #ffc3ae;
  font-size: 18px;
  font-weight: 900;
}
.learning-loop article > b {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  margin: 7px 0 11px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  font-size: 21px;
}
.learning-loop h4 {
  margin: 0 0 5px;
  font-size: 17px;
}
.learning-loop p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.teacher-card {
  overflow: hidden;
  border: 1px solid #f2dfd6;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(79, 43, 24, 0.08);
}
.teacher-card .portrait {
  height: 245px;
  border-radius: 0;
}
.teacher-copy {
  min-height: 134px;
  padding: 12px 10px 18px;
}
.teacher-copy h3 {
  margin: 0 0 3px;
}
@media (max-width: 1100px) {
  .hero-copy {
    flex-basis: 510px;
  }
  .hero-form {
    flex-basis: 320px;
  }
}
@media (max-width: 780px) {
  .hero {
    min-height: 0;
    background-color: #fff8f3;
    background-size: auto 650px;
    background-position: 62% top;
  }
  .hero-inner {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 34px;
  }
  .hero-copy {
    flex: none;
    max-width: 100%;
    padding-bottom: 0;
  }
  .hero-form {
    flex: none;
    width: min(100%, 410px);
    margin: 150px auto 0;
  }
  .learning-loop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .learning-loop article:not(:last-child)::after {
    display: none;
  }
}
@media (max-width: 520px) {
  .hero {
    background-image: linear-gradient(90deg, rgba(255, 251, 245, .78), rgba(255, 250, 244, .2) 65%), var(--home-hero-image, url(/assets/hero-v1.png));
    background-size: 100% 465px, auto 465px;
    background-position: center top, 72% top;
    background-repeat: no-repeat;
  }
  .hero-form {
    margin-top: 25px;
    padding: 20px;
  }
  .stats strong {
    font-size: 17px;
  }
  .stats span {
    font-size: 10px;
  }
  .learning-loop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .learning-loop article {
    min-height: 195px;
    padding: 13px;
  }
  .learning-loop article:last-child {
    grid-column: 1 / -1;
    min-height: auto;
  }
  .loop-heading h3 {
    font-size: 22px;
  }
  .loop-heading p {
    font-size: 12px;
  }
}

/* Compact the desktop hero form so it stays centered within the banner. */
@media (min-width: 781px) {
  .hero-form {
    padding: 16px 22px 15px;
  }
  .hero-form .form-intro {
    margin-bottom: 8px;
  }
  .hero-form label {
    margin: 5px 0 3px;
  }
  .hero-form input,
  .hero-form select {
    height: 34px;
  }
  .hero-form .button {
    margin-top: 10px;
    padding: 8px 12px;
  }
  .hero-form small {
    margin-top: 5px;
  }
}
.inline-cta {
  width: 100%;
  max-width: none;
  margin: 32px 0 -56px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(105deg, #f0442d, #ff7635);
  color: #fff;
}
.inline-cta-inner {
  min-height: 142px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.inline-cta p {
  color: #fff;
}
.inline-cta .button {
  flex: none;
  background: #fff;
  color: #e83a27;
  box-shadow: none;
}
#teachers .teacher-card {
  flex-basis: calc((100% - 32px) / 3);
}
.promise-copy h2 {
  font-size: clamp(32px, 4vw, 52px);
}
.promise-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.promise-list li {
  padding: 12px 16px;
  border-left: 5px solid #fff;
  border-radius: 6px;
  background: #ffffff24;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 800;
  line-height: 1.5;
}
.consult-dialog {
  position: fixed;
  inset: 0;
  width: min(420px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: auto;
  box-shadow: 0 24px 80px #24140d70;
  z-index: 61;
  display: none;
}
.consult-dialog[open] {
  display: block;
}
.dialog-overlay:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #160b08a6;
}
body.dialog-open {
  overflow: hidden;
}
.consult-dialog::backdrop {
  background: #160b08a6;
}
.consult-dialog .hero-form {
  width: 100%;
  border: 0;
  border-radius: 18px;
  box-shadow: none;
}
.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f5e9e3;
  color: #54342c;
  font-size: 23px;
  cursor: pointer;
}
.mobile-actions button {
  border: 0;
  border-right: 1px solid #ffffff50;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  padding: 11px 5px;
}
.mobile-actions button:last-child { border-right: 0; }
@media (max-width: 780px) {
  .inline-cta {
    margin-bottom: -42px;
  }
  .inline-cta-inner {
    padding-block: 24px;
  }
  #teachers .teacher-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}
@media (max-width: 520px) {
  .inline-cta-inner {
    display: block;
    text-align: center;
  }
  .inline-cta h3 {
    font-size: 23px;
  }
  .inline-cta .button {
    display: flex;
    width: max-content;
    margin-top: 18px;
    margin-inline: auto;
  }
  .faq-more { text-align: center; }
  .faq-more .button { display: flex; width: max-content; margin-inline: auto; }
  #teachers .teacher-card {
    flex-basis: 77%;
  }
  .consult-dialog .hero-form {
    margin: 0;
  }
  .promise-list li {
    font-size: 17px;
  }
}
section[id] {
  scroll-margin-top: 90px;
}
.scroller {
  flex: 1;
  min-width: 0;
}
.preview-notice {
  padding: 9px 11px;
  border-radius: 7px;
  background: #fff0e9;
  color: #ad321c !important;
  font-size: 12px !important;
  font-weight: 700;
}
.arrow[hidden] {
  display: none;
}
.site-footer {
  padding: 0;
  color: #c7ced8;
  background: #16212b;
  font-size: 14px;
}
.site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(340px, 1.55fr) minmax(200px, .8fr);
  gap: clamp(24px, 4vw, 65px);
  padding: 58px 0 46px;
}
.footer-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 23px; }
.footer-logo .brand-mark { width: 54px; height: 54px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 280px; margin: 20px 0 14px; line-height: 1.9; }
.footer-brand small { color: #8d9aa7; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.site-footer h2 { margin: 4px 0 17px; color: #fff; font-size: 16px; }
.footer-links a { display: block; width: fit-content; margin: 0 0 11px; color: #c7ced8; }
.footer-links a:hover, .footer-contact a:hover { color: #ffb390; }
.footer-contact > a { color: #ff6745; font-size: 25px; font-weight: 900; white-space: nowrap; }
.footer-contact p { margin: 12px 0 0; line-height: 1.7; }
.site-footer .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 22px; border-top: 1px solid #ffffff21; color: #98a4b1; font-size: 12px; }
.site-footer .footer-bottom a { color: #aeb8c3; }
.site-footer .footer-bottom a[hidden] { display: none; }
@media (max-width: 1000px) {
  .site-footer .footer-main { grid-template-columns: 1fr 1.4fr; }
  .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .site-footer .footer-main { display: block; padding: 42px 0 28px; }
  .footer-brand p { margin: 14px 0 6px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 32px; }
  .footer-contact { margin-top: 24px; padding-top: 24px; border-top: 1px solid #ffffff21; }
  .site-footer .footer-bottom { display: block; padding-bottom: 80px; }
  .site-footer .footer-bottom > * { display: block; margin-top: 8px; }
}
@media (max-width: 1100px) {
  .wrap {
    width: min(1200px, calc(100% - 32px));
  }
}
@media (max-width: 780px) {
  section[id] {
    scroll-margin-top: 75px;
  }
}
@media (max-width: 520px) {
  .wrap {
    width: calc(100% - 28px);
  }
}

