/* Nell's Stay and Train. Palette from the logo (pink + teal) plus a deep teal ink.
   Service colours match the booking app: walks green, training purple, board blue, day care orange. */
:root {
  --bg: #F5FAF9;
  --surface: #FFFFFF;
  --fg: #123533;
  --muted: #4F6B68;
  --line: #D5E4E1;
  --teal: #00B3AA;
  --teal-text: #00716B;
  --pink: #D93D85;
  --pink-fg: #FFFFFF;
  --ink: #0E2F2E;
  --ink-2: #153F3D;
  --ink-fg: #EAF6F4;
  --ink-muted: #9FC4C0;
  --c-walk: #2BB673;
  --c-train: #8A6FD1;
  --c-board: #2F6FED;
  --c-day: #F29B38;
  --shadow: 0 1px 2px rgba(14,47,46,.06), 0 8px 24px rgba(14,47,46,.07);
  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1D1C; --surface: #11292A; --fg: #E6F3F1; --muted: #9DBDB9; --line: #23403F;
    --teal: #19C9BF; --teal-text: #4FD8CF; --pink: #E8559A; --pink-fg: #1A0612;
    --ink: #071615; --ink-2: #0F2B2A; --ink-fg: #E6F3F1; --ink-muted: #8FB5B1;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-text-size-adjust: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
section { padding-block: clamp(56px, 9vw, 104px); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-text); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.mt { margin-top: 18px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; text-decoration: none; display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { height: 48px; width: auto; flex: none; display: block; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
nav.main { display: flex; gap: 24px; align-items: center; }
nav.main a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--fg); }
nav.main a[aria-current="page"] { border-bottom: 2px solid var(--teal); }
nav.main .nav-cta { display: none; }
.menu-btn { display: none; font: inherit; font-weight: 700; background: transparent; color: var(--fg); border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.head-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-left, 0px)) 20px; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header.open nav.main { display: flex; }
  nav.main a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  nav.main a[aria-current="page"] { border-bottom: 1px solid var(--line); color: var(--teal-text); }
  nav.main .nav-cta { display: inline-flex; margin-top: 14px; border-bottom: 2px solid transparent; color: var(--pink-fg); }
  .head-actions .btn { display: none; }
}
@media (max-width: 480px) { .brand-logo { height: 40px; } .brand { font-size: 1.02rem; gap: 8px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; }
.btn-pink { background: var(--pink); color: var(--pink-fg); }
.btn-pink:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--teal); }
.btn-small { padding: 10px 18px; font-size: .95rem; }
.btn-light { border-color: rgba(255,255,255,.35); color: var(--ink-fg); }
.btn-light:hover { border-color: var(--ink-fg); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--teal) 45%, transparent) 62%); padding-inline: .05em; }
.hero .lede { margin-top: 22px; }
.hero-facts { margin-top: 22px; font-size: .95rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-facts span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-right: 8px; vertical-align: middle; }
.photo { position: relative; border-radius: 28px; overflow: hidden; min-width: 0; aspect-ratio: 4 / 5; background: var(--line); border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero .photo { aspect-ratio: 16 / 11; order: -1; } }

/* page hero (inner pages) */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(2.3rem, 5.6vw, 3.8rem); margin-top: 14px; }
.page-hero .lede { margin-top: 18px; }

/* trust strip */
.trust { border-block: 1px solid var(--line); background: var(--surface); padding-block: 22px; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 24px; }
.trust li { display: flex; flex-direction: column; font-size: .92rem; color: var(--muted); }
.trust li b { font-family: var(--font-display); font-size: 1.1rem; color: var(--fg); }
.trust li.tbc { border: 1.5px dashed var(--line); border-radius: 12px; padding: 8px 12px; }
.trust li.tbc b { color: var(--muted); }

/* sections + cards */
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { --c: var(--teal); background: color-mix(in srgb, var(--c) 11%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 28%, var(--line)); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card.train { --c: var(--c-train); } .card.board { --c: var(--c-board); } .card.walk { --c: var(--c-walk); } .card.day { --c: var(--c-day); }
.chip { align-self: flex-start; font-size: .78rem; font-weight: 700; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; background: var(--c); color: #fff; }
.card.walk .chip.w-open { color: #10231A; }
.chip.muted { background: var(--muted); color: var(--surface); }
.card.closed { background: var(--surface); border-style: dashed; }
.card.closed .chip { background: var(--muted); color: var(--surface); }
.card p { color: var(--muted); font-size: .98rem; flex: 1; }
.card a.more { font-weight: 700; text-decoration: none; color: var(--fg); border-bottom: 2px solid var(--c); align-self: flex-start; }

/* steps, two-column, facts */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--teal-text); line-height: 1; }
.steps b { font-family: var(--font-display); font-size: 1.2rem; display: block; }
.steps span { color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.two > * { min-width: 0; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.facts .price { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; }
.facts ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: .98rem; }
.facts li::before { content: "\2713"; color: var(--teal-text); font-weight: 800; margin-right: 10px; }
.band-light { background: var(--surface); border-block: 1px solid var(--line); }
.prose p { margin-top: 16px; color: var(--muted); max-width: 64ch; }
.prose p:first-child { margin-top: 0; }
.prose h2 { margin-bottom: 18px; }

/* dark band (Board & Train) */
.band { background: var(--ink); color: var(--ink-fg); }
.band .eyebrow { color: var(--teal); }
.band .lede, .band .steps span { color: var(--ink-muted); }
.band .steps li { border-color: rgba(255,255,255,.14); }
.band .steps li::before { color: var(--teal); }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 8px; }
.price-card { background: var(--ink-2); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 24px; display: grid; gap: 4px; min-width: 0; }
.price-card .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; }
.price-card small { color: var(--ink-muted); font-size: .92rem; }
.pay-note { margin-top: 18px; color: var(--ink-muted); font-size: .98rem; max-width: 62ch; }
.pay-note b { color: var(--ink-fg); }
.weeks { margin-top: clamp(32px, 5vw, 56px); background: var(--ink-2); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 26px; display: grid; gap: 14px; }
.weeks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.weeks li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.06); }
.weeks li span { color: var(--ink-muted); }
.example-note { font-size: .82rem; color: var(--ink-muted); }

/* faq */
.faq { margin-top: clamp(32px, 5vw, 56px); }
details { border-top: 1px solid var(--line); padding: 4px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; padding: 16px 40px 16px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--teal-text); }
details[open] summary::after { content: "\2013"; }
details p { padding: 0 0 18px; color: var(--muted); max-width: 64ch; }
.band details { border-color: rgba(255,255,255,.14); }
.band summary::after { color: var(--teal); }
.band details p { color: var(--ink-muted); }
.tbc-text { font-style: italic; }

/* banners + forms */
.banner { border-radius: 20px; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; border: 1px solid; }
.banner .dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 7px; flex: none; }
.banner b { font-family: var(--font-display); font-size: 1.2rem; display: block; margin-bottom: 2px; }
.banner.full { background: color-mix(in srgb, var(--c-day) 14%, var(--surface)); border-color: color-mix(in srgb, var(--c-day) 40%, var(--line)); }
.banner.full .dot { background: var(--c-day); }
.banner.open { background: color-mix(in srgb, var(--c-walk) 14%, var(--surface)); border-color: color-mix(in srgb, var(--c-walk) 45%, var(--line)); }
.banner.open .dot { background: var(--c-walk); }
form.f { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row2 > * { min-width: 0; }
@media (max-width: 620px) { .row2 { grid-template-columns: 1fr; } }
label, legend { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 6px; padding: 0; }
input[type=text], input[type=tel], input[type=email], textarea, select { width: 100%; font: inherit; color: var(--fg); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
textarea { min-height: 96px; resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--pink); outline-offset: 1px; border-color: transparent; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { margin: 0; font-weight: 600; position: relative; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; background: var(--bg); }
.pills input:checked + span { background: var(--teal); border-color: var(--teal); color: #052624; }
.pills input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.thanks { background: color-mix(in srgb, var(--c-walk) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c-walk) 45%, var(--line)); border-radius: 16px; padding: 18px 20px; font-weight: 600; }
.form-note { font-size: .88rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.contact-box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.contact-box h3 { font-size: 1.1rem; }
.contact-box p { color: var(--muted); font-size: .96rem; overflow-wrap: anywhere; }
.contact-box a.val, .contact-box .val { color: var(--fg); font-weight: 700; font-size: 1.02rem; overflow-wrap: anywhere; }
.contact-box a.go { font-weight: 700; }

/* CTA band */
.cta { background: color-mix(in srgb, var(--teal) 16%, var(--surface)); color: var(--fg); text-align: center; }
.cta .wrap { display: grid; justify-items: center; gap: 20px; }
.cta p { color: var(--muted); max-width: 52ch; }

/* footer */
footer { background: var(--ink); color: var(--ink-fg); padding-block: 44px 36px; border-top: 1px solid rgba(255,255,255,.1); }
footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px 40px; }
footer .wrap > * { min-width: 0; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }
footer p, footer li, footer a { color: var(--ink-muted); font-size: .94rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink-fg); text-decoration: underline; }
footer b { font-family: var(--font-display); font-size: 1.2rem; display: block; color: var(--ink-fg); margin-bottom: 4px; }
footer h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-fg); margin-bottom: 10px; font-family: var(--font-body); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-logo { height: 84px; width: auto; display: block; margin-bottom: 10px; }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: .85rem; }

/* status switches (set by site-status.js) */
html[data-walks="open"] .w-full, html:not([data-walks="open"]) .w-open { display: none !important; }
html[data-bt="weeks"] .bt-none, html:not([data-bt="weeks"]) .bt-weeks { display: none !important; }

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

/* extra photos */
.photo.wide { aspect-ratio: 21 / 9; margin-bottom: clamp(24px, 4vw, 40px); }
.photo.wide img { object-position: 50% 55%; }
@media (max-width: 860px) {
  .page-hero .hero-grid { grid-template-columns: 1fr; }
  .page-hero .photo { aspect-ratio: 4 / 3; }
  .page-hero .photo img { object-position: 50% 45%; }
  .photo.wide { aspect-ratio: 16 / 10; }
}

.area-note { border: 1px solid var(--line); background: var(--surface); border-radius: 20px; padding: 18px 22px; margin-bottom: 26px; }
.area-note > b { font-family: var(--font-display); font-size: 1.1rem; display: block; margin-bottom: 4px; }
.area-note p { margin: 0; color: var(--muted); }
.area-note p b { color: var(--ink); display: inline; font-family: inherit; font-size: inherit; margin: 0; }

/* Forms placed inside a dark band (Board & Train interest form): keep text readable on the white card */
.band form.f { color: var(--fg); }
.band form.f label, .band form.f legend { color: var(--fg); }
.band form.f .form-note { color: var(--muted); }
.band form.f .form-note a { color: var(--teal-text); }

/* Photo rows and credentials */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 3vw, 28px); margin-top: clamp(28px, 5vw, 56px); }
.gallery .photo { aspect-ratio: 4 / 5; }
.gallery figure { margin: 0; min-width: 0; }
.gallery figcaption, .photo-cap { font-size: .9rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } .gallery .photo { aspect-ratio: 4 / 3; } }
.creds { margin-top: clamp(28px, 5vw, 56px); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 32px); }
.creds h2 { font-size: 1.4rem; margin-bottom: 12px; }
.creds ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.creds li { padding-left: 28px; position: relative; }
.creds li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal-text); font-weight: 800; }
.photo.mid { aspect-ratio: 16 / 10; margin-top: clamp(28px, 5vw, 56px); }
.photo.mid img { object-position: 50% 45%; }
@media (max-width: 560px) { .photo.mid { aspect-ratio: 4 / 3; } }
.photo.mid img { object-position: 50% 32%; }
@media (max-width: 560px) { .photo.mid img { object-position: 50% 24%; } }
.band .photo-cap { color: var(--ink-muted); }
.photo.mid { max-width: 820px; }
.photo.mid { aspect-ratio: 4 / 3; }
.photo.mid img { object-position: 50% 28%; }
@media (max-width: 560px) { .photo.mid img { object-position: 50% 24%; } }
.photo.mid img { object-position: 50% 18%; }
@media (max-width: 560px) { .photo.mid img { object-position: 50% 24%; } }
