/* Havilah option 1: the souvenir programme. Drenched aqua (the Yaba building's turquoise), paper tickets,
   one vermilion accent (its red trim). Archivo at expanded width for display, Hanken Grotesk for text. One daytime theme. */
@font-face { font-family: "Archivo"; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 100 900; font-display: swap; src: url("assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --aqua: #27c8cb; --bg: #e6f8f8; --surface: #ffffff; --surface-2: #cdeeef;
  --ink: #052d33; --muted: #2c585e; --line: rgba(5, 45, 51, .2); --line-strong: rgba(5, 45, 51, .55);
  --accent: #c92a14; --accent-ink: #ffffff; --danger: #b3261e;
  --display: "Archivo", system-ui, sans-serif; --body: "Hanken Grotesk", system-ui, sans-serif;
  --r: 14px; --nav-h: 66px; --max: 1180px; --gutter: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink) var(--surface-2); }
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(--ink); color: var(--aqua); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-stretch: 122%; font-weight: 800; margin: 0; letter-spacing: -0.02em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.6vw, 5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
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(--ink); color: var(--aqua); 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(44px, 6vw, 88px); }
.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; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 12px; font: 800 1rem var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background-color .2s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #a82210; }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--quiet:hover { background: var(--surface-2); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--surface-2); }
.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: 22px; }

/* Header: slim ink bar, the wordmark set wide */
.top { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #eafcfc; }
.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: 10px; text-decoration: none; }
.logo__crest { width: 40px; height: 40px; flex: none; border-radius: 9px; }
.logo__word { font: 800 1.5rem var(--display); font-stretch: 125%; letter-spacing: -0.01em; color: var(--aqua); }
.logo__sub { font-size: .8rem; letter-spacing: .04em; color: #b5e8ea; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 700; padding-block: 10px; border-bottom: 3px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--aqua); }
.menu-btn { display: none; background: none; border: 0; color: #eafcfc; width: 44px; height: 44px; cursor: pointer; }
.menu-btn .i { width: 28px; height: 28px; }

/* Cover: tagline across the page, two tickets under it */
.cover { background: var(--aqua); padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.cover h1 { max-width: 14em; }
.cover__sub { font-size: 1.15rem; color: #0a4047; max-width: 36em; margin: 18px 0 0; }
.tickets { display: grid; gap: 26px; margin-top: clamp(30px, 4vw, 52px); }
.ticket { position: relative; display: grid; grid-template-columns: 280px 1fr 200px; background: #fff; color: var(--ink); border-radius: 16px; text-decoration: none; box-shadow: 0 22px 30px -20px rgba(5, 45, 51, .65); transform: rotate(-.5deg); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.ticket--b { transform: rotate(.5deg); margin-left: clamp(0px, 5vw, 72px); }
.ticket:hover { transform: rotate(0) translateY(-4px); }
.ticket__photo { overflow: hidden; border-radius: 16px 0 0 16px; background: var(--surface-2); min-height: 220px; }
.ticket__photo img { width: 100%; height: 100%; object-fit: cover; }
.ticket__main { padding: 24px 28px; display: grid; gap: 6px; align-content: center; }
.ticket__main h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.ticket__addr { margin: 0; color: var(--muted); }
.ticket__facts { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.ticket__facts div { display: grid; }
.ticket__facts dt { font-size: .8rem; font-weight: 700; color: var(--muted); }
.ticket__facts dd { margin: 0; font-weight: 800; }
.ticket__stub { position: relative; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 20px; background: var(--accent); color: #fff; border-radius: 0 16px 16px 0; border-left: 3px dashed rgba(255, 255, 255, .7); font: 800 1.15rem var(--display); font-stretch: 110%; }
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; left: -17px; width: 30px; height: 30px; border-radius: 50%; background: var(--aqua); }
.ticket__stub::before { top: -15px; }
.ticket__stub::after { bottom: -15px; }
.ticket__stub .i { width: 1.6em; height: 1.6em; }

/* What we host: a programme list, a photo appears on the right when you point at a row */
.rows h2 { margin-bottom: 26px; }
.rowlist { list-style: none; margin: 0; padding: 0; border-bottom: 3px solid var(--ink); }
.rowlist li { border-top: 3px solid var(--ink); }
.rowlist a { position: relative; display: grid; grid-template-columns: 1.1fr 1fr 44px; gap: 24px; align-items: center; padding: 28px 8px; text-decoration: none; transition: background-color .25s; }
.rowlist a:hover, .rowlist a:focus-visible { background: var(--aqua); }
.rowlist__t { font: 800 clamp(1.4rem, 2.8vw, 2.3rem) var(--display); font-stretch: 118%; letter-spacing: -0.02em; line-height: 1.08; }
.rowlist__d { color: var(--muted); }
.rowlist__go .i { width: 1.8em; height: 1.8em; }
.rowlist img { position: absolute; right: 90px; top: 50%; width: 220px; height: 150px; object-fit: cover; border-radius: 12px; transform: translateY(-50%) rotate(3deg); opacity: 0; pointer-events: none; transition: opacity .25s; box-shadow: 0 14px 24px -14px rgba(5, 45, 51, .7); }
.rowlist a:hover img, .rowlist a:focus-visible img { opacity: 1; }

/* Reviews as slips of paper */
.slips { background: var(--surface-2); }
.slips h2 { margin-bottom: 30px; }
.slips__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); }
.slip { margin: 0; padding: clamp(22px, 3vw, 36px); background: #fff; border-radius: 6px; box-shadow: 0 18px 26px -18px rgba(5, 45, 51, .6); transform: rotate(-1.2deg); }
.slip:nth-child(2) { transform: rotate(1deg) translateY(14px); }
.slip p { font: 700 clamp(1.3rem, 2.4vw, 1.9rem)/1.25 var(--body); letter-spacing: -0.015em; margin-bottom: 14px; }
.slip footer { color: var(--muted); font-size: .92rem; }
.slips__note { margin: 36px 0 0; }
.slips__note a { font-weight: 700; }

/* Proof sheet */
.proof { padding-bottom: 0; }
.proof__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.proof__row { list-style: none; margin: 0; padding: 0 var(--gutter) 22px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--ink) var(--surface-2); }
.proof__row li { flex: none; scroll-snap-align: start; }
.proof__row img { height: clamp(220px, 26vw, 320px); width: auto; border-radius: 10px; }

.band { background: var(--accent); color: #fff; margin-top: clamp(40px, 5vw, 72px); }
.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(--ink); color: #cdeeef; padding-block: clamp(36px, 5vw, 64px) 20px; }
.foot__big span { display: block; font: 800 clamp(3rem, 12vw, 6rem) var(--display); font-stretch: 125%; letter-spacing: -0.03em; color: var(--aqua); line-height: 1; margin-bottom: clamp(24px, 4vw, 44px); }
.foot__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.foot h2 { font: 800 .85rem var(--body); letter-spacing: .06em; text-transform: uppercase; color: #8fd6d9; margin-bottom: 10px; font-stretch: 100%; }
.foot__col { display: grid; gap: 0; align-content: start; }
.foot__col p { margin: 0 0 6px; color: #b5e8ea; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__base { margin-top: 28px; padding-top: 14px; border-top: 1px solid rgba(205, 238, 239, .25); color: #b5e8ea; 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: 14px; background: var(--ink); color: var(--aqua); text-decoration: none; font-weight: 800; box-shadow: 0 10px 24px rgba(5, 45, 51, .45); }

/* Inner page band */
.vband { background: var(--aqua); padding-block: clamp(32px, 5vw, 64px); }
.vband__lede { font-size: 1.15rem; color: #0a4047; max-width: 34em; margin: 14px 0 0; }

/* Venue pages: long column plus a sticky ticket */
.vlayout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: clamp(28px, 4vw, 56px); }
.vmain section { padding-block: clamp(28px, 4vw, 52px) 0; }
.vhero { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.vhero img { width: 100%; height: 100%; object-fit: cover; }
.vmain h2 { margin-bottom: 18px; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mosaic figure { margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.mosaic figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.note { color: var(--muted); font-size: .95rem; margin-top: 16px; }
.note a { color: var(--ink); font-weight: 700; }
.quotes { display: grid; gap: 16px; }
.quotes blockquote { margin: 0; padding: 22px 24px; background: #fff; border-radius: 6px; box-shadow: 0 16px 24px -18px rgba(5, 45, 51, .6); }
.quotes blockquote p { font: 700 1.25rem/1.3 var(--body); margin-bottom: 10px; }
.quotes footer { color: var(--muted); font-size: .92rem; }
.find address { font-style: normal; color: var(--muted); margin-bottom: 14px; }
.map { border-radius: var(--r); overflow: hidden; min-height: 380px; background: var(--surface-2); border: 2px solid var(--ink); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.vticket { position: sticky; top: calc(var(--nav-h) + 20px); background: #fff; border-radius: 16px; box-shadow: 0 22px 30px -20px rgba(5, 45, 51, .65); }
.vticket__top { padding: 24px 24px 18px; }
.vticket h2 { font-size: 1.6rem; margin-bottom: 8px; }
.vticket dl { margin: 0; display: grid; }
.vticket dl div { padding-block: 10px; border-top: 1px solid var(--line); display: grid; gap: 1px; }
.vticket dt { font-size: .8rem; font-weight: 700; color: var(--muted); }
.vticket dd { margin: 0; font-weight: 600; }
.vticket a { text-underline-offset: 3px; }
.vticket__stub { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px; background: var(--accent); color: #fff; border-radius: 0 0 16px 16px; border-top: 3px dashed rgba(255, 255, 255, .7); font: 800 1.1rem var(--display); font-stretch: 110%; text-decoration: none; }
.vticket__stub::before, .vticket__stub::after { content: ""; position: absolute; top: -16px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.vticket__stub::before { left: -14px; }
.vticket__stub::after { right: -14px; }
.vticket__stub:hover { background: #a82210; }

/* Occasions */
.occ__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.occ--flip .occ__grid { grid-template-columns: .85fr 1.15fr; }
.occ--flip figure { order: 2; }
.occ figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); box-shadow: 0 22px 30px -22px rgba(5, 45, 51, .6); }
.occ img { width: 100%; height: 100%; object-fit: cover; }
.occ h2 { margin-bottom: 14px; }
.occ p { color: var(--muted); max-width: 32em; }
.pick { background: var(--surface-2); }
.pick h2 { margin-bottom: 22px; }
.pick__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pick__card { display: grid; gap: 6px; padding: 26px; background: #fff; border-radius: 16px; text-decoration: none; box-shadow: 0 18px 26px -20px rgba(5, 45, 51, .6); }
.pick__card strong { font: 800 1.7rem var(--display); font-stretch: 118%; }
.pick__card span { color: var(--muted); }
.pick__card em { font-style: normal; font-weight: 800; display: inline-flex; gap: 8px; align-items: center; margin-top: 6px; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__list details { border-top: 3px solid var(--ink); }
.faq__list details:last-child { border-bottom: 3px solid var(--ink); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 18px; cursor: pointer; list-style: none; font: 800 1.15rem var(--display); font-stretch: 110%; }
summary::-webkit-details-marker { display: none; }
details[open] summary .i { transform: rotate(45deg); }
summary .i { transition: transform .2s; }
details p { color: var(--muted); max-width: 36em; padding-bottom: 8px; }

/* Gallery: justified rows, like a proof sheet */
.all { padding-top: clamp(28px, 4vw, 52px); }
.all .masonry { columns: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.all .masonry::after { content: ""; flex-grow: 999; }
.all .tile { margin: 0; flex: 1 1 220px; }
.all .tile__open { height: auto; }
.all .tile__open img { width: 100%; height: 100%; object-fit: cover; }

/* RSVP */
.rsvp { padding-top: clamp(28px, 4vw, 56px); }
.rsvp__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.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; }
.rsvp__card { background: #fff; border-radius: 16px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 22px 30px -22px rgba(5, 45, 51, .6); }

@media (prefers-reduced-motion: reduce) { .ticket, .ticket:hover { transform: none; transition: none; } .slip, .slip:nth-child(2) { transform: none; } }

@media (max-width: 960px) {
  .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(--ink); padding: 8px var(--gutter) 22px; display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding-block: 14px; border-bottom: 1px solid rgba(205, 238, 239, .2); }
  .nav .nav__cta { margin-top: 14px; }
  .ticket { grid-template-columns: 1fr; transform: none; }
  .ticket--b { margin-left: 0; transform: none; }
  .ticket__photo { border-radius: 16px 16px 0 0; min-height: 180px; max-height: 220px; }
  .ticket__stub { border-radius: 0 0 16px 16px; border-left: 0; border-top: 3px dashed rgba(255, 255, 255, .7); grid-auto-flow: column; justify-content: space-between; padding: 18px 24px; }
  .ticket__stub::before, .ticket__stub::after { top: -16px; bottom: auto; left: auto; }
  .ticket__stub::before { left: -15px; }
  .ticket__stub::after { right: -15px; }
  .rowlist a { grid-template-columns: 1fr 44px; padding: 22px 4px; }
  .rowlist__d { grid-column: 1; }
  .rowlist__go { grid-row: 1; grid-column: 2; }
  .rowlist img { display: none; }
  .slips__row, .pick__grid, .faq__grid, .rsvp__grid, .occ__grid, .occ--flip .occ__grid { grid-template-columns: 1fr; }
  .slip, .slip:nth-child(2) { transform: none; }
  .occ--flip figure { order: 0; }
  .vlayout { grid-template-columns: 1fr; }
  .vticket { position: static; order: -1; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } .mosaic { grid-template-columns: 1fr 1fr; } .mosaic figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; } }

/* 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; }
}
