/* Havilah option 2: adire. One indigo cloth with white resist geometry and a single hibiscus-pink accent.
   Unbounded for display, Onest for text, both self-hosted. One theme by design (night cloth). */
@font-face { font-family: "Unbounded"; font-weight: 200 900; font-display: swap; src: url("assets/fonts/unbounded-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Onest"; font-weight: 100 900; font-display: swap; src: url("assets/fonts/onest-latin-wght-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #1b2886; --deep: #121b63; --surface: #25349f; --surface-2: #2f3fb0;
  --ink: #f4f2ff; --muted: #c3cbf6; --line: rgba(232, 236, 255, .24); --line-strong: rgba(232, 236, 255, .5);
  --resist: #e8ecff; --accent: #ff6aa2; --accent-ink: #2b0a1a; --danger: #ffb3c9;
  --display: "Unbounded", system-ui, sans-serif; --body: "Onest", system-ui, sans-serif;
  --r: 14px; --nav-h: 68px; --max: 1200px; --gutter: clamp(18px, 4vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); -webkit-text-size-adjust: 100%; scrollbar-color: var(--surface-2) var(--deep); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; caret-color: var(--accent); }
::selection { background: var(--accent); color: var(--accent-ink); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; max-width: 68ch; }
a { color: inherit; text-underline-offset: 3px; }
.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(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 100; border-radius: var(--r); font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
section { padding-block: clamp(48px, 7vw, 104px); }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.link { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); min-height: 44px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 700 1rem var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background-color .2s, border-color .2s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #ff86b4; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { border-color: var(--ink); }
.btn--dark { background: var(--deep); color: var(--ink); }
.btn--dark:hover { background: #0c1244; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Header: the cloth's border strip runs under it */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.top::after { content: ""; display: block; height: 16px; background: var(--deep) url("assets/adire-strip.svg") repeat-x center / 56px 16px; }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__crest { width: 44px; height: 44px; flex: none; border-radius: 10px; }
.logo__words { display: grid; line-height: 1.1; }
.logo__words b { font: 700 1.05rem var(--display); letter-spacing: -0.01em; }
.logo__words small { font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; padding-block: 10px; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--accent); }
.menu-btn { display: none; background: none; border: 0; color: var(--ink); width: 44px; height: 44px; cursor: pointer; }
.menu-btn .i { width: 28px; height: 28px; }

/* Home hero: headline over the giant resist-dyed H, the venue switch in an arch window */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 96px); isolation: isolate; }
.monogram { position: absolute; z-index: -1; right: -2%; top: 50%; height: 108%; width: auto; transform: translateY(-50%); clip-path: circle(150% at 50% 50%); animation: bloom 1.6s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes bloom { from { clip-path: circle(0% at 78% 50%); } to { clip-path: circle(150% at 78% 50%); } }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 80px); align-items: center; min-height: clamp(460px, 62vh, 640px); }
.hero h1 { max-width: 9.5em; margin-bottom: 18px; }
.hero__sub { font-size: 1.15rem; color: var(--muted); max-width: 30em; }
.switch { display: inline-flex; gap: 6px; padding: 5px; margin-top: 8px; border: 2px solid var(--line-strong); border-radius: 999px; background: var(--deep); }
.switch button { font: 700 1rem var(--body); color: var(--ink); background: transparent; border: 0; min-height: 44px; padding: 0 22px; border-radius: 999px; cursor: pointer; }
.switch button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.switch__panel { margin-top: 22px; max-width: 34em; padding: 20px 22px; background: var(--deep); border-radius: var(--r); }
.switch__panel p { margin-bottom: 6px; }
.switch__addr { font-weight: 700; }
.switch__panel .actions { margin-top: 16px; }

/* Arch window with a resist-pattern border */
.arch { position: relative; aspect-ratio: 3 / 4; width: min(100%, 420px); justify-self: center; padding: 16px; border-radius: 999px 999px 22px 22px; background: var(--deep) url("assets/adire-dots.svg") center / 56px 56px; box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .55); }
.arch img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: cover; border-radius: 999px 999px 10px 10px; opacity: 0; transition: opacity .8s ease; }
.arch img.is-on, .arch--static img { opacity: 1; }
.arch--static { aspect-ratio: 4 / 5; }

/* Two venues, side by side, the second one lower on the cloth */
.pair { background: var(--deep); }
.pair h2 { margin-bottom: 36px; max-width: 14em; }
.pair__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.venue { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: start; }
.venue--low { margin-top: clamp(0px, 6vw, 80px); }
.venue__arch { display: block; aspect-ratio: 3 / 4; padding: 10px; border-radius: 999px 999px 16px 16px; background: var(--bg) url("assets/adire-lattice.svg") center / 40px 40px; }
.venue__arch img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 8px 8px; }
.venue__body { display: grid; gap: 10px; align-content: start; }
.venue h3 a { text-decoration: none; }
.venue p { color: var(--muted); margin: 0; }
.venue dl { margin: 6px 0 4px; display: grid; }
.venue dl div { padding-block: 9px; border-top: 1px solid var(--line); display: grid; gap: 1px; }
.venue dt { font-size: .82rem; color: var(--muted); font-weight: 600; }
.venue dd { margin: 0; font-weight: 600; }

/* What we host: an uneven collage */
.hosts h2 { margin-bottom: 30px; }
.hosts__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.host { position: relative; display: flex; align-items: flex-end; border-radius: var(--r); overflow: hidden; text-decoration: none; isolation: isolate; color: #fff; }
.host img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.host:hover img { transform: scale(1.05); }
.host::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 14, 60, .92), rgba(10, 14, 60, .05) 70%); }
.host span { display: grid; gap: 4px; padding: 20px; font-size: .96rem; }
.host strong { font: 600 1.15rem var(--display); letter-spacing: -0.01em; }
.host--tall { grid-column: span 2; grid-row: span 2; }
.host--wide { grid-column: span 2; }

/* Reviews on the cloth */
.said { background: var(--surface); }
.said__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.said blockquote { margin: 0; }
.said__lead p { font: 600 clamp(1.6rem, 3.4vw, 2.7rem)/1.18 var(--display); letter-spacing: -0.02em; max-width: 16em; margin-bottom: 14px; }
.said footer { color: var(--muted); font-size: .95rem; }
.said__side blockquote { padding-block: 22px; border-top: 1px solid var(--line-strong); }
.said__side blockquote p { font: 500 1.15rem/1.4 var(--display); letter-spacing: -0.01em; margin-bottom: 8px; }
.said__rating { margin-top: 20px; color: var(--muted); }
.said__rating strong { color: var(--ink); }
.said__rating a { color: var(--ink); font-weight: 600; }

/* Photo row */
.glimpse__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.glimpse__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.glimpse__row figure { margin: 0; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.glimpse__row figure:nth-child(even) { margin-top: 32px; }
.glimpse__row img { width: 100%; height: 100%; object-fit: cover; }

.band { background: var(--accent); color: var(--accent-ink); }
.band__inner { display: grid; justify-items: start; gap: 12px; }
.band p { margin: 0 0 8px; max-width: 32em; font-weight: 600; }

/* Footer */
.foot { background: var(--deep); padding-bottom: 22px; }
.foot__cloth { height: 40px; background: var(--bg) url("assets/adire-lattice.svg") repeat-x center / 40px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { font: 700 .85rem var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.foot__col { display: grid; gap: 0; align-content: start; font-size: .98rem; }
.foot__col p, .foot__brand p { margin: 0 0 6px; color: var(--muted); }
.foot__brand p { margin-top: 12px; max-width: 18em; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__base { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot__base p { margin: 0; }

.wa { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 999px; background: var(--resist); color: var(--bg); text-decoration: none; font-weight: 700; box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }

/* Inner page heads */
.head { padding-top: clamp(36px, 5vw, 72px); padding-bottom: 8px; }
.head__sub { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin-top: 16px; }

/* Venue pages */
.vhero { padding-block: clamp(32px, 5vw, 72px); }
.vhero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.vhero__lede { font-size: 1.15rem; color: var(--muted); max-width: 30em; margin-top: 16px; }
.ledger { margin: 26px 0 0; padding: 6px 22px; background: var(--deep); border-radius: var(--r); display: grid; }
.ledger div { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.ledger div:last-child { border-bottom: 0; }
.ledger dt { color: var(--muted); font-size: .9rem; font-weight: 600; padding-top: 2px; }
.ledger dd { margin: 0; }
.ledger a { min-height: 0; text-underline-offset: 3px; font-weight: 600; }
.inside { background: var(--deep); }
.inside h2 { margin-bottom: 22px; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mosaic figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.mosaic figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; border-radius: 999px 999px var(--r) var(--r); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.quotesec h2 { margin-bottom: 4px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-block: 22px 8px; }
.quotes blockquote { margin: 0; padding: 24px; background: var(--surface); border-radius: var(--r); }
.quotes blockquote p { font: 500 1.2rem/1.35 var(--display); letter-spacing: -0.01em; margin-bottom: 10px; }
.quotes footer { color: var(--muted); font-size: .92rem; }
.find { background: var(--deep); }
.find__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); }
.find h2 { margin-bottom: 18px; }
.find address { font-style: normal; margin-bottom: 14px; color: var(--muted); }
.contact { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 0; }
.contact li { display: flex; gap: 10px; align-items: center; }
.contact--big { font-size: 1.1rem; margin-top: 26px; }
.map { border-radius: var(--r); overflow: hidden; min-height: 380px; background: var(--bg); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: invert(.92) hue-rotate(185deg) saturate(.8); }

/* Gallery and RSVP */
.all .masonry { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.all .tile { margin: 0; }
.all .tile__open { aspect-ratio: 1; }
.all .tile__open img { height: 100%; object-fit: cover; }
.rsvp { padding-top: clamp(36px, 5vw, 72px); }
.rsvp__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.rsvp__card { background: var(--deep); border-radius: var(--r); padding: clamp(20px, 3vw, 36px); }
.rsvp__card .form input[type="text"], .rsvp__card .form input[type="tel"], .rsvp__card .form input[type="email"], .rsvp__card .form input[type="date"], .rsvp__card .form input[type="number"], .rsvp__card .form select, .rsvp__card .form textarea { background: var(--bg); }

@media (prefers-reduced-motion: reduce) { .monogram { animation: none; } .arch img, .host img { transition: none; } }

@media (max-width: 900px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav { position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); padding: 8px var(--gutter) 22px; display: none; border-bottom: 16px solid var(--deep); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .nav .nav__cta { margin-top: 14px; }
  .hero__grid, .vhero__grid, .pair__grid, .said__grid, .find__grid, .rsvp__grid { grid-template-columns: 1fr; }
  .hero__grid { min-height: 0; }
  .monogram { right: -22%; top: auto; bottom: 2%; height: 46%; transform: none; opacity: .38; }
  .arch { width: min(78%, 360px); }
  .venue--low { margin-top: 0; }
  .hosts__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .host--tall { grid-column: span 2; grid-row: span 1; }
  .glimpse__row { grid-template-columns: 1fr 1fr; }
  .glimpse__row figure:nth-child(even) { margin-top: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; border-radius: var(--r); }
  .all .masonry { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .venue { grid-template-columns: 1fr; } .venue__arch { max-width: 240px; } .foot__grid { grid-template-columns: 1fr; } .ledger div { grid-template-columns: 1fr; gap: 2px; } .hosts__grid { grid-template-columns: 1fr; } .host--tall, .host--wide { grid-column: auto; } }

/* 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; }
}
