:root {
  --lacquer: #74292d;
  --lacquer-deep: #511b20;
  --lacquer-bright: #963a3e;
  --gold: #e9cc79;
  --gold-deep: #c99c4b;
  --paper: #f7f2e9;
  --paper-warm: #fff9ee;
  --white: #ffffff;
  --charcoal: #292724;
  --charcoal-soft: #3b3834;
  --sage: #65705c;
  --text: #322d2a;
  --muted: #766d67;
  --line: #d9cec0;
  --line-dark: rgba(255, 255, 255, 0.2);
  --font-ui: "DIN", "DIN Alternate", "PingFang SC", "PingFang", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

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

.skip-link {
  position: fixed;
  top: -56px;
  left: 18px;
  z-index: 50;
  padding: 10px 14px;
  color: var(--white);
  background: var(--lacquer-deep);
  border-radius: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 249, 238, 0.98);
  border-bottom: 1px solid rgba(81, 27, 32, 0.13);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.brand-logo {
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name { display: grid; min-width: 0; gap: 1px; }
.brand-name strong { font-size: 16px; font-weight: 600; line-height: 22px; }
.brand-name small { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 17px; }

.site-nav { display: flex; align-items: center; gap: 27px; font-size: 14px; font-weight: 500; }
.site-nav a { position: relative; padding: 27px 0 25px; }
.site-nav a::after { position: absolute; right: 0; bottom: 19px; left: 0; height: 2px; content: ""; background: var(--lacquer); opacity: 0; transform: scaleX(0.4); transition: opacity 160ms ease, transform 160ms ease; }
.site-nav a:hover::after, .site-nav a.is-active::after { opacity: 1; transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--paper-warm);
  background: var(--lacquer);
  border: 0;
  border-radius: 4px;
}

.menu-toggle svg { width: 20px; height: 20px; }
.menu-symbol { font-size: 21px; font-weight: 500; line-height: 1; }
.icons-ready .menu-symbol { display: none; }

.hero {
  position: relative;
  min-height: 668px;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: rgba(31, 25, 23, 0.47); }

.hero-inner {
  position: relative;
  display: flex;
  min-height: 668px;
  padding-top: 92px;
  padding-bottom: 39px;
  flex-direction: column;
  align-items: flex-start;
}

.hero-copy { max-width: 650px; }
.hero h1 {
  margin-bottom: 22px;
  font-size: 58px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-intro { max-width: 510px; margin-bottom: 30px; color: rgba(255, 255, 255, 0.88); font-size: 16px; line-height: 27px; }

.hero-link {
  display: inline-flex;
  min-height: 46px;
  padding: 0 18px;
  align-items: center;
  gap: 9px;
  color: var(--lacquer-deep);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.hero-link:hover { background: #f2dc9d; border-color: #f2dc9d; }
.hero-link svg { width: 17px; height: 17px; }

.section-label { margin: 0; color: var(--lacquer); font-size: 12px; font-weight: 600; line-height: 18px; }
.section-label-light { color: var(--gold); }

.about-section { padding: 104px 0 88px; background: var(--paper-warm); }
.about-layout { display: grid; grid-template-columns: 150px minmax(300px, 1fr) minmax(340px, 0.95fr); gap: 54px; align-items: start; }
.about-main h2, .section-heading h2, .approach-heading h2, .classroom-copy h2 {
  margin-bottom: 0;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
}
.about-copy { padding-top: 34px; }
.about-copy .lead { margin-bottom: 20px; color: var(--lacquer-deep); font-size: 18px; font-weight: 500; line-height: 30px; }
.about-copy > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 24px; }

.principle-strip { display: grid; margin-top: 75px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-strip > div { display: grid; min-height: 112px; padding: 23px 30px; grid-template-columns: auto 1fr; column-gap: 18px; align-content: center; border-left: 1px solid var(--line); }
.principle-strip > div:first-child { padding-left: 0; border-left: 0; }
.principle-strip strong { color: var(--lacquer-deep); font-size: 20px; font-weight: 600; line-height: 28px; }
.principle-strip p { margin: 3px 0 0; color: var(--muted); font-size: 14px; line-height: 22px; }

.services-section { padding: 105px 0 112px; background: var(--paper); }
.section-heading { display: grid; margin-bottom: 56px; grid-template-columns: 150px minmax(340px, 1fr) minmax(280px, 0.7fr); gap: 54px; align-items: end; }
.heading-note { max-width: 400px; margin-bottom: 5px; color: var(--muted); font-size: 14px; line-height: 24px; }

.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; min-height: 130px; grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr); gap: 52px; align-items: center; border-bottom: 1px solid var(--line); transition: background-color 160ms ease; }
.service-row:hover { background: rgba(255, 249, 238, 0.72); }
.service-title { display: flex; align-items: center; gap: 17px; }
.service-title svg { width: 25px; height: 25px; color: var(--lacquer); stroke-width: 1.7; }
.service-title h3 { margin: 0; font-size: 20px; font-weight: 600; line-height: 28px; }
.service-row > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; line-height: 23px; }

.approach-section { padding: 105px 0 110px; color: var(--white); background: var(--charcoal); }
.approach-heading { display: grid; grid-template-columns: 150px minmax(360px, 1fr); gap: 54px; }
.approach-heading h2 { max-width: 680px; }
.approach-steps { position: relative; display: grid; margin-top: 74px; padding: 0; grid-template-columns: repeat(3, 1fr); gap: 64px; list-style: none; }
.approach-steps::before { position: absolute; top: 44px; right: 0; left: 0; height: 1px; content: ""; background: var(--line-dark); }
.approach-steps li { position: relative; padding-top: 84px; }
.step-index { position: absolute; top: 0; left: 0; color: var(--gold); font-size: 12px; font-weight: 600; }
.step-icon { position: absolute; top: 25px; left: 0; z-index: 1; display: grid; width: 40px; height: 40px; place-items: center; color: var(--gold); background: var(--charcoal); border: 1px solid rgba(233, 204, 121, 0.6); border-radius: 50%; }
.step-icon svg { width: 19px; height: 19px; stroke-width: 1.7; }
.approach-steps h3 { margin-bottom: 10px; font-size: 18px; font-weight: 600; line-height: 25px; }
.approach-steps p { max-width: 320px; margin-bottom: 0; color: rgba(255, 255, 255, 0.66); font-size: 14px; line-height: 23px; }

.classroom-section { display: grid; min-height: 660px; grid-template-columns: minmax(0, 1.05fr) minmax(460px, 0.95fr); background: var(--paper-warm); }
.classroom-media { position: relative; min-height: 660px; overflow: hidden; }
.classroom-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.classroom-copy { display: flex; max-width: 620px; padding: 82px 70px; flex-direction: column; justify-content: center; }
.classroom-copy .section-label { margin-bottom: 28px; }
.classroom-copy h2 { margin-bottom: 24px; }
.classroom-intro { max-width: 470px; margin-bottom: 30px; color: var(--muted); font-size: 16px; line-height: 27px; }
.topic-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.topic-list li { display: grid; padding: 16px 0; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.topic-list span { color: var(--lacquer); font-size: 12px; font-weight: 600; }
.topic-list strong { font-size: 14px; font-weight: 500; line-height: 21px; }

.notice-section { padding: 54px 0; background: #e4e8de; border-top: 1px solid #ccd2c4; border-bottom: 1px solid #ccd2c4; }
.notice-layout { display: grid; grid-template-columns: minmax(340px, 0.85fr) minmax(420px, 1.15fr); gap: 80px; align-items: center; }
.notice-heading { display: flex; align-items: center; gap: 18px; }
.notice-heading > svg { width: 40px; height: 40px; color: var(--sage); stroke-width: 1.5; }
.notice-heading p { margin-bottom: 3px; color: var(--sage); font-size: 12px; font-weight: 500; line-height: 17px; }
.notice-heading h2 { margin-bottom: 0; font-size: 22px; font-weight: 600; line-height: 30px; }
.notice-layout > p { margin-bottom: 0; color: #52584e; font-size: 14px; line-height: 24px; }

.faq-section { padding: 96px 0 104px; background: var(--paper-warm); }
.faq-heading { display: grid; margin-bottom: 48px; grid-template-columns: 150px minmax(420px, 1fr); gap: 54px; align-items: start; }
.faq-heading h2 { margin-bottom: 13px; font-size: 32px; font-weight: 600; line-height: 1.3; }
.faq-heading > div > p { max-width: 560px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 23px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; min-height: 74px; padding: 20px 0; grid-template-columns: 1fr 24px; gap: 24px; align-items: center; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 16px; font-weight: 500; line-height: 24px; }
.faq-list summary svg { width: 20px; height: 20px; color: var(--lacquer); transition: transform 160ms ease; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details > p { max-width: 830px; margin: -4px 48px 22px 0; color: var(--muted); font-size: 14px; line-height: 24px; }

.closing-section { padding: 82px 0; color: var(--paper-warm); background: var(--lacquer); }
.closing-layout { display: grid; grid-template-columns: 180px minmax(420px, 1fr); gap: 48px; align-items: center; }
.closing-layout > p { margin: 0; color: var(--gold); font-size: 14px; font-weight: 500; }
.closing-layout h2 { max-width: 760px; margin: 0; font-size: 32px; font-weight: 600; line-height: 1.3; }

.site-footer { color: var(--paper-warm); background: var(--lacquer-deep); }
.footer-main { display: flex; padding: 42px 0 35px; align-items: center; justify-content: space-between; gap: 36px; }
.footer-brand { display: flex; min-width: 0; align-items: center; gap: 12px; }
.footer-brand img { width: 42px; height: 42px; padding: 3px; flex: 0 0 auto; object-fit: contain; background: var(--paper-warm); border-radius: 50%; }
.footer-brand strong { display: block; font-size: 16px; font-weight: 600; line-height: 22px; }
.footer-brand p { margin: 2px 0 0; color: rgba(255, 249, 238, 0.62); font-size: 12px; line-height: 17px; }
.footer-nav { display: flex; gap: 26px; color: var(--gold); font-size: 14px; font-weight: 500; }
.footer-nav a:hover { color: var(--paper-warm); }
.footer-bottom { display: flex; padding: 20px 0 24px; justify-content: space-between; gap: 28px; color: rgba(255, 249, 238, 0.55); border-top: 1px solid rgba(233, 204, 121, 0.25); font-size: 12px; line-height: 17px; }
.footer-bottom p { margin: 0; }

@media (max-width: 1020px) {
  .shell { width: min(100% - 48px, 1200px); }
  .site-nav { gap: 17px; }
  .brand-name small { display: none; }
  .about-layout, .section-heading { grid-template-columns: 110px minmax(280px, 0.9fr) minmax(300px, 1fr); gap: 34px; }
  .service-row { grid-template-columns: minmax(220px, 0.75fr) minmax(280px, 1fr); gap: 34px; }
  .approach-heading { grid-template-columns: 110px 1fr; gap: 34px; }
  .classroom-section { grid-template-columns: 1fr 1fr; }
  .classroom-copy { padding: 68px 48px; }
}

@media (max-width: 900px) {
  .shell { width: min(100% - 36px, 1200px); }
  .header-inner { position: relative; min-height: 68px; padding-right: 52px; }
  .brand-logo { width: 37px; height: 37px; }
  .brand-name { max-width: calc(100vw - 132px); }
  .brand-name strong { overflow: hidden; font-size: 14px; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
  .brand-name small { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
  .menu-toggle { position: absolute; top: 13px; right: 0; z-index: 2; display: grid; }
  .site-nav { position: absolute; top: 68px; right: -18px; left: -18px; display: none; max-height: calc(100vh - 68px); padding: 10px 18px 16px; overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper-warm); border-bottom: 1px solid var(--line); box-shadow: 0 14px 28px rgba(41, 39, 36, 0.12); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }

  .hero, .hero-inner { min-height: 650px; }
  .hero-image { object-position: 54% center; }
  .hero-shade { background: rgba(31, 25, 23, 0.59); }
  .hero-inner { padding-top: 74px; padding-bottom: 32px; }
  .hero-copy { max-width: 520px; }
  .hero h1 { font-size: 45px; line-height: 1.13; }

  .about-section, .services-section, .approach-section { padding-top: 78px; padding-bottom: 78px; }
  .about-layout, .section-heading, .approach-heading { grid-template-columns: 1fr; gap: 30px; }
  .about-copy { padding-top: 0; }
  .principle-strip { margin-top: 58px; }
  .principle-strip > div { min-height: 148px; padding: 23px 18px; grid-template-columns: 1fr; }
  .principle-strip > div:first-child { padding-left: 0; }
  .principle-strip p { margin-top: 6px; }

  .section-heading { margin-bottom: 42px; }
  .heading-note { margin-bottom: 0; }
  .service-row { min-height: 0; padding: 25px 0; grid-template-columns: minmax(190px, 0.75fr) 1fr; gap: 24px; }

  .approach-steps { margin-top: 55px; gap: 34px; }
  .classroom-section { min-height: 0; grid-template-columns: 1fr; }
  .classroom-media { min-height: 0; aspect-ratio: 16 / 10; }
  .classroom-copy { max-width: none; padding: 72px 48px 76px; }
  .classroom-copy .section-label { margin-bottom: 24px; }
  .notice-layout { grid-template-columns: 1fr; gap: 25px; }
  .faq-heading { grid-template-columns: 1fr; gap: 24px; }
  .closing-layout { grid-template-columns: 150px 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 32px, 1200px); }
  .header-inner { min-height: 64px; }
  .site-nav { top: 64px; right: -16px; left: -16px; }
  .menu-toggle { top: 11px; }

  .hero, .hero-inner { min-height: 646px; }
  .hero-image { object-position: 52% center; }
  .hero-inner { padding-top: 65px; padding-bottom: 29px; }
  .hero h1 { margin-bottom: 18px; font-size: 38px; line-height: 1.14; }
  .hero-intro { max-width: 340px; margin-bottom: 25px; font-size: 15px; line-height: 25px; }
  .hero-link { min-height: 44px; font-size: 16px; }

  .about-section, .services-section, .approach-section { padding-top: 66px; padding-bottom: 68px; }
  .about-layout, .section-heading, .approach-heading { gap: 25px; }
  .about-main h2, .section-heading h2, .approach-heading h2, .classroom-copy h2 { font-size: 30px; line-height: 1.24; }
  .about-copy .lead { font-size: 17px; line-height: 28px; }
  .principle-strip { margin-top: 46px; grid-template-columns: 1fr; }
  .principle-strip > div { min-height: 0; padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .principle-strip > div:first-child { border-top: 0; }

  .section-heading { margin-bottom: 35px; }
  .service-row { padding: 23px 0; grid-template-columns: 1fr; gap: 9px; }
  .service-title { gap: 12px; }
  .service-title svg { width: 22px; height: 22px; }
  .service-title h3 { font-size: 18px; line-height: 25px; }
  .service-row > p { font-size: 14px; line-height: 22px; }

  .approach-steps { margin-top: 46px; grid-template-columns: 1fr; gap: 0; }
  .approach-steps::before { top: 0; right: auto; bottom: 0; left: 19px; width: 1px; height: auto; }
  .approach-steps li { min-height: 150px; padding: 0 0 34px 66px; }
  .approach-steps li:last-child { min-height: 0; padding-bottom: 0; }
  .step-index { top: 3px; left: 0; z-index: 2; display: grid; width: 39px; height: 39px; place-items: center; background: var(--charcoal); }
  .step-icon { display: none; }

  .classroom-media { aspect-ratio: 4 / 3; }
  .classroom-copy { padding: 62px 16px 66px; }
  .classroom-intro { font-size: 14px; line-height: 24px; }
  .notice-section { padding: 42px 0; }
  .notice-heading { align-items: flex-start; }
  .notice-heading > svg { width: 34px; height: 34px; }
  .notice-heading h2 { font-size: 20px; line-height: 28px; }

  .faq-section { padding: 66px 0 72px; }
  .faq-heading { margin-bottom: 34px; }
  .faq-heading h2 { font-size: 28px; line-height: 1.3; }
  .faq-list summary { min-height: 68px; padding: 18px 0; gap: 16px; }
  .faq-list summary span { font-size: 16px; line-height: 23px; }
  .faq-list details > p { margin-right: 20px; margin-bottom: 20px; }

  .closing-section { padding: 58px 0; }
  .closing-layout { grid-template-columns: 1fr; gap: 12px; }
  .closing-layout h2 { font-size: 30px; }

  .footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-main { padding: 36px 0 30px; }
  .footer-nav { flex-wrap: wrap; gap: 15px 22px; }
  .footer-bottom { padding: 19px 0 24px; gap: 10px; }
}

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