@font-face {
  font-family: Manrope;
  src: url("./manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Manrope, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #242421;
  background: #faf9f6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --orange: #ef7927;
  --muted: #74736c;
  --page-width: 1344px;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
::selection { background: #ffd3b2; }
a:focus-visible { outline: 3px solid #bd4e00; outline-offset: 6px; border-radius: 8px; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 5; padding: 12px 20px; background: #252522; color: white; }
.skip-link:focus { top: 16px; }

.site-header { border-bottom: 1px solid #e8e6e0; }
.header-inner { max-width: var(--page-width); margin: auto; height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.nav-brand { display: flex; align-items: center; gap: 19px; }
.nav-brand img { width: 92px; height: auto; }
.nav-brand > span { padding-left: 19px; border-left: 1px solid #d9d6cf; font-size: 11px; letter-spacing: .04em; color: #77756d; }
nav { display: flex; gap: 33px; align-items: center; font-size: 13px; }
nav a { padding: 12px 0; }
nav a:hover { color: #bd4e00; }
.nav-home { display: flex; gap: 7px; align-items: center; }
.nav-home i { width: 5px; height: 5px; background: var(--orange); border-radius: 50%; }
.header-cta { display: flex; gap: 25px; align-items: center; padding: 11px 17px; background: #262623; color: #fff; border-radius: 7px; font-size: 12px; transition: background .2s; }
.header-cta:hover { background: #46453f; }
.header-cta > span { font-size: 18px; line-height: 1; }

main, .site-footer { max-width: var(--page-width); margin-inline: auto; }
.hero { display: flex; align-items: center; justify-content: space-between; padding: 62px 17px 57px 0; gap: 70px; }
.hero-brand { width: 37%; max-width: 470px; flex-shrink: 0; padding-top: 4px; }
.brand-word { position: relative; }
.wordmark { width: 100%; height: auto; }
.mascot { position: absolute; width: 29%; height: auto; left: 40%; top: -17%; transform: rotate(-9deg); }
.brand-caption { display: block; margin-top: 22px; text-align: center; font-size: 13px; letter-spacing: .43em; text-indent: .43em; }
.hero-copy { width: 43%; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #6e6d65; font-size: 10px; letter-spacing: .13em; margin-bottom: 16px; }
.eyebrow > span { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
h1 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.5; font-weight: 650; letter-spacing: .015em; }
.highlight { display: inline-block; background: #262623; color: #fff; line-height: 1.25; padding: 2px 7px 4px; margin-left: 5px; border-radius: 3px; transform: rotate(-2deg); }
.hero-description { margin-top: 16px; font-size: 13px; line-height: 1.85; color: var(--muted); }
.mobile-break { display: none; }

.spaces { position: relative; padding-bottom: 40px; }
.section-heading { border-top: 1px solid #dedcd6; display: flex; align-items: center; justify-content: space-between; padding: 22px 0 24px; }
.section-heading > div { display: flex; align-items: center; gap: 11px; }
.tiny-star { color: var(--orange); font-size: 23px; line-height: 1; }
.section-heading h2 { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.section-heading > p { color: #79776f; font-size: 11px; }
.section-heading > p > span { font-size: 19px; margin-left: 13px; vertical-align: middle; color: #363630; }
.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.entry-card { min-width: 0; --accent: #aa4a18; --wash: #f8e9dc; }
.student { --accent: #3d674c; --wash: #e7eee0; }
.teacher { --accent: #75608d; --wash: #ece6f3; }
.cover { position: relative; overflow: hidden; aspect-ratio: 1.45; border-radius: 12px; background: var(--wash); isolation: isolate; }
.cover > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.cover-label { position: absolute; top: 18px; left: 18px; display: flex; gap: 8px; font-size: 11px; font-weight: 650; letter-spacing: .025em; color: #393833; }
.cover-label > span { font-size: 9px; font-weight: 500; letter-spacing: .13em; padding-top: 2px; }
.cover-note { position: absolute; bottom: 15px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; color: #35352f; font-size: 11px; font-weight: 500; letter-spacing: .07em; }
.cover-note > span { font-size: 24px; line-height: 1; }
.card-heading { display: flex; align-items: center; justify-content: space-between; padding: 23px 2px 0; }
.card-heading h3 { display: flex; align-items: center; gap: 13px; font-size: 24px; font-weight: 650; letter-spacing: -.04em; }
.card-heading h3 > span { color: #77746b; font-size: 11px; font-weight: 400; letter-spacing: .02em; }
.entry-arrow { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #d7d5cd; border-radius: 50%; font-size: 22px; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.card-description { color: #706d65; padding: 11px 2px 18px; font-size: 13px; line-height: 1.85; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 2px 0; border-top: 1px solid #e2dfd7; }
.card-topics { color: #77746a; font-size: 10px; white-space: nowrap; }
.card-topics > i { margin-inline: 4px; font-style: normal; }
.enter-link { color: #3d3c36; font-size: 11px; font-weight: 600; white-space: nowrap; }
.enter-link > span { margin-left: 7px; display: inline-block; transition: transform .25s; }
@media (hover: hover) {
  .entry-card:hover .cover > img { transform: scale(1.045); }
  .entry-card:hover .entry-arrow { background: #262623; color: white; border-color: #262623; transform: rotate(45deg); }
  .entry-card:hover .enter-link { color: var(--accent); }
  .entry-card:hover .enter-link > span { transform: translateX(3px); }
}
.entry-card:focus-visible .entry-arrow { background: #262623; color: white; }
.site-footer { display: flex; justify-content: space-between; align-items: center; padding: 24px 0 31px; border-top: 1px solid #dedcd6; }
.site-footer > p { display: flex; gap: 11px; align-items: center; font-size: 11px; color: #706d63; letter-spacing: .04em; }
.footer-flower { color: var(--orange); font-size: 26px; line-height: 1; }
.site-footer > span { font-size: 9px; color: #8a867c; letter-spacing: .13em; }
.site-footer > span > i { font-style: normal; margin-inline: 10px; }

@media (max-width: 1460px) {
  :root { --page-width: calc(100% - 96px); }
}
@media (min-width: 1650px) {
  .hero { padding-block: 76px 66px; }
}
@media (max-width: 1100px) {
  :root { --page-width: calc(100% - 64px); }
  .header-inner { gap: 20px; height: 76px; }
  .nav-brand > span { display: none; }
  nav { gap: 26px; }
  .hero { padding-block: 50px; gap: 40px; }
  .hero-brand { width: 42%; }
  .hero-copy { width: 48%; }
  .hero-description { font-size: 11px; }
  .entry-grid { gap: 19px; }
  .card-heading h3 { display: block; font-size: 22px; }
  .card-heading h3 > span { display: block; margin-top: 5px; }
  .card-description { font-size: 11px; min-height: 88px; }
  .card-description > br { display: none; }
  .card-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .cover-label { top: 14px; left: 14px; }
  .cover-note { left: 14px; right: 14px; font-size: 10px; }
}
@media (max-width: 700px) {
  :root { --page-width: calc(100% - 40px); }
  .header-inner { height: 68px; gap: 16px; }
  .nav-brand img { width: 76px; }
  nav { gap: 20px; font-size: 12px; }
  nav .nav-home, .header-cta { display: none; }
  .hero { flex-direction: column; align-items: flex-start; gap: 34px; padding: 48px 0 32px; }
  .hero-brand { width: 75%; max-width: 340px; margin-inline: auto; }
  .brand-caption { font-size: 10px; margin-top: 15px; letter-spacing: .35em; }
  .hero-copy { width: 100%; }
  .eyebrow { font-size: 8px; margin-bottom: 13px; }
  h1 { font-size: clamp(26px, 7.2vw, 36px); line-height: 1.45; }
  h1 > br { display: block; }
  .hero-description { margin-top: 12px; font-size: 11px; }
  .mobile-break { display: block; }
  .section-heading { padding-block: 20px; }
  .section-heading h2 { font-size: 13px; }
  .section-heading > p { display: none; }
  .tiny-star { font-size: 21px; }
  .entry-grid { grid-template-columns: 1fr; gap: 34px; }
  .cover { aspect-ratio: 1.5; border-radius: 10px; }
  .cover-label { top: 17px; left: 17px; }
  .cover-note { left: 17px; bottom: 16px; right: 17px; font-size: 11px; }
  .card-heading { padding-top: 18px; }
  .card-heading h3 { display: flex; gap: 12px; font-size: 23px; }
  .card-heading h3 > span { display: inline; margin: 0; font-size: 10px; }
  .card-description { min-height: 0; padding-bottom: 14px; font-size: 13px; }
  .card-description > br { display: block; }
  .card-bottom { flex-direction: row; align-items: center; gap: 8px; }
  .card-topics { font-size: 9px; }
  .enter-link { font-size: 11px; }
  .site-footer { padding-block: 23px 27px; gap: 15px; }
  .site-footer > p { font-size: 10px; gap: 7px; }
  .site-footer > span { font-size: 7px; letter-spacing: .02em; }
  .site-footer > span > i { margin-inline: 3px; }
}
@media (max-width: 360px) {
  :root { --page-width: calc(100% - 32px); }
  nav { gap: 14px; }
  .nav-brand img { width: 68px; }
  .card-topics { font-size: 8px; }
  .card-description { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
