:root {
  --ink: #15191e;
  --paper: #f6f1e8;
  --blue: #a9c7e8;
  --yellow: #ffdc55;
  --red: #ed6c5c;
  --pink: #f2c4ca;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans TC", sans-serif;
}
.site-header {
  min-height: 64px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.brand {
  color: inherit;
  text-decoration: none;
  font:
    500 11px "DM Mono",
    monospace;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.brand span {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-right: 7px;
  border: 1px solid;
  border-radius: 50%;
  font-size: 8px;
}
.guide-menu {
  position: relative;
  margin-left: auto;
}
.guide-menu summary {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 800;
}
.guide-menu summary::-webkit-details-marker {
  display: none;
}
.guide-menu summary span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--ink);
  font:
    17px "Bodoni Moda",
    serif;
  transition: transform 0.18s;
}
.guide-menu[open] summary span {
  transform: rotate(45deg);
}
.guide-menu nav {
  position: absolute;
  z-index: 30;
  top: 38px;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(124px, 1fr));
  width: min(520px, 92vw);
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}
.guide-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 49px;
  padding: 10px 12px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  color: inherit;
  text-decoration: none;
  font-size: 12px;
}
.guide-menu nav a:hover {
  background: var(--yellow);
}
.guide-menu nav i {
  font:
    10px "DM Mono",
    monospace;
}
.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.hero-copy {
  padding: 9vw 6vw 6vw 9vw;
}
.eyebrow {
  margin: 0 0 16px;
  font:
    700 10px "DM Mono",
    monospace;
  letter-spacing: 0.12em;
}
.purpose {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding: 9px 11px;
  border: 1px solid var(--ink);
  font-size: 12px;
}
.purpose span {
  font:
    10px "DM Mono",
    monospace;
  letter-spacing: 0.06em;
}
.hero h1,
.section-heading h2,
.route h2,
.note h2 {
  margin: 0;
  font:
    600 clamp(42px, 5.4vw, 80px)/1.04 "Bodoni Moda",
    "Noto Sans TC",
    serif;
  letter-spacing: -0.045em;
}
.hero h1 em,
.route h2 em {
  font-style: italic;
}
.intro {
  max-width: 520px;
  margin: 28px 0;
  color: #40454b;
  line-height: 1.85;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 17px;
  border: 1px solid var(--ink);
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}
.button span {
  font-size: 18px;
}
.button.dark {
  background: var(--ink);
  color: var(--paper);
}
.button.light {
  background: var(--paper);
}
.statline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 46px;
  font:
    10px "DM Mono",
    monospace;
}
.statline i {
  width: 36px;
  border-top: 1px solid var(--ink);
}
.statline b {
  font-weight: 500;
}
.hero-art {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  padding: 6vw;
  background: var(--yellow);
  border-left: 1px solid var(--ink);
}
.hero-art > p {
  margin: 0;
  font:
    600 clamp(56px, 8vw, 116px)/0.77 "Bodoni Moda",
    serif;
  letter-spacing: -0.08em;
}
.cover {
  position: absolute;
  right: 12%;
  bottom: 11%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(290px, 58%);
  aspect-ratio: 3/4;
  padding: 18px;
  border: 1px solid var(--ink);
  background: var(--blue);
  box-shadow: 10px 10px 0 var(--ink);
}
.cover small {
  font:
    10px "DM Mono",
    monospace;
}
.cover strong {
  font:
    76px "Bodoni Moda",
    serif;
}
.cover em {
  font:
    600 17px/1.1 "Bodoni Moda",
    serif;
}
.sticker {
  position: absolute;
  left: 10%;
  bottom: 10%;
  padding: 13px;
  border: 1px solid var(--ink);
  background: var(--pink);
  font-weight: 800;
  line-height: 1.35;
  transform: rotate(-7deg);
}
.roles,
.products {
  padding: 9vw;
}
.section-heading {
  max-width: 690px;
}
.section-heading h2 {
  font-size: clamp(37px, 4.4vw, 65px);
}
.section-heading > p:last-child {
  line-height: 1.8;
  color: #50555a;
}
.role-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 42px;
  border: 1px solid var(--ink);
}
.role,
.product-grid article {
  min-height: 370px;
  padding: 32px;
  border-right: 1px solid var(--ink);
}
.role:last-child,
.product-grid article:last-child {
  border-right: 0;
}
.role.student {
  background: var(--blue);
}
.role.parent {
  background: var(--pink);
}
.role > span,
.product-no {
  font:
    11px "DM Mono",
    monospace;
}
.role h3,
.product-grid h3 {
  margin: 34px 0 14px;
  font:
    600 clamp(28px, 3.1vw, 45px)/1.06 "Bodoni Moda",
    "Noto Sans TC",
    serif;
  letter-spacing: -0.04em;
}
.role > p:not(.eyebrow) {
  max-width: 440px;
  line-height: 1.8;
}
.role > a {
  display: flex;
  justify-content: space-between;
  margin-top: 35px;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}
.route {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  padding: 8vw 9vw;
  border-top: 1px solid var(--ink);
}
.student-route {
  background: #e8f0f6;
}
.family-route {
  background: #fff7f7;
}
.route-title {
  padding-right: 7vw;
}
.route-title > p:last-child {
  line-height: 1.8;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink);
}
.steps span {
  font:
    11px "DM Mono",
    monospace;
}
.steps b {
  font-size: 18px;
}
.steps p {
  margin: 0.5em 0 0;
  line-height: 1.75;
  color: #454a4f;
}
.products {
  border-top: 1px solid var(--ink);
}
.product-grid article {
  background: var(--paper);
}
.product-grid article:nth-child(2) {
  background: var(--yellow);
}
.product-lead {
  font-size: 16px;
  font-weight: 800;
}
.product-grid ul {
  min-height: 130px;
  padding-left: 18px;
  line-height: 1.85;
}
.note {
  padding: 9vw;
  background: var(--ink);
  color: var(--paper);
}
.note p {
  max-width: 600px;
  line-height: 1.85;
}
.note .button {
  margin-top: 17px;
  border-color: var(--paper);
}
footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 28px 4vw;
  background: var(--ink);
  border-top: 1px solid var(--paper);
  color: var(--paper);
}
footer a {
  color: inherit;
}
footer div {
  display: flex;
  gap: 15px;
  font-size: 12px;
}
@media (max-width: 760px) {
  .guide-menu nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(370px, calc(100vw - 32px));
  }
  .hero,
  .route {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 70px 24px 50px;
  }
  .hero-art {
    min-height: 430px;
    border-left: 0;
    border-top: 1px solid var(--ink);
  }
  .purpose {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .roles,
  .products {
    padding: 70px 24px;
  }
  .role-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .role,
  .product-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
  .route {
    padding: 70px 24px;
  }
  .route-title {
    padding-right: 0;
    margin-bottom: 35px;
  }
  .statline {
    gap: 7px;
  }
  .statline i {
    width: 18px;
  }
  footer {
    grid-template-columns: 1fr;
  }
}
