/* Nevis Learning Corner
   Layout concept: a bright white page where photos and highlights sit in tilted,
   beveled "letter blocks" borrowed from the NEVIS logo; everything else stays calm. */
:root {
  color-scheme: light;
  --ink: #1E2557;
  --ink-2: #474F7D;
  --paper: #FFFFFF;
  --wash: #EEF5FF;
  --warm: #FFF5D6;
  --line: #DCE3F2;
  --coral: #FF7A59;  --coral-deep: #D9583A; --coral-text: #C2401F;
  --sun: #FFC93C;    --sun-deep: #DDA519;
  --mint: #4CC9A6;   --mint-deep: #2FA585;  --mint-text: #0B7462;
  --sky: #6BB8FF;    --sky-deep: #3F92E3;  --baby-blue: #C4E4FF;
  --lilac: #B49BFF;  --lilac-deep: #8F72EE;
  --display: "Fredoka", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem);
  --step-3: clamp(2.05rem, 1.4rem + 2.6vw, 3rem);
  --step-4: clamp(2.5rem, 1.5rem + 4.2vw, 4.4rem);
  --radius: 22px;
  --bevel: inset 0 -7px 0 rgba(30, 37, 87, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 60;
  height: env(safe-area-inset-top, 0px); background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--coral-text); }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 600; line-height: 1.12;
  letter-spacing: -0.01em; margin: 0; text-wrap: balance; color: var(--ink);
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; }
p { margin: 0; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 12px; font-weight: 600; }
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(56px, 8vw, 104px); }
.band--wash { background: var(--wash); }
.band--warm { background: var(--warm); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 40em; margin-bottom: clamp(28px, 4vw, 48px); }

/* ---------- Buttons: little letter blocks you can press ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px 15px;
  font-family: var(--display); font-weight: 600; font-size: 1.08rem; line-height: 1.1;
  border: 0; border-radius: 16px; cursor: pointer; text-decoration: none;
  color: var(--ink); background: var(--sun); box-shadow: inset 0 -6px 0 var(--sun-deep);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 -2px 0 var(--sun-deep); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--line { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink), inset 0 -6px 0 var(--ink); }
.btn--line:active { box-shadow: inset 0 0 0 2px var(--ink), inset 0 -2px 0 var(--ink); }
.btn--mint { background: var(--mint); box-shadow: inset 0 -6px 0 var(--mint-deep); }
.btn--mint:active { box-shadow: inset 0 -2px 0 var(--mint-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { width: 172px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  font-weight: 600; text-decoration: none; padding: 10px 12px; border-radius: 12px;
  position: relative;
}
.nav a:not(.btn):hover { background: var(--wash); color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 4px;
  border-radius: 4px; background: var(--coral);
}
.nav .btn { margin-left: 10px; min-height: 46px; padding: 10px 18px 13px; }
.header-call, .menu-toggle { display: none; }

@media (max-width: 960px) {
  .site-header .wrap { min-height: 68px; gap: 10px; }
  .brand img { width: 144px; }
  .header-call, .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 48px; min-height: 48px; border-radius: 14px; border: 0; cursor: pointer;
    font: 600 1rem/1 var(--display); color: var(--ink); text-decoration: none;
  }
  .header-call { margin-left: auto; background: var(--wash); }
  .header-call svg, .menu-toggle svg { width: 22px; height: 22px; }
  .menu-toggle { background: var(--sun); box-shadow: inset 0 -4px 0 var(--sun-deep); padding: 0 14px 3px; }
  .menu-toggle .icon-close { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }
  .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 10px max(20px, env(safe-area-inset-right, 0px)) 22px max(20px, env(safe-area-inset-left, 0px));
    box-shadow: 0 18px 30px rgba(30, 37, 87, 0.12);
    max-height: calc(100dvh - 68px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { font-family: var(--display); font-size: 1.35rem; padding: 12px 8px; }
  .nav a[aria-current="page"]::after { left: 8px; right: auto; width: 40px; bottom: 6px; }
  .nav .btn { margin: 10px 0 0; min-height: 54px; }
}

/* ---------- Photo blocks (the signature) ---------- */
.pblock {
  --c: var(--coral); --cd: var(--coral-deep); --r: 0deg;
  margin: 0; position: relative; border-radius: 26px; overflow: hidden;
  background: var(--c);
  border: 7px solid var(--c); border-bottom: 16px solid var(--cd);
  transform: rotate(var(--r));
  box-shadow: 0 14px 26px -14px rgba(30, 37, 87, 0.45);
}
.pblock img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.c-coral { --c: var(--coral); --cd: var(--coral-deep); }
.c-sun { --c: var(--sun); --cd: var(--sun-deep); }
.c-mint { --c: var(--mint); --cd: var(--mint-deep); }
.c-sky { --c: var(--sky); --cd: var(--sky-deep); }
.c-lilac { --c: var(--lilac); --cd: var(--lilac-deep); }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 84px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 11ch; }
.hero .lead { margin-top: 22px; }
.hero .btn-row { margin-top: 30px; }
.facts { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--ink-2); font-weight: 500; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts svg { width: 20px; height: 20px; color: var(--coral-text); flex: none; }
.hero-blocks {
  display: grid; grid-template-columns: 1.08fr 1fr; grid-template-rows: auto auto; gap: 18px 20px;
  align-items: center;
}
.hero-blocks .pblock:nth-child(1) { grid-row: 1 / span 2; aspect-ratio: 3 / 4.1; --r: -3deg; }
.hero-blocks .pblock:nth-child(2) { aspect-ratio: 4 / 3; --r: 3.5deg; margin-top: 10px; }
.hero-blocks .pblock:nth-child(3) { aspect-ratio: 1 / 1; --r: -2deg; width: 86%; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 13ch; }
  .hero-blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-inline: 4px; }
  .hero-blocks .pblock { border-width: 5px; border-bottom-width: 11px; border-radius: 18px; }
  .hero-blocks .pblock img { border-radius: 12px; }
  .hero-blocks .pblock:nth-child(n) { grid-row: auto; aspect-ratio: 3 / 4; width: 100%; margin-top: 0; }
  .hero-blocks .pblock:nth-child(2) { margin-top: 18px; }
}

/* ---------- Why families ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.split--flip > :first-child { order: 2; }
.split .pblock { aspect-ratio: 4 / 3.3; }
@media (max-width: 860px) {
  .split, .split--flip { grid-template-columns: minmax(0, 1fr); }
  .split--flip > :first-child { order: 0; }
}
.reasons { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 26px; }
.reasons li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 18px; }
.reasons h3 { grid-column: 2; }
.reasons p { grid-column: 2; color: var(--ink-2); }
.ico {
  grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center; color: var(--ink);
  background: var(--c, var(--sun)); box-shadow: inset 0 -5px 0 var(--cd, var(--sun-deep));
}
.ico svg { width: 26px; height: 26px; margin-top: -3px; }

/* ---------- Activity blocks ---------- */
.ablocks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.ablock {
  --r: 0deg; flex: 1 1 200px; max-width: 240px; min-width: 0;
  background: var(--c); border-radius: var(--radius); padding: 22px 20px 30px;
  box-shadow: inset 0 -10px 0 var(--cd); transform: rotate(var(--r));
  display: flex; flex-direction: column; gap: 8px;
}
.ablock:nth-child(1) { --r: -2.5deg; } .ablock:nth-child(2) { --r: 2deg; margin-top: 14px; }
.ablock:nth-child(3) { --r: -1.5deg; } .ablock:nth-child(4) { --r: 2.5deg; margin-top: 10px; }
.ablock:nth-child(5) { --r: -2deg; }
.ablock svg { width: 32px; height: 32px; }
.ablock h3 { font-size: 1.35rem; }
.ablock .age { font-weight: 600; font-size: var(--step--1); }
.ablock p { font-size: 0.98rem; }
@media (max-width: 560px) {
  .ablocks { gap: 16px; }
  .ablock { flex-basis: 100%; max-width: none; }
  .ablock:nth-child(n) { margin-top: 0; --r: 0deg; }
  .ablock:nth-child(odd) { --r: -1deg; } .ablock:nth-child(even) { --r: 1deg; }
}
.center-cta { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- Photo peek ---------- */
.peek { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.peek img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; }
.peek a:nth-child(even) img { margin-top: 26px; }
@media (max-width: 720px) { .peek { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 36px; }
.head-row .section-head { margin-bottom: 0; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; }
.quotes .side { display: grid; gap: 22px; }
.quote { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 30px 30px 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 2px 0 var(--line); }
.quote blockquote { margin: 0; }
.quote blockquote p + p { margin-top: 12px; }
.quote::before { content: "\201C"; font-family: var(--display); font-weight: 600; font-size: 4.2rem; line-height: 0.6; height: 30px; color: var(--coral); }
.quote--big blockquote { font-size: 1.22rem; }
.quote figcaption { font-weight: 700; }
.quote figcaption span { display: block; font-weight: 500; color: var(--ink-2); font-size: var(--step--1); }
@media (max-width: 860px) { .quotes { grid-template-columns: minmax(0, 1fr); } }
.quotes--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .quotes--grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Visit band ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.visit-art { max-width: 520px; justify-self: center; width: 100%; }
.vlist { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 14px; }
.vlist li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 2px 12px; }
.vlist strong { grid-column: 2; }
.vlist li > span:last-child { grid-column: 2; color: var(--ink-2); overflow-wrap: anywhere; }
.vlist .dicon { grid-row: 1 / span 2; width: 24px; height: 24px; color: var(--coral-text); margin-top: 2px; }
.vlist .dicon svg { width: 24px; height: 24px; }
@media (max-width: 860px) { .visit { grid-template-columns: minmax(0, 1fr); } .visit-art { max-width: 380px; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(36px, 6vw, 80px) clamp(40px, 6vw, 80px); background: var(--wash); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero .lead { margin-top: 18px; }
.page-hero .pblock { aspect-ratio: 4 / 3.2; max-width: 460px; justify-self: end; width: 100%; --r: 2.5deg; }
.page-hero--plain .wrap { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) {
  .page-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .page-hero .pblock { justify-self: start; max-width: 380px; }
}

/* ---------- Prose and lists ---------- */
.prose { max-width: 40em; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { margin-bottom: 4px; }
.prose p { color: var(--ink-2); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; color: var(--ink-2); }
.checklist li::before {
  content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 7px; background: var(--mint);
  box-shadow: inset 0 -3px 0 var(--mint-deep);
}
.checklist strong { color: var(--ink); }
.pullquote { margin: 0; padding: 34px clamp(24px, 4vw, 44px) 36px; background: var(--sun); border-radius: 28px; box-shadow: inset 0 -12px 0 var(--sun-deep); }
.pullquote p { font-family: var(--display); font-weight: 500; font-size: var(--step-2); line-height: 1.25; text-wrap: balance; }
.pullquote footer { margin-top: 18px; font-weight: 600; }
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
@media (max-width: 760px) { .cards-2 { grid-template-columns: minmax(0, 1fr); } }
.note { background: var(--wash); border-radius: var(--radius); padding: 24px 26px; color: var(--ink-2); }

/* ---------- Programs ---------- */
.programs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 5vw, 64px); }
.programs li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 6px 18px; align-content: start; }
.programs h3 { grid-column: 2; }
.programs .age { grid-column: 2; font-weight: 600; color: var(--coral-text); font-size: var(--step--1); }
.programs p { grid-column: 2; color: var(--ink-2); }
.programs .ico { grid-row: 1 / span 3; }
@media (max-width: 760px) { .programs { grid-template-columns: minmax(0, 1fr); } }
.menu-card { background: var(--paper); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 2px 0 var(--line); }
.menu-card dl { margin: 22px 0 0; display: grid; gap: 18px; }
.menu-card dt { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.menu-card dd { margin: 4px 0 0; color: var(--ink-2); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--paper); border-radius: var(--radius); padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 2px 0 var(--line); }
.steps li::before {
  content: counter(step); width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font: 600 1.6rem/1 var(--display); padding-bottom: 4px;
  background: var(--c); box-shadow: inset 0 -5px 0 var(--cd);
}
.steps p { color: var(--ink-2); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 48em; }
.faq details { background: var(--paper); border-radius: 18px; box-shadow: 0 2px 0 var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--sun); font-size: 1.4rem; line-height: 1; padding-bottom: 2px;
}
.faq details[open] summary::after { content: "\2212"; background: var(--mint); }
.faq details > div { padding: 0 22px 20px; color: var(--ink-2); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  font: 600 1rem/1 var(--display); color: var(--ink); cursor: pointer;
  min-height: 44px; padding: 10px 18px 12px; border-radius: 14px; border: 0;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--line);
}
.chip[aria-pressed="true"] { background: var(--sun); box-shadow: inset 0 -4px 0 var(--sun-deep); }
.gallery { columns: 3 260px; column-gap: 16px; }
@media (max-width: 600px) { .gallery { columns: 2; column-gap: 12px; } .gallery button { margin-bottom: 12px; border-radius: 16px; } .gallery img { border-radius: 16px; } }
.gallery button {
  display: block; width: 100%; padding: 0; margin: 0 0 16px; border: 0; background: none; cursor: zoom-in;
  break-inside: avoid; border-radius: 20px; overflow: hidden;
}
.gallery img { width: 100%; height: auto; border-radius: 20px; transition: transform .25s ease; }
.gallery button:hover img { transform: scale(1.025); }
.lightbox {
  border: 0; padding: 0; margin: auto; max-width: min(96vw, 1100px); width: 100%;
  background: transparent; overflow: visible;
}
.lightbox::backdrop { background: rgba(20, 24, 58, 0.9); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 18px; background: var(--wash); }
.lightbox figcaption { color: #FFFFFF; text-align: center; font-weight: 500; padding-inline: 60px; }
.lb-btn {
  position: fixed; z-index: 2; width: 52px; height: 52px; border-radius: 16px; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--ink); background: var(--sun); box-shadow: inset 0 -5px 0 var(--sun-deep);
}
.lb-btn svg { width: 26px; height: 26px; }
.lb-close { top: calc(16px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(16px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(16px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .lightbox img { max-height: 70vh; }
  .lightbox figcaption { padding-inline: 8px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.info-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 16px; }
.info-list .ico { grid-row: 1 / span 2; }
.info-list strong { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.info-list span, .info-list a { color: var(--ink-2); overflow-wrap: anywhere; }
.hours { width: 100%; border-collapse: collapse; margin-top: 6px; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours th { font-weight: 700; padding-right: 16px; }
.form-card { background: var(--paper); border-radius: 28px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 2px 0 var(--line), 0 24px 40px -28px rgba(30, 37, 87, 0.35); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; }
.field .opt { font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1.0625rem; color: var(--ink); width: 100%;
  min-height: 52px; padding: 12px 14px; border-radius: 14px;
  border: 2px solid var(--line); background: #FBFCFF;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-deep); box-shadow: 0 0 0 4px rgba(107, 184, 255, 0.35); }
.field [aria-invalid="true"] { border-color: var(--coral-text); }
.field .err { color: var(--coral-text); font-weight: 600; font-size: var(--step--1); min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 16px; font-weight: 600; }
.form-status.ok { background: #E3F8F1; color: var(--mint-text); }
.form-status.bad { background: #FFEDE8; color: var(--coral-text); }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-actions p { color: var(--ink-2); font-size: var(--step--1); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 36px; }
.stripe { display: grid; grid-template-columns: repeat(5, 1fr); height: 8px; }
.stripe span:nth-child(1) { background: var(--coral); } .stripe span:nth-child(2) { background: var(--sun); }
.stripe span:nth-child(3) { background: var(--mint); } .stripe span:nth-child(4) { background: var(--sky); }
.stripe span:nth-child(5) { background: var(--lilac); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-grid h2 { font-size: 1.15rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid p, .footer-grid li { color: var(--ink-2); }
.footer-brand img { width: 190px; margin-bottom: 14px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--ink-2); font-size: var(--step--1); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- One-page additions ---------- */
main section[id], #visit, #menu { scroll-margin-top: calc(84px + env(safe-area-inset-top, 0px)); }
.section-head--center { margin-inline: auto; text-align: center; align-items: center; }
.h3-lg { font-size: var(--step-2); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 4px;
  border-radius: 4px; background: var(--coral);
}
@media (max-width: 960px) { .nav a.is-active::after { left: 8px; right: auto; width: 40px; bottom: 6px; } }
.owner { margin-top: clamp(40px, 6vw, 72px); }
.pullquote--lilac { background: var(--lilac); box-shadow: inset 0 -12px 0 var(--lilac-deep); max-width: 52em; }
.program-more { margin-top: clamp(56px, 8vw, 96px); }
.program-more .pblock { aspect-ratio: 3 / 4; max-width: 400px; justify-self: center; width: 100%; }
.faq-wrap { margin-top: clamp(44px, 6vw, 72px); display: grid; gap: 22px; }
.contact-art { width: 100%; max-width: 420px; }
@media (max-width: 860px) {
  .program-more .pblock { max-width: 320px; }
  .contact-art { max-width: 320px; }
}

/* Testimonials: one featured quote, three beside each other underneath */
.quotes { grid-template-columns: minmax(0, 1fr); }
.quotes .side { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.quote--big { padding: clamp(28px, 4vw, 44px); }
.quote--big blockquote { font-family: var(--display); font-weight: 500; font-size: var(--step-1); line-height: 1.45; max-width: 46em; }
@media (max-width: 900px) { .quotes .side { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   Header, footer and map upgrades
   ===================================================================== */

/* ---------- Top info bar ---------- */
.topbar { background: var(--baby-blue); color: var(--ink); font-size: 0.9rem; font-weight: 500; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; min-height: 44px; flex-wrap: wrap; }
.topbar-info { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; }
.topbar-info li { display: flex; align-items: center; gap: 8px; }
.topbar-info svg { width: 17px; height: 17px; color: var(--coral-text); flex: none; }
.topbar a { color: var(--ink); text-decoration: none; }
.topbar a:hover { color: var(--coral-text); text-decoration: underline; }
.topbar-cta a { color: var(--ink); background: var(--sun); padding: 5px 12px 7px; border-radius: 10px; font-weight: 700; box-shadow: inset 0 -3px 0 var(--sun-deep); }
.topbar-cta a:hover { color: var(--ink); text-decoration: none; background: #FFD866; }
@media (max-width: 760px) { .topbar { display: none; } }

/* ---------- Main header ---------- */
.site-header { transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 12px 30px -20px rgba(30, 37, 87, 0.55); }
.site-header .wrap { min-height: 84px; }
.brand { position: relative; isolation: isolate; padding: 10px 46px 10px 0; align-self: stretch; display: flex; align-items: center; }
.brand::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; left: -100vw;
  background: var(--warm);
  clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
}
.brand::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: -2px; width: 34px;
  background: var(--coral);
  clip-path: polygon(28px 0, 34px 0, 6px 100%, 0 100%);
}
.call-block, .call-inline { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.call-block { margin-left: 18px; padding-left: 20px; border-left: 1px solid var(--line); }
.call-ico {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--sun); box-shadow: inset 0 -4px 0 var(--sun-deep);
}
.call-ico svg { width: 22px; height: 22px; }
.call-block small, .call-inline small { display: block; color: var(--ink-2); font-size: 0.82rem; font-weight: 600; line-height: 1.2; }
.call-block strong, .call-inline strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.call-block:hover, .call-inline:hover { color: var(--coral-text); }
@media (max-width: 1180px) { .call-block { display: none; } }
@media (max-width: 960px) {
  .site-header .wrap { min-height: 70px; }
  .brand { padding-right: 34px; }
  .brand img { width: 136px; }
}

/* ---------- Hero badge and dots ---------- */
.hero-blocks { position: relative; isolation: isolate; }
.hero-blocks::before {
  content: ""; position: absolute; z-index: -1; right: -34px; top: -38px; width: 190px; height: 190px;
  background-image: radial-gradient(var(--sky) 2.4px, transparent 2.8px); background-size: 18px 18px; opacity: 0.6;
}
.hero-blocks::after {
  content: ""; position: absolute; z-index: -1; left: -30px; bottom: -34px; width: 150px; height: 150px;
  background-image: radial-gradient(var(--coral) 2.4px, transparent 2.8px); background-size: 18px 18px; opacity: 0.45;
}
.since-badge {
  position: absolute; left: -26px; bottom: -22px; margin: 0; z-index: 2;
  display: flex; align-items: center; gap: 12px; padding: 14px 20px 18px 16px;
  background: var(--ink); color: #FFFFFF; border-radius: 20px; transform: rotate(-3deg);
  box-shadow: inset 0 -6px 0 #10153A, 0 18px 30px -18px rgba(30, 37, 87, 0.7);
}
.since-badge strong { font-family: var(--display); font-weight: 600; font-size: 2.3rem; line-height: 1; color: var(--sun); order: 2; }
.since-badge span { font-weight: 600; font-size: 0.9rem; line-height: 1.25; max-width: 10ch; order: 1; }
@media (max-width: 860px) {
  .hero-blocks::before, .hero-blocks::after { display: none; }
  .since-badge { position: static; grid-column: 1 / -1; justify-self: start; transform: rotate(-2deg); margin-top: 10px; padding: 10px 16px 14px 14px; }
  .since-badge strong { font-size: 1.8rem; }
  .since-badge span { max-width: none; }
}

/* ---------- Call row (about) ---------- */
.call-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }

/* ---------- Map ---------- */
.map-section { position: relative; background: var(--wash); }
.map-frame { position: relative; height: clamp(440px, 46vw, 560px); overflow: hidden; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.9); }
.map-fallback { position: absolute; inset: 0; background: #E5F0E1; overflow: hidden; }
.road { position: absolute; background: #FFFFFF; box-shadow: 0 0 0 2px #D3E1CD; }
.road-main { left: 60%; top: -20%; bottom: -20%; width: 26px; transform: rotate(7deg); background: #FFF3C9; box-shadow: 0 0 0 2px #EED894; }
.road-a { top: 32%; left: -10%; right: -10%; height: 14px; transform: rotate(-4deg); }
.road-b { top: 74%; left: -10%; right: -10%; height: 12px; transform: rotate(3deg); }
.road-c { left: 30%; top: -20%; bottom: -20%; width: 12px; transform: rotate(-14deg); }
.road-label { position: absolute; left: calc(60% + 34px); top: 18%; transform: rotate(97deg); transform-origin: left top; font: 600 0.95rem/1 var(--display); color: #7A6A2E; letter-spacing: 0.04em; }
.map-pin { position: absolute; left: calc(60% + 2px); top: 50%; transform: translate(-50%, -100%); width: 64px; height: 64px; color: var(--coral); filter: drop-shadow(0 8px 10px rgba(30, 37, 87, 0.35)); }
.map-pin svg { width: 64px; height: 64px; fill: var(--coral); stroke: #FFFFFF; stroke-width: 1.4; }
.map-overlay { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.map-card {
  pointer-events: auto; position: relative; width: min(370px, 100%);
  background: var(--coral); color: var(--ink); border-radius: 26px; padding: 30px 30px 34px;
  box-shadow: inset 0 -10px 0 var(--coral-deep), 0 26px 44px -24px rgba(30, 37, 87, 0.6);
}
.map-card::after {
  content: ""; position: absolute; left: 58px; bottom: -26px; width: 0; height: 0;
  border-right: 36px solid transparent; border-top: 28px solid var(--coral-deep);
}
.map-card h2 { font-size: var(--step-2); }
.map-address { margin: 12px 0 16px; font-weight: 600; font-size: 1.12rem; line-height: 1.45; }
.map-hours { list-style: none; margin: 0 0 24px; padding: 0; display: grid; }
.map-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(30, 37, 87, 0.18); font-size: 0.98rem; }
.map-hours span { font-weight: 500; }
.btn--ink { background: var(--ink); color: #FFFFFF; box-shadow: inset 0 -6px 0 #0E1338; }
.btn--ink:hover { color: #FFFFFF; }
.btn--ink:active { box-shadow: inset 0 -2px 0 #0E1338; }
@media (max-width: 760px) {
  .map-frame { height: 340px; }
  .map-overlay { position: relative; display: block; margin-top: -80px; padding-bottom: 44px; }
  .map-card { width: 100%; }
  .map-card::after { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 0; padding: 0; background: var(--ink); color: #E3E7FF; }
.footer-strip { background: #161B45; }
.footer-strip .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.strip-item { display: flex; align-items: center; gap: 16px; padding: 28px 24px; color: #FFFFFF; text-decoration: none; border-left: 1px solid rgba(255, 255, 255, 0.12); min-width: 0; }
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-item .ico { width: 50px; height: 50px; grid-row: auto; }
.strip-item small { display: block; color: #AEB6E6; font-size: 0.85rem; font-weight: 600; }
.strip-item strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.12rem; line-height: 1.3; overflow-wrap: anywhere; }
.strip-item:hover { color: var(--sun); }
@media (max-width: 900px) {
  .footer-strip .wrap { grid-template-columns: minmax(0, 1fr); }
  .strip-item, .strip-item:first-child { border-left: 0; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .strip-item:first-child { border-top: 0; }
}
.footer-main { position: relative; overflow: hidden; padding-block: 64px 28px; }
.footer-main::before {
  content: ""; position: absolute; right: -70px; top: -50px; width: 200px; height: 200px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 2.4px, transparent 2.8px); background-size: 20px 20px;
}
.footer-grid { position: relative; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 44px; }
.footer-grid h2 { color: #FFFFFF; font-size: 1.3rem; margin-bottom: 20px; padding-bottom: 14px; position: relative; }
.footer-grid h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--coral) 0 20%, var(--sun) 20% 40%, var(--mint) 40% 60%, var(--sky) 60% 80%, var(--lilac) 80%);
}
.footer-logo { display: inline-block; background: #FFFFFF; border-radius: 18px; padding: 12px 16px 14px; box-shadow: inset 0 -5px 0 #D6DCF5; }
.footer-logo img, .footer-brand .footer-logo img { width: 184px; margin: 0; }
.footer-brand p { color: #C9D0F2; margin: 20px 0 24px; max-width: 34ch; }
.footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.footer-links a { color: #E3E7FF; text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--sun); text-decoration: underline; }
.footer-hours { gap: 14px; }
.footer-hours li { display: flex; flex-direction: column; color: #AEB6E6; }
.footer-hours strong { color: #FFFFFF; font-weight: 600; }
.footer-bottom {
  margin-top: 52px; padding: 18px 24px; border-top: 0; border-radius: 18px;
  background: #12173D; color: #AEB6E6;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; z-index: 45; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--ink);
  background: var(--sun); box-shadow: inset 0 -5px 0 var(--sun-deep), 0 12px 24px -12px rgba(30, 37, 87, 0.6);
}
.to-top svg { width: 26px; height: 26px; margin-top: -3px; }
.to-top:hover { color: var(--ink); transform: translateY(-2px); }

/* ---------- Contact form topic tabs ---------- */
.topic-tabs { border: 0; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.topic-tabs legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.topic { position: relative; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 16px 10px 14px; border-radius: 18px; background: #FBFCFF; box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow .15s ease, background .15s ease; }
.topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topic-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--c); box-shadow: inset 0 -4px 0 var(--cd); }
.topic-ico svg { width: 24px; height: 24px; margin-top: -2px; }
.topic-name { font-family: var(--display); font-weight: 600; font-size: 1.02rem; line-height: 1.2; }
.topic:hover { background: var(--wash); }
.topic.is-on, .topic:has(input:checked) { background: var(--warm); box-shadow: inset 0 0 0 3px var(--ink); }
.topic:has(input:focus-visible) { outline: 3px solid var(--sky-deep); outline-offset: 3px; }
@media (max-width: 480px) {
  .topic-tabs { gap: 8px; }
  .topic { padding: 12px 6px 10px; }
  .topic-ico { width: 40px; height: 40px; }
  .topic-name { font-size: 0.92rem; }
}
.btn--small { min-height: 46px; padding: 9px 18px 12px; font-size: 1rem; }
.info-list a { color: var(--ink-2); }
@media (max-width: 1180px) { .topbar-info .topbar-cta { display: none; } }
@media (max-width: 1000px) { .topbar-info:first-child li:nth-child(2) { display: none; } }

/* ---------- Meet Nevi ---------- */
.meet { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.meet .meet-photo { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; justify-self: center; --r: -2.5deg; }
.meet .meet-photo img { object-position: 50% 20%; }
.meet .pullquote { margin-top: 4px; }
@media (max-width: 860px) {
  .meet { grid-template-columns: minmax(0, 1fr); }
  .meet .meet-photo { max-width: 320px; justify-self: start; }
}

/* ---------- Coral buttons (matches the "N" block of the logo) ---------- */
.btn { background: var(--coral); box-shadow: inset 0 -6px 0 var(--coral-deep); }
.btn:hover { background: #FF8E72; }
.btn:active { box-shadow: inset 0 -2px 0 var(--coral-deep); }
.btn.btn--line, .btn.btn--line:hover { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink), inset 0 -6px 0 var(--ink); }
.btn.btn--line:active { box-shadow: inset 0 0 0 2px var(--ink), inset 0 -2px 0 var(--ink); }
.btn.btn--ink { background: var(--ink); color: #FFFFFF; box-shadow: inset 0 -6px 0 #0E1338; }
.btn.btn--ink:hover { background: #2A3270; color: #FFFFFF; }
.btn.btn--ink:active { box-shadow: inset 0 -2px 0 #0E1338; }
.topbar-cta a { background: var(--coral); box-shadow: inset 0 -3px 0 var(--coral-deep); }
.topbar-cta a:hover { background: #FF8E72; }
.menu-toggle { background: var(--coral); box-shadow: inset 0 -4px 0 var(--coral-deep); }
.to-top { background: var(--coral); box-shadow: inset 0 -5px 0 var(--coral-deep), 0 12px 24px -12px rgba(30, 37, 87, 0.6); }
.lb-btn { background: var(--coral); box-shadow: inset 0 -5px 0 var(--coral-deep); }
