/* Kinder Tots Preschool: "Look how tall you've grown" (wall growth chart / measuring tape).
   Bootstrap 5.3.3 grid supplies container/row/col; everything else is here. */

/* Metric-matched fallbacks so the swap to the web fonts barely moves the layout. */
@font-face { font-family: "Coustard Fallback"; src: local("Georgia"); size-adjust: 112%; ascent-override: 88%; descent-override: 26%; }
@font-face { font-family: "Livvic Fallback"; src: local("Arial"); size-adjust: 103%; ascent-override: 98%; descent-override: 30%; }

:root {
  --ground: #FFFBF2;
  --paper: #FFFFFF;
  --ink: #24262E;
  --ink-2: #4A4C55;
  --tape: #FFC93C;
  --tape-soft: #FFEDB5;
  --wood: #D9A066;
  --wood-dark: #9C6A32;
  --tick: #2A2A2A;
  --mint: #5CC9A7;
  --mint-ink: #1C6E58;
  --coral: #F2705E;
  --coral-ink: #A8382A;
  --pencil: #5E5D58;
  --display: "Coustard", "Coustard Fallback", Georgia, serif;
  --body: "Livvic", "Livvic Fallback", Arial, sans-serif;
  --r: 10px;
  --shadow: 0 16px 32px -18px rgba(36, 38, 46, .45);
  /* the measuring-tape tick pattern, used on every tape surface */
  --ticks-x: repeating-linear-gradient(90deg, var(--tick) 0 2px, transparent 2px 10px);
  --ticks-x-long: repeating-linear-gradient(90deg, var(--tick) 0 2px, transparent 2px 50px);
  --ticks-y: repeating-linear-gradient(180deg, var(--tick) 0 2px, transparent 2px 10px);
  --ticks-y-long: repeating-linear-gradient(180deg, var(--tick) 0 2px, transparent 2px 50px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
html.sheet-open { overflow: hidden; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body); font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--tape); color: var(--ink); }
input, textarea, select { caret-color: var(--coral-ink); }
html { scrollbar-color: var(--wood) var(--ground); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--wood); }
a:hover { text-decoration-color: var(--coral); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p, li, dd { text-wrap: pretty; }
.small { font-size: .9rem; color: var(--ink-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hi { font-family: var(--display); font-size: 1.15rem; color: var(--mint-ink); margin-bottom: 1rem; }
main { display: block; }
main:focus { outline: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--ground); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; outline-color: var(--tape); }

/* ---------------------------------------------------------------- icons & buttons */
.ic { width: 20px; height: 20px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.25rem 0; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 11px 18px;
  border-radius: 8px; border: 2px solid var(--ink); font: 600 1rem/1.2 var(--body);
  text-decoration: none; cursor: pointer; transition: transform .18s ease-out, box-shadow .18s ease-out, background-color .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 16px -10px rgba(36, 38, 46, .6); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .65; cursor: default; transform: none; box-shadow: none; }
.btn-tape {
  background: var(--tape) var(--ticks-x) left bottom / 100% 7px no-repeat; color: var(--ink);
  padding-bottom: 15px;
}
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-line, .btn-line-ink { background: transparent; color: var(--ink); }
.btn-line:hover, .btn-line-ink:hover { background: var(--paper); }

/* ---------------------------------------------------------------- header + tape nav */
.top { background: var(--ground); position: relative; z-index: 40; }
.top-row { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 48px; height: 48px; }
.brand-name { font: 900 1.35rem/1 var(--display); display: flex; flex-direction: column; gap: 3px; }
.brand-name span { font: 600 .82rem/1 var(--body); color: var(--ink-2); letter-spacing: .02em; }
.top-where { margin: 0; font: 400 .95rem/1 var(--display); color: var(--pencil); }
.top-call { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 8px; min-height: 44px; }
.top-call:hover { background: var(--paper); }

.tape { background: var(--tape); position: relative; box-shadow: 0 6px 0 -3px rgba(36, 38, 46, .12); }
.tape::before, .tape::after { content: ""; position: absolute; left: 0; right: 0; top: 0; pointer-events: none; }
.tape::before { height: 9px; background: var(--ticks-x); }
.tape::after { height: 16px; background: var(--ticks-x-long); }
.tape-list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; }
.tape-list a {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 20px 10px 10px; min-height: 64px; text-decoration: none; font-weight: 600; color: var(--ink);
}
.tape-list .cm { font: 400 .72rem/1 var(--display); color: var(--ink); opacity: .8; }
.tape-list a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .2s ease-out; }
.tape-list a:hover::after { transform: scaleX(.5); }
.tape-list a[aria-current="page"]::after { transform: scaleX(1); }
.tape-list a[aria-current="page"] { color: var(--ink); }
.tape-list a[aria-current="page"]::before { content: ""; position: absolute; left: 6px; top: 0; border: 7px solid transparent; border-top-color: var(--coral-ink); }

.case { display: none; }
@media (max-width: 991.98px) {
  .tape, .top-where { display: none; }
  .top-call span { display: none; }
  .top-call { padding: 10px; }
  .case {
    display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 14px 4px 4px;
    background: var(--ink); color: var(--ground); border: 0; border-radius: 999px; font: 600 1rem/1 var(--body); cursor: pointer;
  }
  .case-ring { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle, var(--ink) 0 7px, var(--tape) 8px 100%); box-shadow: inset 0 0 0 3px var(--tape), inset 0 0 0 5px var(--ink); position: relative; }
  .case-ring::after { content: ""; position: absolute; right: -9px; bottom: 6px; width: 12px; height: 10px; background: var(--tape); border-radius: 2px; }
  .case:focus-visible { outline-color: var(--ink); }
  .brand-name { font-size: 1.12rem; white-space: nowrap; }
  .brand img { width: 40px; height: 40px; }
  .top-row { gap: 10px; }
  .case-ring { width: 34px; height: 34px; }
}

.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(36, 38, 46, .55); }
.sheet[hidden] { display: none; }
.sheet-tape {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 90vw); overflow-y: auto;
  background: var(--tape); padding: 20px 20px 24px 46px;
  box-shadow: -18px 0 40px -20px rgba(0, 0, 0, .5);
  transform: translateX(100%); transition: transform .38s cubic-bezier(.16, 1, .3, 1);
}
.sheet-tape::before, .sheet-tape::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; pointer-events: none; }
.sheet-tape::before { width: 12px; background: var(--ticks-y); }
.sheet-tape::after { width: 24px; background: var(--ticks-y-long); }
.sheet.is-open .sheet-tape { transform: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.sheet-title { margin: 0; font: 400 1rem/1.2 var(--display); }
.sheet-close { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; background: var(--ink); color: var(--ground); border: 0; border-radius: 8px; font: 600 .95rem/1 var(--body); cursor: pointer; }
.sheet-list { list-style: none; margin: 0 0 20px; padding: 0; }
.sheet-list a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 2px solid rgba(36, 38, 46, .18); font: 900 1.6rem/1.1 var(--display); text-decoration: none; }
.sheet-list .cm { font: 400 .8rem/1 var(--display); min-width: 46px; }
.sheet-list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 3px; }
.sheet-foot { display: grid; gap: 10px; }
.sheet-foot .btn { justify-content: center; }

/* ---------------------------------------------------------------- hero: the growth chart */
.hero { position: relative; padding: 28px 0 0; overflow: hidden; }
.hero-copy { padding-bottom: 48px; }
.hero-where { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-2); margin-bottom: .75rem; }
.hero h1 { font-size: clamp(2.6rem, 7.2vw, 4.75rem); line-height: 1; letter-spacing: -.02em; margin-bottom: .4em; }
.lede { font-size: 1.15rem; max-width: 34rem; }
.openpill { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 2px solid var(--ink); font-weight: 600; font-size: .95rem; }
.openpill.is-open { background: #DDF4EC; }
.openpill.is-open .ic { color: var(--mint-ink); }
.openpill.is-closed .ic { color: var(--coral-ink); }
.rating { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .95rem; }
.rating .ic { color: var(--wood-dark); fill: var(--tape); }
.rating strong { font-family: var(--display); font-weight: 900; font-size: 1.15rem; }
.rating .when { color: var(--ink-2); }

.chart-row { position: relative; z-index: 1; }
.growth { width: 100%; height: auto; overflow: visible; }
.gc-wood { fill: var(--wood); }
.gc-ticks { stroke: var(--tick); stroke-width: 2; fill: none; }
.gc-num { font: 400 15px var(--display); fill: var(--tick); }
.gc-pencil { stroke: var(--pencil); stroke-width: 2; stroke-dasharray: 6 4; fill: none; stroke-linecap: round; }
.gc-label { font: 400 14px var(--display); fill: var(--pencil); }
.gc-floor { fill: var(--wood-dark); }
.f-tape { fill: var(--tape); stroke: var(--ink); stroke-width: 2.5; }
.f-mint { fill: var(--mint); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.f-wood { fill: #E9B97C; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.f-coral { fill: var(--coral); }
.f-ink { fill: var(--ink); }
.s-ink { stroke: var(--ink); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.s-thick { stroke-width: 5; }
@media (prefers-reduced-motion: no-preference) {
  .gc-animal { animation: pop .9s cubic-bezier(.16, 1, .3, 1) both; }
  .gc-animal.a1 { animation-delay: .15s; } .gc-animal.a2 { animation-delay: .35s; } .gc-animal.a3 { animation-delay: .55s; }
  .gc-mark { animation: draw .7s ease-out both; } .gc-mark.m2 { animation-delay: .2s; } .gc-mark.m3 { animation-delay: .4s; }
}
@keyframes pop { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes draw { from { opacity: 0; } to { opacity: 1; } }

.pinned { position: relative; margin: 0 0 24px; background: var(--paper); padding: 10px 10px 0; box-shadow: var(--shadow); transform: rotate(1.2deg); }
.pinned img { width: 100%; height: auto; }
.pinned figcaption { font-size: .78rem; line-height: 1.35; color: var(--ink-2); padding: 8px 2px 10px; }
.tape-bit { position: absolute; z-index: 2; width: 92px; height: 26px; background: rgba(255, 201, 60, .88) var(--ticks-x) left top / 100% 7px no-repeat; box-shadow: 0 2px 4px rgba(0, 0, 0, .12); }
.tape-bit.tl { top: -10px; left: -18px; transform: rotate(-24deg); }
.tape-bit.tr { top: -10px; right: -18px; transform: rotate(22deg); }
.small-pin { transform: rotate(-1deg); margin-top: 18px; }
.skirting { height: 22px; background: var(--wood-dark); border-top: 6px solid var(--wood); position: relative; margin-top: -24px; }

@media (max-width: 991.98px) {
  .hero-copy { padding-bottom: 8px; }
  .chart-row { margin-top: 0; }
  .pinned figcaption { font-size: .72rem; }
  .gc-label { font-size: 16px; }
}

/* ---------------------------------------------------------------- shared section bits */
section { padding: 72px 0; }
.sec-h { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
.sec-deck { max-width: 38rem; color: var(--ink-2); font-size: 1.05rem; }
.tbc { border: 2px dashed var(--pencil); border-radius: var(--r); padding: 18px 20px 6px; margin: 0 0 22px; background: repeating-linear-gradient(180deg, transparent 0 31px, rgba(94, 93, 88, .08) 31px 32px); }
.tbc-tag { font: 400 .82rem/1.2 var(--display); color: var(--coral-ink); margin-bottom: 6px; }
.tbc-title { font-size: 1.25rem; margin-bottom: .35em; }
.tbc p:last-child { color: var(--ink-2); }
.tbc-inline { display: inline-block; border: 2px dashed var(--pencil); border-radius: 999px; padding: 6px 14px; font: 400 .88rem/1.3 var(--display); color: var(--coral-ink); margin: 0 0 12px; }
.edge-ticks { height: 18px; background: var(--ticks-x) left top / 100% 9px no-repeat, var(--ticks-x-long) left top / 100% 18px no-repeat; opacity: .9; }

/* ---------------------------------------------------------------- height marks */
.marks { padding-bottom: 40px; }
.marks-wall { margin-top: 16px; }
.marks-ruler { height: 46px; border-radius: 6px; background: var(--wood) var(--ticks-x) left top / 100% 12px no-repeat; position: relative; }
.marks-ruler::after { content: ""; position: absolute; inset: 0; background: var(--ticks-x-long) left top / 100% 24px no-repeat; }
.hm-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.hm { position: relative; padding-top: 34px; }
.hm::before { content: ""; position: absolute; left: 22px; top: 0; height: 30px; border-left: 2px dashed var(--pencil); }
.hm-pin { background: var(--paper); padding: 8px; box-shadow: var(--shadow); transform: rotate(-1.5deg); margin-bottom: 14px; }
.hm:nth-child(even) .hm-pin { transform: rotate(1.4deg); }
.hm-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hm-age { font: 400 .95rem/1.3 var(--display); color: var(--pencil); margin-bottom: 4px; }
.hm-name { font-size: 1.5rem; margin-bottom: .3em; }
.hm-text { color: var(--ink-2); }
@media (max-width: 575.98px) { .hm-name { font-size: 1.25rem; } .hm-text, .hm-age { font-size: .92rem; } .hm-pin { padding: 5px; } .hm::before { left: 14px; } .grow-photo img { max-width: 230px; } }
@media (min-width: 576px) { .hm-list { gap: 28px; } }
@media (min-width: 992px) {
  .hm-list { grid-template-columns: repeat(4, 1fr); align-items: start; }
  .hm { padding-top: calc(34px + (3 - var(--i)) * 30px); }
  .hm::before { height: calc(30px + (3 - var(--i)) * 30px); }
}

/* ---------------------------------------------------------------- how little ones grow */
.grow { background: var(--paper); border-top: 2px solid rgba(36, 38, 46, .08); border-bottom: 2px solid rgba(36, 38, 46, .08); }
.grow-photo { margin: 24px 0 0; }
.grow-photo img { width: 100%; max-width: 340px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.grow-photo figcaption { font-size: .78rem; color: var(--ink-2); margin-top: 8px; max-width: 340px; }
.gw-path { list-style: none; margin: 0; padding: 0 0 0 64px; position: relative; }
.gw-path::before { content: ""; position: absolute; left: 14px; top: 4px; bottom: 4px; width: 30px; border-radius: 4px; background: var(--tape) var(--ticks-y) left top / 9px 100% no-repeat; }
.gw-path::after { content: ""; position: absolute; left: 14px; top: 4px; bottom: 4px; width: 16px; background: var(--ticks-y-long) left top / 16px 100% no-repeat; }
.gw { position: relative; padding: 14px 0 22px; font-size: 1.12rem; max-width: 36rem; }
.gw strong { font-family: var(--display); font-weight: 900; display: block; font-size: 1.35rem; line-height: 1.15; margin-bottom: 2px; }
.gw-dot { position: absolute; left: -58px; top: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); border: 3px solid var(--ink); z-index: 1; }
.gw:nth-child(3n+2) .gw-dot { background: var(--coral); }
.gw:nth-child(3n) .gw-dot { background: var(--paper); }
@media (min-width: 992px) { .gw:nth-child(even) { margin-left: 64px; } .gw:nth-child(even) .gw-dot { left: -122px; } }

/* ---------------------------------------------------------------- parents' words */
.voice-wall { display: grid; grid-template-columns: 1fr; gap: 34px; margin: 34px 0 20px; }
.voice { position: relative; margin: 0; background: var(--paper); padding: 34px 24px 20px; box-shadow: var(--shadow); border-radius: 4px; }
.voice-tape { position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; margin-left: -55px; background: rgba(255, 201, 60, .9) var(--ticks-x) left top / 100% 7px no-repeat; transform: rotate(-3deg); }
.voice blockquote { margin: 0 0 14px; }
.voice blockquote p { font: 400 1.25rem/1.4 var(--display); margin: 0; }
.voice figcaption { font-size: .9rem; color: var(--ink-2); }
@media (min-width: 992px) {
  .voice-wall { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .voice:nth-child(2) { margin-top: 56px; transform: rotate(.8deg); }
  .voice:nth-child(3) { margin-top: 18px; transform: rotate(-.8deg); }
}

/* ---------------------------------------------------------------- summer camp, visit, hours */
.camp { background: var(--tape-soft); }
.visit .addr { display: flex; gap: 10px; font-style: normal; font-size: 1.15rem; margin-bottom: 6px; }
.visit .addr .ic { margin-top: 4px; color: var(--coral-ink); }
.hours { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.hours caption, .age caption { caption-side: bottom; text-align: left; font-size: .85rem; color: var(--ink-2); padding-top: 10px; }
.hours th, .hours td { padding: 12px 18px; text-align: left; border-bottom: 1px solid rgba(36, 38, 46, .12); font-variant-numeric: tabular-nums; }
.hours th { font-weight: 600; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.today { background: var(--tape); }
.today-tag { font: 400 .75rem/1 var(--display); background: var(--ink); color: var(--tape); padding: 3px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }

/* ---------------------------------------------------------------- tape-tab FAQ */
.tabs { display: grid; gap: 12px; }
.tab { border: 2px solid var(--ink); border-radius: var(--r); background: var(--paper); overflow: hidden; }
.tab summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 0 16px 0 0; min-height: 60px; cursor: pointer; font-weight: 600; font-size: 1.08rem; }
.tab summary::-webkit-details-marker { display: none; }
.tab-pull { align-self: stretch; width: 26px; flex: none; background: var(--tape) var(--ticks-y) right top / 9px 100% no-repeat; border-right: 2px solid var(--ink); transition: width .25s cubic-bezier(.16, 1, .3, 1); }
.tab-q { flex: 1; padding: 14px 0; }
.tab-ic { transition: transform .25s ease-out; }
.tab[open] .tab-ic { transform: rotate(45deg); }
.tab[open] .tab-pull { width: 40px; }
.tab summary:hover .tab-pull { width: 34px; }
.tab-a { padding: 16px 20px 6px 66px; border-top: 2px solid var(--ink); background: var(--tape-soft) var(--ticks-x) left top / 100% 7px no-repeat; }

/* ---------------------------------------------------------------- closing band + footer */
.cta-band { background: var(--ink); color: var(--ground); }
.cta-band .sec-deck { color: #D9D6CC; }
.cta-band .btn-ink { background: var(--ground); color: var(--ink); border-color: var(--ground); }
.cta-band .btn-line { color: var(--ground); border-color: var(--ground); }
.cta-band .btn-line:hover { background: rgba(255, 255, 255, .08); }
.cta-band .btn-tape { border-color: var(--tape); }
.cta-band :focus-visible, .foot :focus-visible, .dock :focus-visible { outline-color: var(--tape); }

.foot { background: var(--ink); color: var(--ground); padding: 0 0 96px; }
.foot-tape { height: 30px; background: var(--tape); position: relative; margin-bottom: 48px; }
.foot-tape::after { content: ""; position: absolute; inset: 0; background: var(--ticks-x) left top / 100% 9px no-repeat, var(--ticks-x-long) left top / 100% 18px no-repeat; }
.foot a { color: var(--ground); text-decoration-color: var(--tape); }
.foot a:hover { color: var(--tape); }
.foot-logo { width: 250px; height: auto; margin-bottom: 8px; }
.foot-note { font-size: .82rem; color: #C9C6BC; }
.foot address { font-style: normal; color: #E8E5DB; }
.foot-h { font-size: 1.4rem; color: var(--tape); }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin-bottom: 4px; }
.foot-list a { display: inline-block; padding: 6px 0; }
.foot-hours { margin-top: 12px; color: #E8E5DB; font-size: .95rem; }
.imprint { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 251, 242, .2); font-size: .85rem; color: #C9C6BC; max-width: 60rem; }
@media (min-width: 992px) { .foot { padding-bottom: 40px; } }

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); border-top: 4px solid var(--tape); }
.dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 10px; min-height: 56px; color: var(--ground); text-decoration: none; font-size: .82rem; font-weight: 600; }
.dock a .ic { color: var(--tape); }
@media (min-width: 992px) { .dock { display: none; } }
@media (max-width: 991.98px) { body { padding-bottom: 60px; } }

/* ---------------------------------------------------------------- inner pages */
.page-top { padding: 44px 0 0; background: var(--tape-soft); }
.page-top .container { padding-bottom: 36px; }
.crumbs { font-size: .9rem; color: var(--ink-2); margin-bottom: 10px; }
.page-h { font-size: clamp(2.4rem, 6.4vw, 4rem); line-height: 1.02; letter-spacing: -.02em; }
.deck { font-size: 1.15rem; max-width: 40rem; }

.measure-card, .card-measure { position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 40px 22px 20px; overflow: hidden; }
.card-ruler, .measure-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 20px; background: var(--tape) var(--ticks-x) left top / 100% 9px no-repeat; border-bottom: 2px solid var(--ink); }
.card-title { font-size: 1.7rem; }
.card-sub { font-size: 1.15rem; margin-top: 18px; }
.card-intro { color: var(--ink-2); }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px dashed rgba(36, 38, 46, .25); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
.tbc-list { list-style: none; padding: 0; margin: 0; }
.tbc-list li { padding: 6px 0 6px 28px; position: relative; color: var(--ink-2); }
.tbc-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; border-top: 2px dashed var(--pencil); }

.age { width: 100%; border-collapse: collapse; margin-bottom: 22px; background: var(--paper); border: 2px solid var(--ink); }
.age th, .age td { text-align: left; padding: 12px 16px; border-bottom: 1px solid rgba(36, 38, 46, .12); }
.age thead th { background: var(--tape); font-family: var(--display); font-weight: 900; }
.learn-h { margin-top: 56px; }
.strands h3 { font-size: 1.3rem; padding-top: 16px; border-top: 4px solid var(--wood); }
.strands .col-lg-3:nth-child(2) h3 { border-top-color: var(--mint); }
.strands .col-lg-3:nth-child(3) h3 { border-top-color: var(--coral); }
.strands .col-lg-3:nth-child(4) h3 { border-top-color: var(--tape); }

.steps { list-style: none; margin: 0 0 40px; padding: 0; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed rgba(36, 38, 46, .25); }
.step-n { width: 48px; height: 48px; border-radius: 50%; background: var(--tape); border: 2px solid var(--ink); display: grid; place-items: center; font: 900 1.3rem/1 var(--display); }
.step h3 { font-size: 1.3rem; margin: 6px 0 4px; }
.step p { margin: 0; color: var(--ink-2); }
.docs { padding-left: 0; list-style: none; margin: 0 0 8px; }
.docs li { padding: 6px 0 6px 30px; position: relative; }
.docs li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 3px; background: var(--paper); }

.tape-day { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.tape-day li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; }
.tape-day time { background: var(--tape) var(--ticks-y) left top / 9px 100% no-repeat; border-left: 0; padding: 14px 6px 14px 16px; font: 900 1rem/1 var(--display); text-align: right; }
.tape-day li:first-child time { border-radius: 6px 6px 0 0; }
.tape-day li:last-child time { border-radius: 0 0 6px 6px; }
.tape-day h3 { font-size: 1.3rem; margin: 12px 0 2px; }
.tape-day p { color: var(--ink-2); margin-bottom: 12px; }

.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.g-btn { display: block; width: 100%; padding: 6px; background: var(--paper); border: 0; box-shadow: var(--shadow); cursor: zoom-in; transition: transform .2s ease-out; }
.g-btn img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.g-btn:hover { transform: rotate(-1deg) translateY(-2px); }
@media (min-width: 992px) { .gallery { grid-template-columns: repeat(3, 1fr); } .gallery li:nth-child(3n+2) { margin-top: 30px; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(36, 38, 46, .85); }
.lightbox figure { margin: 0; background: var(--paper); padding: 10px; }
.lightbox img { max-height: 72vh; width: auto; margin: 0 auto; }
.lightbox figcaption { font-size: .85rem; color: var(--ink-2); padding-top: 8px; }
.lb-bar { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.lb-bar button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 8px; border: 2px solid var(--tape); background: var(--ink); color: var(--ground); font: 600 .95rem/1 var(--body); cursor: pointer; }
.lb-bar :focus-visible { outline-color: var(--tape); }

.plain { padding-top: 56px; }
.map-row { margin-top: 24px; }
.map { position: relative; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--paper); }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }
.map-card { padding: 22px; background: var(--paper) var(--ticks-x) left top / 100% 8px no-repeat; }
.map-name { font: 900 1.3rem/1.2 var(--display); margin-top: 8px; }
.reach { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.reach a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--paper); text-decoration: none; min-height: 56px; }
.reach a:hover { background: var(--tape-soft); }
.contact-form { padding-top: 0; }

.prose h2 { font-size: 1.5rem; margin-top: 1.4em; }

/* ---------------------------------------------------------------- form */
.enquiry label { display: block; font-weight: 600; margin-bottom: 6px; }
.enquiry .opt { font-weight: 400; color: var(--ink-2); }
.enquiry input, .enquiry select, .enquiry textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid var(--ink-2); border-radius: 8px;
  background: var(--paper); color: var(--ink); font: 400 1rem/1.4 var(--body);
}
.enquiry input:focus-visible, .enquiry select:focus-visible, .enquiry textarea:focus-visible { outline: 3px solid var(--tape); outline-offset: 0; border-color: var(--ink); }
.enquiry [aria-invalid="true"] { border-color: var(--coral-ink); background: #FFF3F1; }
.hint { font-size: .85rem; color: var(--ink-2); margin: 6px 0 0; }
.err { font-size: .9rem; color: var(--coral-ink); font-weight: 600; margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; }
.form-summary { border: 2px solid var(--coral-ink); background: #FFF3F1; color: var(--coral-ink); font-weight: 600; padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.form-foot .small { margin: 0; }
.form-result:empty { display: none; }
.form-result { margin-top: 16px; padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.form-result.ok { background: #DDF4EC; color: var(--mint-ink); border: 2px solid var(--mint-ink); }
.form-result.bad { background: #FFF3F1; color: var(--coral-ink); border: 2px solid var(--coral-ink); }

@media (max-width: 575.98px) {
  section { padding: 56px 0; }
  .btn { flex: 1 1 auto; justify-content: center; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}

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