/* Aralin Nook: bright and friendly tutorial center sample by Wensie Works */
:root {
  --cream: #fbf6ec;
  --sand: #f4ead6;
  --paper: #fffdf8;
  --peach-band: #fdeee0;
  --ink: #1d3a2b;
  --ink-deep: #13261b;   /* text on orange: 5.2:1 */
  --ink-press: #0e1f16;  /* the pressed edge under dark buttons */
  --body: #3b5145;       /* 6.9:1 or more on the page and every tint */
  --leaf: #2f6b4a;       /* labels and accent words: 5:1 or more on every tint */
  --orange: #e8722c;     /* shapes, marks and badges with deep ink text */
  --sky: #dcecff;
  --mint: #ddf4e4;
  --peach: #ffe1cc;
  --lilac: #ece2ff;
  --butter: #fff0c2;
  --line: #e6dcc8;
  --line-strong: #d8cab0;
  --on-dark: #fbf6ec;
  --on-dark-soft: #c7d6cb; /* 8.2:1 on ink */
  --on-dark-label: #a8d5b9; /* 7.6:1 on ink */
  --max: 78rem;
  --gutter: 1rem;
  --space: 4.5rem;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --shadow: 0 1.75rem 3rem -1.75rem rgba(29, 58, 43, 0.35);
  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
dl, dd { margin: 0; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.75rem, 1.55rem + 4.4vw, 5rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(2.125rem, 1.45rem + 2.2vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.015em; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible,
.sample :focus-visible { outline-color: var(--on-dark); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Skip link: a cream ring with an ink edge reads on the dark banner and the cream header */
.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.125rem;
  border-radius: 0.75rem;
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus-visible {
  transform: none;
  outline: 3px solid var(--on-dark);
  outline-offset: 0;
  box-shadow: 0 0 0 6px var(--ink);
}

/* Sample banner */
.sample {
  margin: 0;
  padding: 0.5rem var(--gutter);
  background: var(--ink);
  color: #e8f0ea;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.sample a { color: #fff; font-weight: 600; }

/* Header: one row on phones, pinned from 640px */
.top {
  position: relative;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
  padding: 0.625rem max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  background: rgba(251, 246, 236, 0.94);
  border-bottom: 1px solid rgba(216, 202, 176, 0.6);
  backdrop-filter: saturate(1.3) blur(10px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  color: var(--ink);
  font: 750 1.25rem/1 var(--font-display);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand-mark { width: 2rem; height: 2rem; flex: none; }
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  font-weight: 600;
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  color: var(--body);
  text-decoration: none;
}
.nav a:hover { color: var(--ink); background: rgba(29, 58, 43, 0.06); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.4rem;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
}
.top .top-cta { display: none; }

/* Buttons: pills with a pressed edge, like a friendly key */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-dark);
  font: 600 1.0625rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--ink-press);
  cursor: pointer;
}
.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-small {
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.9375rem;
  box-shadow: 0 3px 0 var(--ink-press);
}
.btn-line {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink), 0 4px 0 var(--ink);
}
.btn-light {
  background: var(--on-dark);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--orange);
}
.btn-line-light {
  background: transparent;
  color: var(--on-dark);
  box-shadow: inset 0 0 0 2px var(--on-dark);
}
.btn-line:hover { background: var(--mint); }
.btn-line-light:hover { background: rgba(251, 246, 236, 0.1); }

.more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}
.more svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Labels, leads and section heads */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--peach);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}
.pill-dot { width: 0.5rem; height: 0.5rem; flex: none; border-radius: 50%; background: var(--orange); }

.kicker {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--leaf);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
}
.on-dark .kicker { color: var(--on-dark-label); }

.lead { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem); line-height: 1.6; max-width: 36rem; }
.accent { color: var(--leaf); }

.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head h2 { margin-top: 0.875rem; }
.section-note { margin-top: 1rem; max-width: 36rem; font-size: 1.125rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .section-note { margin-inline: auto; }
.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  max-width: none;
}
.split-head > div { max-width: 40rem; }

.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Hand-drawn underline and sparkle */
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark-line {
  position: absolute;
  left: -4%;
  bottom: -0.2em;
  width: 108%;
  height: 0.36em;
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke: var(--orange);
  stroke-width: 5;
  stroke-linecap: round;
}
.mark-line path + path { stroke-width: 3; }
.spark {
  position: absolute;
  top: -0.42em;
  right: -0.52em;
  width: 0.48em;
  height: 0.48em;
  overflow: visible;
  fill: none;
  stroke: var(--orange);
  stroke-width: 4;
  stroke-linecap: round;
}

/* Home hero */
main { overflow-x: clip; }
.hero { padding-top: 2.75rem; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin-top: 1.25rem; max-width: 11em; }
.hero .lead { margin-top: 1.25rem; }
.hero .actions { justify-content: center; }
.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem 1.5rem;
  margin-top: 1.75rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}
.facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.facts svg {
  width: 1.375rem;
  height: 1.375rem;
  padding: 0.2rem;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
  fill: none;
  stroke: var(--leaf);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage { position: relative; margin-top: 3rem; padding-bottom: 5rem; }
.ribbon {
  position: absolute;
  left: 50%;
  top: 44%;
  width: max(100vw, 60rem);
  max-width: none;
  height: auto;
  overflow: visible;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ribbon path { fill: none; stroke: var(--ink); stroke-width: 58; }
.ribbon text {
  fill: var(--on-dark);
  font: 600 21px var(--font-body);
  letter-spacing: 0.08em;
}
.stage-inner { position: relative; }
.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand);
  box-shadow: var(--shadow);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-main {
  width: 88%;
  margin-left: auto;
  aspect-ratio: 4 / 3;
  transform: rotate(2deg);
}
.shot-side {
  position: absolute;
  left: 0.75rem;
  bottom: -3rem;
  z-index: 2;
  width: 40%;
  aspect-ratio: 1;
  border: 5px solid var(--cream);
  transform: rotate(-7deg);
}
.shape { position: absolute; z-index: 3; overflow: visible; pointer-events: none; }
.stage .shape-flower { width: 4.25rem; left: 34%; bottom: -4.25rem; }
.stage .shape-clover { width: 3.25rem; right: 0.75rem; top: -1.75rem; }

/* Bands and the cloud edge */
.block { padding: var(--space) 0; }
.block-flush-top { padding-top: 0; }
.band-sand { background: var(--sand); }
.band-peach { background: var(--peach-band); }
.cloud-top { position: relative; }
.cloud-top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: 2.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40'%3E%3Cpath d='M0 40A35 26 0 0 1 70 40A50 34 0 0 1 170 40A35 22 0 0 1 240 40Z' fill='%23f4ead6'/%3E%3C/svg%3E") left bottom / 15rem 2.5rem repeat-x;
  pointer-events: none;
}

/* Program cards */
.prog-grid { display: grid; gap: 1rem; }
.prog-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
}
.prog-card::after {
  content: "";
  position: absolute;
  right: -3.5rem;
  bottom: -3.5rem;
  z-index: -1;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.5);
}
.prog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.prog-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: 0 3px 0 rgba(29, 58, 43, 0.12);
}
.prog-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.grade {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: right;
}
.prog-card h3 { font-size: 1.625rem; }
.card-link { color: inherit; text-decoration: none; }
.card-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.prog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(29, 58, 43, 0.12);
  color: var(--ink);
  font-weight: 600;
}
.prog-foot strong { font: 750 1.5rem/1 var(--font-display); letter-spacing: -0.02em; }
.arrow {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  padding: 0.6rem;
  border-radius: 50%;
  background: var(--ink);
  fill: none;
  stroke: var(--on-dark);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.prog-cta {
  justify-content: center;
  background: var(--ink);
  color: var(--on-dark-soft);
}
.prog-cta::after { background: rgba(251, 246, 236, 0.06); }
.prog-cta h3 { color: var(--on-dark); font-size: 1.75rem; max-width: 12em; }
.prog-cta .btn { align-self: flex-start; margin-top: 0.75rem; }
.cta-spark {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  fill: none;
  stroke: var(--orange);
  stroke-width: 4;
  stroke-linecap: round;
}

.tint-sky { background: var(--sky); }
.tint-mint { background: var(--mint); }
.tint-peach { background: var(--peach); }
.tint-lilac { background: var(--lilac); }
.tint-butter { background: var(--butter); }

/* Dark panel and steps */
.panel-dark {
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--on-dark-soft);
}
.panel-dark h2,
.panel-dark h3 { color: var(--on-dark); }
.steps { position: relative; display: grid; gap: 2rem; }
.steps::before {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 1.95rem;
  border-left: 2px dashed rgba(251, 246, 236, 0.3);
}
.steps li { position: relative; display: grid; grid-template-columns: 4rem 1fr; column-gap: 1.25rem; }
.step-num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%;
  background: var(--orange);
  color: var(--ink-deep);
  font: 800 1.75rem/1 var(--font-display);
}
.steps h3 { align-self: end; font-size: 1.375rem; }
.steps p { margin-top: 0.5rem; }

/* Teachers */
.teachers { display: grid; gap: 1rem; }
.person {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line-strong);
}
.person:last-child { border-bottom: 1px solid var(--line-strong); }
.monogram {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 42% 58% 52% 48% / 55% 45% 55% 45%;
  color: var(--ink);
  font: 800 1.875rem/1 var(--font-display);
}
.person h3 { font-size: 1.5rem; }
.role {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink-deep);
  font-size: 0.875rem;
  font-weight: 700;
}
.person .role + p { margin-top: 0.75rem; max-width: 34rem; }

/* Reviews */
.reviews { display: grid; gap: 1.25rem; }
.review {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}
.review blockquote { margin: 0; }
.review blockquote p {
  color: var(--ink);
  font: 600 1.25rem/1.45 var(--font-display);
  letter-spacing: -0.01em;
}
.review-big blockquote p { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); line-height: 1.3; letter-spacing: -0.02em; }
.quote-mark { width: 3.5rem; fill: var(--orange); }
.review figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  color: var(--ink);
  font-weight: 600;
}
.stars { display: inline-flex; }
.stars svg { width: 6rem; height: 1.25rem; fill: var(--orange); }

/* Fees */
.plans { display: grid; gap: 1.25rem; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.price { margin-top: 0.875rem; font-weight: 600; }
.price strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font: 800 clamp(2.5rem, 2.1rem + 1.4vw, 3.25rem)/1 var(--font-display);
  letter-spacing: -0.035em;
}
.ticks { display: grid; gap: 0.625rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px dashed var(--line-strong); }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b4a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
}
.plan-feature {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-dark-soft);
}
.plan-feature h3,
.plan-feature .price strong { color: var(--on-dark); }
.plan-feature .ticks { border-top-color: rgba(251, 246, 236, 0.25); }
.badge {
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink-deep);
  font-size: 0.875rem;
  font-weight: 700;
}
.fees-more { margin-top: 2.5rem; text-align: center; }

/* FAQ */
.faq-wrap { display: grid; gap: 0.5rem; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 1rem 0;
  color: var(--ink);
  font: 700 1.1875rem/1.35 var(--font-display);
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d3a2b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 1rem no-repeat;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 40rem; padding: 0 3.25rem 1.5rem 0; }

/* Visit */
.visit-grid { display: grid; gap: 2.5rem; align-items: center; }
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}
.open-badge[hidden] { display: none; }
.open-badge.is-closed { background: var(--peach); }
.open-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--leaf); }
.is-closed .open-dot { background: var(--orange); }
.hours { max-width: 28rem; margin-top: 1.5rem; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line-strong);
}
.hours div:first-child { border-top: 1px solid var(--line-strong); }
.hours dt { color: var(--ink); font-weight: 600; }
.contact-list { display: grid; gap: 0.25rem; margin-top: 1.5rem; color: var(--ink); font-weight: 500; }
.contact-list li { display: flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; }
.contact-list svg { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: var(--leaf); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }
.visit-photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.visit-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.visit-photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Footer */
.foot {
  padding: 4.5rem 0 2rem;
  background: var(--ink);
  color: var(--on-dark-soft);
}
.foot a { color: var(--on-dark); }
.brand-light { color: var(--on-dark); }
.foot-grid { display: grid; gap: 2.5rem; }
.foot-about p { max-width: 22rem; margin-top: 1rem; }
.foot-title {
  margin-bottom: 1rem;
  color: var(--on-dark);
  font: 700 0.8125rem/1.3 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.foot-grid p + p { margin-top: 0.25rem; }
.foot-grid p a,
.foot-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.foot-hours div { display: flex; justify-content: space-between; gap: 1rem; max-width: 18rem; padding: 0.2rem 0; }
.foot-hours dt { color: var(--on-dark); }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(251, 246, 236, 0.18);
  font-size: 0.9375rem;
}
.foot-base p { display: flex; align-items: center; min-height: 2.75rem; }
.foot-base a { margin-left: 0.3em; }

/* Programs page */
.page-head { padding: 2.75rem 0 var(--space); }
.page-head-grid { display: grid; gap: 3rem; align-items: center; }
.page-head h1 { margin-top: 1.25rem; }
.page-head .lead { margin-top: 1.25rem; }
.jump { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 2rem; }
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(29, 58, 43, 0.12);
}
.fee-card {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.fee-card h2 { font-size: 1.75rem; }
.fee-rows { margin-top: 1.25rem; border-top: 1px dashed var(--line-strong); }
.fee-rows div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px dashed var(--line-strong);
}
.fee-rows dt { color: var(--ink); font-weight: 600; }
.fee-rows dd { text-align: right; }
.fee-rows strong { color: var(--ink); font: 800 1.375rem/1 var(--font-display); letter-spacing: -0.02em; }
.fee-note { margin-top: 1rem; font-size: 0.9375rem; }
.fee-flower { width: 4.25rem; right: -0.75rem; top: -1.75rem; }

.programs-list { padding-top: 0; }
.programs-list .wrap { display: grid; gap: 1.25rem; }
.program {
  display: grid;
  gap: 1.75rem;
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-lg);
  scroll-margin-top: 6rem;
}
.program h2 { margin-top: 1rem; font-size: clamp(2rem, 1.55rem + 1.4vw, 2.5rem); }
.program-main > p { max-width: 34rem; margin-top: 0.875rem; }
.program h3 {
  margin-top: 1.75rem;
  color: var(--leaf);
  font: 700 0.8125rem/1.3 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.program .ticks { margin-top: 0.875rem; padding-top: 0; border-top: 0; }
.program .ticks li::before { background-color: var(--paper); }
.facts-card {
  align-self: start;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 3px 0 rgba(29, 58, 43, 0.08);
}
.facts-card div { display: grid; gap: 0.125rem; padding: 0.875rem 0; border-bottom: 1px solid var(--line); }
.facts-card div:last-child { border-bottom: 0; }
.facts-card dt { font-size: 0.9375rem; font-weight: 600; }
.facts-card dd { color: var(--ink); font-weight: 600; }
.facts-card dd span { display: block; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.sched { width: 100%; border-collapse: collapse; }
.sched th,
.sched td {
  padding: 0.75rem 0.625rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.sched thead th {
  background: var(--ink);
  color: var(--on-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sched tbody th {
  background: rgba(244, 234, 214, 0.55);
  color: var(--ink);
  font: 700 1rem/1.3 var(--font-display);
}
.sched td:nth-last-child(2) { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.sched tbody:last-child tr:last-child > * { border-bottom: 0; }
.chip {
  display: inline-block;
  margin: 0.15rem 0.375rem 0.15rem 0;
  padding: 0.25rem 0.7rem;
  border-radius: 0.875rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}
.chip-plain { background: var(--sand); }
.day-short { display: inline; }
.day-long {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.enroll-grid { display: grid; gap: 2.5rem; align-items: center; }
.enroll-photo { overflow: hidden; border-radius: var(--radius-lg); }
.enroll-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.enroll-grid h2 { margin-top: 0.875rem; }
.enroll-steps { counter-reset: step; margin-top: 2rem; border-top: 1px solid var(--line-strong); }
.enroll-steps li {
  position: relative;
  padding: 1.5rem 0 1.5rem 4.25rem;
  border-bottom: 1px solid var(--line-strong);
  counter-increment: step;
}
.enroll-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1.35rem;
  display: grid;
  place-items: center;
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%;
  background: var(--orange);
  color: var(--ink-deep);
  font: 800 1.25rem/1 var(--font-display);
}
.enroll-steps p { margin-top: 0.375rem; }

.cta-panel { padding: 4rem 1.5rem; text-align: center; }
.cta-panel h2 { max-width: 16em; margin-inline: auto; }
.cta-panel p { max-width: 34rem; margin: 1rem auto 0; font-size: 1.125rem; }
.cta-panel .actions { justify-content: center; }
.cta-clover { width: 6rem; right: -1rem; top: -1.25rem; }

/* Motion: transform and opacity only, and none of it under reduced motion */
/* Two classes, so a card's own hover transition cannot cancel the fade */
.reveal.reveal-ready { opacity: 0; transform: translateY(1.25rem); }
.reveal.reveal-in { transition: opacity 0.6s ease, transform 0.6s ease; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.5rem); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

@media (prefers-reduced-motion: no-preference) {
  .shape-flower { animation: bob 6s ease-in-out infinite; }
  .shape-clover { animation: bob 7s ease-in-out 1.5s infinite; }
  .open-badge.is-open .open-dot { animation: pulse-dot 1.6s ease-in-out infinite; }
  .btn, .prog-card, .arrow, .jump a, .more svg, .shot img, .visit-photo img, .enroll-photo img, .faq summary::after {
    transition: transform 0.25s ease;
  }
  .shot img, .visit-photo img, .enroll-photo img { transition-duration: 0.8s; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(2px); }
  .prog-card:hover { transform: translateY(-4px); }
  .prog-card:hover .arrow { transform: translateX(3px); }
  .jump a:hover { transform: translateY(-2px); }
  .more:hover svg { transform: translateX(3px); }
  .shot:hover img,
  .visit-photo:hover img,
  .enroll-photo:hover img { transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.reveal-ready { opacity: 1; transform: none; }
}

/* Larger phones and tablets */
@media (min-width: 600px) {
  .top .top-cta { display: inline-flex; }
}

@media (min-width: 640px) {
  :root { --gutter: 1.5rem; }
  .top { position: sticky; }
  .prog-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .review-big { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .stage .shape-flower { width: 5.5rem; }
  .stage .shape-clover { width: 4.25rem; }
  .sched th,
  .sched td { padding: 1rem 1.25rem; }
  .sched tbody th { font-size: 1.125rem; }
  .day-short { display: none; }
  .day-long { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
  .facts-card div { grid-template-columns: 7.5rem 1fr; gap: 1rem; }
  .program { padding: 2.25rem; }
  .panel-dark { padding: 3.5rem 2.5rem; }
}

/* Computers */
@media (min-width: 960px) {
  :root { --space: 7.5rem; }
  .hero { padding-top: 4rem; }
  .stage { margin-top: 3.5rem; padding-bottom: 6rem; }
  .stage-inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
  }
  .shot-main {
    grid-column: 4 / 12;
    grid-row: 1;
    width: auto;
    margin: 0;
    aspect-ratio: 3 / 2;
  }
  .shot-side {
    position: relative;
    grid-column: 1 / 4;
    grid-row: 1;
    left: auto;
    bottom: auto;
    width: auto;
    border-width: 6px;
    transform: translate(2rem, 5rem) rotate(-7deg);
  }
  .stage .shape-flower { width: 6.5rem; left: 19%; bottom: -1.5rem; }
  .stage .shape-clover { width: 5rem; right: 4%; top: -2rem; }

  .prog-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .prog-card { min-height: 21rem; padding: 2rem; }

  .panel-dark { padding: 5rem 4.5rem; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
  .steps::before { top: 2rem; bottom: auto; left: 2rem; right: 2rem; border-left: 0; border-top: 2px dashed rgba(251, 246, 236, 0.3); }
  .steps li { display: block; }
  .steps h3 { margin-top: 1.5rem; }

  .teachers { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
  .teachers .section-head { margin-bottom: 0; }
  .person { grid-template-columns: auto 1fr; gap: 1.75rem; padding: 2rem 0; }

  .reviews { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 1.5rem; }
  .review-big { grid-column: 1; grid-row: span 2; padding: 3rem; }

  .plans { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: center; }
  .plan { padding: 2.5rem 2.25rem; }
  .plan-feature { padding-block: 3.25rem; }

  .faq-wrap { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }

  .visit-grid { grid-template-columns: 1fr 1.15fr; gap: 4.5rem; }
  .visit-photo {
    margin-right: calc((min(100vw, var(--max)) - 100vw) / 2 - var(--gutter));
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }
  .visit-photo img { aspect-ratio: 5 / 4; }
  .visit-photo figcaption { left: 1.5rem; bottom: 1.5rem; }

  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }

  .page-head { padding-top: 4rem; }
  .page-head-grid { grid-template-columns: 1.5fr 1fr; gap: 4.5rem; }
  .fee-card { padding: 2.5rem 2.25rem 2rem; }
  .program { grid-template-columns: 1.25fr 1fr; gap: 3rem; padding: 3rem; }
  .enroll-grid { grid-template-columns: 1fr 1.05fr; gap: 5rem; }
  .enroll-photo {
    margin-left: calc((min(100vw, var(--max)) - 100vw) / 2 - var(--gutter));
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  }
  .enroll-photo img { aspect-ratio: 4 / 5; }
  .cta-panel { padding: 5.5rem 3rem; }
}

@media (min-width: 1200px) {
  .shot-side { transform: translate(3rem, 5.5rem) rotate(-7deg); }
}
