/* 知行学堂 · Education Template */

:root {
  --ink: #24332e;
  --ink-soft: #4d5b54;
  --muted: #727a73;
  --cream: #faf3e5;
  --paper: #fffaf0;
  --teal: #205a53;
  --teal-deep: #18443e;
  --teal-dark: #113a35;
  --yellow: #f3c84b;
  --yellow-light: #f8e19b;
  --coral: #e8785e;
  --pink: #f2c8bc;
  --sky: #cee2de;
  --line: #dfd3c1;
  --line-dark: rgba(250, 243, 229, 0.18);
  --container: 1200px;
  --gutter: 48px;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", SimSun, Georgia, serif;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", "SF Mono", Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection {
  color: var(--cream);
  background: var(--teal);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.3;
  cursor: pointer;
  transition:
    transform 0.22s var(--ease),
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.btn > span {
  font-size: 15px;
  transition: transform 0.22s var(--ease);
}

.btn:hover > span { transform: translate(2px, -2px); }

.btn-primary {
  color: var(--cream);
  background: var(--teal);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(32, 90, 83, 0.18);
}

.btn-sm {
  min-height: 40px;
  padding: 0 17px;
  font-size: 11.5px;
}

.btn-outline {
  color: var(--teal);
  background: transparent;
  border-color: rgba(32, 90, 83, 0.32);
}

.btn-outline:hover {
  color: var(--cream);
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(36, 51, 46, 0.35);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link span {
  color: var(--coral);
  font-size: 13px;
}

.text-link:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--cream);
  background: var(--teal);
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

/* Notice */
.notice {
  color: var(--cream);
  background: var(--teal);
  font-size: 10px;
  line-height: 1.5;
}

.notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 33px;
}

.notice p { display: flex; align-items: center; gap: 7px; }
.notice p span { color: var(--yellow); }
.notice a {
  color: var(--yellow);
  font-weight: 600;
}
.notice a span { margin-left: 2px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 243, 229, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(52, 43, 26, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--yellow);
  background: var(--teal);
  transform: rotate(-7deg);
}

.brand-mark svg {
  width: 27px;
  height: 27px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.brand-name small {
  margin-top: 4px;
  color: #8f9083;
  font-family: var(--mono);
  font-size: 6px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2.2vw, 30px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 7px 0;
  color: #626d65;
  font-size: 12px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active { color: var(--ink); }

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta { flex: 0 0 auto; background: var(--teal); }

.menu-toggle {
  display: none;
  width: 41px;
  height: 41px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.22s ease;
}

.menu-toggle.is-active span:first-child { transform: translateY(2.5px) rotate(45deg); }
.menu-toggle.is-active span:last-child { transform: translateY(-2.5px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: none;
  height: calc(100dvh - 82px);
  overflow-y: auto;
  padding: 24px var(--gutter) 30px;
  color: var(--cream);
  background: var(--teal-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-size: 19px;
}

.mobile-menu nav a span {
  color: #72928c;
  font-family: var(--mono);
  font-size: 8px;
}

.mobile-menu nav .mobile-cta {
  margin-top: 19px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--yellow);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 650;
}

.mobile-menu nav .mobile-cta span { color: var(--teal-dark); }

.mobile-menu-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
}

.mobile-menu-foot p {
  color: #7e9a94;
  font-family: var(--serif);
  font-size: 12px;
}

.mobile-menu-foot a {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 13px;
}

/* Type */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: #7d8176;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.eyebrow span {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 18px;
  padding: 0 4px;
  color: var(--teal);
  border: 1px solid rgba(32, 90, 83, 0.35);
  font-size: 8px;
}

.eyebrow.light { color: #8cae9f; }
.eyebrow.light span { color: var(--yellow); border-color: rgba(243, 200, 75, 0.35); }

.section {
  padding: clamp(78px, 8.5vw, 120px) 0;
  scroll-margin-top: 85px;
}

.section-title {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(36px, 3.8vw, 54px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.04em;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
  margin-bottom: 46px;
}

.section-side {
  max-width: 335px;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.section-side .text-link { margin-top: 16px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(243, 200, 75, 0.19), transparent 27%),
    radial-gradient(circle at 6% 76%, rgba(206, 226, 222, 0.45), transparent 28%),
    var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(36, 51, 46, 0.12) 0.7px, transparent 0.7px);
  background-size: 19px 19px;
  -webkit-mask-image: linear-gradient(90deg, transparent 42%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 42%, #000 100%);
  opacity: 0.4;
}

.hero-doodle {
  position: absolute;
  color: var(--coral);
  font-family: var(--serif);
  line-height: 1;
  pointer-events: none;
}

.doodle-a { top: 17%; left: 48%; font-size: 34px; transform: rotate(13deg); }
.doodle-b { right: 5%; bottom: 19%; color: var(--teal); font-size: 45px; transform: rotate(-9deg); }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(44px, 6vw, 94px);
  padding-top: clamp(58px, 7vw, 94px);
  padding-bottom: clamp(50px, 6vw, 78px);
}

.hero-copy { max-width: 600px; }

.hero h1 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(50px, 5.2vw, 76px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.055em;
}

.hero h1 em {
  position: relative;
  z-index: 0;
  color: var(--teal);
  font-style: normal;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  right: -0.09em;
  bottom: 0.08em;
  left: -0.08em;
  z-index: -1;
  height: 0.3em;
  border-radius: 100% 12% 96% 9%;
  background: var(--yellow);
  transform: rotate(-2deg);
}

.hero-lead {
  max-width: 480px;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 30px;
}

.hero-facts {
  display: flex;
  align-items: flex-start;
  margin-top: 46px;
}

.hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 103px;
  padding-right: 23px;
}

.hero-facts li + li {
  padding-left: 23px;
  border-left: 1px solid var(--line);
}

.hero-facts strong {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.07em;
}

.hero-facts small {
  margin-left: 2px;
  color: var(--coral);
  font-size: 10px;
}

.hero-facts span {
  color: #80857b;
  font-size: 9px;
}

/* Hero collage */
.hero-collage {
  position: relative;
  min-height: 590px;
}

.hero-arch {
  position: absolute;
  top: 4%;
  right: 1%;
  width: 84%;
  height: 87%;
  border-radius: 48% 48% 22px 22px / 33% 33% 4% 4%;
  background: var(--yellow);
  transform: rotate(3deg);
}

.hero-arch::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(32, 90, 83, 0.28);
  border-radius: inherit;
}

.hero-photo {
  position: absolute;
  top: 2%;
  right: 6%;
  width: 81%;
  height: 84%;
  overflow: hidden;
  border-radius: 48% 48% 19px 19px / 33% 33% 4% 4%;
  background: #d8d0bd;
  box-shadow: 0 25px 55px rgba(72, 55, 28, 0.12);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transition: transform 1s var(--ease);
}

.hero-collage:hover .hero-photo img { transform: scale(1.03); }

.hero-question {
  position: absolute;
  top: 15%;
  left: -2%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: 174px;
  min-height: 145px;
  padding: 18px;
  border-radius: 4px;
  color: var(--ink);
  background: #fffaf1;
  box-shadow: 0 15px 33px rgba(71, 52, 27, 0.15);
  transform: rotate(-5deg);
}

.hero-question::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 43%;
  width: 45px;
  height: 16px;
  background: rgba(243, 200, 75, 0.64);
  transform: rotate(3deg);
}

.hero-question span {
  color: #9f927c;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.07em;
}

.hero-question strong {
  margin-top: 17px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.hero-question i {
  position: absolute;
  right: 14px;
  bottom: 13px;
  color: var(--coral);
  font-style: normal;
}

.hero-snapshot {
  position: absolute;
  right: 0;
  bottom: 3%;
  z-index: 3;
  width: 185px;
  padding: 8px 8px 9px;
  background: #fffaf1;
  border: 1px solid #eee2cf;
  box-shadow: 0 17px 34px rgba(70, 53, 28, 0.14);
  transform: rotate(5deg);
}

.hero-snapshot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-snapshot figcaption {
  padding-top: 7px;
  color: #9c9183;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
  text-align: center;
}

.hero-badge {
  position: absolute;
  top: 2%;
  right: -2%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  color: var(--cream);
  background: var(--coral);
  transform: rotate(9deg);
}

.hero-badge svg {
  position: absolute;
  inset: 6px;
  width: 88px;
  height: 88px;
  animation: spin 24s linear infinite;
}

.hero-badge text {
  fill: var(--cream);
  font-family: var(--mono);
  font-size: 6.2px;
  letter-spacing: 1.1px;
}

.hero-badge > span {
  color: var(--yellow);
  font-size: 25px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero-note {
  position: absolute;
  bottom: 1%;
  left: 9%;
  color: #9c907e;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

/* Word marquee */
.word-marquee {
  overflow: hidden;
  color: var(--teal-dark);
  background: var(--yellow);
  border-top: 1px solid rgba(32, 90, 83, 0.1);
  border-bottom: 1px solid rgba(32, 90, 83, 0.1);
}

.word-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 13px 0;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.word-track i {
  color: var(--coral);
  font-family: var(--font);
  font-size: 8px;
  font-style: normal;
}

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

/* Belief */
.belief {
  background: var(--cream);
}

.belief-head {
  display: grid;
  grid-template-columns: 1.1fr 0.72fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 49px;
}

.belief-head h2 {
  max-width: 750px;
  font-family: var(--serif);
  font-size: clamp(35px, 3.8vw, 54px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.belief-head h2 em {
  position: relative;
  color: var(--teal);
  font-style: normal;
}

.belief-head h2 em::after {
  content: "";
  position: absolute;
  right: -0.08em;
  bottom: 0.03em;
  left: -0.08em;
  height: 0.18em;
  background: var(--yellow);
  transform: rotate(-1deg);
}

.belief-head > p {
  max-width: 350px;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
}

.belief-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 16px;
}

.belief-quote {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 325px;
  padding: 30px;
  overflow: hidden;
  border-radius: 22px;
  color: var(--teal-dark);
  background: var(--yellow);
}

.quote-mark {
  position: absolute;
  top: 2px;
  right: 22px;
  color: rgba(32, 90, 83, 0.18);
  font-family: Georgia, serif;
  font-size: 150px;
  line-height: 1;
}

.belief-quote > p {
  position: relative;
  z-index: 1;
  max-width: 380px;
  margin-top: 75px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.03em;
}

.belief-sign {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
}

.sign-line {
  width: 35px;
  height: 1px;
  background: rgba(17, 58, 53, 0.4);
}

.belief-sign strong, .belief-sign span { display: block; }
.belief-sign strong { font-size: 11px; font-weight: 650; }
.belief-sign span { color: #667449; font-size: 8.5px; }

.belief-list {
  border-top: 1px solid var(--line);
}

.belief-list li {
  display: grid;
  grid-template-columns: 39px 1fr;
  gap: 12px;
  min-height: 108px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.belief-num {
  color: var(--coral);
  font-family: var(--mono);
  font-size: 8px;
}

.belief-list h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.belief-list p {
  max-width: 520px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

/* Programs */
.programs {
  background: #f5ecdc;
  border-top: 1px solid var(--line);
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 25px;
  overflow: hidden;
  border-radius: 23px;
  color: var(--ink);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: 0 22px 42px rgba(81, 63, 33, 0.1);
}

.program-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -57px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(36, 51, 46, 0.1);
  border-radius: 50%;
}

.program-card.science { background: #f4d66f; }
.program-card.reading { background: var(--pink); }
.program-card.art { background: var(--sky); }
.program-card.making { background: var(--teal); color: var(--cream); }
.program-card.making::after { border-color: rgba(250, 243, 229, 0.16); }

.program-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(36, 51, 46, 0.62);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.09em;
}

.program-card.making .program-top { color: rgba(250, 243, 229, 0.56); }

.program-age {
  padding: 4px 8px;
  border: 1px solid rgba(36, 51, 46, 0.24);
  border-radius: 999px;
  font-family: var(--font);
  font-size: 8.5px;
  letter-spacing: 0;
}

.program-card.making .program-age { border-color: rgba(250, 243, 229, 0.24); }

.program-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 142px;
  margin: 10px 0 8px;
  color: rgba(36, 51, 46, 0.75);
}

.program-art svg {
  width: 180px;
  max-width: 100%;
  height: 140px;
}

.program-card.making .program-art { color: rgba(250, 243, 229, 0.8); }

.program-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.program-card > p {
  max-width: 410px;
  margin-top: 8px;
  color: rgba(36, 51, 46, 0.72);
  font-size: 11px;
  line-height: 1.8;
}

.program-card.making > p { color: rgba(250, 243, 229, 0.7); }

.program-card > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 17px;
}

.program-card > ul li {
  padding: 4px 8px;
  border: 1px solid rgba(36, 51, 46, 0.23);
  border-radius: 999px;
  color: rgba(36, 51, 46, 0.75);
  font-size: 8.5px;
}

.program-card.making > ul li {
  color: rgba(250, 243, 229, 0.72);
  border-color: rgba(250, 243, 229, 0.22);
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  margin-top: 18px;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 650;
}

.program-card.making .program-link { color: var(--yellow); }

.program-link span { transition: transform 0.22s ease; }
.program-card:hover .program-link span { transform: translate(2px, -2px); }

/* Method */
.method {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(50px, 7vw, 106px);
}

.method-visual {
  position: relative;
  min-height: 560px;
}

.method-visual figure {
  position: absolute;
  top: 3%;
  left: 3%;
  width: 86%;
  height: 83%;
  overflow: hidden;
  border-radius: 43% 43% 20px 20px / 30% 30% 4% 4%;
  background: #ddd6c7;
}

.method-visual figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.method-visual:hover figure img { transform: scale(1.025); }

.method-tag {
  position: absolute;
  top: 2%;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border-radius: 13px;
  color: var(--teal-dark);
  background: var(--yellow);
  box-shadow: 0 12px 25px rgba(65, 48, 19, 0.1);
  transform: rotate(4deg);
}

.method-tag > span { color: var(--coral); font-size: 18px; }
.method-tag p { font-family: var(--serif); font-size: 12px; font-weight: 700; line-height: 1.45; }

.method-arrow {
  position: absolute;
  right: 0;
  bottom: 1%;
  color: var(--coral);
  transform: rotate(5deg);
}

.method-arrow svg {
  width: 110px;
  height: 45px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-copy .section-title { margin-bottom: 22px; }

.method-lead {
  max-width: 520px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.method-list {
  margin-top: 29px;
  border-top: 1px solid var(--line);
}

.method-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.method-list > li > span {
  padding-top: 2px;
  color: var(--coral);
  font-family: var(--mono);
  font-size: 8px;
}

.method-list h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
}

.method-list p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.8;
}

.method-copy .text-link { margin-top: 25px; }

/* Stories */
.stories {
  padding: clamp(76px, 8vw, 112px) 0;
  color: var(--cream);
  background: var(--teal-dark);
}

.stories-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 42px;
}

.stories-head h2 {
  font-family: var(--serif);
  font-size: clamp(37px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.stories-note {
  max-width: 290px;
  padding-bottom: 4px;
  color: #83a099;
  font-size: 11.5px;
  line-height: 1.85;
}

.stories-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 14px;
}

.story-main {
  position: relative;
  min-height: 340px;
  padding: 31px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 21px;
}

.big-quote {
  position: absolute;
  top: 0;
  right: 24px;
  color: var(--yellow);
  font-family: Georgia, serif;
  font-size: 150px;
  line-height: 1;
  opacity: 0.8;
}

.story-main blockquote {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin-top: 68px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.65;
  letter-spacing: -0.02em;
}

.story-person {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
}

.person-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--teal-dark);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
}

.person-avatar.coral { background: var(--coral); }
.person-avatar.yellow { background: var(--yellow); }
.person-avatar.teal { color: var(--cream); background: var(--teal); }

.story-person strong, .story-person span { display: block; }
.story-person strong { font-size: 10.5px; font-weight: 600; }
.story-person div span { margin-top: 2px; color: #809e96; font-size: 8px; }

.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 1px;
  border: 1px solid var(--line-dark);
  border-radius: 21px;
  background: var(--line-dark);
  overflow: hidden;
}

.story-stats > div {
  min-height: 158px;
  padding: 22px;
  background: #17423c;
}

.story-stats strong {
  display: block;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: clamp(30px, 3.2vw, 41px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.09em;
}

.story-stats small { margin-left: 2px; font-size: 12px; }

.story-stats span {
  display: block;
  margin-top: 13px;
  color: #8aaba2;
  font-size: 9px;
  line-height: 1.6;
}

.story-mini {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  padding: 24px;
  border-radius: 21px;
  color: var(--ink);
  background: var(--yellow);
}

.story-mini.cream { background: var(--cream); }

.story-mini > p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.02em;
}

.story-mini footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 19px;
}

.story-mini .person-avatar { width: 31px; height: 31px; font-size: 11px; }
.story-mini strong, .story-mini footer span { display: block; }
.story-mini strong { font-size: 9.5px; }
.story-mini footer div span { color: #6d7862; font-size: 7.5px; margin-top: 2px; }

/* Teachers */
.teachers {
  background: var(--paper);
}

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

.teacher-card {
  min-height: 345px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--cream);
  transition: transform 0.28s var(--ease), background-color 0.28s ease, border-color 0.28s ease;
}

.teacher-card:hover {
  transform: translateY(-5px);
  background: #fffdf7;
  border-color: #cdbfa9;
}

.teacher-avatar {
  display: grid;
  place-items: center;
  width: 67px;
  height: 67px;
  margin-bottom: 27px;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  transform: rotate(-4deg);
}

.avatar-yellow { background: var(--yellow); color: var(--teal-dark); }
.avatar-coral { background: var(--pink); color: var(--teal-dark); }
.avatar-teal { background: var(--teal); color: var(--cream); }

.teacher-subject {
  color: #96998a;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
}

.teacher-card h3 {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.teacher-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.85;
}

.teacher-meta {
  display: block;
  margin-top: 21px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: #a2a294;
  font-family: var(--mono);
  font-size: 7px;
}

.teacher-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 23px;
  padding: 18px 22px;
  border: 1px dashed #d1c4b2;
  border-radius: 14px;
  color: #70766c;
  font-size: 10px;
  line-height: 1.7;
}

.teacher-note strong { color: var(--teal); }
.teacher-note > span { color: var(--coral); font-size: 18px; }

/* Campus */
.campus {
  background: var(--sky);
}

.campus-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(45px, 7vw, 104px);
}

.campus-copy .section-title { margin-bottom: 22px; }
.campus-copy > p {
  max-width: 460px;
  color: #4d615b;
  font-size: 12.5px;
  line-height: 1.95;
}

.campus-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  margin-top: 26px;
  border-top: 1px solid rgba(32, 90, 83, 0.2);
}

.campus-facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(32, 90, 83, 0.2);
  font-size: 10px;
}

.campus-facts li span {
  color: var(--coral);
  font-family: var(--mono);
  font-size: 7.5px;
}

.campus-copy .btn { margin-top: 28px; }

.campus-gallery {
  position: relative;
  min-height: 540px;
}

.campus-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  height: 87%;
  overflow: hidden;
  border-radius: 20px 130px 20px 20px;
  background: #b9cfcb;
}

.campus-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.campus-gallery:hover .campus-main img { transform: scale(1.025); }

.campus-main figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 250, 240, 0.42);
  color: var(--cream);
}

.campus-main figcaption span {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.09em;
}

.campus-main figcaption small { font-size: 8px; }

.campus-small {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 31%;
  padding: 7px;
  background: var(--cream);
  box-shadow: 0 15px 30px rgba(55, 60, 46, 0.14);
  transform: rotate(-5deg);
}

.campus-small img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.campus-sticker {
  position: absolute;
  right: 8%;
  bottom: 2%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  color: var(--cream);
  background: var(--coral);
  text-align: center;
  transform: rotate(7deg);
}

.campus-sticker strong {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.4;
}

.campus-sticker span {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: var(--yellow);
  font-size: 14px;
}

/* Admissions */
.admissions {
  position: relative;
  padding: clamp(64px, 7vw, 92px) 0;
  overflow: hidden;
  background: var(--yellow);
  scroll-margin-top: 84px;
}

.admissions::before,
.admissions::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(32, 90, 83, 0.16);
}

.admissions::before {
  top: -220px;
  right: 3%;
  width: 560px;
  height: 560px;
}

.admissions::after {
  right: 6%;
  bottom: -270px;
  width: 420px;
  height: 420px;
  border-style: dashed;
}

.admissions-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.admissions-copy .eyebrow { color: #6e784c; }
.admissions-copy .eyebrow span { color: var(--teal); border-color: rgba(32, 90, 83, 0.32); }

.admissions-copy h2 {
  font-family: var(--serif);
  font-size: clamp(39px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.admissions-copy > p {
  max-width: 430px;
  margin-top: 18px;
  color: #586043;
  font-size: 12px;
  line-height: 1.85;
}

.admissions-card {
  padding: 27px;
  border: 1px solid rgba(32, 90, 83, 0.18);
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.72);
  backdrop-filter: blur(6px);
}

.admissions-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(32, 90, 83, 0.16);
}

.admissions-row > span {
  color: #77805e;
  font-family: var(--mono);
  font-size: 8px;
}

.admissions-row p {
  color: var(--ink);
  font-size: 11px;
  line-height: 1.75;
}

.admissions-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 23px;
}

.admissions-actions .btn {
  color: var(--cream);
  background: var(--teal);
  border-color: var(--teal);
}

.admissions-phone {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 16px;
  border-bottom: 1px solid rgba(32, 90, 83, 0.4);
}

/* Footer */
.site-footer {
  padding-top: 55px;
  color: #99b1a9;
  background: var(--teal-dark);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 0.9fr;
  gap: clamp(28px, 4.5vw, 58px);
  padding-bottom: 42px;
}

.footer-brand .brand { color: var(--cream); }
.footer-brand .brand-mark { color: var(--yellow); background: rgba(255, 255, 255, 0.08); }
.footer-brand .brand-name { color: var(--cream); font-family: var(--serif); }
.footer-brand .brand-name small { color: #71918a; }

.footer-brand > p {
  margin-top: 18px;
  color: #88a49c;
  font-size: 10.5px;
  line-height: 1.9;
}

.footer-stars {
  margin-top: 17px;
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: 8px;
}

.site-footer h3 {
  margin: 3px 0 16px;
  color: #e3eee8;
  font-size: 10.5px;
  font-weight: 550;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav a {
  margin-bottom: 8px;
  color: #88a49c;
  font-size: 10px;
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--yellow); }

.footer-contact p {
  color: #88a49c;
  font-size: 10px;
  line-height: 1.9;
}

.footer-phone {
  display: block;
  margin-top: 13px;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 15px;
}

.footer-contact > a:not(.footer-phone) {
  display: block;
  margin-top: 3px;
  color: #88a49c;
  font-size: 9.5px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 64px;
  padding: 16px 0;
  border-top: 1px solid var(--line-dark);
  color: #638079;
  font-size: 8px;
  line-height: 1.7;
}

.footer-bottom a { color: #9eb8b1; white-space: nowrap; }
.footer-bottom a span { color: var(--yellow); margin-left: 3px; }

/* Reveal / to top */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease) var(--delay, 0ms),
    transform 0.7s var(--ease) var(--delay, 0ms);
}

.js .reveal.is-visible { opacity: 1; transform: none; }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--yellow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, background-color 0.2s ease;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--coral); }

.to-top svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

/* Responsive */
@media (max-width: 1120px) {
  :root { --gutter: 36px; }
  .main-nav { gap: 18px; }
  .header-inner { gap: 23px; }
  .hero-inner { gap: 42px; }
  .hero-collage { min-height: 530px; }
  .hero-question { left: -1%; }
  .hero-snapshot { width: 160px; }
  .section-head { gap: 45px; }
  .belief-head { gap: 45px; }
  .teacher-card { padding: 22px; }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .mobile-menu { display: block; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 52px;
    gap: 40px;
  }

  .hero-copy { max-width: 680px; }
  .hero-collage { width: min(100%, 620px); min-height: 560px; margin: 0 auto; }
  .doodle-a { display: none; }

  .section-head,
  .belief-head,
  .stories-head {
    display: block;
  }

  .section-side,
  .belief-head > p,
  .stories-note {
    max-width: 560px;
    margin-top: 17px;
    padding: 0;
  }

  .belief-head h2 { max-width: 720px; }
  .belief-grid { grid-template-columns: 1fr 1fr; }
  .belief-quote { min-height: 300px; }
  .belief-quote > p { margin-top: 65px; }

  .method-grid,
  .campus-grid,
  .admissions-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .method-visual {
    width: min(100%, 620px);
    min-height: 520px;
  }

  .method-copy { max-width: 680px; }

  .stories-grid { grid-template-columns: 1.15fr 0.85fr; }
  .story-main { padding: 27px; }
  .story-stats > div { min-height: 150px; padding: 18px; }

  .teacher-grid { grid-template-columns: 1fr 1fr; }
  .teacher-card:last-child { grid-column: span 2; min-height: 270px; }
  .teacher-card:last-child .teacher-avatar { margin-bottom: 20px; }

  .campus-copy { max-width: 660px; }
  .campus-gallery { width: min(100%, 650px); min-height: 520px; }

  .footer-main { grid-template-columns: 1.3fr 0.7fr 0.8fr; }
  .footer-contact {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 25px;
    padding-top: 20px;
    border-top: 1px solid var(--line-dark);
  }

  .footer-contact h3 { flex-basis: 100%; margin: 0 0 3px; }
  .footer-contact p { margin: 0; }
  .footer-phone { margin: 0; }
  .footer-contact > a:not(.footer-phone) { margin: 0; }
}

@media (max-width: 740px) {
  :root { --gutter: 20px; }

  .notice-inner { min-height: 31px; gap: 12px; }
  .notice { font-size: 8px; }
  .notice p:first-child { max-width: 210px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .notice p:last-child { white-space: nowrap; }

  .header-inner { min-height: 70px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark svg { width: 24px; height: 24px; }
  .brand-name { font-size: 17px; }
  .brand-name small { font-size: 5.5px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .mobile-menu { height: calc(100dvh - 70px); }

  .section { padding: 68px 0; scroll-margin-top: 74px; }
  .eyebrow { margin-bottom: 15px; font-size: 7.5px; }
  .section-title { font-size: clamp(31px, 8.6vw, 44px); }
  .section-head { margin-bottom: 31px; }
  .section-side, .belief-head > p { font-size: 11.5px; }

  .hero-inner { padding-top: 42px; padding-bottom: 44px; gap: 34px; }
  .hero h1 { font-size: clamp(45px, 12.6vw, 63px); }
  .hero-lead { margin-top: 20px; font-size: 12px; }
  .hero-actions { margin-top: 24px; gap: 18px; }
  .hero-facts { margin-top: 31px; }
  .hero-facts li { min-width: 0; flex: 1; padding-right: 10px; }
  .hero-facts li + li { padding-left: 12px; }
  .hero-facts strong { font-size: 20px; }
  .hero-facts span { font-size: 8px; }

  .hero-collage { min-height: 455px; }
  .hero-arch { width: 86%; height: 86%; }
  .hero-photo { width: 82%; height: 84%; }
  .hero-question {
    top: 11%;
    left: 0;
    width: 141px;
    min-height: 120px;
    padding: 14px;
  }
  .hero-question strong { margin-top: 12px; font-size: 18px; }
  .hero-snapshot { width: 132px; }
  .hero-badge { top: 4%; right: 0; width: 78px; height: 78px; }
  .hero-badge svg { width: 68px; height: 68px; }
  .hero-badge > span { font-size: 19px; }
  .hero-badge text { font-size: 6.8px; }
  .hero-note { display: none; }

  .word-track { gap: 20px; padding: 11px 0; font-size: 13px; }

  .belief-head { margin-bottom: 30px; }
  .belief-head h2 { font-size: clamp(30px, 7.6vw, 39px); line-height: 1.42; }
  .belief-grid { grid-template-columns: 1fr; gap: 10px; }
  .belief-quote { min-height: 260px; padding: 24px; }
  .belief-quote > p { margin-top: 53px; font-size: 22px; }
  .belief-list li { min-height: 0; padding: 17px 0; }
  .belief-list h3 { font-size: 18px; }
  .belief-list p { font-size: 10px; }

  .program-grid { grid-template-columns: 1fr; gap: 10px; }
  .program-card { min-height: 360px; padding: 21px; }
  .program-art { height: 128px; margin: 7px 0 3px; }
  .program-art svg { height: 123px; width: 165px; }
  .program-card h3 { font-size: 26px; }
  .program-card > p { font-size: 10.5px; }

  .method-grid { gap: 32px; }
  .method-visual { min-height: 420px; }
  .method-visual figure { width: 88%; height: 84%; }
  .method-tag { padding: 10px 12px; }
  .method-tag p { font-size: 10px; }
  .method-arrow { display: none; }
  .method-copy .section-title { margin-bottom: 17px; }
  .method-lead { font-size: 12px; }
  .method-list { margin-top: 23px; }
  .method-list h3 { font-size: 17px; }
  .method-list p { font-size: 10px; }

  .stories-head { margin-bottom: 29px; }
  .stories-head h2 { font-size: clamp(32px, 8.6vw, 43px); }
  .stories-grid { grid-template-columns: 1fr; gap: 10px; }
  .story-main { min-height: 310px; padding: 24px; }
  .story-main blockquote { margin-top: 55px; font-size: 21px; }
  .big-quote { font-size: 120px; }
  .story-stats > div { min-height: 130px; padding: 17px; }
  .story-stats strong { font-size: 29px; }
  .story-mini { min-height: 175px; padding: 21px; }
  .story-mini > p { font-size: 15px; }

  .teacher-grid { grid-template-columns: 1fr; gap: 10px; }
  .teacher-card { min-height: 300px; }
  .teacher-card:last-child { grid-column: auto; min-height: 300px; }
  .teacher-note { align-items: flex-start; padding: 15px; font-size: 9px; }

  .campus-grid { gap: 32px; }
  .campus-facts { gap: 0 14px; }
  .campus-gallery { min-height: 390px; }
  .campus-main { width: 88%; height: 86%; border-radius: 16px 90px 16px 16px; }
  .campus-small { width: 32%; }
  .campus-sticker { width: 91px; height: 91px; right: 2%; bottom: 1%; }
  .campus-sticker strong { font-size: 13px; }

  .admissions { padding: 55px 0; }
  .admissions-inner { gap: 30px; }
  .admissions-copy h2 { font-size: clamp(35px, 9.8vw, 48px); }
  .admissions-card { padding: 21px; }
  .admissions-row { grid-template-columns: 66px 1fr; gap: 10px; }
  .admissions-actions { gap: 14px; }
  .admissions-actions .btn { width: 100%; }
  .admissions-phone { font-size: 15px; }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 27px 20px;
    padding-top: 39px;
    padding-bottom: 28px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
  .footer-contact h3 { margin-bottom: 9px; }
  .footer-phone { margin-top: 10px; }

  .footer-bottom { display: block; padding: 15px 0 19px; }
  .footer-bottom p + p { margin-top: 5px; }
  .footer-bottom a { display: inline-block; margin-top: 8px; }

  .to-top { right: 14px; bottom: 14px; width: 39px; height: 39px; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 43px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .text-link { align-self: center; }
  .hero-collage { min-height: 420px; }
  .hero-question { width: 130px; min-height: 112px; }
  .hero-question strong { font-size: 17px; }
  .hero-snapshot { width: 118px; }
  .hero-badge { width: 70px; height: 70px; }
  .hero-badge svg { width: 61px; height: 61px; }
  .campus-gallery { min-height: 350px; }
  .campus-sticker { width: 80px; height: 80px; }
  .campus-main figcaption span { font-size: 6px; }
}

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