@charset "UTF-8";

/*
 * Love Reading public home
 * Mobile-first conversion layout. The flipbook keeps its own styles.
 */

:root {
  color-scheme: light;

  --home-bg: #fffaf2;
  --home-surface: #fff3df;
  --home-surface-strong: #fffdfa;
  --home-ink: #302925;
  --home-muted: #675347;
  --home-brand: #ee9d45;
  --home-brand-soft: #ffe5b8;
  --home-brand-strong: #9c431a;
  --home-sky: #cfe5dc;
  --home-sky-soft: #f0f7f2;
  --home-sky-strong: #356b61;
  --home-pink: #f1b0a1;
  --home-mint: #d9e9cf;
  --home-lavender: #e9ddd6;
  --activity-coral: #e7656c;
  --activity-coral-soft: #fff0ef;
  --activity-sun: #f3c84f;
  --activity-sun-soft: #fff7d6;
  --activity-blue: #4d9fd3;
  --activity-blue-soft: #eaf7ff;
  --activity-purple: #8871c9;
  --activity-purple-soft: #f2edff;
  --activity-mint: #54ad8d;
  --activity-mint-soft: #e9f8f1;
  --activity-orange: #e98244;
  --activity-orange-soft: #fff0e3;
  --activity-deep: #3f3b63;
  --activity-rainbow: linear-gradient(90deg, var(--activity-coral), var(--activity-sun), var(--activity-mint), var(--activity-blue), var(--activity-purple));
  --home-line: #06c755;
  --home-line-dark: #007a32;
  --home-line-ink: #102a1a;
  --home-border: #ead7bb;
  --home-border-strong: #d7b98e;
  --home-focus: #005fcc;
  --home-danger: #a32828;

  --font-ui: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-display: "Fredoka", "Noto Sans TC", "PingFang TC", sans-serif;
  --font-story: "Noto Serif TC", "Songti TC", serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  --radius-sm: 0.625rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
  --shadow-card: 0 0.5rem 1.5rem rgb(111 74 40 / 0.1);
  --shadow-lift: 0 1.25rem 3rem rgb(111 74 40 / 0.16);
  --shadow-line: 0 0.5rem 1.25rem rgb(6 199 85 / 0.24);

  --content-width: 75rem;
  --reading-width: 45rem;
  --touch-size: 3rem;
  --header-height: 4.5rem;
  --sticky-line-height: 4.75rem;
  --ease-out: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--space-4));
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--home-bg);
  color: var(--home-ink);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: calc(var(--sticky-line-height) + env(safe-area-inset-bottom, 0px));
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-ui);
}

img,
picture,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--home-brand-strong);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font-size: 1rem;
}

button,
[role="button"],
summary,
select {
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 0.1875rem solid var(--home-focus);
  outline-offset: 0.1875rem;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--home-brand-soft);
  color: var(--home-ink);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 1000;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--home-ink);
  color: #fff;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms var(--ease-out);
}

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

.home-shell,
.section-shell,
.site-header__inner,
.site-footer__inner {
  width: min(100% - 2rem, var(--content-width));
  margin-inline: auto;
}

.home-section {
  position: relative;
  padding-block: var(--space-12);
  scroll-margin-top: calc(var(--header-height) + var(--space-4));
}

.home-section--cream {
  background: var(--home-surface);
}

.home-section--sky {
  background: var(--home-sky-soft);
}

.home-section--white {
  background: var(--home-surface-strong);
}

.section-heading {
  max-width: var(--reading-width);
  margin: 0 auto var(--space-8);
  text-align: center;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-2);
  color: var(--home-brand-strong);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--home-ink);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: var(--space-3) auto 0;
  max-width: 38rem;
  color: var(--home-muted);
  font-size: 1rem;
}

.button,
.btn,
.line-cta {
  min-height: var(--touch-size);
  min-width: var(--touch-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: 0.125rem solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms var(--ease-out),
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:active,
.btn:active,
.line-cta:active {
  transform: scale(0.98);
}

.button--primary,
.btn-primary {
  background: var(--home-brand-strong);
  color: #fff;
  box-shadow: 0 0.5rem 1.25rem rgb(168 79 22 / 0.2);
}

.button--secondary,
.btn-secondary {
  border-color: var(--home-border-strong);
  background: #fff;
  color: var(--home-ink);
}

.button--line,
.btn-line,
.line-cta {
  background: var(--home-line);
  color: var(--home-line-ink);
  box-shadow: var(--shadow-line);
}

.button--ghost {
  border-color: transparent;
  background: transparent;
  color: var(--home-brand-strong);
  box-shadow: none;
}

.button__icon,
.line-cta__icon {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgb(234 220 200 / 0.9);
  background: rgb(255 253 247 / 0.94);
  box-shadow: 0 0.25rem 1rem rgb(45 45 45 / 0.05);
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: env(safe-area-inset-top, 0px);
}

.site-brand {
  min-height: var(--touch-size);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--home-ink);
  text-decoration: none;
}

.site-brand__mark {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 0.125rem solid #fff;
  border-radius: 50%;
  object-fit: cover;
  background: var(--home-sky);
  box-shadow: 0 0.25rem 0.75rem rgb(45 45 45 / 0.12);
  font-size: 1.35rem;
}

.site-brand__text {
  display: grid;
  line-height: 1.05;
}

.site-brand__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 800;
}

.site-brand__tagline {
  margin-top: 0.2rem;
  color: var(--home-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.nav-toggle {
  width: var(--touch-size);
  height: var(--touch-size);
  margin-left: auto;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--home-border);
  border-radius: 50%;
  background: #fff;
  color: var(--home-ink);
}

.site-nav {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 1rem;
  right: 1rem;
  display: none;
  padding: var(--space-3);
  border: 1px solid var(--home-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lift);
}

.site-nav.is-open,
.site-nav[data-open="true"] {
  display: grid;
}

.site-nav__list {
  display: grid;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  min-height: var(--touch-size);
  display: flex;
  align-items: center;
  padding-inline: var(--space-4);
  border-radius: var(--radius-md);
  color: var(--home-ink);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: var(--home-surface);
  color: var(--home-brand-strong);
}

.header-line-cta {
  display: none;
  white-space: nowrap;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgb(255 255 255 / 0.92) 0 10%, transparent 34%),
    radial-gradient(circle at 92% 20%, rgb(244 165 54 / 0.18) 0 7%, transparent 28%),
    linear-gradient(160deg, var(--home-sky-soft), var(--home-sky) 54%, #a8d8eb);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  opacity: 0.48;
}

.hero::before {
  width: 9rem;
  height: 9rem;
  top: 8%;
  left: -4rem;
  background: var(--home-brand-soft);
}

.hero::after {
  width: 12rem;
  height: 12rem;
  right: -5rem;
  bottom: -4rem;
  background: rgb(248 165 194 / 0.45);
}

.hero__inner {
  width: min(100% - 2rem, var(--content-width));
  min-height: min(47rem, calc(100svh - var(--header-height)));
  margin-inline: auto;
  display: grid;
  align-items: center;
  gap: var(--space-8);
  padding-block: var(--space-10) var(--space-12);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding: 0.45rem 0.8rem;
  border: 1px solid rgb(27 111 138 / 0.28);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.8);
  color: var(--home-sky-strong);
  font-size: 0.875rem;
  font-weight: 800;
}

.hero h1,
.hero__title {
  margin: 0;
  color: var(--home-ink);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 9vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero__title em,
.hero__highlight {
  color: var(--home-brand-strong);
  font-style: normal;
}

.hero__lead {
  max-width: 38rem;
  margin: var(--space-5) auto 0;
  color: var(--home-muted);
  font-size: clamp(1.0625rem, 4vw, 1.25rem);
}

.hero__actions {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.hero__hint {
  margin: var(--space-3) 0 0;
  color: var(--home-muted);
  font-size: 0.875rem;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-4);
  margin: var(--space-6) 0 0;
  padding: 0;
  color: var(--home-muted);
  font-size: 0.875rem;
  font-weight: 700;
  list-style: none;
}

.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.hero__proof li::before {
  content: "✓";
  color: var(--home-line-dark);
  font-weight: 900;
}

.hero__media {
  position: relative;
  width: min(100%, 31rem);
  margin-inline: auto;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 7% 4% 0;
  border-radius: 44% 56% 48% 52% / 52% 42% 58% 48%;
  background: rgb(255 255 255 / 0.72);
  box-shadow: var(--shadow-lift);
  transform: rotate(-2deg);
}

.hero__art {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 1rem 1.25rem rgb(45 45 45 / 0.16));
}

.hero__note {
  position: absolute;
  right: 0;
  bottom: 5%;
  max-width: 12rem;
  padding: var(--space-3) var(--space-4);
  border: 0.125rem solid #fff;
  border-radius: var(--radius-md);
  background: var(--home-surface);
  color: var(--home-muted);
  box-shadow: var(--shadow-card);
  font-size: 0.8125rem;
  font-weight: 700;
  transform: rotate(2deg);
}

/* Quick facts */
.quick-facts {
  position: relative;
  z-index: 3;
  margin-top: calc(var(--space-6) * -1);
}

.quick-facts__grid,
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.fact-card {
  min-height: 8.5rem;
  display: grid;
  align-content: start;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 1px solid var(--home-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.fact-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.8rem;
  background: var(--home-surface);
  font-size: 1.35rem;
}

.fact-card h3,
.fact-card__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.fact-card p,
.fact-card__text {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Reusable compact guide for course and schedule decisions. */
.cat-guide {
  width: min(100%, 42rem);
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  align-items: center;
  gap: var(--space-4);
  margin: calc(var(--space-2) * -1) auto var(--space-6);
  padding: var(--space-3) var(--space-4);
  border: 1px solid #e4b878;
  border-radius: var(--radius-lg);
  background: rgb(255 248 231 / 0.96);
  box-shadow: var(--shadow-card);
}

.cat-guide__image {
  width: 4.75rem;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: linear-gradient(145deg, #ffedbd, #ffe1c7);
}

.cat-guide__body {
  min-width: 0;
}

.cat-guide__title {
  margin: 0;
  color: var(--home-ink);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.35;
}

.cat-guide p {
  margin: var(--space-1) 0 0;
  color: var(--home-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.cat-guide--schedule {
  border-color: rgb(244 165 54 / 0.82);
  background: #fff8e7;
}

.cat-guide--schedule .cat-guide__image {
  background: linear-gradient(145deg, #ffe1c7, #ffedbd);
}

/* Course filter and cards */
.age-filter,
.course-filters {
  display: flex;
  gap: var(--space-2);
  margin: 0 calc(var(--space-4) * -1) var(--space-6);
  padding: 0 var(--space-4) var(--space-2);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--home-border-strong) transparent;
}

.age-chip,
.filter-chip {
  min-height: var(--touch-size);
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: 0.125rem solid var(--home-border);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1rem;
  background: #fff;
  color: var(--home-muted);
  font-size: 0.9375rem;
  font-weight: 800;
}

.age-chip:hover,
.filter-chip:hover,
.age-chip[aria-pressed="true"],
.filter-chip.is-active,
.filter-chip[aria-selected="true"] {
  border-color: var(--home-brand-strong);
  background: var(--home-brand-soft);
  color: var(--home-ink);
}

.course-grid,
.courses-grid {
  display: grid;
  gap: var(--space-4);
}

.course-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.course-card::before {
  content: "";
  height: 0.375rem;
  background: var(--course-accent, var(--home-brand));
}

.course-card:nth-child(6n + 1) { --course-accent: #5da8c0; --course-tint: #effaff; }
.course-card:nth-child(6n + 2) { --course-accent: #d4789c; --course-tint: #fff1f6; }
.course-card:nth-child(6n + 3) { --course-accent: #5c9d53; --course-tint: #f2fbf0; }
.course-card:nth-child(6n + 4) { --course-accent: #b17b10; --course-tint: #fffbeb; }
.course-card:nth-child(6n + 5) { --course-accent: #7b66a6; --course-tint: #f8f2ff; }
.course-card:nth-child(6n + 6) { --course-accent: #bd6542; --course-tint: #fff4ef; }

.course-card__head {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-5) var(--space-3);
  background: linear-gradient(180deg, var(--course-tint, var(--home-surface)), #fff);
}

.course-card__icon,
.course-card__mascot {
  width: 4rem;
  height: 4rem;
  border: 0.1875rem solid #fff;
  border-radius: 1.1rem;
  object-fit: cover;
  background: var(--course-tint, var(--home-surface));
  box-shadow: 0 0.25rem 0.75rem rgb(45 45 45 / 0.1);
}

.course-card__title {
  margin: 0;
  color: var(--home-ink);
  font-size: 1.2rem;
  line-height: 1.25;
}

.course-card__subtitle {
  margin: var(--space-1) 0 0;
  color: var(--home-muted);
  font-size: 0.875rem;
}

.course-card__body {
  flex: 1;
  display: grid;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5) var(--space-5);
}

.course-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  margin: 0;
}

.course-card__meta > div,
.course-meta__item {
  min-width: 0;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--home-surface);
}

.course-card__meta dt,
.course-meta__label {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.course-card__meta dd,
.course-meta__value {
  margin: var(--space-1) 0 0;
  color: var(--home-ink);
  font-size: 0.9375rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.course-card__price {
  color: var(--home-brand-strong);
  font-size: 1.125rem;
  font-weight: 900;
}

.course-card__actions {
  display: grid;
  gap: var(--space-2);
  margin-top: auto;
}

.course-card__note {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.8125rem;
  text-align: center;
}

.empty-state,
.loading-state {
  grid-column: 1 / -1;
  padding: var(--space-8) var(--space-5);
  border: 0.125rem dashed var(--home-border-strong);
  border-radius: var(--radius-lg);
  background: var(--home-surface);
  color: var(--home-muted);
  text-align: center;
}

/* Schedule */
.schedule-grid,
.schedules-grid {
  display: grid;
  gap: var(--space-4);
}

.schedule-card {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--home-border);
  border-left: 0.35rem solid var(--schedule-accent, var(--home-sky-strong));
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.schedule-card__day {
  min-height: 3.75rem;
  display: grid;
  place-items: center;
  align-self: start;
  border-radius: var(--radius-md);
  background: var(--home-sky-soft);
  color: var(--home-sky-strong);
  font-size: 0.875rem;
  font-weight: 900;
  text-align: center;
}

.schedule-card__body {
  min-width: 0;
}

.schedule-card__title {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.3;
}

.schedule-card__time,
.schedule-card__audience {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin: var(--space-2) var(--space-3) 0 0;
  color: var(--home-muted);
  font-size: 0.9375rem;
}

.schedule-card__footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--home-border);
}

.schedule-card__price {
  color: var(--home-brand-strong);
  font-weight: 900;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: #e9f8ed;
  color: #1f6c33;
  font-size: 0.8125rem;
  font-weight: 800;
}

.availability-pill--full {
  background: #fff0f0;
  color: var(--home-danger);
}

/* Teacher */
.teacher__grid,
.teacher-grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.teacher__media {
  position: relative;
  width: min(100%, 28rem);
  margin-inline: auto;
}

.teacher__portrait {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0.4rem solid #fff8e7;
  border-radius: 36% 64% 45% 55% / 55% 42% 58% 45%;
  object-fit: cover;
  background: #ffe1c7;
  box-shadow: var(--shadow-lift);
}

.teacher__stamp {
  position: absolute;
  right: -0.25rem;
  bottom: -0.5rem;
  width: 7rem;
  height: 7rem;
  display: grid;
  place-items: center;
  border: 0.1875rem solid var(--home-brand-strong);
  border-radius: 50%;
  background: var(--home-surface);
  color: var(--home-brand-strong);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transform: rotate(5deg);
}

.teacher__content .section-title,
.teacher__content .section-lead {
  margin-inline: 0;
  text-align: left;
}

.teacher__quote {
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-5);
  border-left: 0.3rem solid var(--home-brand-strong);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgb(255 248 231 / 0.94);
  color: var(--home-ink);
  font-family: var(--font-story);
  font-size: 1.125rem;
}

.teacher-points {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}

.teacher-points li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: start;
  gap: var(--space-3);
}

.teacher-points__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.8rem;
  background: #fff8e7;
  box-shadow: var(--shadow-card);
}

.teacher-points strong {
  display: block;
  line-height: 1.35;
}

.teacher-points p {
  margin: var(--space-1) 0 0;
  color: var(--home-muted);
  font-size: 0.9375rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.gallery-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--home-surface);
  box-shadow: var(--shadow-card);
}

.gallery-card:first-child {
  grid-column: 1 / -1;
}

.gallery-card__media,
.gallery-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 200ms var(--ease-out);
}

.gallery-card:first-child .gallery-card__media,
.gallery-card:first-child img {
  aspect-ratio: 16 / 10;
}

.gallery-card__caption {
  position: absolute;
  inset: auto 0 0;
  padding: var(--space-6) var(--space-3) var(--space-3);
  background: linear-gradient(transparent, rgb(25 20 16 / 0.8));
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}

.gallery-actions {
  margin-top: var(--space-6);
  text-align: center;
}

/* Trial flow */
.trial-steps__grid,
.steps-grid {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.trial-step {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--home-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.trial-step__number {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border: 0.1875rem solid #fff;
  border-radius: 50%;
  background: var(--home-brand);
  color: var(--home-ink);
  box-shadow: 0 0 0 0.125rem var(--home-brand-strong);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
}

.trial-step__title {
  margin: 0;
  font-size: 1.125rem;
}

.trial-step__text {
  margin: var(--space-2) 0 0;
  color: var(--home-muted);
  font-size: 0.9375rem;
}

.trial-step__hint {
  grid-column: 1 / -1;
  margin: 0;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--home-surface);
  color: var(--home-muted);
  font-size: 0.8125rem;
}

/* Testimonials */
.testimonial-grid,
.testimonials-grid {
  display: grid;
  gap: var(--space-4);
}

.testimonial-card {
  margin: 0;
  padding: var(--space-5);
  border: 1px solid var(--home-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.testimonial-card::before {
  content: "“";
  display: block;
  height: 2rem;
  color: var(--home-brand-strong);
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--home-ink);
  font-family: var(--font-story);
  font-size: 1rem;
}

.testimonial-card figcaption,
.testimonial-card__author {
  margin-top: var(--space-4);
  color: var(--home-muted);
  font-size: 0.875rem;
  font-weight: 700;
}

/* FAQ */
.faq-list {
  max-width: var(--reading-width);
  margin-inline: auto;
  display: grid;
  gap: var(--space-3);
}

.faq-item {
  overflow: clip;
  border: 1px solid var(--home-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.faq-item summary {
  min-height: var(--touch-size);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.5rem;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  color: var(--home-ink);
  font-size: 1rem;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--home-surface);
  color: var(--home-brand-strong);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__answer,
.faq-item > :not(summary) {
  margin: 0;
  padding: 0 var(--space-5) var(--space-5);
  color: var(--home-muted);
}

/* Location and contact */
.location__grid,
.contact-grid {
  display: grid;
  gap: var(--space-5);
}

.location-card,
.contact-card {
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.location-card__body,
.contact-card__body {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5);
}

.location-card h3,
.contact-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.contact-list {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list a,
.contact-list__item {
  min-height: var(--touch-size);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--home-surface);
  color: var(--home-ink);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.map-frame,
.location-map {
  width: 100%;
  min-height: 20rem;
  aspect-ratio: 4 / 3;
  border: 0;
  background: var(--home-sky-soft);
}

.line-qr {
  display: none;
}

/* Optional accessible form controls */
.home-form {
  display: grid;
  gap: var(--space-4);
}

.form-field {
  display: grid;
  gap: var(--space-2);
}

.form-field label {
  color: var(--home-ink);
  font-size: 0.9375rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 3.25rem;
  border: 0.125rem solid var(--home-border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  background: #fff;
  color: var(--home-ink);
  font-size: 1rem;
  line-height: 1.4;
}

.form-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--home-focus);
}

.form-help,
.form-error {
  margin: 0;
  font-size: 0.875rem;
}

.form-help {
  color: var(--home-muted);
}

.form-error {
  color: var(--home-danger);
  font-weight: 700;
}

/* Final conversion block */
.final-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-5);
  background:
    radial-gradient(circle at 100% 0, rgb(255 255 255 / 0.52), transparent 30%),
    linear-gradient(145deg, var(--home-sky), var(--home-brand-soft));
  text-align: center;
  box-shadow: var(--shadow-lift);
}

.final-cta__content {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  margin-inline: auto;
}

.final-cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.75rem);
  line-height: 1.2;
}

.final-cta__text {
  margin: var(--space-3) auto var(--space-5);
  color: var(--home-muted);
}

.final-cta__mascot {
  width: min(11rem, 42vw);
  margin: var(--space-5) auto calc(var(--space-6) * -1);
  filter: drop-shadow(0 0.75rem 1rem rgb(45 45 45 / 0.12));
}

/* Footer */
.site-footer {
  padding: var(--space-10) 0 calc(var(--space-10) + env(safe-area-inset-bottom, 0px));
  background: var(--home-ink);
  color: #fff;
}

.site-footer__inner {
  display: grid;
  gap: var(--space-6);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-footer__brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--home-sky);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #fff;
}

.site-footer__meta {
  margin: 0;
  color: #eadcc8;
  font-size: 0.875rem;
}

/* Mobile LINE conversion bar */
.mobile-line-bar,
.mobile-line-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 150;
  min-height: calc(var(--sticky-line-height) + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: var(--space-2) var(--space-4) calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgb(16 42 26 / 0.15);
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 -0.5rem 1.5rem rgb(45 45 45 / 0.13);
  backdrop-filter: blur(0.75rem);
  -webkit-backdrop-filter: blur(0.75rem);
}

.mobile-line-bar .button,
.mobile-line-bar .line-cta,
.mobile-line-cta .button,
.mobile-line-cta > a {
  width: 100%;
  min-height: 3.25rem;
}

.mobile-line-bar__hint {
  display: none;
}

/* Markup contract used by templates/home.html and home.js. */
.site-brand > span:last-child {
  min-width: 0;
  display: grid;
  line-height: 1.1;
}

.site-brand > span strong {
  font-family: var(--font-display);
  font-size: 1.0625rem;
}

.site-brand > span small {
  margin-top: 0.2rem;
  color: var(--home-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.nav-toggle > span[aria-hidden="true"] {
  position: absolute;
  width: 1.35rem;
  height: 0.125rem;
  border-radius: var(--radius-pill);
  background: currentColor;
  transition: transform 160ms var(--ease-out), opacity 160ms ease;
}

.nav-toggle > span[aria-hidden="true"]:nth-of-type(2) {
  transform: translateY(-0.4rem);
}

.nav-toggle > span[aria-hidden="true"]:nth-of-type(4) {
  transform: translateY(0.4rem);
}

.nav-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(2) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(4) {
  transform: rotate(-45deg);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: 0.45rem 0.8rem;
  border: 1px solid rgb(27 111 138 / 0.28);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.8);
  color: var(--home-sky-strong);
  font-size: 0.875rem;
  font-weight: 800;
}

.hero h1 > span {
  display: block;
  color: var(--home-brand-strong);
}

.hero__decor {
  position: absolute;
  z-index: 0;
  color: rgb(27 111 138 / 0.18);
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero__decor--a {
  top: 10%;
  left: 2%;
  transform: rotate(-12deg);
}

.hero__decor--b {
  right: 2%;
  bottom: 6%;
  transform: rotate(11deg);
}

.hero__decor--star {
  top: 14%;
  right: 12%;
  color: rgb(168 79 22 / 0.22);
  font-size: clamp(2rem, 8vw, 5rem);
}

.hero__picture {
  position: relative;
  overflow: hidden;
  border: 0.4rem solid rgb(255 255 255 / 0.88);
  border-radius: 42% 58% 48% 52% / 52% 42% 58% 48%;
  background: rgb(255 255 255 / 0.68);
  box-shadow: var(--shadow-lift);
}

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

.hero__mascot {
  position: absolute;
  left: -0.5rem;
  bottom: -0.75rem;
  z-index: 2;
  width: clamp(6.5rem, 30vw, 11rem);
  aspect-ratio: 1;
  border: 0.25rem solid #fff;
  border-radius: 50%;
  object-fit: cover;
  background: var(--home-sky);
  box-shadow: var(--shadow-lift);
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}

.hero__trust li {
  min-width: 0;
  padding: var(--space-3) var(--space-2);
  border: 1px solid rgb(27 111 138 / 0.18);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 0.68);
  text-align: center;
}

.hero__trust strong,
.hero__trust span {
  display: block;
}

.hero__trust strong {
  color: var(--home-ink);
  font-size: 0.875rem;
  line-height: 1.35;
}

.hero__trust span {
  margin-top: 0.2rem;
  color: var(--home-muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.section-heading--light .section-title,
.section-heading--light .section-lead {
  color: #fff;
}

.line-hint {
  margin: var(--space-3) 0 0;
  color: var(--home-muted);
  font-size: 0.8125rem;
  text-align: center;
}

.section-heading--compact {
  margin-bottom: var(--space-6);
}

.section-action {
  margin-top: var(--space-6);
  text-align: center;
}

.text-link {
  min-height: var(--touch-size);
  display: inline-flex;
  align-items: center;
  margin-top: var(--space-4);
  color: var(--home-brand-strong);
  font-weight: 800;
}

.fact-card > span:first-child {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.8rem;
  background: var(--home-surface);
  font-size: 1.35rem;
}

.loading-card {
  min-height: 22rem;
  border: 1px solid var(--home-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--home-sky-soft) 0 8rem, transparent 8rem),
    linear-gradient(90deg, var(--home-surface) 35%, #fff 50%, var(--home-surface) 65%);
  background-size: 100% 100%, 220% 100%;
  box-shadow: var(--shadow-card);
}

.course-card__media {
  display: grid;
  place-items: center;
  min-height: 8rem;
  padding: var(--space-4);
  background: linear-gradient(180deg, var(--course-tint, var(--home-surface)), #fff);
}

.course-card__media img {
  width: 6.5rem;
  height: 6.5rem;
  border: 0.25rem solid #fff;
  border-radius: 1.5rem;
  object-fit: cover;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.course-card__badge {
  width: fit-content;
  margin: 0;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--course-tint, var(--home-surface));
  color: var(--course-accent, var(--home-brand-strong));
  font-size: 0.75rem;
  font-weight: 800;
}

.course-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-card__features li {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--home-sky-soft);
  color: var(--home-sky-strong);
  font-size: 0.75rem;
  font-weight: 700;
}

.course-card__footer {
  display: grid;
  padding: 0 var(--space-5) var(--space-5);
}

.course-card__meta {
  grid-template-columns: 1fr;
}

.schedule {
  background: linear-gradient(145deg, var(--home-sky-strong), #14566b);
  color: #fff;
}

.schedule .section-title,
.schedule .section-lead {
  color: #fff;
}

.schedule .section-lead {
  color: #e6f7fc;
}

.schedule .section-kicker {
  color: var(--home-brand-soft);
}

.schedule-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  border-left-width: 1px;
  padding: var(--space-5);
  color: var(--home-ink);
}

.schedule-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.schedule-card__day {
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
}

.schedule-card__time {
  margin: 0;
  color: var(--home-sky-strong);
  font-size: 0.9375rem;
  font-weight: 900;
}

.schedule-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.schedule-card__age,
.schedule-card__price {
  margin: 0;
}

.schedule-card__age {
  color: var(--home-muted);
  font-size: 0.9375rem;
}

.schedule-card__link {
  min-height: var(--touch-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: var(--radius-pill);
  background: var(--home-line);
  color: var(--home-line-ink);
  font-weight: 800;
  text-decoration: none;
}

.teacher__media > img:first-child {
  width: 100%;
  aspect-ratio: 1;
  border: 0.4rem solid #fff8e7;
  border-radius: 36% 64% 45% 55% / 55% 42% 58% 45%;
  object-fit: cover;
  background: #ffe1c7;
  box-shadow: var(--shadow-lift);
}

.teacher__badge {
  position: absolute;
  right: -0.25rem;
  bottom: -0.5rem;
  width: 6.75rem;
  height: 6.75rem;
  display: grid;
  place-items: center;
  border: 0.1875rem solid var(--home-brand-strong);
  border-radius: 50%;
  background: var(--home-surface);
  color: var(--home-brand-strong);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transform: rotate(5deg);
}

.teacher__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.teacher__features span {
  padding: 0.4rem 0.75rem;
  border: 1px solid #e4b878;
  border-radius: var(--radius-pill);
  background: #fff8e7;
  color: var(--home-muted);
  font-size: 0.8125rem;
  font-weight: 800;
}

.cat-friends {
  margin-top: var(--space-12);
  padding: clamp(var(--space-5), 5vw, var(--space-8));
  border: 1px solid #e4b878;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgb(255 225 199 / 0.92), rgb(255 248 231 / 0.98));
  box-shadow: var(--shadow-card);
}

.cat-friends__heading {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.cat-friends__heading h3 {
  margin: var(--space-2) 0 var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 5vw, 2.25rem);
  line-height: 1.2;
}

.cat-friends__heading > p:last-child {
  margin: 0;
  color: var(--home-muted);
}

.cat-friends__grid {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.cat-friend-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(228 184 120 / 0.82);
  border-radius: var(--radius-lg);
  background: #fffaf0;
  box-shadow: var(--shadow-card);
}

.cat-friend-card > img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  background: #fff0dc;
}

.cat-friend-card__body {
  padding: var(--space-5);
}

.cat-friend-card__tag {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  background: #ffedbd;
  color: #a84f16;
  font-size: 0.8125rem;
  font-weight: 900;
}

.cat-friend-card h4 {
  margin: var(--space-3) 0 var(--space-2);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
}

.cat-friend-card p {
  margin: 0;
  color: var(--home-muted);
}

.gallery-card {
  display: flex;
  flex-direction: column;
  color: var(--home-ink);
  text-decoration: none;
}

.gallery-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card__body {
  flex: 1;
  display: grid;
  align-content: start;
  gap: var(--space-1);
  padding: var(--space-4);
  background: #fff;
}

.gallery-card__body h3,
.gallery-card__body p {
  margin: 0;
}

.gallery-card__body h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.gallery-card__body p {
  color: var(--home-muted);
  font-size: 0.8125rem;
}

.gallery-card__date {
  color: var(--home-brand-strong) !important;
  font-weight: 800;
}

.gallery-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  padding: var(--space-8);
  border: 0.125rem dashed var(--home-border-strong);
  border-radius: var(--radius-lg);
  background: var(--home-surface);
  color: var(--home-muted);
  text-align: center;
}

.gallery-empty img {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
}

.trial-steps__grid {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.trial-step {
  grid-template-columns: 3.5rem minmax(0, 1fr);
}

.trial-step > span:first-child {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border: 0.1875rem solid #fff;
  border-radius: 50%;
  background: var(--home-brand);
  color: var(--home-ink);
  box-shadow: 0 0 0 0.125rem var(--home-brand-strong);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
}

.trial-step > img {
  width: 4.5rem;
  height: 4.5rem;
  grid-column: 1;
  border-radius: 1.25rem;
  object-fit: cover;
  background: var(--home-surface);
}

.trial-step > h3,
.trial-step > p {
  grid-column: 2;
  margin: 0;
}

.trial-step > h3 {
  align-self: end;
  font-size: 1.125rem;
}

.trial-step > p {
  align-self: start;
  color: var(--home-muted);
  font-size: 0.9375rem;
}

.faq__shell {
  max-width: var(--reading-width);
}

.location__content address {
  margin-top: var(--space-5);
  font-style: normal;
}

.location__content address p {
  margin: 0 0 var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--home-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--home-muted);
}

.location__content address strong {
  color: var(--home-ink);
}

.location__content address a {
  min-height: var(--touch-size);
  display: inline-flex;
  align-items: center;
}

.location__actions {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.location__card {
  position: relative;
  min-height: 18rem;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: var(--space-3);
  overflow: hidden;
  padding: var(--space-6);
  border: 1px solid var(--home-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--home-sky-soft), var(--home-brand-soft));
  box-shadow: var(--shadow-card);
  text-align: center;
}

.location__qr {
  display: none;
}

.location__cat {
  width: min(13rem, 58vw);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 0.75rem 1rem rgb(45 45 45 / 0.12));
}

.location__card p,
.location__card span {
  display: block;
  margin: 0;
}

.location__card span {
  margin-top: var(--space-1);
  color: var(--home-muted);
  font-size: 0.875rem;
}

.final-cta__inner {
  display: grid;
  justify-items: center;
  gap: var(--space-5);
}

.final-cta__inner > img {
  width: min(10rem, 44vw);
  aspect-ratio: 1;
  border-radius: 2rem;
  object-fit: cover;
  filter: drop-shadow(0 0.75rem 1rem rgb(45 45 45 / 0.12));
}

.final-cta__inner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.75rem);
  line-height: 1.2;
}

.final-cta__inner p:not(.section-kicker) {
  margin: var(--space-3) 0 0;
  color: var(--home-muted);
}

.site-footer__inner > div p,
.site-footer__copy {
  margin: var(--space-1) 0 0;
  color: #eadcc8;
  font-size: 0.875rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
}

.site-footer nav a {
  min-height: var(--touch-size);
  min-width: var(--touch-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-line-bar.line-link {
  min-height: calc(var(--sticky-line-height) + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4) calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
  border-top-color: rgb(16 42 26 / 0.22);
  background: var(--home-line);
  color: var(--home-line-ink);
  font-size: 1rem;
  text-decoration: none;
}

/*
 * 2026-08-20 editorial art pass
 * A warm paper-storybook system shared by every public-home section.
 */
.public-home {
  background:
    radial-gradient(circle at 8% 10%, rgb(238 157 69 / 0.08), transparent 22rem),
    radial-gradient(circle at 94% 34%, rgb(53 107 97 / 0.06), transparent 24rem),
    var(--home-bg);
}

.public-home .site-header {
  border-bottom-color: rgb(215 185 142 / 0.62);
  background: rgb(255 250 242 / 0.93);
  box-shadow: 0 0.3rem 1.25rem rgb(111 74 40 / 0.07);
}

.public-home .site-brand__mark {
  padding: 0.08rem;
  border: 0.16rem solid #fff;
  background: #fff;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgb(215 185 142 / 0.52),
    0 0.35rem 0.9rem rgb(111 74 40 / 0.13);
}

.public-home .nav-toggle {
  border-color: rgb(215 185 142 / 0.7);
  background: #fffdfa;
  box-shadow: 0 0.25rem 0.8rem rgb(111 74 40 / 0.07);
}

.public-home .hero {
  border-bottom: 1px solid rgb(215 185 142 / 0.55);
  background:
    radial-gradient(circle at 10% 8%, rgb(255 255 255 / 0.9) 0 9%, transparent 32%),
    radial-gradient(circle at 88% 18%, rgb(241 176 161 / 0.34) 0 7%, transparent 29%),
    radial-gradient(circle at 82% 86%, rgb(207 229 220 / 0.88) 0 11%, transparent 34%),
    linear-gradient(150deg, #fffaf0 0%, #ffefd4 48%, #dcebe3 100%);
}

.public-home .hero::before {
  background: #ffd8bd;
  opacity: 0.7;
}

.public-home .hero::after {
  background: rgb(207 229 220 / 0.86);
  opacity: 0.72;
}

.public-home .hero__decor {
  color: rgb(156 67 26 / 0.12);
}

.public-home .hero__decor--b {
  color: rgb(53 107 97 / 0.15);
}

.public-home .hero__eyebrow {
  border-color: rgb(53 107 97 / 0.28);
  background: rgb(255 253 250 / 0.8);
  color: var(--home-sky-strong);
  box-shadow: 0 0.25rem 0.9rem rgb(111 74 40 / 0.06);
}

.public-home .hero__picture {
  border-color: rgb(255 253 250 / 0.94);
  background: #fff8ea;
  box-shadow:
    0 0 0 1px rgb(215 185 142 / 0.36),
    0 1.35rem 3rem rgb(111 74 40 / 0.18);
}

.public-home .hero__mascot {
  border-color: #fffaf2;
  background: #dcebe3;
  box-shadow:
    0 0 0 1px rgb(53 107 97 / 0.18),
    0 0.9rem 1.8rem rgb(111 74 40 / 0.15);
}

.public-home .hero__note {
  border-color: #fffdfa;
  background: rgb(255 243 223 / 0.96);
  box-shadow: 0 0.6rem 1.5rem rgb(111 74 40 / 0.13);
}

.public-home .hero__actions .button--secondary {
  border-color: rgb(156 67 26 / 0.24);
  background: rgb(255 253 250 / 0.7);
  box-shadow: none;
}

.public-home .hero__trust li {
  border-color: rgb(111 74 40 / 0.13);
  background: rgb(255 253 250 / 0.64);
}

.public-home .home-section[data-chapter] {
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgb(215 185 142 / 0.42);
}

.public-home .home-section[data-chapter] > .section-shell {
  position: relative;
  z-index: 1;
}

.public-home .home-section[data-chapter]::before {
  content: "";
  position: absolute;
  top: 2.25rem;
  right: -3rem;
  z-index: 0;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background-image: radial-gradient(circle, rgb(156 67 26 / 0.16) 0 1.2px, transparent 1.45px);
  background-size: 1rem 1rem;
  transform: rotate(9deg);
  pointer-events: none;
}

.public-home .home-section[data-chapter]::after {
  content: attr(data-chapter);
  position: absolute;
  top: 0.45rem;
  right: max(1rem, calc((100vw - var(--content-width)) / 2));
  z-index: 0;
  color: rgb(156 67 26 / 0.075);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 18vw, 8.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
  user-select: none;
}

.public-home .quick-facts {
  background: linear-gradient(180deg, transparent 0 2rem, #fffaf2 2rem 100%);
}

.public-home .courses {
  background:
    radial-gradient(circle at 8% 12%, rgb(238 157 69 / 0.1), transparent 22rem),
    linear-gradient(180deg, #fffaf2, #fff4e3 58%, #fff8ed);
}

.public-home .schedule {
  background:
    radial-gradient(circle at 92% 10%, rgb(241 176 161 / 0.34), transparent 20rem),
    radial-gradient(circle at 4% 90%, rgb(207 229 220 / 0.62), transparent 22rem),
    linear-gradient(155deg, #ffe8c8, #fff6e8 56%, #eef5ef);
  color: var(--home-ink);
}

.public-home .teacher {
  background:
    radial-gradient(circle at 10% 22%, rgb(238 157 69 / 0.1), transparent 20rem),
    linear-gradient(180deg, #fffdfa, #fff7e9 70%, #fffaf2);
}

.public-home .gallery {
  background:
    radial-gradient(circle at 88% 12%, rgb(207 229 220 / 0.62), transparent 20rem),
    linear-gradient(180deg, #f3f7f2, #fffaf2);
}

.public-home .trial-steps {
  background:
    radial-gradient(circle at 6% 18%, rgb(241 176 161 / 0.24), transparent 17rem),
    linear-gradient(180deg, #fff8ed, #fff0dc);
}

.public-home .faq {
  background: linear-gradient(180deg, #fffaf2, #f4f7f1);
}

.public-home .location {
  background:
    radial-gradient(circle at 92% 78%, rgb(238 157 69 / 0.12), transparent 22rem),
    #fffdfa;
}

.public-home .schedule .section-heading--light .section-title,
.public-home .schedule .section-heading--light .section-lead,
.public-home .schedule .section-title,
.public-home .schedule .section-lead {
  color: var(--home-ink);
}

.public-home .schedule .section-lead {
  color: var(--home-muted);
}

.public-home .schedule .section-kicker {
  color: var(--home-brand-strong);
}

.public-home .schedule.home-section[data-chapter]::before {
  background-image: radial-gradient(circle, rgb(53 107 97 / 0.2) 0 1.2px, transparent 1.45px);
}

.public-home .schedule.home-section[data-chapter]::after {
  color: rgb(53 107 97 / 0.1);
}

.public-home .section-kicker::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  flex: 0 0 auto;
  border-radius: 75% 25% 70% 30%;
  background: linear-gradient(145deg, var(--home-brand), var(--home-pink));
  box-shadow: 0.42rem -0.2rem 0 -0.16rem var(--home-mint);
  transform: rotate(-34deg);
}

.public-home .section-heading .section-title::after {
  content: "";
  width: 3.5rem;
  height: 0.32rem;
  display: block;
  margin: var(--space-4) auto 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--home-brand), var(--home-pink));
}

.public-home .courses .section-heading,
.public-home .schedule .section-heading,
.public-home .gallery .section-heading {
  margin-left: 0;
  text-align: left;
}

.public-home .courses .section-heading .section-title::after,
.public-home .schedule .section-heading .section-title::after,
.public-home .gallery .section-heading .section-title::after {
  margin-left: 0;
}

.public-home .courses .section-lead,
.public-home .schedule .section-lead,
.public-home .gallery .section-lead {
  margin-left: 0;
}

.public-home .courses .cat-guide,
.public-home .schedule .cat-guide {
  margin-left: 0;
}

.public-home .fact-card {
  position: relative;
  overflow: hidden;
  border-color: rgb(215 185 142 / 0.62);
  border-radius: 1.25rem;
  background: rgb(255 253 250 / 0.95);
  box-shadow: 0 0.5rem 1.35rem rgb(111 74 40 / 0.09);
}

.public-home .fact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.28rem;
  background: var(--home-brand);
}

.public-home .fact-card:nth-child(2)::before { background: #d88472; }
.public-home .fact-card:nth-child(3)::before { background: var(--home-sky-strong); }
.public-home .fact-card:nth-child(4)::before { background: var(--home-line-dark); }

.public-home .fact-card > span:first-child {
  border: 1px solid rgb(215 185 142 / 0.48);
  background: #fff6e8;
}

.public-home .age-chip,
.public-home .filter-chip {
  border-color: rgb(215 185 142 / 0.7);
  background: rgb(255 253 250 / 0.92);
  box-shadow: 0 0.2rem 0.7rem rgb(111 74 40 / 0.05);
}

.public-home .course-card {
  border-color: rgb(215 185 142 / 0.72);
  border-radius: 1.5rem;
  background: #fffdfa;
  box-shadow: 0 0.65rem 1.75rem rgb(111 74 40 / 0.1);
}

.public-home .course-card__media {
  min-height: 6.75rem;
  padding: var(--space-3);
  background:
    radial-gradient(circle at 16% 20%, rgb(255 255 255 / 0.82), transparent 3.4rem),
    linear-gradient(180deg, var(--course-tint, var(--home-surface)), #fffdfa);
}

.public-home .course-card__media img {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 42% 58% 46% 54% / 54% 44% 56% 46%;
  box-shadow:
    0 0 0 1px rgb(111 74 40 / 0.08),
    0 0.5rem 1.1rem rgb(111 74 40 / 0.1);
}

.public-home .course-card__body {
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
}

.public-home .course-card__meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-home .course-card__meta > div:first-child {
  grid-column: 1 / -1;
}

.public-home .course-card__meta > div {
  padding: 0.68rem 0.75rem;
  border: 1px solid rgb(215 185 142 / 0.32);
  background: #fff6e6;
}

.public-home .course-card__features {
  gap: 0.35rem;
}

.public-home .course-card__features li {
  background: #eef5ef;
  color: var(--home-sky-strong);
}

.public-home .course-card__footer {
  padding: 0 var(--space-5) var(--space-4);
}

.public-home .course-card__footer .button--line,
.public-home .schedule-card__link,
.public-home .schedule .section-action .button--line,
.public-home .trial-steps .section-action .button--line,
.public-home .location__actions .button--line {
  border: 0.125rem solid rgb(0 122 50 / 0.48);
  background: #f4fff7;
  color: #145f32;
  box-shadow: none;
}

.public-home .schedule-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-2) var(--space-3);
  padding: var(--space-4);
  border: 1px solid rgb(215 185 142 / 0.72);
  border-top: 0.3rem solid var(--home-sky-strong);
  border-left-width: 1px;
  border-radius: 1.25rem;
  background: rgb(255 253 250 / 0.96);
  box-shadow: 0 0.45rem 1.25rem rgb(111 74 40 / 0.08);
}

.public-home .schedule-card__top,
.public-home .schedule-card h3,
.public-home .schedule-card__link {
  grid-column: 1 / -1;
}

.public-home .schedule-card__day {
  min-height: 2.1rem;
  background: #eef5ef;
  color: var(--home-sky-strong);
}

.public-home .schedule-card__age {
  grid-column: 1 / -1;
  align-self: center;
}

.public-home .schedule-card__price {
  grid-column: 1 / -1;
  justify-self: start;
  align-self: center;
  color: var(--home-brand-strong);
}

.public-home .schedule-card__link {
  min-height: var(--touch-size);
  margin-top: var(--space-1);
}

.public-home .teacher__quote {
  border-left-color: var(--home-brand-strong);
  background: rgb(255 243 223 / 0.82);
  box-shadow: inset 0 0 0 1px rgb(215 185 142 / 0.28);
}

.public-home .teacher__features span {
  border-color: rgb(215 185 142 / 0.72);
  background: #fff6e7;
}

.public-home .cat-friends {
  margin-top: var(--space-10);
  border-color: rgb(215 185 142 / 0.72);
  background:
    radial-gradient(circle at 88% 8%, rgb(207 229 220 / 0.64), transparent 15rem),
    linear-gradient(145deg, #ffe4cb, #fff8e9 72%);
  box-shadow: 0 0.8rem 2rem rgb(111 74 40 / 0.1);
}

.public-home .cat-friend-card {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  align-items: stretch;
  border-color: rgb(215 185 142 / 0.72);
  background: #fffdfa;
  box-shadow: 0 0.45rem 1.25rem rgb(111 74 40 / 0.08);
}

.public-home .cat-friend-card > img {
  width: 100%;
  height: 100%;
  min-height: 10rem;
  aspect-ratio: auto;
}

.public-home .cat-friend-card__body {
  align-self: center;
  padding: var(--space-4);
}

.public-home .cat-friend-card h4 {
  font-size: 1.12rem;
}

.public-home .cat-friend-card p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.public-home .gallery-grid {
  display: flex;
  gap: var(--space-4);
  margin-inline: -1rem;
  padding: 0 1rem var(--space-3);
  overflow-x: auto;
  scroll-padding-inline: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--home-border-strong) transparent;
}

.public-home .gallery-card,
.public-home .gallery-card:first-child {
  flex: 0 0 min(78vw, 22rem);
  grid-column: auto;
  scroll-snap-align: center;
  border: 0.38rem solid #fffdfa;
  border-radius: 1.25rem;
  background: #fffdfa;
  box-shadow: 0 0.65rem 1.65rem rgb(111 74 40 / 0.12);
}

.public-home .gallery-empty {
  flex: 1 0 100%;
  grid-column: auto;
}

.public-home .gallery-card > img,
.public-home .gallery-card:first-child > img {
  aspect-ratio: 4 / 3;
  border-radius: 0.82rem 0.82rem 0 0;
}

.public-home .gallery-card__body {
  background: #fffdfa;
}

.public-home .trial-step {
  grid-template-columns: 2.9rem 4.25rem minmax(0, 1fr);
  align-items: center;
  gap: var(--space-2) var(--space-3);
  padding: var(--space-4);
  border-color: rgb(215 185 142 / 0.68);
  background: rgb(255 253 250 / 0.92);
  box-shadow: none;
}

.public-home .trial-step > span:first-child {
  width: 2.9rem;
  height: 2.9rem;
  grid-column: 1;
  grid-row: 1 / span 2;
}

.public-home .trial-step > img {
  width: 4.25rem;
  height: 4.25rem;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.public-home .trial-step > h3,
.public-home .trial-step > p {
  grid-column: 3;
}

.public-home .trial-step > h3 {
  align-self: end;
}

.public-home .trial-step > p {
  align-self: start;
}

.public-home .faq-item {
  border-color: rgb(215 185 142 / 0.62);
  background: rgb(255 253 250 / 0.94);
  box-shadow: 0 0.35rem 1rem rgb(111 74 40 / 0.06);
}

.public-home .faq-item[open] {
  border-color: rgb(156 67 26 / 0.38);
  box-shadow: 0 0.6rem 1.5rem rgb(111 74 40 / 0.09);
}

.public-home .faq-item summary::after {
  background: #fff0d8;
}

.public-home .location__content address p {
  border-color: rgb(215 185 142 / 0.62);
  background: #fffaf0;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.7);
}

.public-home .location__card {
  border-color: rgb(215 185 142 / 0.72);
  background:
    radial-gradient(circle at 18% 12%, rgb(255 255 255 / 0.78), transparent 9rem),
    linear-gradient(145deg, #e4f0e9, #ffe7bd);
  box-shadow: 0 0.8rem 2rem rgb(111 74 40 / 0.1);
}

.public-home .final-cta {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: var(--space-6) auto;
  border: 1px solid rgb(215 185 142 / 0.72);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 100% 0, rgb(255 255 255 / 0.62), transparent 30%),
    linear-gradient(145deg, #dcebe3, #ffe2b5 62%, #ffd6bf);
  box-shadow: 0 1.2rem 2.8rem rgb(111 74 40 / 0.14);
}

.public-home .site-footer {
  background: #302925;
}

/* Colorful early-learning activity system — 2026-08-30 */
.public-home .site-header {
  border-bottom: 0;
}

.public-home .site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.25rem;
  background: var(--activity-rainbow);
  opacity: 0.82;
  pointer-events: none;
}

.public-home .site-brand__mark {
  box-shadow:
    0 0 0 0.16rem rgb(255 255 255 / 0.92),
    0 0 0 0.29rem rgb(77 159 211 / 0.38),
    0 0.35rem 0.9rem rgb(63 59 99 / 0.14);
}

.public-home .hero {
  background:
    radial-gradient(circle at 4% 22%, rgb(231 101 108 / 0.22) 0 5.5rem, transparent 5.65rem),
    radial-gradient(circle at 88% 12%, rgb(243 200 79 / 0.32) 0 7.5rem, transparent 7.7rem),
    radial-gradient(circle at 94% 82%, rgb(77 159 211 / 0.2) 0 9rem, transparent 9.2rem),
    radial-gradient(circle at 18% 92%, rgb(84 173 141 / 0.2) 0 7rem, transparent 7.2rem),
    linear-gradient(145deg, #fff7d9 0%, #ffe8df 36%, #eef9f4 68%, #eaf4ff 100%);
}

.public-home .hero::before {
  width: 10rem;
  height: 10rem;
  top: 42%;
  left: -5.5rem;
  background:
    radial-gradient(circle at center, transparent 0 38%, rgb(136 113 201 / 0.2) 39% 43%, transparent 44%),
    var(--activity-purple-soft);
}

.public-home .hero::after {
  width: 13rem;
  height: 13rem;
  right: -6rem;
  bottom: -5rem;
  background:
    repeating-conic-gradient(from 8deg, rgb(255 255 255 / 0.2) 0 12deg, transparent 12deg 24deg),
    rgb(231 101 108 / 0.22);
}

.public-home .hero__eyebrow {
  border: 1px solid rgb(63 59 99 / 0.2);
  background: rgb(255 255 255 / 0.82);
  color: var(--activity-deep);
  box-shadow: 0 0.35rem 1rem rgb(63 59 99 / 0.08);
}

.public-home .hero h1 > span {
  color: #a64028;
  text-decoration: underline;
  text-decoration-color: rgb(243 200 79 / 0.82);
  text-decoration-thickness: 0.18em;
  text-underline-offset: 0.08em;
  text-decoration-skip-ink: none;
}

.activity-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}

.activity-tags li {
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.78rem;
  border: 1px solid rgb(63 59 99 / 0.14);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--activity-deep);
  box-shadow: 0 0.25rem 0.7rem rgb(63 59 99 / 0.07);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.activity-tags li:nth-child(5n + 1) {
  border-color: rgb(231 101 108 / 0.38);
  background: var(--activity-coral-soft);
}

.activity-tags li:nth-child(5n + 2) {
  border-color: rgb(243 200 79 / 0.56);
  background: var(--activity-sun-soft);
}

.activity-tags li:nth-child(5n + 3) {
  border-color: rgb(77 159 211 / 0.4);
  background: var(--activity-blue-soft);
}

.activity-tags li:nth-child(5n + 4) {
  border-color: rgb(136 113 201 / 0.4);
  background: var(--activity-purple-soft);
}

.activity-tags li:nth-child(5n + 5) {
  border-color: rgb(84 173 141 / 0.4);
  background: var(--activity-mint-soft);
}

.public-home .hero__picture {
  border-color: rgb(255 255 255 / 0.96);
  box-shadow:
    0 0 0 0.28rem rgb(243 200 79 / 0.42),
    0 0 0 0.52rem rgb(231 101 108 / 0.22),
    0 1.35rem 3rem rgb(63 59 99 / 0.16);
}

.public-home .hero__mascot {
  box-shadow:
    0 0 0 0.2rem rgb(84 173 141 / 0.45),
    0.7rem -0.35rem 0 -0.23rem var(--activity-sun),
    0 0.9rem 1.8rem rgb(63 59 99 / 0.14);
}

.public-home .hero__note {
  border-color: rgb(231 101 108 / 0.32);
  background: var(--activity-sun-soft);
  color: var(--activity-deep);
}

.public-home .hero__trust li {
  border-width: 0.125rem;
  color: var(--activity-deep);
}

.public-home .hero__trust li:nth-child(1) {
  border-color: rgb(77 159 211 / 0.34);
  background: rgb(234 247 255 / 0.84);
}

.public-home .hero__trust li:nth-child(2) {
  border-color: rgb(231 101 108 / 0.3);
  background: rgb(255 240 239 / 0.84);
}

.public-home .hero__trust li:nth-child(3) {
  border-color: rgb(84 173 141 / 0.34);
  background: rgb(233 248 241 / 0.88);
}

.public-home .home-section[data-chapter] {
  border-top: 0;
  box-shadow: inset 0 0.3rem 0 rgb(255 255 255 / 0.72);
}

.public-home .home-section[data-chapter]::before {
  opacity: 0.72;
  background-image:
    radial-gradient(circle, rgb(231 101 108 / 0.32) 0 2px, transparent 2.4px),
    radial-gradient(circle, rgb(77 159 211 / 0.28) 0 2px, transparent 2.4px),
    radial-gradient(circle, rgb(243 200 79 / 0.32) 0 2px, transparent 2.4px);
  background-position: 0 0, 0.65rem 0.45rem, 0.1rem 0.9rem;
  background-size: 1.35rem 1.35rem;
}

.public-home .section-kicker {
  padding: 0.34rem 0.72rem;
  border: 1px solid rgb(231 101 108 / 0.2);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.66);
  color: #8b3e2c;
}

.public-home .section-heading .section-title::after {
  width: 5.25rem;
  height: 0.36rem;
  background: var(--activity-rainbow);
}

.public-home .quick-facts {
  background:
    radial-gradient(circle at 8% 0, rgb(243 200 79 / 0.16), transparent 15rem),
    linear-gradient(180deg, transparent 0 2rem, #fffaf3 2rem 100%);
}

.public-home .fact-card {
  --fact-accent: var(--activity-coral);
  --fact-tint: var(--activity-coral-soft);
  border: 0.125rem solid color-mix(in srgb, var(--fact-accent) 38%, white);
  background: linear-gradient(160deg, #fff 0 54%, var(--fact-tint) 100%);
}

.public-home .fact-card:nth-child(2) {
  --fact-accent: var(--activity-sun);
  --fact-tint: var(--activity-sun-soft);
}

.public-home .fact-card:nth-child(3) {
  --fact-accent: var(--activity-blue);
  --fact-tint: var(--activity-blue-soft);
}

.public-home .fact-card:nth-child(4) {
  --fact-accent: var(--activity-mint);
  --fact-tint: var(--activity-mint-soft);
}

.public-home .fact-card::before {
  height: 0.42rem;
  background: var(--fact-accent);
}

.public-home .fact-card::after {
  content: "";
  position: absolute;
  right: -1rem;
  bottom: -1.2rem;
  width: 4.25rem;
  height: 4.25rem;
  border: 0.7rem solid color-mix(in srgb, var(--fact-accent) 16%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.public-home .fact-card > span:first-child {
  border-color: color-mix(in srgb, var(--fact-accent) 34%, white);
  background: var(--fact-tint);
}

.public-home .courses {
  background:
    radial-gradient(circle at 4% 10%, rgb(243 200 79 / 0.22), transparent 19rem),
    radial-gradient(circle at 94% 82%, rgb(136 113 201 / 0.13), transparent 22rem),
    linear-gradient(180deg, #fff9ec, #fff1e5 52%, #f7f0ff);
}

.public-home .courses .cat-guide {
  border: 0.125rem solid rgb(233 130 68 / 0.42);
  border-left: 0.45rem solid var(--activity-orange);
  background: linear-gradient(135deg, #fff, var(--activity-orange-soft));
}

.public-home .age-chip:nth-child(5n + 1) { --chip-color: var(--activity-coral); --chip-tint: var(--activity-coral-soft); }
.public-home .age-chip:nth-child(5n + 2) { --chip-color: var(--activity-orange); --chip-tint: var(--activity-orange-soft); }
.public-home .age-chip:nth-child(5n + 3) { --chip-color: var(--activity-mint); --chip-tint: var(--activity-mint-soft); }
.public-home .age-chip:nth-child(5n + 4) { --chip-color: var(--activity-blue); --chip-tint: var(--activity-blue-soft); }
.public-home .age-chip:nth-child(5n + 5) { --chip-color: var(--activity-purple); --chip-tint: var(--activity-purple-soft); }

.public-home .age-chip[aria-pressed="true"] {
  border-color: var(--chip-color, var(--activity-coral));
  background: var(--chip-tint, var(--activity-coral-soft));
  color: var(--activity-deep);
  box-shadow: inset 0 -0.2rem 0 color-mix(in srgb, var(--chip-color, var(--activity-coral)) 22%, transparent);
}

.public-home .course-card:nth-child(6n + 1) { --course-accent: var(--activity-blue); --course-tint: var(--activity-blue-soft); }
.public-home .course-card:nth-child(6n + 2) { --course-accent: var(--activity-coral); --course-tint: var(--activity-coral-soft); }
.public-home .course-card:nth-child(6n + 3) { --course-accent: var(--activity-mint); --course-tint: var(--activity-mint-soft); }
.public-home .course-card:nth-child(6n + 4) { --course-accent: #d59f21; --course-tint: var(--activity-sun-soft); }
.public-home .course-card:nth-child(6n + 5) { --course-accent: var(--activity-purple); --course-tint: var(--activity-purple-soft); }
.public-home .course-card:nth-child(6n + 6) { --course-accent: var(--activity-orange); --course-tint: var(--activity-orange-soft); }

.public-home .course-card {
  border: 0.125rem solid color-mix(in srgb, var(--course-accent) 30%, white);
  box-shadow: 0 0.75rem 1.75rem color-mix(in srgb, var(--course-accent) 10%, transparent);
}

.public-home .course-card::before {
  height: 0.5rem;
  background: linear-gradient(90deg, var(--course-accent), color-mix(in srgb, var(--course-accent) 42%, white));
}

.public-home .course-card__badge {
  border: 1px solid color-mix(in srgb, var(--course-accent) 28%, white);
  background: var(--course-tint);
  color: color-mix(in srgb, var(--course-accent) 72%, #302925);
}

.public-home .course-card__meta > div {
  border-color: color-mix(in srgb, var(--course-accent) 18%, white);
  background: color-mix(in srgb, var(--course-tint) 78%, white);
}

.public-home .schedule {
  background:
    radial-gradient(circle at 90% 10%, rgb(136 113 201 / 0.18), transparent 20rem),
    radial-gradient(circle at 4% 88%, rgb(243 200 79 / 0.23), transparent 18rem),
    linear-gradient(150deg, #eaf7ff, #f2edff 48%, #fff7d6);
}

.public-home .schedule .cat-guide {
  border: 0.125rem solid rgb(77 159 211 / 0.34);
  border-left: 0.45rem solid var(--activity-blue);
  background: linear-gradient(135deg, #fff, var(--activity-blue-soft));
}

.public-home .schedule-card {
  --schedule-accent: var(--activity-blue);
  --schedule-tint: var(--activity-blue-soft);
  border: 0.125rem solid color-mix(in srgb, var(--schedule-accent) 28%, white);
  border-top: 0.48rem solid var(--schedule-accent);
  background: linear-gradient(165deg, #fff 0 74%, var(--schedule-tint) 100%);
}

.public-home .schedule-card:nth-child(5n + 2) { --schedule-accent: var(--activity-coral); --schedule-tint: var(--activity-coral-soft); }
.public-home .schedule-card:nth-child(5n + 3) { --schedule-accent: var(--activity-mint); --schedule-tint: var(--activity-mint-soft); }
.public-home .schedule-card:nth-child(5n + 4) { --schedule-accent: var(--activity-orange); --schedule-tint: var(--activity-orange-soft); }
.public-home .schedule-card:nth-child(5n + 5) { --schedule-accent: var(--activity-purple); --schedule-tint: var(--activity-purple-soft); }

.public-home .schedule-card__day {
  border: 1px solid color-mix(in srgb, var(--schedule-accent) 30%, white);
  background: var(--schedule-tint);
  color: color-mix(in srgb, var(--schedule-accent) 68%, #302925);
}

.public-home .teacher {
  background:
    radial-gradient(circle at 6% 18%, rgb(231 101 108 / 0.14), transparent 21rem),
    radial-gradient(circle at 92% 82%, rgb(84 173 141 / 0.16), transparent 23rem),
    linear-gradient(180deg, #fff9f2, #fff0ee 48%, #eef9f4);
}

.public-home .teacher__media > img:first-child {
  border-color: #fff;
  box-shadow:
    0 0 0 0.25rem rgb(231 101 108 / 0.24),
    0 0 0 0.48rem rgb(243 200 79 / 0.22),
    0 1.25rem 2.7rem rgb(63 59 99 / 0.15);
}

.public-home .teacher__badge {
  border-color: var(--activity-coral);
  background: var(--activity-sun-soft);
  color: #963f2a;
  box-shadow: 0 0.6rem 1.2rem rgb(63 59 99 / 0.12);
}

.public-home .teacher__features span:nth-child(5n + 1) { border-color: rgb(231 101 108 / 0.35); background: var(--activity-coral-soft); }
.public-home .teacher__features span:nth-child(5n + 2) { border-color: rgb(77 159 211 / 0.35); background: var(--activity-blue-soft); }
.public-home .teacher__features span:nth-child(5n + 3) { border-color: rgb(84 173 141 / 0.35); background: var(--activity-mint-soft); }
.public-home .teacher__features span:nth-child(5n + 4) { border-color: rgb(136 113 201 / 0.35); background: var(--activity-purple-soft); }
.public-home .teacher__features span:nth-child(5n + 5) { border-color: rgb(243 200 79 / 0.48); background: var(--activity-sun-soft); }

.public-home .cat-friends {
  border: 0.125rem solid rgb(231 101 108 / 0.26);
  background:
    radial-gradient(circle at 92% 6%, rgb(77 159 211 / 0.22), transparent 14rem),
    radial-gradient(circle at 4% 90%, rgb(243 200 79 / 0.28), transparent 14rem),
    linear-gradient(145deg, #ffe6e3, #fff7d6 50%, #e9f8f1);
}

.public-home .cat-friend-card:first-child {
  border-color: rgb(233 130 68 / 0.42);
}

.public-home .cat-friend-card:last-child {
  border-color: rgb(77 159 211 / 0.4);
}

.public-home .cat-friend-card:first-child .cat-friend-card__tag {
  background: var(--activity-orange-soft);
  color: #9b4524;
}

.public-home .cat-friend-card:last-child .cat-friend-card__tag {
  background: var(--activity-blue-soft);
  color: #2e678c;
}

.public-home .gallery {
  background:
    radial-gradient(circle at 92% 8%, rgb(243 200 79 / 0.26), transparent 18rem),
    radial-gradient(circle at 7% 86%, rgb(231 101 108 / 0.15), transparent 19rem),
    linear-gradient(155deg, #eaf7ff, #eef9f4 52%, #fff7d6);
}

.activity-tags {
  max-width: 50rem;
  margin: calc(var(--space-4) * -1) auto var(--space-6);
}

.public-home .gallery-card,
.public-home .gallery-card:first-child {
  --gallery-accent: var(--activity-coral);
  border: 0.35rem solid #fff;
  border-top: 0.55rem solid var(--gallery-accent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--gallery-accent) 22%, transparent),
    0 0.75rem 1.7rem rgb(63 59 99 / 0.12);
}

.public-home .gallery-card:nth-child(3n + 2) { --gallery-accent: var(--activity-blue); }
.public-home .gallery-card:nth-child(3n + 3) { --gallery-accent: var(--activity-sun); }

.public-home .gallery-card__body {
  border-top: 1px dashed color-mix(in srgb, var(--gallery-accent) 30%, white);
  background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--gallery-accent) 8%, white));
}

.public-home .gallery-card__date {
  color: color-mix(in srgb, var(--gallery-accent) 70%, #302925);
}

.public-home .trial-steps {
  background:
    radial-gradient(circle at 8% 16%, rgb(231 101 108 / 0.18), transparent 17rem),
    radial-gradient(circle at 92% 82%, rgb(136 113 201 / 0.16), transparent 20rem),
    linear-gradient(180deg, #fff7d6, #ffe9df 52%, #f2edff);
}

.public-home .trial-step {
  --step-accent: var(--activity-coral);
  --step-tint: var(--activity-coral-soft);
  position: relative;
  overflow: hidden;
  border: 0.125rem solid color-mix(in srgb, var(--step-accent) 32%, white);
  background: linear-gradient(155deg, #fff 0 64%, var(--step-tint) 100%);
  box-shadow: 0 0.6rem 1.4rem color-mix(in srgb, var(--step-accent) 10%, transparent);
}

.public-home .trial-step:nth-child(2) { --step-accent: var(--activity-blue); --step-tint: var(--activity-blue-soft); }
.public-home .trial-step:nth-child(3) { --step-accent: var(--activity-purple); --step-tint: var(--activity-purple-soft); }

.public-home .trial-step::after {
  content: "";
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  width: 5rem;
  height: 5rem;
  border: 0.75rem dotted color-mix(in srgb, var(--step-accent) 28%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.public-home .trial-step > span:first-child {
  background: var(--step-accent);
  color: #fff;
  box-shadow: 0 0 0 0.18rem #fff, 0 0 0 0.34rem color-mix(in srgb, var(--step-accent) 50%, white);
}

.public-home .trial-step > img {
  border: 0.2rem solid #fff;
  background: var(--step-tint);
  box-shadow: 0 0.3rem 0.8rem rgb(63 59 99 / 0.1);
}

.public-home .faq {
  background:
    radial-gradient(circle at 90% 10%, rgb(77 159 211 / 0.14), transparent 18rem),
    linear-gradient(180deg, #fffaf3, #f2edff 52%, #eaf7ff);
}

.public-home .faq-item {
  --faq-accent: var(--activity-coral);
  border-left: 0.38rem solid var(--faq-accent);
}

.public-home .faq-item:nth-child(5n + 2) { --faq-accent: var(--activity-blue); }
.public-home .faq-item:nth-child(5n + 3) { --faq-accent: var(--activity-mint); }
.public-home .faq-item:nth-child(5n + 4) { --faq-accent: var(--activity-orange); }
.public-home .faq-item:nth-child(5n + 5) { --faq-accent: var(--activity-purple); }

.public-home .faq-item summary::after {
  border: 1px solid color-mix(in srgb, var(--faq-accent) 36%, white);
  background: color-mix(in srgb, var(--faq-accent) 12%, white);
  color: color-mix(in srgb, var(--faq-accent) 72%, #302925);
}

.public-home .location {
  background:
    radial-gradient(circle at 92% 78%, rgb(243 200 79 / 0.28), transparent 22rem),
    radial-gradient(circle at 6% 16%, rgb(84 173 141 / 0.18), transparent 19rem),
    linear-gradient(150deg, #eef9f4, #fffaf3 54%, #fff0ef);
}

.public-home .location__content address p:nth-child(1) {
  border-left: 0.38rem solid var(--activity-mint);
  background: var(--activity-mint-soft);
}

.public-home .location__content address p:nth-child(2) {
  border-left: 0.38rem solid var(--activity-coral);
  background: var(--activity-coral-soft);
}

.public-home .location__card {
  border-color: rgb(77 159 211 / 0.3);
  background:
    radial-gradient(circle at 18% 12%, rgb(255 255 255 / 0.84), transparent 9rem),
    linear-gradient(145deg, var(--activity-blue-soft), var(--activity-sun-soft) 58%, var(--activity-coral-soft));
}

.public-home .final-cta {
  border-color: rgb(136 113 201 / 0.28);
  background:
    radial-gradient(circle at 100% 0, rgb(255 255 255 / 0.66), transparent 29%),
    radial-gradient(circle at 4% 100%, rgb(84 173 141 / 0.24), transparent 31%),
    linear-gradient(135deg, #eaf7ff, #f2edff 34%, #fff7d6 66%, #ffe2df);
  box-shadow:
    0 0 0 0.28rem rgb(255 255 255 / 0.75),
    0 1.25rem 2.8rem rgb(63 59 99 / 0.15);
}

.public-home .site-footer {
  border-top: 0.45rem solid transparent;
  border-image: var(--activity-rainbow) 1;
  background: linear-gradient(145deg, #302925, var(--activity-deep));
}

.public-home .mobile-line-bar {
  border-top: 0.25rem solid transparent;
  border-image: var(--activity-rainbow) 1;
}

@media (min-width: 40rem) {
  .public-home .trial-steps__grid {
    position: relative;
  }

  .public-home .trial-steps__grid::before {
    content: "";
    position: absolute;
    top: 3.15rem;
    right: 15%;
    left: 15%;
    z-index: 0;
    border-top: 0.28rem dotted rgb(136 113 201 / 0.35);
    pointer-events: none;
  }

  .public-home .trial-step {
    z-index: 1;
  }
}

@media (min-width: 56rem) {
  .activity-tags {
    justify-content: flex-start;
    margin-left: 0;
  }

  .public-home .gallery-card:nth-child(3n + 1) {
    transform: rotate(-0.45deg);
  }

  .public-home .gallery-card:nth-child(3n + 2) {
    transform: translateY(0.5rem) rotate(0.4deg);
  }

  .public-home .gallery-card:nth-child(3n + 3) {
    transform: rotate(-0.25deg);
  }
}

/* Cute handmade storybook details — 2026-08-31 */
.public-home .hero__picture {
  position: relative;
  isolation: isolate;
}

.public-home .hero__picture::before,
.public-home .hero__picture::after {
  content: "";
  position: absolute;
  top: -0.45rem;
  z-index: 2;
  width: clamp(4.25rem, 16vw, 6.5rem);
  height: 1.3rem;
  border: 1px solid rgb(156 67 26 / 0.1);
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.18) 0 0.35rem, transparent 0.35rem 0.7rem),
    rgb(255 242 187 / 0.82);
  box-shadow: 0 0.25rem 0.55rem rgb(63 59 99 / 0.1);
  pointer-events: none;
}

.public-home .hero__picture::before {
  left: 12%;
  transform: rotate(-4deg);
}

.public-home .hero__picture::after {
  right: 12%;
  background-color: rgb(218 239 255 / 0.86);
  transform: rotate(4deg);
}

.public-home .cat-guide {
  overflow: visible;
}

.public-home .cat-guide__image {
  transition: transform 180ms var(--ease-out);
}

.public-home .cat-guide__body {
  position: relative;
  padding: 0.72rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--activity-orange) 24%, white);
  border-radius: 1rem 1rem 1rem 0.45rem;
  background: rgb(255 255 255 / 0.86);
  box-shadow: 0 0.3rem 0.8rem rgb(63 59 99 / 0.07);
}

.public-home .schedule .cat-guide__body {
  border-color: color-mix(in srgb, var(--activity-blue) 26%, white);
}

.public-home .cat-guide__body::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: -0.58rem;
  width: 0;
  height: 0;
  border-top: 0.5rem solid transparent;
  border-right: 0.65rem solid rgb(255 255 255 / 0.9);
  border-bottom: 0.5rem solid transparent;
  pointer-events: none;
}

.public-home .course-card__media {
  position: relative;
  isolation: isolate;
}

.public-home .course-card__media::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  bottom: 0.65rem;
  left: 0.7rem;
  width: 0.36rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--course-accent) 72%, white);
  box-shadow: 0.42rem 0 0 color-mix(in srgb, var(--course-accent) 13%, transparent);
  pointer-events: none;
}

.public-home .course-card__media::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2.35rem;
  height: 2.35rem;
  background: linear-gradient(225deg, #fff 0 48%, color-mix(in srgb, var(--course-accent) 18%, white) 49% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  filter: drop-shadow(-0.18rem 0.2rem 0.18rem rgb(63 59 99 / 0.08));
  pointer-events: none;
}

.public-home .course-card__media img {
  position: relative;
  z-index: 1;
  transition: transform 180ms var(--ease-out);
}

.public-home .course-card__features li {
  border: 1px dashed color-mix(in srgb, var(--course-accent) 28%, white);
}

.public-home .age-chip[aria-pressed="true"] {
  position: relative;
  padding-right: 2.25rem;
}

.public-home .age-chip[aria-pressed="true"]::after {
  content: "★";
  position: absolute;
  top: 50%;
  right: 0.65rem;
  color: color-mix(in srgb, var(--chip-color, var(--activity-coral)) 78%, #7f4b00);
  font-size: 0.9rem;
  line-height: 1;
  transform: translateY(-50%) rotate(8deg);
}

.public-home .schedule-card {
  position: relative;
  overflow: hidden;
  border-style: solid;
}

.public-home .schedule-card::before,
.public-home .schedule-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border: 1px solid color-mix(in srgb, var(--schedule-accent) 28%, white);
  border-radius: 50%;
  background: var(--schedule-tint);
  transform: translateY(-50%);
  pointer-events: none;
}

.public-home .schedule-card::before {
  left: -0.62rem;
}

.public-home .schedule-card::after {
  right: -0.62rem;
}

.public-home .schedule-card__top {
  padding-bottom: 0.65rem;
  border-bottom: 0.12rem dashed color-mix(in srgb, var(--schedule-accent) 30%, white);
}

.public-home .gallery-card {
  isolation: isolate;
}

.public-home .gallery-card::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: 50%;
  z-index: 2;
  width: 5.4rem;
  height: 1.2rem;
  border: 1px solid rgb(63 59 99 / 0.06);
  background: rgb(255 233 161 / 0.8);
  box-shadow: 0 0.18rem 0.38rem rgb(63 59 99 / 0.08);
  transform: translateX(-50%) rotate(-2deg);
  pointer-events: none;
}

.public-home .gallery-card:nth-child(3n + 2)::before {
  background: rgb(208 236 255 / 0.82);
  transform: translateX(-50%) rotate(2deg);
}

.public-home .gallery-card:nth-child(3n + 3)::before {
  background: rgb(224 243 218 / 0.84);
}

.public-home .hero__mascot,
.public-home .teacher__media > img:first-child,
.public-home .trial-step > img {
  transition: transform 180ms var(--ease-out);
}

/* Editorial brand polish — 2026-08-31 */
.public-home .site-brand > span strong {
  color: var(--activity-deep);
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.public-home .site-brand > span small {
  color: #6d5a50;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.public-home .hero__content h1 {
  max-width: 13.5em;
  margin-inline: auto;
  font-size: clamp(2.45rem, 9vw, 4.45rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.public-home .hero__lead {
  max-width: 37rem;
  font-size: clamp(1.05rem, 2.7vw, 1.22rem);
  line-height: 1.82;
}

.public-home .hero__actions {
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.public-home .hero__note {
  position: absolute;
  padding-inline: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.public-home .hero__note::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -0.45rem;
  width: 0;
  height: 0;
  border-top: 0.42rem solid transparent;
  border-right: 0.52rem solid var(--activity-sun-soft);
  border-bottom: 0.42rem solid transparent;
  transform: translateY(-50%);
  pointer-events: none;
}

.public-home .button,
.public-home .btn,
.public-home .line-cta {
  font-weight: 900;
  letter-spacing: 0.01em;
}

.public-home .button--secondary {
  border-width: 0.125rem;
  box-shadow: 0 0.42rem 1rem rgb(63 59 99 / 0.08);
}

.public-home .section-heading {
  margin-bottom: clamp(1.75rem, 5vw, 2.75rem);
}

.public-home .section-title {
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.public-home .section-lead {
  max-width: 42rem;
  font-size: clamp(1rem, 2.25vw, 1.08rem);
  line-height: 1.82;
  text-wrap: pretty;
}

.public-home .section-kicker {
  box-shadow: 0 0.25rem 0.7rem rgb(63 59 99 / 0.05);
  letter-spacing: 0.095em;
}

.public-home .quick-facts__grid {
  align-items: stretch;
}

.public-home .fact-card {
  min-height: 13.25rem;
  align-content: start;
  padding: clamp(1.2rem, 3vw, 1.55rem);
}

.public-home .fact-card h3 {
  font-size: 1.14rem;
  letter-spacing: -0.015em;
}

.public-home .course-grid,
.public-home .schedule-grid {
  align-items: stretch;
}

.public-home .course-card,
.public-home .schedule-card {
  height: 100%;
}

.public-home .teacher__content {
  max-width: 42rem;
  padding: clamp(1.25rem, 4vw, 2.1rem);
  border: 1px solid rgb(255 255 255 / 0.78);
  border-radius: 1.6rem;
  background: rgb(255 255 255 / 0.62);
  box-shadow:
    0 0 0 1px rgb(77 159 211 / 0.1),
    0 0.75rem 1.8rem rgb(63 59 99 / 0.08);
  backdrop-filter: blur(0.35rem);
  -webkit-backdrop-filter: blur(0.35rem);
}

.public-home .teacher__quote {
  margin-block: 1.75rem;
  padding: 1.05rem 1.2rem;
  border: 0;
  border-left: 0.38rem solid var(--activity-coral);
  border-radius: 0 1rem 1rem 0;
  background: rgb(255 247 214 / 0.7);
  box-shadow: none;
  font-size: clamp(1.08rem, 2.4vw, 1.24rem);
  line-height: 1.75;
}

.public-home .teacher__quote::before {
  display: none;
}

.public-home #teacher-bio {
  max-width: 34em;
  line-height: 1.85;
  text-wrap: pretty;
}

.public-home .teacher__features span {
  min-height: 2.2rem;
  display: inline-flex;
  align-items: center;
  box-shadow: none;
}

.public-home .location__content address {
  display: grid;
  gap: var(--space-3);
}

.public-home .location__content address p {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
}

.public-home .location__content address strong {
  display: inline-block;
  margin-bottom: 0.2rem;
  color: var(--activity-deep);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.public-home .final-cta {
  isolation: isolate;
  padding-block: clamp(2rem, 6vw, 3.6rem);
}

.public-home .final-cta__inner {
  position: relative;
  z-index: 1;
}

.public-home .final-cta__inner > img {
  border: 0.38rem solid #fff;
  border-radius: 46% 54% 43% 57% / 55% 44% 56% 45%;
  background: rgb(255 255 255 / 0.7);
  box-shadow:
    0 0 0 0.22rem rgb(231 101 108 / 0.22),
    0 0.9rem 1.8rem rgb(63 59 99 / 0.13);
}

.public-home .final-cta__inner h2 {
  max-width: 19em;
  color: var(--activity-deep);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.public-home .final-cta__inner p:not(.section-kicker) {
  max-width: 36rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.public-home .final-cta__inner .button--line {
  min-width: 11.5rem;
  box-shadow: var(--shadow-line);
}

.public-home .site-footer__inner > div strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.public-home .site-footer nav a {
  padding-inline: 0.72rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: var(--radius-pill);
  color: #fff8ea;
  text-decoration: none;
}

@media (min-width: 56rem) {
  .public-home .site-header {
    padding-block: 0.22rem;
    background: rgb(255 250 242 / 0.9);
  }

  .public-home .site-header__inner {
    min-height: 4rem;
    padding-inline: 0.25rem;
  }

  .public-home .site-nav a {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: inset 0 -0.18rem 0 transparent;
  }

  .public-home .site-nav a:hover,
  .public-home .site-nav a:focus-visible,
  .public-home .site-nav a[aria-current="page"] {
    background: transparent;
    color: var(--activity-deep);
    box-shadow: inset 0 -0.18rem 0 var(--activity-coral);
  }

  .public-home .hero__content h1,
  .public-home .hero__lead {
    margin-left: 0;
  }

  .public-home .location__content address {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 39.99rem) {
  .public-home .hero__inner {
    gap: 2.25rem;
    padding-block: 2.25rem 3rem;
  }

  .public-home .hero__eyebrow {
    margin-bottom: 0.65rem;
  }

  .public-home .hero__lead {
    margin-top: 1rem;
  }

  .public-home .hero__actions {
    margin-top: 1.25rem;
  }

  .public-home .hero__trust {
    margin-top: 1.25rem;
  }

  .public-home .final-cta__inner .button--line {
    width: 100%;
  }
}

/* Hover is only applied to devices that really have a pointer. */
@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .btn:hover,
  .line-cta:hover {
    transform: translateY(-0.125rem);
  }

  .button--line:hover,
  .btn-line:hover,
  .line-cta:hover {
    background: #13d962;
    box-shadow: 0 0.75rem 1.5rem rgb(6 199 85 / 0.3);
  }

  .button--primary:hover,
  .btn-primary:hover {
    background: #8a3f0e;
  }

  .course-card:hover,
  .schedule-card:hover,
  .fact-card:hover {
    box-shadow: var(--shadow-lift);
    transform: translateY(-0.1875rem);
  }

  .gallery-card:hover img,
  .gallery-card:hover .gallery-card__media {
    transform: scale(1.025);
  }

  .public-home .hero__mascot:hover {
    transform: translateY(-0.18rem) rotate(-3deg);
  }

  .public-home .cat-guide:hover .cat-guide__image {
    transform: translateY(-0.12rem) rotate(2deg);
  }

  .public-home .course-card:hover .course-card__media img {
    transform: translateY(-0.16rem) rotate(-1.5deg) scale(1.02);
  }

  .public-home .trial-step:hover > img {
    transform: translateY(-0.12rem) rotate(2deg);
  }
}

@media (min-width: 40rem) {
  .home-shell,
  .section-shell,
  .site-header__inner,
  .site-footer__inner,
  .hero__inner {
    width: min(100% - 3rem, var(--content-width));
  }

  .home-section {
    padding-block: var(--space-16);
  }

  .hero__actions,
  .course-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__actions .button,
  .hero__actions .line-cta {
    min-width: 12rem;
  }

  .quick-facts__grid,
  .facts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .course-grid,
  .courses-grid,
  .schedule-grid,
  .schedules-grid,
  .testimonial-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trial-steps__grid,
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trial-step {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .trial-step > span:first-child,
  .trial-step > img,
  .trial-step > h3,
  .trial-step > p {
    grid-column: 1;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cat-friends__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card:first-child {
    grid-column: span 2;
  }

  .gallery-card:first-child .gallery-card__media,
  .gallery-card:first-child img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .location__grid,
  .contact-grid {
    grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr);
  }

  .line-qr,
  .location__qr {
    width: 8rem;
    height: 8rem;
    display: block;
    object-fit: cover;
    border: 0.35rem solid #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
  }

  .location__card {
    grid-template-columns: auto minmax(8rem, 1fr);
  }

  .location__cat {
    width: 11rem;
  }

  .public-home .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-inline: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .public-home .gallery-card,
  .public-home .gallery-card:first-child,
  .public-home .gallery-empty {
    flex: none;
  }

  .public-home .gallery-empty {
    grid-column: 1 / -1;
  }

  .public-home .trial-step {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .public-home .trial-step > span:first-child,
  .public-home .trial-step > img,
  .public-home .trial-step > h3,
  .public-home .trial-step > p {
    grid-column: 1;
    grid-row: auto;
  }

  .public-home .cat-friend-card {
    display: block;
  }

  .public-home .cat-friend-card > img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .public-home .cat-friend-card__body {
    padding: var(--space-4) var(--space-5) var(--space-5);
  }

  .public-home .cat-friend-card h4 {
    font-size: 1.35rem;
  }

  .public-home .cat-friend-card p {
    font-size: 1.0625rem;
  }
}

@media (min-width: 56rem) {
  body {
    padding-bottom: 0;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open,
  .site-nav[data-open="true"] {
    position: static;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
  }

  .site-nav a {
    padding-inline: var(--space-3);
    font-size: 0.9375rem;
  }

  .header-line-cta {
    display: inline-flex;
    margin-left: var(--space-2);
  }

  .hero__inner {
    min-height: min(46rem, calc(100vh - var(--header-height)));
    grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 0.92fr);
    gap: var(--space-12);
    padding-block: var(--space-16);
  }

  .hero__content {
    text-align: left;
  }

  .hero__lead,
  .hero__proof {
    margin-left: 0;
  }

  .hero__proof,
  .hero__actions {
    justify-content: flex-start;
  }

  .hero__hint {
    text-align: left;
  }

  .teacher__grid,
  .teacher-grid {
    grid-template-columns: minmax(20rem, 0.8fr) minmax(0, 1.2fr);
    gap: var(--space-16);
  }

  .teacher-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .teacher-points li {
    grid-template-columns: 1fr;
    padding: var(--space-4);
    border: 1px solid #e4b878;
    border-radius: var(--radius-md);
    background: rgb(255 248 231 / 0.9);
  }

  .course-grid,
  .courses-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .schedule-grid,
  .schedules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta__inner {
    min-height: 0;
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(var(--space-5), 4vw, var(--space-8));
    text-align: left;
  }

  .final-cta__inner > img {
    width: 11rem;
  }

  .final-cta__inner .section-kicker,
  .final-cta__inner h2,
  .final-cta__inner p {
    text-align: left;
  }

  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .site-footer__meta {
    grid-column: 1 / -1;
  }

  .site-footer__copy {
    grid-column: 1 / -1;
  }

  .mobile-line-bar,
  .mobile-line-bar.line-link,
  .mobile-line-cta {
    display: none;
  }
}

@media (min-width: 75rem) {
  .home-section {
    padding-block: 4.5rem;
  }

  .hero__inner {
    gap: var(--space-20);
  }
}

/* Designer restraint — 2026-08-31
 * One literary palette, one storybook motif, and fewer decorative layers.
 */
.public-home {
  --home-bg: #fbfaf7;
  --home-surface: #f4efe8;
  --home-surface-strong: #fffdf9;
  --home-ink: #342f2b;
  --home-muted: #6b6058;
  --home-brand: #cf846b;
  --home-brand-soft: #f3ddd4;
  --home-brand-strong: #8c4c3b;
  --home-sky: #d3e2e6;
  --home-sky-soft: #eef5f6;
  --home-sky-strong: #496f77;
  --home-border: #e4dbd0;
  --home-border-strong: #cdbeb0;
  --activity-coral: #c97865;
  --activity-sun: #cba65d;
  --activity-blue: #709aa4;
  --activity-purple: #827d91;
  --activity-mint: #78988b;
  --activity-orange: #bd7d57;
  --activity-deep: #383540;
  --shadow-card: 0 0.4rem 1.15rem rgb(62 51 45 / 0.08);
  --shadow-lift: 0 1rem 2.4rem rgb(62 51 45 / 0.13);
  background: var(--home-bg);
}

.public-home .site-header {
  border-bottom: 1px solid rgb(205 190 176 / 0.68);
  background: rgb(251 250 247 / 0.94);
  box-shadow: 0 0.18rem 0.8rem rgb(62 51 45 / 0.05);
}

.public-home .site-header::after,
.public-home .home-section[data-chapter]::before,
.public-home .home-section[data-chapter]::after,
.public-home .hero__picture::before,
.public-home .hero__picture::after,
.public-home .fact-card::after,
.public-home .schedule-card::before,
.public-home .schedule-card::after,
.public-home .gallery-card::before,
.public-home .trial-step::after,
.public-home .trial-steps__grid::before {
  display: none;
}

.public-home .site-brand__mark {
  border: 1px solid var(--home-border);
  box-shadow: none;
}

.public-home .hero {
  border-bottom: 1px solid var(--home-border);
  background: linear-gradient(135deg, #edf5f6 0%, #fbfaf7 58%, #f5e7df 100%);
}

.public-home .hero::before,
.public-home .hero::after {
  display: none;
}

.public-home .hero__eyebrow {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--home-sky-strong);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.public-home .hero__content h1,
.public-home .section-title,
.public-home .cat-friends__heading h3,
.public-home .final-cta__inner h2 {
  font-family: var(--font-story);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.public-home .hero h1 > span {
  color: var(--home-brand-strong);
  text-decoration: none;
}

.public-home .hero__picture {
  border: 1px solid rgb(255 255 255 / 0.92);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1.1rem 2.5rem rgb(62 51 45 / 0.14);
}

.public-home .hero__mascot {
  width: clamp(5.75rem, 22vw, 8.5rem);
  border: 0.22rem solid #fff;
  background: var(--home-sky-soft);
  box-shadow: 0 0.55rem 1.25rem rgb(62 51 45 / 0.12);
  transition: none;
}

.public-home .hero__note {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--home-border);
  border-radius: 0.7rem;
  background: rgb(255 253 249 / 0.96);
  box-shadow: 0 0.35rem 0.9rem rgb(62 51 45 / 0.08);
  font-weight: 700;
  transform: none;
}

.public-home .hero__note::before {
  display: none;
}

.public-home .hero__trust li {
  border-color: rgb(73 111 119 / 0.16);
  border-radius: 0.8rem;
  background: rgb(255 255 255 / 0.56);
}

.public-home .button,
.public-home .btn,
.public-home .line-cta {
  border-radius: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.public-home .home-section[data-chapter] {
  border-top: 1px solid rgb(228 219 208 / 0.72);
}

.public-home .quick-facts,
.public-home .courses,
.public-home .teacher,
.public-home .trial-steps,
.public-home .faq,
.public-home .location {
  background: var(--home-bg);
}

.public-home .schedule,
.public-home .gallery {
  background: var(--home-sky-soft);
}

.public-home .section-kicker {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--home-brand-strong);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: none;
}

.public-home .section-kicker::before {
  width: 1.6rem;
  height: 0.12rem;
  border-radius: 0;
  background: var(--home-brand);
  box-shadow: none;
  transform: none;
}

.public-home .section-heading .section-title::after {
  display: none;
}

.public-home .fact-card,
.public-home .fact-card:nth-child(n) {
  --fact-accent: var(--home-sky-strong);
  --fact-tint: var(--home-sky-soft);
  min-height: 0;
  border: 1px solid var(--home-border);
  border-radius: 1rem;
  background: #fffdf9;
  box-shadow: var(--shadow-card);
}

.public-home .fact-card::before {
  height: 0.18rem;
  background: var(--home-sky-strong);
}

.public-home .fact-card > span:first-child {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--home-sky-strong);
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.public-home .cat-guide,
.public-home .courses .cat-guide,
.public-home .schedule .cat-guide {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.public-home .cat-guide__image {
  border: 1px solid var(--home-border);
  border-radius: 1rem;
  background: #fff;
}

.public-home .cat-guide__body,
.public-home .schedule .cat-guide__body {
  border-color: var(--home-border);
  border-radius: 0.85rem;
  background: rgb(255 255 255 / 0.84);
  box-shadow: none;
}

.public-home .age-chip:nth-child(n) {
  --chip-color: var(--home-sky-strong);
  --chip-tint: var(--home-sky-soft);
}

.public-home .age-chip,
.public-home .filter-chip {
  border-color: var(--home-border-strong);
  background: #fffdf9;
  box-shadow: none;
}

.public-home .course-card:nth-child(3n + 1) {
  --course-accent: #6f98a1;
  --course-tint: #edf4f5;
}

.public-home .course-card:nth-child(3n + 2) {
  --course-accent: #c77f68;
  --course-tint: #f8eee9;
}

.public-home .course-card:nth-child(3n + 3) {
  --course-accent: #b1955f;
  --course-tint: #f6f1e6;
}

.public-home .course-card,
.public-home .schedule-card,
.public-home .trial-step,
.public-home .faq-item,
.public-home .cat-friend-card,
.public-home .location__card {
  border: 1px solid var(--home-border);
  border-radius: 1rem;
  background: #fffdf9;
  box-shadow: var(--shadow-card);
}

.public-home .course-card::before {
  height: 0.24rem;
  background: var(--course-accent);
}

.public-home .course-card__media {
  background: var(--course-tint);
}

.public-home .course-card__media img {
  border-width: 0.18rem;
  box-shadow: 0 0.35rem 0.9rem rgb(62 51 45 / 0.1);
}

.public-home .course-card__meta > div {
  border-color: var(--home-border);
  background: #f7f3ed;
}

.public-home .course-card__features li {
  border-color: var(--home-border);
  background: #f5f1ea;
  color: var(--home-muted);
}

.public-home .course-card__footer .button--line,
.public-home .schedule-card__link,
.public-home .schedule .section-action .button--line,
.public-home .trial-steps .section-action .button--line,
.public-home .location__actions .button--line {
  border-color: rgb(0 122 50 / 0.38);
  background: transparent;
  color: #17643a;
  box-shadow: none;
}

.public-home .schedule-card:nth-child(n) {
  --schedule-accent: var(--home-sky-strong);
  --schedule-tint: #e5eff1;
  border-top: 0.2rem solid var(--home-sky-strong);
  background: #fffdf9;
}

.public-home .schedule-card__top {
  border-bottom-color: var(--home-border);
}

.public-home .schedule-card__day {
  border-color: var(--home-border);
  background: var(--home-sky-soft);
  color: var(--home-sky-strong);
}

.public-home .teacher__media > img:first-child {
  border: 0.3rem solid #fff;
  box-shadow: 0 1rem 2.2rem rgb(62 51 45 / 0.13);
}

.public-home .teacher__badge {
  border-color: var(--home-brand);
  background: #fff8f3;
  color: var(--home-brand-strong);
  box-shadow: none;
}

.public-home .teacher__content {
  border-color: var(--home-border);
  border-radius: 1.2rem;
  background: rgb(255 253 249 / 0.9);
  box-shadow: var(--shadow-card);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.public-home .teacher__quote {
  border-left-color: var(--home-brand);
  border-radius: 0 0.7rem 0.7rem 0;
  background: #f8f1eb;
}

.public-home .teacher__features span:nth-child(n) {
  border-color: var(--home-border);
  background: #f7f3ed;
  color: var(--home-muted);
}

.public-home .cat-friends {
  border: 1px solid var(--home-border);
  border-radius: 1.2rem;
  background: #f1f6f6;
  box-shadow: none;
}

.public-home .cat-friend-card:first-child,
.public-home .cat-friend-card:last-child {
  border-color: var(--home-border);
}

.public-home .activity-tags li,
.public-home .activity-tags li:nth-child(n) {
  border-color: var(--home-border);
  background: #fffdf9;
  box-shadow: none;
  color: var(--home-muted);
}

.public-home .activity-tags li > span {
  color: var(--home-sky-strong);
  font-size: 0.75rem;
  font-weight: 900;
}

.public-home .gallery-card,
.public-home .gallery-card:first-child,
.public-home .gallery-card:nth-child(n) {
  --gallery-accent: var(--home-sky-strong);
  border: 1px solid var(--home-border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-card);
  transform: none;
}

.public-home .gallery-card__body {
  border-top: 1px solid var(--home-border);
  background: #fff;
}

.public-home .gallery-card__date {
  color: var(--home-sky-strong) !important;
}

.public-home .trial-step:nth-child(n) {
  --step-accent: var(--home-brand);
  --step-tint: var(--home-brand-soft);
  background: #fffdf9;
}

.public-home .trial-step > span:first-child {
  background: var(--home-brand);
  box-shadow: 0 0 0 0.14rem #fff, 0 0 0 0.25rem var(--home-brand-soft);
}

.public-home .faq-item:nth-child(n) {
  --faq-accent: var(--home-brand);
  border-left: 0.18rem solid var(--home-brand);
}

.public-home .faq-item summary::after {
  border: 0;
  background: var(--home-surface);
  color: var(--home-brand-strong);
}

.public-home .location__content address p:nth-child(1),
.public-home .location__content address p:nth-child(2) {
  border-left: 0.2rem solid var(--home-sky-strong);
  background: #fffdf9;
}

.public-home .location__card {
  background: #fffdf9;
}

.public-home .final-cta {
  border: 1px solid var(--home-border);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #e9f2f4, #fbfaf7 62%, #f4e4dc);
  box-shadow: 0 1rem 2.2rem rgb(62 51 45 / 0.11);
}

.public-home .final-cta::before,
.public-home .final-cta::after {
  display: none;
}

.public-home .final-cta__inner > img {
  border: 0.25rem solid #fff;
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.public-home .site-footer {
  border-top: 0;
  border-image: none;
  background: #342f2b;
}

.public-home .site-footer nav a {
  border: 0;
  border-radius: 0;
  color: #f7f1ea;
}

.public-home .mobile-line-bar {
  border-top: 1px solid rgb(16 42 26 / 0.16);
  border-image: none;
}

@media (max-width: 55.99rem) {
  html {
    scroll-padding-bottom: calc(var(--sticky-line-height) + env(safe-area-inset-bottom, 0px) + var(--space-4));
  }

  .public-home :where(a, button, input, summary):focus-visible {
    scroll-margin-bottom: calc(var(--sticky-line-height) + env(safe-area-inset-bottom, 0px) + var(--space-4));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .public-home .hero__mascot,
  .public-home .cat-guide__image,
  .public-home .course-card__media img,
  .public-home .trial-step > img,
  .public-home .button,
  .public-home .btn,
  .public-home .line-cta,
  .public-home .course-card,
  .public-home .schedule-card,
  .public-home .fact-card,
  .public-home .gallery-card,
  .public-home .gallery-card img,
  .public-home .gallery-card__media,
  .public-home .teacher__quote {
    transform: none !important;
  }

  .public-home .age-chip::after,
  .public-home .cat-guide__image,
  .public-home .faq-item summary::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

}

@media (forced-colors: active) {
  .public-home .button,
  .public-home .btn,
  .public-home .line-cta,
  .public-home .age-chip,
  .public-home .filter-chip,
  .public-home .activity-tags li,
  .public-home .cat-guide__body,
  .public-home .course-card,
  .public-home .schedule-card,
  .public-home .fact-card,
  .public-home .gallery-card,
  .public-home .gallery-card:first-child,
  .public-home .trial-step,
  .public-home .cat-friends,
  .public-home .cat-friend-card,
  .public-home .final-cta,
  .public-home .teacher__content,
  .public-home .teacher__quote,
  .public-home .location__card,
  .public-home .faq-item,
  .public-home .faq-item[open] {
    border: 2px solid ButtonText;
    box-shadow: none;
  }

  .public-home .section-kicker::before,
  .public-home .section-heading .section-title::after,
  .public-home .fact-card::before,
  .public-home .home-section[data-chapter]::before,
  .public-home .home-section[data-chapter]::after,
  .public-home .site-header::after,
  .public-home .hero__note::before,
  .public-home .hero__picture::before,
  .public-home .hero__picture::after,
  .public-home .cat-guide__body::before,
  .public-home .course-card__media::before,
  .public-home .course-card__media::after,
  .public-home .age-chip[aria-pressed="true"]::after,
  .public-home .schedule-card::before,
  .public-home .schedule-card::after,
  .public-home .gallery-card::before,
  .public-home .teacher__quote::before,
  .public-home .final-cta::before,
  .public-home .final-cta::after,
  .public-home .trial-step::after,
  .public-home .trial-steps__grid::before {
    display: none;
  }

  .public-home .age-chip[aria-pressed="true"] {
    outline: 3px solid Highlight;
    outline-offset: 2px;
  }

  .public-home .age-chip:focus-visible {
    outline: 3px solid CanvasText;
    outline-offset: 5px;
  }
}

@media print {
  body {
    padding-bottom: 0;
    background: #fff;
  }

  .site-header,
  .mobile-line-bar,
  .mobile-line-cta,
  .nav-toggle,
  .hero__actions,
  .course-card__actions,
  .gallery-actions,
  .line-hint,
  .course-card__footer,
  .final-cta .button,
  .final-cta .line-cta,
  .home-section[data-chapter]::before,
  .home-section[data-chapter]::after,
  .public-home .section-kicker::before,
  .public-home .section-heading .section-title::after,
  .public-home .fact-card::before,
  .public-home .site-header::after,
  .public-home .hero__note::before,
  .public-home .hero__picture::before,
  .public-home .hero__picture::after,
  .public-home .cat-guide__body::before,
  .public-home .course-card__media::before,
  .public-home .course-card__media::after,
  .public-home .age-chip[aria-pressed="true"]::after,
  .public-home .schedule-card::before,
  .public-home .schedule-card::after,
  .public-home .gallery-card::before,
  .public-home .teacher__quote::before,
  .public-home .final-cta::before,
  .public-home .final-cta::after,
  .public-home .trial-step::after,
  .public-home .trial-steps__grid::before {
    display: none !important;
  }

  .home-section,
  .hero__inner {
    min-height: 0;
    padding-block: 1.5rem;
  }

  .public-home,
  .public-home .hero,
  .public-home .home-section,
  .public-home .final-cta,
  .public-home .course-card,
  .public-home .schedule-card,
  .public-home .fact-card,
  .public-home .testimonial-card,
  .public-home .faq-item,
  .public-home .gallery-card,
  .public-home .gallery-card:first-child,
  .public-home .faq-item[open],
  .public-home .trial-step,
  .public-home .cat-friends,
  .public-home .cat-friend-card,
  .public-home .teacher__content {
    background: #fff;
    box-shadow: none;
  }

  .public-home .course-card,
  .public-home .schedule-card,
  .public-home .fact-card,
  .public-home .testimonial-card,
  .public-home .faq-item,
  .public-home .gallery-card,
  .public-home .gallery-card:first-child,
  .public-home .faq-item[open],
  .public-home .trial-step,
  .public-home .cat-friends,
  .public-home .cat-friend-card,
  .public-home .teacher__content {
    border: 1px solid #777;
    break-inside: avoid;
  }

  .public-home .fact-card {
    min-height: 0;
  }

  .public-home .course-card {
    outline: 0 !important;
  }

  .public-home .teacher__content {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .public-home .teacher__quote,
  .public-home .gallery-card,
  .public-home .gallery-card:first-child,
  .public-home .cat-guide__image,
  .public-home .course-card__media img {
    animation: none !important;
    transform: none !important;
  }
}
