/* Kingfishers option 2: "Prospectus". Navy and a single red accent on cool paper, Literata (a book serif) with Public Sans.
   Signature: a school prospectus feel: a navy strip with the address, folder-tab navigation, a hero with an "Ask about a place" card, ruled class tables, roman-numeral admission steps, and a ledger footer.
   Nav: tabs on a ruled bar, with a red "Request a visit" tab; on phones a Menu button drops a ruled list. Motion: GSAP in assets/js/motion.js (rules draw, text rises); off under reduced motion. */
@font-face { font-family: "Literata"; font-weight: 200 900; font-style: normal; font-display: swap; src: url("assets/fonts/literata.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 200 900; font-style: italic; font-display: swap; src: url("assets/fonts/literata-italic.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 100 900; font-display: swap; src: url("assets/fonts/publicsans.woff2") format("woff2"); }
@view-transition { navigation: auto; }
:root {
  color-scheme: light;
  --bg: #f3f5f9; --surface: #ffffff; --surface-2: #e3e8f1;
  --ink: #12264b; --muted: #4f5d78; --line: rgba(18, 38, 75, .16); --line-strong: rgba(18, 38, 75, .5);
  --accent: #c4372b; --accent-ink: #ffffff; --danger: #b3261e; --navy: #12264b; --navy-2: #0b1a38;
  --display: "Literata", Georgia, serif; --body: "Public Sans", system-ui, sans-serif;
  --r: 3px; --max: 1180px; --gutter: clamp(18px, 4vw, 48px); --strip-h: 38px; --bar-h: 74px; --nav-h: calc(var(--strip-h) + var(--bar-h));
  --spring: cubic-bezier(.32, .72, 0, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.06rem/1.7 var(--body); -webkit-font-smoothing: antialiased; caret-color: var(--accent); overflow-x: clip; }
::selection { background: var(--accent); color: #fff; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6.6vw, 6rem); } h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); } h3 { font-size: 1.5rem; line-height: 1.15; }
p { margin: 0 0 1rem; max-width: 62ch; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 9px 15px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
section { padding-block: clamp(64px, 9vw, 120px); }
.i { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.eyebrow { margin: 0 0 16px; font: 700 .74rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.textlink { display: inline-flex; align-items: center; min-height: 44px; font: 700 .8rem var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--navy); padding-bottom: 2px; margin-right: 26px; transition: color .4s var(--spring), border-color .4s var(--spring); }
.textlink:hover { color: var(--accent); border-color: var(--accent); } .textlink--quiet { border-bottom-color: var(--line-strong); color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: var(--r); border: 2px solid transparent; font: 700 .95rem var(--body); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .5s var(--spring), color .5s var(--spring), transform .4s var(--spring), border-color .4s var(--spring); }
.btn:active { transform: scale(.985); }
.btn--primary { background: var(--accent); color: #fff; } .btn--primary:hover { background: #a82c21; }
.btn--light { background: #fff; color: var(--navy); } .btn--line { border-color: var(--navy); color: var(--navy); } .btn--line:hover { background: var(--navy); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; } .btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--quiet { color: var(--navy); text-decoration: underline; padding: 0 10px; } .btn--lg { min-height: 60px; font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }

/* Header: address strip, then a ruled bar with folder tabs */
.top { position: fixed; z-index: 60; top: 0; left: 0; right: 0; }
.strip { height: var(--strip-h); background: var(--navy); color: #d5def0; font-size: .82rem; }
.strip__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; } .strip__in span:last-child { display: flex; gap: 22px; } .strip a { text-decoration: none; font-weight: 700; color: #fff; } .strip a:hover { text-decoration: underline; }
.bar { height: var(--bar-h); background: var(--surface); border-bottom: 2px solid var(--navy); }
.bar__in { height: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; align-self: center; } .logo img { width: 62px; height: auto; }
.logo__words { display: grid; line-height: 1.05; } .logo__words b { font: 700 1.35rem var(--display); letter-spacing: -.02em; } .logo__words small { font: 700 .68rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: flex-end; gap: 6px; height: 100%; padding-top: 14px; }
.nav a { display: inline-flex; align-items: center; padding: 0 22px; height: 46px; border: 2px solid var(--line-strong); border-bottom: 0; border-radius: 8px 8px 0 0; background: var(--surface-2); color: var(--navy); font: 700 .86rem var(--body); letter-spacing: .06em; text-decoration: none; margin-bottom: -2px; transition: background .4s var(--spring), color .4s var(--spring), height .4s var(--spring); }
.nav a:hover { background: #fff; height: 50px; }
.nav a[aria-current="page"] { background: #fff; border-color: var(--navy); border-top: 4px solid var(--accent); height: 52px; padding-bottom: 2px; }
.nav .nav__cta { background: var(--accent); border-color: var(--accent); color: #fff; margin-left: 10px; } .nav .nav__cta:hover { background: #a82c21; }
.menu-btn { display: none; }

/* Hero */
.hero { padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 80px)); padding-bottom: clamp(56px, 8vw, 110px); }
.hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.hero__sub { font-size: 1.2rem; color: var(--muted); max-width: 30em; margin: 26px 0 24px; } .hero__links { margin: 0; }
.visit { background: var(--surface); border: 2px solid var(--navy); border-top: 8px solid var(--accent); padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; box-shadow: 10px 10px 0 var(--surface-2); }
.visit__h { font: 600 1.7rem/1.1 var(--display); letter-spacing: -.02em; margin: 0; max-width: none; }
.visit label { display: grid; gap: 6px; } .visit label span { font: 700 .72rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.visit select, .visit input { width: 100%; font: 500 1.02rem var(--body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: 11px 12px; min-height: 50px; }
.visit select:focus-visible, .visit input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.visit .btn { width: 100%; } .visit__n { margin: 0; color: var(--muted); font-size: .88rem; }

.facts { background: var(--navy); color: #fff; padding-block: clamp(30px, 4vw, 52px); }
.facts__row { display: grid; grid-template-columns: repeat(3, 1fr); } .facts p { margin: 0; padding: 4px clamp(16px, 3vw, 40px); border-left: 1px solid rgba(255, 255, 255, .3); display: grid; gap: 6px; max-width: none; } .facts p:first-child { border-left: 0; padding-left: 0; }
.facts small { font: 700 .72rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: #ff9d92; } .facts b { font: 500 clamp(1.3rem, 2.4vw, 2rem)/1.15 var(--display); letter-spacing: -.01em; }

.about__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 7vw, 110px); align-items: center; }
.about__txt h2 { margin-bottom: 26px; } .about__txt p { color: var(--muted); } .about__txt .dropcap { font-size: 1.14rem; } .about__txt .dropcap::first-letter { float: left; font: 600 4.6rem/.82 var(--display); color: var(--accent); padding: 8px 12px 0 0; }
.about__art { margin: 0; background: var(--navy); padding: clamp(26px, 4vw, 48px); border-radius: var(--r); box-shadow: 12px 12px 0 var(--surface-2); } .about__art .bird { width: 100%; height: auto; } .about__art figcaption { margin-top: 14px; color: #c8d3ea; font: italic 500 1rem var(--display); text-align: center; }

.classes { background: var(--surface); border-block: 1px solid var(--line); }
.classes__head { margin-bottom: clamp(24px, 4vw, 48px); }
.classes__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.classes__list li { border-bottom: 1px solid var(--line-strong); }
.classes__list a { display: grid; grid-template-columns: 1.1fr .8fr 1.4fr auto; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 34px) 0; text-decoration: none; transition: background .4s var(--spring), padding .4s var(--spring); }
.classes__list a:hover { background: var(--bg); padding-inline: 18px; }
.cl__n { font: 600 clamp(1.8rem, 3vw, 2.6rem)/1 var(--display); letter-spacing: -.02em; } .cl__a { color: var(--accent); font-weight: 700; } .cl__t { color: var(--muted); } .cl__go .i { width: 1.6rem; height: 1.6rem; transition: transform .5s var(--spring); } .classes__list a:hover .cl__go .i { transform: translateX(8px); color: var(--accent); }
.classes__note, .steps__note { color: var(--muted); font-size: .94rem; margin: 22px 0 0; }

.steps h2 { margin-bottom: clamp(28px, 4vw, 56px); }
.steps__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.steps__row li { border-top: 4px solid var(--navy); padding-top: 18px; } .steps__row li:nth-child(1) { border-top-color: var(--accent); }
.steps__row b { display: block; font: 500 clamp(2.4rem, 4vw, 3.6rem)/1 var(--display); color: var(--accent); margin-bottom: 8px; } .steps__row h3 { margin-bottom: 8px; } .steps__row p { color: var(--muted); margin: 0; }

.visitband { background: var(--navy); color: #fff; }
.visitband__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.visitband .eyebrow { color: #ff9d92; } .visitband h2 { margin-bottom: 20px; } .visitband__addr { color: #d5def0; font-size: 1.15rem; max-width: 24em; }
.visitband__links { display: grid; gap: 12px; justify-items: start; }

/* Inner pages */
main > section:first-child:not(.hero) { padding-top: calc(var(--nav-h) + 44px); }
.phead { padding-bottom: clamp(24px, 4vw, 48px); } .phead__lede { color: var(--muted); font-size: 1.18rem; max-width: 40em; margin: 18px 0 0; }
.vhead { padding-bottom: clamp(24px, 4vw, 56px); }
.vhead__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.vhead__lede { font-size: 1.18rem; color: var(--muted); max-width: 32em; margin: 22px 0 26px; }
.vhead__art { background: var(--navy); padding: clamp(22px, 3vw, 40px); border-radius: var(--r); box-shadow: 10px 10px 0 var(--surface-2); } .vhead__art .bird { width: 100%; height: auto; }
.vlayout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(48px, 7vw, 100px); }
.vmain > section { padding: 0 0 clamp(40px, 5vw, 72px); } .vmain h2 { margin-bottom: 20px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.rows { margin: 0 0 14px; display: grid; border-top: 2px solid var(--navy); }
.rows div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.rows dt { font-weight: 700; } .rows dd { margin: 0; color: var(--accent); text-align: right; font-weight: 700; }
.note { color: var(--muted); font-size: .95rem; max-width: 62ch; } .note a { color: var(--accent); font-weight: 700; }
address { font: 500 1.35rem/1.35 var(--display); font-style: normal; margin-bottom: 14px; }
.map { background: var(--surface-2); min-height: 380px; overflow: hidden; border: 1px solid var(--line); } .map iframe { width: 100%; height: 420px; border: 0; display: block; }
.find--page { padding-block: 0 !important; }
.glance, .rsvp__card { background: var(--surface); border: 2px solid var(--navy); border-radius: var(--r); }
.glance { position: sticky; top: calc(var(--nav-h) + 24px); padding: 26px; display: grid; gap: 18px; border-top: 8px solid var(--accent); } .glance h2 { font-size: 1.6rem; margin: 0; }
.glance dl { margin: 0; display: grid; gap: 14px; } .glance dt { font: 700 .7rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); } .glance dd { margin: 3px 0 0; }
.glance a:not(.btn) { color: var(--accent); font-weight: 700; }
.rsvp__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 88px); align-items: start; } .rsvp__card { padding: clamp(22px, 4vw, 44px); border-top: 8px solid var(--accent); }
.contact { list-style: none; padding: 0; margin: 22px 0 0; display: grid; } .contact li { display: flex; align-items: center; gap: 12px; } .contact a { font-weight: 700; color: var(--accent); }
.legal h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }

/* Footer: a ledger */
.foot { background: var(--navy-2); color: #e1e8f6; padding: clamp(56px, 8vw, 100px) 0 clamp(100px, 10vw, 124px); }
.foot a { color: inherit; text-decoration: none; }
.foot__head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; } .foot__head img { width: 84px; height: auto; } .foot__head p { margin: 0; font: 600 clamp(1.6rem, 3vw, 2.4rem) var(--display); letter-spacing: -.02em; color: #fff; }
.ledger { margin: 0; border-top: 2px solid #fff; }
.ledger div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); align-items: baseline; }
.ledger dt { font: 700 .74rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: #ff9d92; } .ledger dd { margin: 0; } .ledger a:hover, .foot__legal a:hover, .foot__nav a:hover { text-decoration: underline; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 0 24px; } .foot__nav a, .foot__legal a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 28px; padding-top: 16px; color: #b3c0dc; font-size: .9rem; } .foot__base p { margin: 0; } .foot__legal { display: flex; flex-wrap: wrap; gap: 2px 20px; }
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; background: #1faa59; color: #fff; border-radius: var(--r); font-weight: 700; text-decoration: none; transition: transform .4s var(--spring); }
.wa:active { transform: scale(.985); }
.grain { position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .03; background: url("assets/img/grain.png"); mix-blend-mode: multiply; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
@media (max-width: 960px) {
  :root { --strip-h: 0px; --bar-h: 68px; }
  .strip { display: none; }
  .bar__in { align-items: center; } .logo__words small { display: none; } .logo img { width: 52px; }
  .menu-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--navy); border-radius: var(--r); background: var(--surface); color: var(--navy); cursor: pointer; }
  .burger { position: relative; width: 20px; height: 14px; } .burger i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .5s var(--spring), opacity .3s; }
  .burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 6px; } .burger i:nth-child(3) { top: 12px; }
  .menu-btn[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); } .menu-btn[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; } .menu-btn[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: fixed; top: var(--bar-h); left: 0; right: 0; flex-direction: column; align-items: stretch; height: auto; gap: 0; padding: 6px var(--gutter) 20px; background: var(--surface); border-bottom: 2px solid var(--navy); transform: translateY(-10px); opacity: 0; visibility: hidden; transition: transform .5s var(--spring), opacity .35s, visibility 0s .5s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .5s var(--spring), opacity .35s, visibility 0s; }
  .nav a, .nav a:hover, .nav a[aria-current="page"] { height: 56px; margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; font-size: 1.15rem; padding: 0 4px; } .nav a[aria-current="page"] { color: var(--accent); }
  .nav .nav__cta { background: var(--accent); color: #fff; justify-content: center; margin: 14px 0 0; border: 0; border-radius: var(--r); }
  .hero__grid, .about__grid, .visitband__grid, .vhead__grid, .rsvp__grid, .vlayout { grid-template-columns: minmax(0, 1fr); }
  .facts__row { grid-template-columns: minmax(0, 1fr); gap: 16px; } .facts p, .facts p:first-child { border-left: 0; padding: 0 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .25); }
  .classes__list a { grid-template-columns: 1fr auto; gap: 6px 16px; } .cl__t { grid-column: 1; } .cl__go { grid-row: 1 / span 3; grid-column: 2; }
  .steps__row { grid-template-columns: 1fr 1fr; } .glance { position: static; } .ledger div { grid-template-columns: 1fr; gap: 4px; } .vhead__art { max-width: 360px; }
}
@media (max-width: 520px) { h1 { font-size: clamp(2.6rem, 12.5vw, 3.4rem); } .steps__row { grid-template-columns: minmax(0, 1fr); } }

/* safeguarding, parents ask, slots (added after the school-site benchmark) */
.safe { background: var(--surface); border-block: 1px solid var(--line); }
.safe__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.safe .eyebrow { margin-bottom: 14px; } .safe__head h2 { margin-bottom: 18px; } .safe__head p { color: var(--muted); }
.safe__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.safe__list li { padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.safe__list h3 { font-size: 1.35rem; margin-bottom: 6px; } .safe__list p { margin: 0; color: var(--muted); }
.parents__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.ask { margin: 0; border-top: 2px solid var(--navy); }
.ask > div { display: grid; grid-template-columns: 9em 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-strong); }
.ask dt { font-family: var(--display); font-weight: 600; font-size: 1.2rem; } .ask dd { margin: 0; color: var(--muted); }
.slots { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.slots li { display: grid; grid-template-columns: 9em 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px dashed var(--line-strong); }
.slots b { font-family: var(--display); font-weight: 600; } .slots span { color: var(--muted); }
@media (max-width: 900px) { .safe__grid, .parents__grid { grid-template-columns: minmax(0, 1fr); } .ask > div, .slots li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Shared components for both Havilah options: RSVP form, gallery grid, lightbox, reveal.
   Relies on tokens defined by each option: --bg --ink --muted --line --line-strong --accent --accent-ink --surface --surface-2 --r */

[hidden] { display: none !important; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* RSVP form */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 650; font-size: .95rem; padding: 0; }
.field .opt, .hint { color: var(--muted); font-weight: 400; font-size: .88rem; }
.hint { margin: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form input[type="date"], .form input[type="number"], .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: 12px 14px; min-height: 48px;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-color: transparent; }
.field.has-error input, .field.has-error select { border-color: var(--danger, #c0261c); }
.err { margin: 0; color: var(--danger, #c0261c); font-size: .9rem; font-weight: 600; }
.field--radios, .field--branch { gap: 8px; }
.field--radios, .field--branch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.field--radios legend, .field--branch legend { width: 100%; margin-bottom: 2px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--surface); font-weight: 600; font-size: .95rem; cursor: pointer; }
.radio input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.radio input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 0; padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-strong); font-weight: 550; }
.status a { text-underline-offset: 3px; font-weight: 700; }
.form button:disabled { opacity: .6; cursor: progress; }
.done { display: grid; gap: 10px; }
.done h2 { font-size: 1.7rem; }
.done p { margin: 0; color: var(--muted); }
.done a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }

/* Gallery grid */
.all__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-weight: 600; font-size: .92rem; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.masonry { columns: 3 260px; column-gap: 18px; }
.tile { break-inside: avoid; margin: 0 0 18px; }
.tile__open { display: block; width: 100%; padding: 0; border: 0; background: var(--surface-2); border-radius: var(--r); overflow: hidden; cursor: zoom-in; }
.tile__open img { width: 100%; height: auto; display: block; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.tile__open:hover img, .tile__open:focus-visible img { transform: scale(1.04); }
.tile__open:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.tile figcaption { padding-top: 8px; display: grid; gap: 1px; font-size: .95rem; }
.tile figcaption small { color: var(--muted); font-size: .8rem; }
.note { color: var(--muted); font-size: .9rem; margin-top: 18px; }
.note a { color: var(--ink); text-underline-offset: 3px; }

/* Lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; color: #fff; }
.lb::backdrop { background: rgba(8, 10, 12, .92); }
.lb[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lb__fig { margin: 0; display: grid; gap: 10px; justify-items: center; max-height: 100dvh; padding: 24px 0; }
.lb__fig img { max-width: 100%; max-height: calc(100dvh - 120px); width: auto; height: auto; border-radius: var(--r); }
.lb__fig figcaption { color: #dfe5e8; font-size: .95rem; text-align: center; padding-inline: 12px; }
.lb__nav, .lb__x { background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; justify-self: center; }
.lb__nav:hover, .lb__x:hover { background: rgba(255, 255, 255, .24); }
.lb__nav:focus-visible, .lb__x:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lb__x { position: absolute; top: 16px; right: 16px; z-index: 2; }
.lb .i { width: 22px; height: 22px; fill: currentColor; }

@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; }
  .masonry { columns: 2 150px; column-gap: 12px; }
  .lb[open] { grid-template-columns: 1fr; }
  .lb__nav { position: absolute; bottom: 16px; }
  .lb__nav--prev { left: 16px; }
  .lb__nav--next { right: 16px; }
}

/* Picture wrappers must not break layouts that size the image from its parent */
picture { display: contents; }

/* Policy and 404 pages */
.legal { padding-top: clamp(32px, 5vw, 64px); }
.legal__wrap { max-width: 760px; }
.legal h1 { margin-bottom: 8px; }
.legal__meta { color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; margin: 30px 0 10px; letter-spacing: -0.015em; }
.legal p, .legal li { color: var(--ink); max-width: 68ch; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 0 0 1rem; }
.legal a { text-underline-offset: 3px; font-weight: 600; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; }
.foot__legal a { display: inline-flex; align-items: center; min-height: 44px; }
.consent { margin: 0; font-size: .88rem; color: var(--muted); }
.consent a { color: var(--ink); text-underline-offset: 3px; font-weight: 600; }

/* Click-to-load map */
.map__ph { height: 100%; min-height: 380px; display: grid; align-content: center; justify-items: start; gap: 6px; padding: clamp(20px, 4vw, 40px); }
.map__ph p { max-width: 30em; color: var(--muted); margin: 0; }
.map__ph a:not(.btn) { color: var(--ink); text-underline-offset: 3px; font-weight: 600; }

/* Tap targets: links in lists and footers are at least 44px tall */
.foot__col a, .contact a, .foot a { display: inline-flex; align-items: center; min-height: 44px; }
.contact { gap: 0 !important; }
.foot__col { gap: 0 !important; }

/* Floating WhatsApp collapses to an icon on phones so it never covers content */
@media (max-width: 700px) {
  .wa { width: 52px; height: 52px; padding: 0; justify-content: center; }
  .wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .wa .i { width: 26px; height: 26px; }
}
