/* Kingfishers option 1: "Dive". Kingfisher teal and orange on a clean white-teal ground, Sora (heavy, geometric) with Nunito (round, friendly).
   Signature: a big flat kingfisher on a branch over spreading ripples, colour-blocked sections, and a full-screen menu made of four colour tiles.
   Nav: Home and "Ask about admission" stay visible beside a Menu button; the menu is a tile grid. Footer: ripples and a giant phone number.
   Motion: GSAP in assets/js/motion.js (the bird swoops in, ripples spread, tiles rise); off under reduced motion. */
@font-face { font-family: "Sora"; font-weight: 100 800; font-display: swap; src: url("assets/fonts/sora.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 200 1000; font-display: swap; src: url("assets/fonts/nunito.woff2") format("woff2"); }
@view-transition { navigation: auto; }
:root {
  color-scheme: light;
  --bg: #f6fafa; --surface: #ffffff; --surface-2: #d7ecef;
  --ink: #10262c; --muted: #4a6970; --line: rgba(16, 38, 44, .14); --line-strong: rgba(16, 38, 44, .4);
  --accent: #0b6f7e; --accent-ink: #ffffff; --danger: #b3261e;
  --teal: #0d7c8c; --deep: #084f5c; --orange: #f08a24; --orange-soft: #fde5c6;
  --display: "Sora", system-ui, sans-serif; --body: "Nunito", system-ui, sans-serif;
  --r: 22px; --max: 1220px; --gutter: clamp(18px, 4vw, 48px); --nav-h: 84px;
  --spring: cubic-bezier(.32, .72, 0, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 1.1rem/1.65 var(--body); -webkit-font-smoothing: antialiased; caret-color: var(--teal); overflow-x: clip; }
::selection { background: var(--orange); color: var(--ink); }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 800; letter-spacing: -.04em; line-height: .98; text-wrap: balance; }
h1 { font-size: clamp(3.4rem, 8.6vw, 8rem); } h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); } h3 { font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0 0 1rem; max-width: 60ch; 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(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 999px; font-weight: 800; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
section { padding-block: clamp(64px, 9vw, 124px); }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.link { font-weight: 800; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); }
.link .i { transition: transform .5s var(--spring); } .link:hover .i { transform: translateX(5px); }
.tag { display: inline-flex; margin: 0 0 20px; padding: 8px 16px; background: var(--surface-2); color: var(--deep); border-radius: 999px; font: 800 .74rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { margin: 0 0 14px; font: 800 .76rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent; font: 800 1rem var(--body); text-decoration: none; cursor: pointer; transition: background .5s var(--spring), color .5s var(--spring), transform .4s var(--spring), border-color .4s var(--spring); }
.btn:has(.btn__i) { padding: 5px 5px 5px 28px; }
.btn:active { transform: scale(.98); }
.btn__i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(16, 38, 44, .14); transition: transform .5s var(--spring); }
.btn:hover .btn__i { transform: translate(2px, -2px) rotate(8deg); }
.btn--primary { background: var(--orange); color: var(--ink); } .btn--primary:hover { background: #ffa143; }
.btn--light { background: #fff; color: var(--deep); } .btn--light .btn__i { background: var(--orange); color: var(--ink); } .btn--light:hover { background: var(--orange-soft); }
.btn--line { border-color: var(--ink); color: var(--ink); } .btn--line:hover { background: var(--ink); color: #fff; }
.btn--quiet { color: var(--ink); text-decoration: underline; padding: 0 10px; }
.btn--lg { min-height: 62px; font-size: 1.05rem; } .btn--lg .btn__i { width: 52px; height: 52px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }

/* Header and tile menu */
.top { position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(246, 250, 250, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; position: relative; z-index: 90; } .logo img { width: 64px; height: auto; }
.logo__words { display: grid; line-height: 1.05; } .logo__words b { font: 800 1.3rem var(--display); letter-spacing: -.03em; } .logo__words small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.top__r { display: flex; align-items: center; gap: 8px; position: relative; z-index: 90; }
.top__home { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 800; text-decoration: none; } .top__home:hover, .top__home[aria-current="page"] { background: var(--surface-2); }
.top__apply { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 800; text-decoration: none; background: var(--orange); color: var(--ink); transition: background .4s var(--spring); } .top__apply:hover { background: #ffa143; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 800 .9rem var(--body); letter-spacing: .06em; cursor: pointer; transition: background .4s var(--spring); }
.menu-btn:hover { background: var(--deep); }
.menu-btn__x { position: relative; width: 20px; height: 12px; } .menu-btn__x i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .5s var(--spring); }
.menu-btn__x i:nth-child(1) { top: 2px; } .menu-btn__x i:nth-child(2) { top: 9px; }
.menu-btn[aria-expanded="true"] .menu-btn__x i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); } .menu-btn[aria-expanded="true"] .menu-btn__x i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.nav { position: fixed; z-index: 85; inset: 0; padding: calc(var(--nav-h) + 14px) 14px 14px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; background: var(--bg); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--spring), visibility 0s .8s; }
.nav.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--spring), visibility 0s; }
.tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: clamp(20px, 3vw, 40px); border-radius: 28px; text-decoration: none; transition: transform .6s var(--spring), filter .4s; }
.tile small { font: 800 .8rem var(--body); letter-spacing: .14em; text-transform: uppercase; opacity: .85; } .tile b { font: 800 clamp(2.4rem, 7vw, 6rem)/.95 var(--display); letter-spacing: -.04em; }
.tile:hover { transform: translateY(-6px); filter: brightness(1.05); }
.tile--1 { background: var(--teal); color: #fff; } .tile--2 { background: var(--orange); color: var(--ink); } .tile--3 { background: var(--deep); color: #fff; } .tile--4 { background: var(--surface-2); color: var(--ink); }
.tile[aria-current="page"] { outline: 4px solid var(--ink); outline-offset: -4px; }

/* Hero */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 80px)); padding-bottom: clamp(48px, 7vw, 100px); overflow: hidden; isolation: isolate; }
.hero__rings { position: absolute; right: -10vw; bottom: -18vw; width: 70vw; aspect-ratio: 1; z-index: -1; } .hero__rings i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(13, 124, 140, .3); }
.hero__rings i:nth-child(2) { inset: 12%; border-color: rgba(13, 124, 140, .22); } .hero__rings i:nth-child(3) { inset: 26%; border-color: rgba(240, 138, 36, .4); background: radial-gradient(circle, rgba(240, 138, 36, .1), transparent 70%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
h1 span { display: inline-block; } h1 .hl { color: var(--teal); display: block; }
.hero__sub { font-size: 1.25rem; color: var(--muted); margin: 26px 0 32px; max-width: 28em; }
.hero__art .bird { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(8, 79, 92, .22)); }

.glance3 { padding-block: 0 clamp(40px, 6vw, 80px); }
.glance3__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gb { margin: 0; padding: clamp(20px, 3vw, 32px); border-radius: var(--r); display: grid; gap: 6px; align-content: start; max-width: none; min-height: 190px; }
.gb small { font: 800 .74rem var(--body); letter-spacing: .16em; text-transform: uppercase; opacity: .8; } .gb b { font: 800 clamp(1.5rem, 2.6vw, 2.2rem)/1.05 var(--display); letter-spacing: -.03em; } .gb span { opacity: .85; font-size: .98rem; margin-top: auto; }
.gb--1 { background: var(--teal); color: #fff; } .gb--2 { background: var(--orange); color: var(--ink); } .gb--3 { background: var(--deep); color: #fff; }

.stand__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 4vw, 56px); } .stand__head p { color: var(--muted); margin: 0; }
.stand__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--surface); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); transition: transform .5s var(--spring), box-shadow .5s var(--spring); }
.card:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); } .card h3 { margin-bottom: 12px; } .card p { color: var(--muted); margin: 0; }
.card--a { background: #fff; } .card--b { background: var(--orange-soft); } .card--c { background: var(--surface-2); }

.levels { background: var(--ink); color: #fff; }
.levels h2 { margin-bottom: clamp(28px, 4vw, 52px); }
.levels__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lv { display: grid; gap: 8px; align-content: end; min-height: 280px; padding: clamp(24px, 3vw, 36px); border-radius: 30px; text-decoration: none; transition: transform .6s var(--spring); }
.lv:hover { transform: translateY(-8px) rotate(-1deg); } .lv small { font: 800 .76rem var(--body); letter-spacing: .16em; text-transform: uppercase; opacity: .85; } .lv b { font: 800 clamp(2.4rem, 4vw, 3.6rem)/.95 var(--display); letter-spacing: -.04em; } .lv span { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.lv--1 { background: var(--orange); color: var(--ink); } .lv--2 { background: var(--teal); color: #fff; } .lv--3 { background: #fff; color: var(--ink); }
.levels__note { margin: 28px 0 0; color: rgba(255, 255, 255, .7); font-size: .95rem; }

.path__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.path__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.path__list li { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 2px solid var(--ink); } .path__list li:first-child { border-top: 2px solid var(--ink); }
.path__list b { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--teal); color: #fff; font: 800 1.8rem var(--display); } .path__list li:nth-child(2) b { background: var(--orange); color: var(--ink); } .path__list li:nth-child(3) b { background: var(--deep); } .path__list li:nth-child(4) b { background: var(--ink); }
.path__list h3 { margin-bottom: 4px; } .path__list p { color: var(--muted); margin: 0; }
.path__note { grid-column: 2; color: var(--muted); font-size: .95rem; margin: 0; }

.find { background: var(--surface-2); } .find--page { background: none; padding-block: 0 !important; }
.find__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 6vw, 96px); align-items: center; }
.find__addr { font: 700 1.3rem/1.35 var(--body); margin: 18px 0 0; max-width: 24em; } .find__links { display: grid; gap: 12px; justify-items: start; }
.band { background: var(--orange); color: var(--ink); }
.band__inner { display: grid; justify-items: start; gap: 14px; } .band h2 { font-size: clamp(2.8rem, 8vw, 7rem); } .band p { margin: 0 0 14px; max-width: 30em; font-weight: 700; }

/* Inner pages */
main > section:first-child:not(.hero) { padding-top: calc(var(--nav-h) + 40px); }
.phead { padding-bottom: clamp(24px, 4vw, 48px); } .phead__lede { color: var(--muted); font-size: 1.2rem; 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.2rem; color: var(--muted); max-width: 32em; margin: 22px 0 28px; } .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.9rem, 3vw, 2.6rem); }
.rows { margin: 0 0 14px; display: grid; border-top: 2px solid var(--ink); }
.rows div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.rows dt { font-weight: 800; } .rows dd { margin: 0; color: var(--accent); text-align: right; font-weight: 800; }
.note { color: var(--muted); font-size: .96rem; max-width: 62ch; } .note a { color: var(--accent); font-weight: 800; }
address { font: 700 1.25rem/1.35 var(--body); font-style: normal; margin-bottom: 14px; }
.map { background: var(--surface-2); border-radius: var(--r); min-height: 380px; overflow: hidden; } .map iframe { width: 100%; height: 420px; border: 0; display: block; }
.glance, .rsvp__card { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r); }
.glance { position: sticky; top: 108px; padding: 26px; display: grid; gap: 18px; box-shadow: 6px 6px 0 var(--ink); } .glance h2 { font-size: 1.6rem; margin: 0; }
.glance dl { margin: 0; display: grid; gap: 14px; } .glance dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 800; } .glance dd { margin: 2px 0 0; }
.glance a:not(.btn) { color: var(--accent); font-weight: 800; }
.rsvp__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 88px); align-items: start; } .rsvp__card { padding: clamp(22px, 4vw, 44px); box-shadow: 6px 6px 0 var(--ink); }
.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: 800; color: var(--accent); }
.legal h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }

/* Footer */
.foot { position: relative; background: var(--deep); color: #eaf6f8; padding: clamp(80px, 10vw, 130px) 0 clamp(100px, 10vw, 124px); overflow: hidden; isolation: isolate; }
.foot__ripple { position: absolute; z-index: -1; right: -15vw; top: -30vw; width: 60vw; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(240, 138, 36, .35); box-shadow: 0 0 0 4vw rgba(255, 255, 255, .04), 0 0 0 9vw rgba(255, 255, 255, .03); }
.foot a { color: inherit; text-decoration: none; }
.foot__phone { display: grid; gap: 4px; padding-bottom: clamp(32px, 5vw, 56px); border-bottom: 2px solid rgba(255, 255, 255, .25); margin-bottom: 32px; transition: color .4s var(--spring); }
.foot__phone small { font: 800 .8rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); } .foot__phone b { font: 800 clamp(2.6rem, 9vw, 8rem)/.95 var(--display); letter-spacing: -.045em; } .foot__phone:hover { color: var(--orange); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(24px, 5vw, 72px); padding-bottom: 32px; }
.foot h2 { font: 800 .76rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.foot__grid p { margin: 0 0 8px; color: #d6ecef; }
.foot__nav { display: grid; } .foot__nav a, .foot__legal a { display: inline-flex; align-items: center; min-height: 44px; } .foot__nav a:hover, .foot__legal a:hover, .foot__grid a:hover { text-decoration: underline; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .2); color: #b9dce1; font-size: .92rem; }
.foot__base p { margin: 0; } .foot__legal { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 22px; border-radius: 999px; background: #1faa59; color: #fff; font-weight: 800; text-decoration: none; transition: transform .4s var(--spring); box-shadow: 0 14px 30px rgba(16, 38, 44, .3); }
.wa:active { transform: scale(.98); }
.grain { position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .035; 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) {
  .top__home, .top__apply { display: none; } .logo__words small { display: none; } .logo img { width: 54px; }
  .nav { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(4, 1fr); } .tile b { font-size: clamp(2.2rem, 11vw, 3.6rem); }
  .hero__grid, .stand__head, .path__grid, .find__grid, .vhead__grid, .rsvp__grid, .vlayout, .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { max-width: 460px; } .glance3__row, .stand__grid, .levels__grid { grid-template-columns: minmax(0, 1fr); } .gb, .lv { min-height: 0; }
  .path__note { grid-column: 1; } .glance { position: static; } .vhead__art { max-width: 360px; }
}
@media (max-width: 480px) { h1 { font-size: clamp(3.1rem, 15vw, 4rem); } }

/* safeguarding, parents ask, slots (added after the school-site benchmark) */
.safe { background: var(--deep); color: #fff; }
.safe__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 4vw, 52px); }
.safe__head p { color: #cfe6ea; margin: 0; }
.safe__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sf { margin: 0; max-width: none; padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r); background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.55); display: grid; gap: 8px; }
.sf b { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.15; color: var(--orange); }
.sf span { color: #e3f1f3; }
.parents__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 6vw, 96px); align-items: start; }
.ask { margin: 0; display: grid; gap: 14px; }
.ask > div { padding: 18px 22px; border-radius: 16px; background: var(--surface); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.ask dt { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 4px; }
.ask dd { margin: 0; color: var(--muted); }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.slots li { padding: 16px 20px; border-radius: 16px; border: 2px dashed var(--line-strong); display: grid; gap: 2px; }
.slots b { font-family: var(--display); font-weight: 800; }
.slots span { color: var(--muted); }
.vmain .ask { margin-bottom: 8px; }
@media (max-width: 900px) { .safe__head, .safe__grid, .parents__grid { grid-template-columns: minmax(0, 1fr); } }

/* 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; }
}
