@import url("fonts.css");

/* ============================================================
   Plumbing only. Nothing here is a design decision — no colour,
   no typeface, no layout. Each site writes its own visual system
   on top; this file only carries the things that must be right
   on every site and are invisible when they are.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* A sideways-scrollable page drags position:fixed elements out of view on
     phones. Clip rather than scroll. (clip, not hidden: hidden would make html
     a scroll container and break scroll-padding and sticky.) */
  overflow-x: clip;
}

body { margin: 0; }
/* Lock scrolling on the ROOT, not on body. html already has overflow-x:clip,
   so overflow:hidden on body turns body into its own scroll container — a
   position:sticky header then sticks to body and is thrown off-screen (with
   its close button) when the menu opens after scrolling. site.js puts
   .is-locked on <html> directly; a :has() selector was tried first and its
   style invalidation visibly lagged behind the menu opening. */
html.is-locked { overflow: hidden; }
/* [hidden] must win. A rule like `.gallery-more { display:flex }` outranks the
   browser's own `[hidden] { display:none }`, which left an empty "Show 0 more"
   button on screen whenever a gallery had nothing further to reveal. */
[hidden] { display: none !important; }

img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
/* A <button> inherits the user agent's grey `buttonface` unless something says
   otherwise. An outline/ghost button that sets only border-color and color then
   renders as light-grey with (often white) text on it — invisible. Reset here;
   any variant that wants a fill sets one and wins on specificity. */
button { background: transparent; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reveal-on-scroll. The JS failsafe shows everything if the observer
   never runs, so content can never be stranded invisible. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease, ease), transform .7s var(--ease, ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media print {
  .site-header, .lightbox, .skip-link, .gallery-more, .filters, .map-consent, .callbar { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
}

/* ============================================================
   Anemoni Beach Hotel — "tide line"
   ------------------------------------------------------------
   "Just a step to the sea." The page is walked like the beach:
   white header, warm sand, then foam, then deep sea at the foot,
   each band joined by a soft wave. Turquoise is the old site's own
   brand colour and bougainvillea the flower on the façade.

   Measured rules: the logo is black type, so the header is white
   (rendered on four grounds). Turquoise never carries text on a
   light ground (2.2:1) — it is a fill with ink text (6.2:1). Links
   use a darker sea (#07656f). Sun gold appears only on deep sea.
   GFS Didot is display-only at large sizes; Ubuntu Sans for text.
   ============================================================ */

:root {
  --white:  #ffffff;
  --sand:   #fbf6ee;
  --foam:   #eaf6f7;
  --deep:   #0b3c49;
  --deep-2: #0f4a59;

  --ink:    #0f2a33;
  --muted:  #4f6770;
  --sea:    #07656f;
  --turq:   #10b8c7;
  --bougain:#b5175e;
  --sun:    #e8a33d;
  --spray:  #cfe9ec;
  --line:   #dbe7e8;

  --wrap: 1200px;
  --r: 18px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 22px 44px -28px rgba(11,60,73,.45);
}

body { background: var(--sand); color: var(--ink); font: 400 clamp(1rem, .96rem + .2vw, 1.1rem)/1.72 "Ubuntu Sans", "Segoe UI", Helvetica, Arial, sans-serif; }
h1, h2, .display { font-family: "GFS Didot", Didot, "Bodoni 72", Georgia, serif; font-weight: 400; line-height: 1.1; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 1.5rem + 3.8vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); }
h3 { font-family: "Ubuntu Sans", sans-serif; font-weight: 600; font-size: clamp(1.12rem, 1rem + .4vw, 1.3rem); line-height: 1.3; }

a { color: var(--sea); text-underline-offset: .2em; }
a:hover { color: var(--bougain); }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -70px; z-index: 300; background: var(--deep); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sea); margin-bottom: .8rem; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--turq); border-radius: 2px; }
.kicker--light { color: var(--spray); }

/* ---------- Header ------------------------------------------------------ */
/* No backdrop-filter here: it makes the header the containing block for the
   position:fixed mobile menu, which then collapses to the header's height. */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 8px 26px -20px rgba(11,60,73,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand img { width: clamp(190px, 22vw, 260px); height: auto; }
.nav { display: flex; align-items: center; gap: .2rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; padding: .5rem .75rem; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--foam); color: var(--sea); }
.nav a[aria-current] { color: var(--sea); box-shadow: inset 0 -2px 0 var(--turq); border-radius: 0; }
.nav .lang { margin-left: .4rem; border: 1px solid var(--line); font-size: .86rem; }
.nav-toggle { display: none; }
@media (max-width: 1060px) {
  .nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .3s var(--ease), background .2s; }
  .nav-toggle span::before { position: absolute; top: -6px; }
  .nav-toggle span::after { position: absolute; top: 6px; }
  .site-header.is-open .nav-toggle span { background: transparent; }
  .site-header.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .site-header.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: fixed; inset: 84px 0 0; flex-direction: column; justify-content: flex-start; padding: 2rem 1.25rem; gap: .3rem; background: var(--white); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; overflow-y: auto; }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 1.15rem; width: min(100%, 22rem); text-align: center; padding: .85rem 1rem; }
  .nav a[aria-current] { box-shadow: none; background: var(--foam); border-radius: 999px; }
  .nav .lang { margin: .5rem 0 0; }
}

/* ---------- Waves ------------------------------------------------------- */
.wave { display: block; width: 100%; height: clamp(36px, 6vw, 80px); }
.wave path { fill: currentColor; }
.wave--sand { color: var(--sand); }
.wave--foam { color: var(--foam); }
.wave--deep { color: var(--deep); }
.wave--white { color: var(--white); }
.band-foam { background: var(--foam); }
.band-white { background: var(--white); }
.band-deep { background: var(--deep); color: var(--spray); }

/* ---------- Hero -------------------------------------------------------- */
.hero { position: relative; min-height: min(86vh, 820px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--deep); }
.hero > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
/* The hotel is white and the sky bright: text needs its own dark side. A
   left-to-right shade under the copy plus a darker foot, measured against the
   brightest part of the photo. */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,40,49,.86) 0%, rgba(8,40,49,.72) 38%, rgba(8,40,49,.2) 68%, rgba(8,40,49,0) 85%), linear-gradient(180deg, rgba(8,40,49,0) 55%, rgba(8,40,49,.6) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 0 0 clamp(6rem, 12vw, 9.5rem); }
.hero h1 { max-width: 15ch; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero p { max-width: 50ch; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: #f2fbfc; margin-top: 1rem; }
.hero .kicker { color: #fff; }
.hero .wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ---------- Buttons ----------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; font: 600 1rem/1 "Ubuntu Sans", sans-serif; padding: 1rem 1.45rem; border-radius: 999px; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--turq { background: var(--turq); color: var(--ink); }
.btn--turq:hover { background: #fff; color: var(--ink); }
.btn--pink { background: var(--bougain); color: #fff; }
.btn--pink:hover { background: var(--ink); color: #fff; }
.btn--line { border-color: currentColor; color: #fff; background: transparent; }
.btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sea { border-color: var(--sea); color: var(--sea); background: transparent; }
.btn--sea:hover { background: var(--sea); color: #fff; }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------------------------------------------------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { max-width: 44rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); }
.band-deep .section-head p, .band-deep p { color: var(--spray); }
.band-deep h2, .band-deep h3 { color: #fff; }
.lede { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); line-height: 1.6; color: var(--ink); }

/* The tide strip: facts that matter to a beach guest, big. */
.tide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); margin-top: clamp(-3.5rem, -6vw, -2rem); position: relative; z-index: 2; }
@media (max-width: 820px) { .tide { grid-template-columns: 1fr 1fr; } }
.tide div { background: var(--white); padding: clamp(1.1rem, 2.5vw, 1.6rem); }
.tide b { display: block; font-family: "GFS Didot", serif; font-weight: 400; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1; color: var(--sea); }
.tide span { color: var(--muted); font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.split--flip > :first-child { order: 2; }
@media (max-width: 760px) { .hero::before, .page-head::before { background: linear-gradient(180deg, rgba(8,40,49,.35) 0%, rgba(8,40,49,.78) 45%, rgba(8,40,49,.9) 100%); } }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }
.photo { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo--tall img { aspect-ratio: 4 / 5; }
.photo-pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; align-items: end; }
.photo-pair .photo:last-child { transform: translateY(2.5rem); }
@media (max-width: 880px) { .photo-pair .photo:last-child { transform: none; } }

/* Cards linking to the inner pages */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.9rem, 2vw, 1.4rem); }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-5px); color: var(--ink); box-shadow: 0 30px 50px -28px rgba(11,60,73,.55); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card div { padding: 1.1rem 1.2rem 1.3rem; }
.card p { color: var(--muted); font-size: .95rem; margin: .35rem 0 0; }
.card .go { margin-top: auto; padding: 0 1.2rem 1.2rem; color: var(--sea); font-weight: 600; font-size: .95rem; }

/* Amenities */
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: .8rem; list-style: none; }
.amenities li { display: flex; align-items: center; gap: .85rem; background: var(--white); border-radius: 14px; padding: .95rem 1.05rem; font-weight: 500; box-shadow: 0 10px 24px -22px rgba(11,60,73,.6); }
.amenities svg { flex: none; width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: var(--turq); fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Timeline of the bar's day */
.day { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); counter-reset: d; }
@media (max-width: 820px) { .day { grid-template-columns: 1fr; } }
.day article { background: var(--deep-2); border-radius: var(--r); padding: clamp(1.3rem, 3vw, 1.9rem); border-top: 4px solid var(--turq); }
.day article:nth-child(2) { border-top-color: var(--sun); }
.day article:nth-child(3) { border-top-color: var(--bougain); }
.day .when { font-family: "GFS Didot", serif; font-size: 1.9rem; color: var(--sun); line-height: 1; display: block; margin-bottom: .5rem; }
.hours-pill { display: inline-flex; gap: .6rem; align-items: center; background: var(--turq); color: var(--ink); font-weight: 600; padding: .7rem 1.2rem; border-radius: 999px; margin-top: 1.6rem; }

/* Directions */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); }
@media (max-width: 880px) { .routes { grid-template-columns: 1fr; } }
.routes article { background: var(--white); border-radius: var(--r); padding: clamp(1.3rem, 3vw, 1.8rem); box-shadow: var(--shadow); }
.routes svg { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--foam); fill: none; stroke: var(--sea); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .9rem; }
.routes p { color: var(--muted); margin: .5rem 0 0; }

.map-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 300px; border-radius: var(--r); overflow: hidden; background: var(--foam); box-shadow: var(--shadow); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { position: absolute; inset: 0; display: grid; place-content: center; gap: .9rem; text-align: center; padding: 1.5rem; }
.map-consent > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.map-consent > *:not(img) { position: relative; }
.map-consent p { color: var(--ink); max-width: 36ch; margin: 0 auto; font-weight: 500; }

/* ---------- Page head --------------------------------------------------- */
.page-head { position: relative; min-height: clamp(300px, 46vh, 460px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--deep); }
.page-head > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,40,49,.85) 0%, rgba(8,40,49,.65) 45%, rgba(8,40,49,.15) 80%), linear-gradient(180deg, rgba(8,40,49,.1), rgba(8,40,49,.55)); }
.page-head .wrap { position: relative; z-index: 2; padding-bottom: clamp(3.5rem, 8vw, 5.5rem); }
.page-head p { color: #eefafb; max-width: 52ch; margin-top: .6rem; }
.page-head .wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; }
.crumbs { font-size: .9rem; margin-bottom: .6rem; color: #eefafb; }
.crumbs a { color: #fff; }

/* ---------- Gallery ----------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.6rem, 1.4vw, 1rem); }
.tile { position: relative; display: block; padding: 0; border: 0; cursor: pointer; border-radius: 14px; overflow: hidden; background: var(--line); grid-column: span 4; aspect-ratio: 4 / 3; }
.tile:nth-child(5n+1) { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.tile.is-tall { aspect-ratio: auto; grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr 1fr; } .tile, .tile:nth-child(5n+1) { grid-column: span 1; grid-row: auto; aspect-ratio: 1; } .tile:nth-child(3n+1) { grid-column: span 2; aspect-ratio: 16/10; } }
.tile.is-entering { animation: fade-up .5s var(--ease) backwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }
.gallery-more { display: flex; justify-content: center; margin-top: 1.6rem; }

/* ---------- Contact ----------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.2rem, 3vw, 2rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.lines { list-style: none; display: grid; gap: .8rem; }
.lines li > a, .lines li > span { display: flex; align-items: center; gap: 1rem; background: var(--white); border-radius: var(--r); padding: 1.05rem 1.2rem; text-decoration: none; color: var(--ink); box-shadow: 0 12px 30px -26px rgba(11,60,73,.7); }
.lines li > a:hover { color: var(--sea); }
.lines svg { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--turq); fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lines b { display: block; font-size: 1.12rem; font-weight: 600; }
.lines small { display: block; color: var(--muted); font-size: .88rem; }
.lines li.mail { position: relative; }
.lines li.mail > svg { position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); z-index: 1; pointer-events: none; }
.lines li.mail > a, .lines li.mail > span { padding-left: 4.35rem; font-weight: 600; font-size: 1.08rem; min-height: 4.6rem; }
.note-card { background: var(--deep); color: var(--spray); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2rem); }
.note-card h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); }
.note-card p { color: var(--spray); }
.note-card .season { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 600; border-radius: 999px; padding: .45rem .95rem; margin-top: .4rem; }

/* ---------- Footer ------------------------------------------------------ */
.site-footer { background: var(--deep); color: var(--spray); padding: clamp(2.5rem, 6vw, 3.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: .92rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .7rem; }
.site-footer ul { list-style: none; display: grid; gap: .3rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sun); }
.footer-brand { background: #fff; border-radius: 12px; padding: .8rem 1rem; display: inline-block; }
.footer-brand img { width: 220px; }
.colophon { margin-top: 1.4rem; font-size: .88rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ---------- Lightbox ---------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 400; display: none; background: rgba(7,34,42,.96); opacity: 0; transition: opacity .26s; padding: clamp(1rem, 4vw, 3rem); }
.lightbox.is-open { display: grid; grid-template-rows: 1fr auto; }
.lightbox.is-visible { opacity: 1; }
.lb-stage { display: grid; place-items: center; min-height: 0; }
.lb-figure { margin: 0; display: grid; place-items: center; gap: .8rem; max-height: 100%; }
.lb-img { max-width: 100%; max-height: 78vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; transition: opacity .2s; }
.lb-img.is-loading { opacity: .3; }
.lb-caption { color: var(--spray); text-align: center; max-width: 60ch; }
.lb-counter { margin: .6rem 0 0; text-align: center; color: var(--turq); font-weight: 600; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.lb-btn:hover:not(:disabled) { background: var(--turq); color: var(--ink); }
.lb-btn:disabled { opacity: .3; cursor: default; }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.lb-prev { left: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lb-close { right: clamp(.5rem, 2vw, 1.5rem); top: clamp(.5rem, 2vw, 1.5rem); }
/* Spacing after a wave divider (no inline styles: the CSP refuses them). */
.section--after-wave { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.section--flush-top { padding-top: 0; }
