/* New Horizons Country Day School: site styles.
   Design: navy + oak green + sun gold, Bricolage Grotesque display, Instrument Sans text.
   Motion lives in motion.css and is off when the visitor prefers reduced motion. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #13295B;
  --navy-2: #1A3268;
  --navy-line: #2E4373;
  --ink-2: #46557A;
  --label: #5A6888;
  --oak: #1E4535;
  --oak-2: #2A5A47;
  --oak-soft: #D6E4DB;
  --sun: #F2B41C;
  --mist: #F2F4F7;
  --line: #DCE1EA;
  --white: #FFFFFF;
  --on-navy: #DDE4F2;
  --on-navy-2: #C8D2E8;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 8vw, 120px);
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--navy); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; color: inherit; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.on-navy :focus-visible, .on-oak :focus-visible { outline-color: #FFFFFF; }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--sun); color: var(--navy); font-weight: 700; padding: 12px 18px; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--white); }
.section--oak { background: var(--oak); color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 36px; }
.stack-sm { display: flex; flex-direction: column; gap: 16px; }

/* Typography */
.display-1 { font-size: clamp(44px, 6.2vw, 92px); line-height: 0.98; letter-spacing: -0.028em; text-wrap: balance; }
.display-2 { font-size: clamp(40px, 5vw, 72px); line-height: 1.0; letter-spacing: -0.025em; text-wrap: balance; }
.h2 { font-size: clamp(32px, 3.8vw, 56px); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -0.012em; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--ink-2); }
.kicker { font-size: 15px; font-weight: 600; color: var(--oak); }
.section--navy .lede, .section--navy .muted { color: var(--on-navy-2); }
.section--oak .lede, .section--oak .muted { color: var(--oak-soft); }
.section-head { display: flex; flex-wrap: wrap; gap: 16px 64px; align-items: flex-end; justify-content: space-between; }
.section-head > .h2 { flex: 1 1 420px; }
.section-head > p { flex: 1 1 360px; max-width: 32em; color: var(--ink-2); font-size: 18px; }
.section--navy .section-head > p { color: var(--on-navy-2); }
.section--oak .section-head > p { color: var(--oak-soft); }
.rule-top { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 88px); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; text-align: center; }
.btn--sun { background: var(--sun); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); font-weight: 600; }
.btn--outline { border-color: var(--navy); color: var(--navy); font-weight: 600; background: transparent; }
.btn--outline-light { border-color: var(--white); color: var(--white); font-weight: 600; background: transparent; }
.btn--sm { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-strong { color: var(--navy); font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--sun); }
.section--navy .link-strong, .section--oak .link-strong { color: var(--sun); text-decoration-color: currentColor; }
.prose a, .faq a, .text-link { color: var(--navy); font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--sun); }
.section--navy .text-link, .section--oak .text-link { color: var(--sun); text-decoration-color: currentColor; }

/* Header */
.site-header { position: relative; z-index: 20; background: var(--white); }
.utility { background: var(--navy); color: var(--white); font-size: 14px; }
.utility .wrap { min-height: 40px; display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; justify-content: space-between; padding-block: 8px; }
.utility a { color: var(--white); text-decoration: none; }
.utility a:hover { text-decoration: underline; text-underline-offset: 3px; }
.utility .utility-contact { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.utility .utility-email { color: var(--on-navy-2); }
.bar { border-bottom: 1px solid var(--line); }
.bar .wrap { padding-block: 14px; display: flex; gap: 12px 24px; align-items: center; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; color: var(--navy); }
.brand img { width: 74px; height: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-family: var(--display); font-weight: 600; font-size: 23px; letter-spacing: -0.01em; }
.brand-name span { font-size: 14px; color: var(--ink-2); margin-top: 3px; }
.nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; gap: 2px; align-items: center; white-space: nowrap; }
.nav-link, .nav-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; background: none; font: inherit; font-weight: 600; font-size: 16px; color: var(--navy); text-decoration: none; cursor: pointer; border-radius: 10px; }
.nav-link[aria-current="page"], .nav-toggle.is-current { box-shadow: inset 0 -3px 0 var(--sun); border-radius: 0; }
.nav-toggle[aria-expanded="true"] { background: var(--mist); }
.nav-toggle svg { transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-menu { position: relative; }
.submenu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(720px, 90vw); background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 40px -24px rgba(19, 41, 91, .35); padding: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; white-space: normal; }
.submenu[hidden] { display: none; }
.submenu a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--navy); padding: 14px 16px; border-radius: 14px; }
.submenu a:hover { background: var(--mist); }
.submenu strong { font-family: var(--display); font-weight: 600; font-size: 21px; }
.submenu span { color: var(--ink-2); font-size: 15px; }
.submenu .submenu-all { background: var(--mist); }
.header-cta { white-space: nowrap; }
.menu-button { display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--navy); background: var(--white); color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }

@media (max-width: 1080px) {
  .menu-button { display: inline-flex; }
  .bar .wrap { flex-wrap: wrap; }
  .header-cta { order: 3; }
  .nav { order: 4; flex-basis: 100%; display: none; }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; white-space: normal; gap: 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .nav-link, .nav-toggle { width: 100%; justify-content: space-between; min-height: 52px; font-size: 18px; padding: 0 6px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-link[aria-current="page"], .nav-toggle.is-current { box-shadow: inset 4px 0 0 var(--sun); padding-left: 14px; }
  .submenu { position: static; transform: none; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; border-radius: 0; padding: 6px 0 12px; }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; }
  .no-js .nav { display: block; }
  .no-js .menu-button { display: none; }
}
@media (max-width: 560px) {
  .brand img { width: 56px; }
  .brand-name b { font-size: 20px; }
  .header-cta { flex: 1 1 100%; }
  .utility .wrap { font-size: 13px; }
  .utility .utility-email { display: none; }
}

/* Breadcrumbs */
.crumbs { font-size: 15px; color: var(--label); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #9AA6BF; }
.crumbs a { color: var(--ink-2); text-underline-offset: 3px; }

/* Home hero */
.hero { padding-top: 56px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-end; }
.hero-copy { flex: 1 1 520px; min-width: 0; padding-bottom: clamp(32px, 6vw, 88px); display: flex; flex-direction: column; gap: 28px; }
.hero-art { flex: 1 1 440px; min-width: 0; display: flex; justify-content: center; }
.arch { position: relative; width: min(100%, 540px); aspect-ratio: 27 / 32; margin-top: 36px; }
.arch-rays { position: absolute; left: -12.96%; top: -10.94%; width: 125.9%; height: auto; overflow: visible; z-index: 0; }
.arch img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 0 0; }

.facts { background: var(--oak); color: var(--white); }
.facts .wrap { padding-block: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px 40px; }
.facts dt { font-size: 14px; color: #C9D9CF; }
.facts dd { margin: 0; font-weight: 600; font-size: 18px; }
.facts a { color: var(--white); text-decoration: none; }
.facts a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Age finder */
.age-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.age-btn { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid #C5CCDA; background: var(--white); color: var(--navy); font: inherit; font-weight: 600; font-size: 17px; cursor: pointer; }
.age-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.age-card { display: flex; flex-wrap: wrap; background: var(--mist); border-radius: var(--radius); overflow: hidden; }
.age-dial { flex: 1 1 320px; min-width: 0; min-height: 300px; background: var(--navy); color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: clamp(28px, 3.5vw, 52px); }
.odo-window { display: block; height: 1em; overflow: hidden; font-family: var(--display); font-weight: 600; font-size: clamp(96px, 11vw, 168px); line-height: 1; letter-spacing: -0.04em; color: var(--sun); }
.odo { display: flex; flex-direction: column; }
.odo span { height: 1em; }
.age-dial-text { font-size: 18px; color: var(--on-navy); }
.age-panels { flex: 1 1 440px; min-width: 0; padding: clamp(28px, 3.5vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.age-panel { display: flex; flex-direction: column; gap: 18px; }
.js .age-panel[hidden] { display: none; }
.no-js .age-dial { display: none; }
.no-js .age-buttons { display: none; }
.no-js .age-panels { gap: 40px; }
.age-panel h3 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -0.015em; }
.age-panel p { color: var(--ink-2); font-size: 18px; max-width: 30em; }

/* Photo essay */
.photo-figure { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.photo-figure img { width: 100%; object-fit: cover; }
.photo-wide img { aspect-ratio: 16 / 7; object-position: 50% 62%; }
.photo-tall img { aspect-ratio: 4 / 5; }
.photo-figure figcaption { display: flex; flex-direction: column; gap: 4px; padding-right: 16px; }
.photo-figure figcaption strong { font-weight: 600; font-size: 18px; }
.photo-figure figcaption span { color: var(--ink-2); }
.photo-wide figcaption { flex-direction: row; flex-wrap: wrap; gap: 4px 32px; max-width: 900px; }
.photo-wide figcaption span { flex: 1 1 420px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: clamp(28px, 3vw, 44px); align-items: start; }

/* FRIENDS letters */
.friends { display: flex; flex-direction: column; gap: 28px; }
.friends-row { position: relative; padding-block: 18px; }
.friends-wave { position: absolute; left: 4%; top: 50%; width: 92%; height: 40px; transform: translateY(-50%); overflow: visible; }
.friends-letters { position: relative; display: flex; justify-content: space-between; gap: clamp(6px, 1.4vw, 18px); }
.friend { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: clamp(40px, 8.4vw, 80px); height: clamp(40px, 8.4vw, 80px); border-radius: 50%; border: 0; padding: 0; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: clamp(20px, 3.2vw, 36px); color: var(--white); background: var(--c); box-shadow: 0 0 0 4px var(--white); }
.friend[aria-pressed="true"] { box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--c); }
.friend-card { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; background: var(--mist); border-radius: 20px; padding: 26px 32px; }
.friend-card[hidden] { display: none; }
.friend-card .big { font-family: var(--display); font-weight: 600; font-size: 64px; line-height: 0.9; color: var(--c); flex: 0 0 auto; min-width: 48px; text-align: center; }
.friend-card .txt { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.friend-card strong { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; }
.friend-card .txt span { color: var(--ink-2); font-size: 17px; }
.no-js .friend-card[hidden] { display: flex; }
.no-js .friend-cards { display: flex; flex-direction: column; gap: 10px; }

/* VPK band */
.steps-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 40px 64px; }
.step-big { display: flex; gap: 24px; align-items: flex-start; }
.step-big .n { font-family: var(--display); font-weight: 600; font-size: 88px; line-height: 0.8; color: var(--sun); }
.step-big .body { display: flex; flex-direction: column; gap: 10px; }
.step-big .who { font-size: 15px; color: var(--on-navy-2); }
.step-big h3 { font-size: 28px; line-height: 1.15; }
.step-big p { color: var(--on-navy); }
.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 1px; background: var(--navy-line); border-radius: 18px; overflow: hidden; }
.stat-band > div { background: var(--navy-2); padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; }
.stat-band .num { font-family: var(--display); font-weight: 600; font-size: 48px; line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; }
.stat-band .num.white { color: var(--white); }
.stat-band .num-text { color: var(--on-navy); flex: 1 1 200px; }

/* Program columns */
.programs-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 48px clamp(40px, 6vw, 96px); }
.program-col { display: flex; flex-direction: column; gap: 18px; border-top: 3px solid var(--navy); padding-top: 28px; }
.program-col.oak { border-top-color: var(--oak); }
.program-col h3 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.02; letter-spacing: -0.02em; }
.program-col p { color: var(--ink-2); font-size: 18px; max-width: 32em; }
.program-col dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; }
.program-col dt { font-size: 14px; color: var(--label); }
.program-col dd { margin: 0; font-weight: 600; }
.callout { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; background: var(--mist); border-radius: 18px; padding: 24px 28px; }
.callout p { flex: 1 1 480px; font-size: 18px; }

/* Tour band */
.tour-band .wrap { display: flex; flex-wrap: wrap; gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.tour-band-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.tour-band-copy p { max-width: 32em; color: var(--oak-soft); font-size: 19px; }
.tour-steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 16px; }
.tour-steps li { display: flex; flex-direction: column; gap: 4px; border-top: 2px solid var(--sun); padding-top: 16px; }
.tour-steps strong { font-weight: 600; }
.tour-steps span { color: var(--oak-soft); font-size: 15px; }
.tour-band-art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.sun-arch { width: min(100%, 440px); aspect-ratio: 27 / 32; border-radius: 999px 999px 0 0; background: var(--oak-2); overflow: hidden; position: relative; }
.sun-arch svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Tips */
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px 72px; }
.feature-card { display: flex; flex-direction: column; gap: 16px; color: var(--navy); text-decoration: none; background: var(--mist); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); }
.feature-card .t { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.08; letter-spacing: -0.015em; }
.feature-card .d { color: var(--ink-2); font-size: 18px; }
.feature-card .go { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--sun); }
.feature-card.navy { background: var(--navy); color: var(--white); }
.feature-card.navy .d { color: var(--on-navy); }
.feature-card.navy .kicker { color: var(--sun); }
.tip-list { list-style: none; display: flex; flex-direction: column; }
.tip-list li { border-bottom: 1px solid var(--line); }
.tip-list a { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; color: var(--navy); text-decoration: none; }
.tip-list a:hover .tt { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tip-list .tc { font-size: 14px; color: var(--label); }
.tip-list .tt { font-weight: 600; font-size: 20px; line-height: 1.3; }
.tip-list .te { color: var(--ink-2); font-size: 16px; }

/* FAQ */
.faq-wrap { display: flex; flex-wrap: wrap; gap: 32px clamp(40px, 6vw, 96px); }
.faq-wrap > .faq-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.faq-wrap > .faq { flex: 2 1 560px; min-width: 0; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--white); border-radius: 16px; padding: 0 28px; border: 1px solid var(--line); }
.section--mist .faq details { border-color: transparent; }
.faq summary { cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 19px; list-style-position: outside; }
.faq summary::marker { color: var(--oak); }
.faq details > div { padding-bottom: 22px; color: var(--ink-2); display: flex; flex-direction: column; gap: 12px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; margin-bottom: 18px; }

/* Visit / contact */
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 32px 48px; border-top: 1px solid var(--line); padding-top: 32px; }
.visit-grid > div { display: flex; flex-direction: column; gap: 6px; }
.visit-grid .lab { font-size: 14px; color: var(--label); }
.visit-grid .val { font-weight: 600; font-size: 20px; line-height: 1.35; }
.visit-grid a.val { text-decoration: none; }
.visit-grid a.val:hover { text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 4px; }
.map-frame { width: 100%; aspect-ratio: 16 / 7; min-height: 280px; border: 0; border-radius: 18px; background: var(--mist); }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy); font-size: 16px; line-height: 1.6; }
.site-footer .wrap { padding-block: 64px 28px; display: flex; flex-direction: column; gap: 48px; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid var(--navy-line); padding-bottom: 48px; }
.footer-cta p { flex: 1 1 520px; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; color: var(--white); text-wrap: balance; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 36px 48px; }
.footer-cols > * { display: flex; flex-direction: column; gap: 6px; }
.footer-cols .h { color: var(--white); font-weight: 600; margin-bottom: 6px; }
.footer-cols a { color: var(--on-navy); text-decoration: none; }
.footer-cols a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-cols .accent { color: var(--sun); text-decoration: underline; text-underline-offset: 4px; }
.footer-logo { display: inline-flex; width: fit-content; background: var(--white); border-radius: 16px; padding: 14px 18px; }
.footer-logo img { width: 116px; }
.footer-base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; border-top: 1px solid var(--navy-line); padding-top: 22px; font-size: 14px; color: #B6C2DC; }
.footer-base nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-base a { color: #B6C2DC; }
.footer-base a:hover { color: var(--white); }
.email-break { overflow-wrap: anywhere; }

/* Inner page hero */
.page-hero { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 24px; }
.page-hero.split .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 40px clamp(40px, 6vw, 88px); align-items: center; }
.page-hero .copy { display: flex; flex-direction: column; gap: 24px; }
.photo-hero { position: relative; }
.photo-hero > img { width: 100%; height: clamp(320px, 46vw, 620px); object-fit: cover; object-position: 50% 45%; }
.photo-hero .panel-wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.photo-hero .panel { position: relative; margin-top: clamp(-160px, -10vw, -80px); margin-left: calc(-1 * clamp(20px, 3.5vw, 52px)); background: var(--white); border-radius: 28px 28px 0 0; padding: clamp(24px, 3.5vw, 52px); max-width: 860px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 700px) { .photo-hero .panel { margin-left: 0; margin-top: -48px; padding: 24px 20px 8px; } }

.glance { border-block: 1px solid var(--line); }
.glance dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px 40px; padding-block: 28px; }
.glance dt { font-size: 14px; color: var(--label); }
.glance dd { margin: 0; font-weight: 600; font-size: 18px; }

/* Tabs (learning corners) */
.tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 28px clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 860px) { .tabs { grid-template-columns: 1fr; } }
.tablist { display: flex; flex-direction: column; gap: 6px; }
.tab { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 0 20px; border: 0; border-radius: 14px; font: inherit; font-weight: 600; font-size: 18px; text-align: left; cursor: pointer; background: transparent; color: var(--navy); box-shadow: inset 0 -1px 0 var(--line); }
.tab[aria-selected="true"] { background: var(--navy); color: var(--white); box-shadow: none; }
.tab .dot { width: 10px; height: 10px; border-radius: 50%; }
.tab[aria-selected="true"] .dot { background: var(--sun); }
.tabpanel { background: var(--mist); border-radius: var(--radius); padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 18px; min-height: 100%; }
.tabpanel h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.tabpanel p { color: var(--ink-2); font-size: 18px; }
.ask { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); padding-top: 18px; }
.ask .lab { font-size: 14px; color: var(--label); }
.ask .q { font-weight: 600; font-size: 19px; }
.js .tabpanel[hidden] { display: none; }
.no-js .tablist { display: none; }
.no-js .tabpanels { display: flex; flex-direction: column; gap: 14px; }

/* Numbered steps */
.steps { list-style: none; display: flex; flex-direction: column; }
.steps li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding-block: 24px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n { font-family: var(--display); font-weight: 600; font-size: 52px; line-height: 0.9; color: var(--oak); }
.steps h3 { font-size: 24px; line-height: 1.2; margin-bottom: 6px; }
.steps p { color: var(--ink-2); }
.steps a { margin-top: 8px; display: inline-block; }
.split-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.sticky-col { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 900px) { .sticky-col { position: static; } }

.rhythm { list-style: none; display: flex; flex-direction: column; }
.rhythm li { display: flex; gap: 18px; padding-block: 20px; border-top: 1px solid var(--line); }
.rhythm li::before { content: ""; flex: 0 0 14px; height: 14px; margin-top: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px #FDF0CC; }
.rhythm h3 { font-family: var(--text); font-size: 19px; font-weight: 700; }
.rhythm p { color: var(--ink-2); }

/* Data table */
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 16px; }
table.data th, table.data td { text-align: left; padding: 18px 22px; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--mist); font-size: 14px; color: var(--label); font-weight: 600; }
table.data tbody th { font-weight: 600; }
table.data tr:last-child > * { border-bottom: 0; }

.ready-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1px; background: rgba(255,255,255,.18); border-radius: 18px; overflow: hidden; }
.ready-grid > div { background: var(--oak); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.ready-grid h3 { font-size: 24px; }
.ready-grid p { color: var(--oak-soft); }

/* VPK birthday checker */
.dob-panel { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.dob-panel h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; color: var(--white); }
.dob-panel label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.dob-panel input { min-height: 52px; border-radius: 12px; border: 2px solid var(--white); padding: 0 14px; font: inherit; font-size: 18px; color: var(--navy); background: var(--white); max-width: 260px; }
.dob-rule { font-size: 15px; color: var(--on-navy-2); }
.dob-result { background: var(--navy-2); border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; min-height: 96px; }
.dob-result strong { font-size: 19px; color: var(--sun); }
.dob-result span { color: var(--on-navy); }
.dob-note { font-size: 14px; color: var(--on-navy-2); }
.no-js .dob-panel .js-only { display: none; }

/* Tour page */
.tour-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px clamp(32px, 4vw, 64px); align-items: start; }
@media (max-width: 960px) { .tour-layout { grid-template-columns: 1fr; } }
.booking-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2.4vw, 32px); box-shadow: 0 30px 60px -40px rgba(19, 41, 91, .4); display: flex; flex-direction: column; gap: 16px; }
.booking-card iframe { width: 100%; min-height: 760px; border: 0; overflow: hidden; }
.booking-card .fallback { font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 14px; }
.aside-card { background: var(--mist); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.aside-card h2 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
.aside-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.aside-card li { display: flex; gap: 10px; }
.aside-card li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: 9px; border-radius: 50%; background: var(--sun); }
.aside-card .contact-lines { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); padding-top: 16px; }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.contact-card { background: var(--mist); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.contact-card .lab { font-size: 14px; color: var(--label); }
.contact-card .val { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.2; text-decoration: none; color: var(--navy); }
.contact-card .val.small { font-family: var(--text); font-size: 18px; }
.contact-card .note { color: var(--ink-2); font-size: 15px; }
.who-list { list-style: none; display: flex; flex-direction: column; }
.who-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px 32px; padding-block: 20px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .who-list li { grid-template-columns: 1fr; } }
.who-list strong { font-weight: 600; font-size: 18px; }
.who-list span { color: var(--ink-2); }

/* Logo story */
.logo-story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 820px) { .logo-story { grid-template-columns: 1fr; } }
.logo-plate { background: var(--mist); border-radius: 999px 999px 24px 24px; padding: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 56px); display: flex; justify-content: center; }
.logo-plate img { width: min(100%, 340px); }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1px; background: var(--navy-line); border-radius: 18px; overflow: hidden; }
.values > div { background: var(--navy-2); padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.values h3 { font-size: 24px; color: var(--white); }
.values p { color: var(--on-navy); }

/* Articles */
.article-hero { padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.article-hero .wrap { display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 1; }
.article-hero h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.024em; max-width: 20em; text-wrap: balance; }
.article-hero .excerpt { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 40em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; color: var(--label); }
.article-hero .hero-sun { position: absolute; right: -60px; bottom: -120px; width: 420px; height: auto; opacity: .9; z-index: 0; }
@media (max-width: 800px) { .article-hero .hero-sun { width: 260px; right: -80px; bottom: -110px; opacity: .45; } }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 320px); gap: 40px clamp(40px, 6vw, 96px); justify-content: space-between; padding-block: clamp(40px, 5vw, 72px); }
@media (max-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr); } }
.toc { background: var(--mist); border-radius: 18px; padding: 22px 24px; margin-bottom: 36px; }
.toc h2 { font-family: var(--text); font-size: 15px; font-weight: 700; color: var(--label); margin-bottom: 10px; }
.toc ol { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.toc a { color: var(--navy); text-underline-offset: 3px; }
.prose { font-size: 18px; line-height: 1.7; color: #22335F; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.015em; margin-top: 1.9em; color: var(--navy); }
.prose h3 { font-size: 22px; line-height: 1.25; margin-top: 1.5em; color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: .45em; }
.prose li::marker { color: var(--oak); font-weight: 700; }
.prose strong { color: var(--navy); }
.article-aside { display: flex; flex-direction: column; gap: 20px; }
.article-aside .sticky { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 1000px) { .article-aside .sticky { position: static; } }
.next-card { background: var(--navy); color: var(--white); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.next-card h2 { font-size: 24px; line-height: 1.15; color: var(--white); }
.next-card p { color: var(--on-navy); }
.related { display: flex; flex-direction: column; gap: 12px; }
.related h2 { font-family: var(--text); font-size: 15px; font-weight: 700; color: var(--label); }
.sources { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 15px; color: var(--ink-2); }
.sources h2 { font-family: var(--text); font-size: 15px; font-weight: 700; color: var(--label); margin-bottom: 8px; }
.sources ul { padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.sources a { color: var(--ink-2); text-underline-offset: 3px; }
.article-end { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.article-end a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--navy); }
.article-end a:hover { border-color: var(--navy); }
.article-end .lab { font-size: 13px; color: var(--label); font-weight: 600; }
.article-end .t { font-weight: 600; line-height: 1.3; }

/* Parent tips index */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid #C5CCDA; color: var(--navy); font-weight: 600; text-decoration: none; background: var(--white); }
.chip:hover { border-color: var(--navy); }
.chip .ct { margin-left: 8px; color: var(--label); font-weight: 500; }
.cat-block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 20px clamp(32px, 5vw, 80px); padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); scroll-margin-top: 16px; }
@media (max-width: 860px) { .cat-block { grid-template-columns: 1fr; } }
.cat-block h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.cat-block .cat-intro { color: var(--ink-2); margin-top: 12px; }

.prose-page { max-width: 760px; }
.legal-note { background: var(--mist); border-radius: 16px; padding: 18px 22px; font-size: 15px; color: var(--ink-2); }

.cta-strip { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; background: var(--mist); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.cta-strip p { flex: 1 1 420px; font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }

.preview-banner { background: #FFF5D6; color: #5A4300; font-size: 14px; text-align: center; padding: 8px var(--gutter); }

@media print {
  .site-header, .site-footer, .article-aside, .skip-link { display: none !important; }
  body { font-size: 12pt; }
}
a[href^="tel:"] { white-space: nowrap; }
.hero, .page-hero { overflow-x: clip; }
main { overflow-x: clip; }
.next-card .link-strong { color: var(--sun); text-decoration-color: currentColor; }

/* ---------- Play elements (positions; motion lives in motion.css) ---------- */
.hero { position: relative; z-index: 2; }
.facts { position: relative; z-index: 1; }
.site-footer { position: relative; }
.hero .cloud, .tour-band .cloud { z-index: 0; }
.arch .nh-play { z-index: 3; }
.toy-stack, .toy-abc { width: clamp(112px, 12vw, 176px); aspect-ratio: 1 / 1; }
.toy-stack > span, .toy-abc > span { position: absolute; display: block; }
.toy-stack .b1 { left: 0; bottom: 0; width: 78%; }
.toy-stack .b2 { left: 14%; bottom: 25%; width: 46%; }
.toy-stack .b3 { left: 30%; bottom: 49%; width: 46%; }
.toy-stack .b3 > svg { rotate: 8deg; }
.toy-abc .a1 { left: 0; bottom: 0; width: 46%; }
.toy-abc .a2 { left: 44%; bottom: 0; width: 46%; }
.toy-abc .a3 { left: 21%; bottom: 38%; width: 46%; }
.toy-abc .a3 > svg { rotate: -7deg; }
.toy-plane { width: 260px; height: 120px; }
.toy-plane .trail { position: absolute; inset: 0; width: 100%; height: 100%; }
.toy-plane .plane { position: absolute; left: 0; top: 0; width: 44px; display: block; }
.toy-plane .plane > svg { width: 44px; translate: -22px -18px; }
.no-anim-plane .toy-plane .plane { offset-path: none; }
.hero-toys { position: absolute; right: var(--gutter); top: 0; bottom: 0; width: min(42%, 460px); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero.split .hero-toys { display: none; }
.sticker { position: absolute; z-index: 3; }
.photo-figure { position: relative; }
.age-dial { position: relative; }
.age-dial .nh-tower { position: absolute; right: clamp(20px, 3vw, 40px); bottom: clamp(22px, 3vw, 44px); }
.band-toys { position: relative; height: 0; }
.program-col { position: relative; }
.faq-ball { position: relative; width: 64px; height: 110px; margin-top: 8px; }
.faq-ball .nh-doodle { position: absolute; bottom: 10px; left: 4px; width: 56px; }
.faq-ball::after { content: ""; position: absolute; left: 10px; right: 8px; bottom: 2px; height: 8px; border-radius: 50%; background: rgba(19, 41, 91, .12); }
.tour-band { position: relative; overflow: hidden; }
.tour-band-art { position: relative; }
.tips-head { position: relative; }
.footer-bricks { display: inline-flex; gap: 6px; align-items: flex-end; margin-left: 14px; vertical-align: middle; }
.footer-bricks .nh-doodle { width: 34px; }
@media (max-width: 700px) {
  .arch .toy-stack { left: -4% !important; width: 100px; }
  .arch .toy-abc { right: -4% !important; width: 100px; }
}
.age-dial-text { max-width: calc(100% - 84px); }
.page-hero:not(.split) .wrap > h1, .page-hero:not(.split) .wrap > .lede { max-width: min(100%, 720px); }
.hero-toys { width: min(36%, 420px); }
@media (max-width: 1000px) { .hero-toys { display: none; } }
.dob-panel .toy-abc { aspect-ratio: 1 / 1; }
.photo-hero .panel { overflow: visible; }
.article-hero .wrap > h1, .article-hero .wrap > .excerpt { max-width: min(100%, 760px); }
.article-hero .hero-toys { width: min(30%, 340px); right: calc(var(--gutter) + 40px); }
.article-hero .hero-sun { right: -80px; }
