@charset "UTF-8";
/* ===========================================================================
   Caribbean Blue Morpho Casitas
   Nine casitas, nine colours, one green garden.

   The visual world is taken from the property itself: saturated painted
   walls against dense jungle, warm sand underfoot, and the iridescent blue
   of the morpho butterfly the place is named for. Light ground, because the
   guest is planning a holiday in the sun; dark passages, because the garden
   at night is half the reason people stay.
   =========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  /* Sand — the reading ground */
  --sand-50:  #FDFBF7;
  --sand-100: #F8F2E8;
  --sand-200: #F0E7D8;
  --sand-300: #E2D4BE;
  --sand-400: #CDB995;

  /* Jungle ink — text and dark surfaces */
  --ink:      #12211A;
  --ink-2:    #354A3F;
  --ink-3:    #5C7268;
  --night:    #0B1712;
  --night-2:  #132420;
  --night-3:  #1D332B;

  /* Morpho blue — the one colour that acts */
  --morpho-700: #0B3E86;
  --morpho:     #1257B8;
  --morpho-500: #1B6CE8;
  --morpho-400: #4A93F5;
  --morpho-200: #B9D7FF;
  --morpho-50:  #EDF4FF;

  /* Supporting warmth */
  --sun:    #E08A0B;
  --sun-50: #FFF6E5;
  --coral:  #C8382F;
  --leaf:   #2F7D52;
  --leaf-50:#E8F5ED;

  /* The nine casitas, in the order they run along the garden */
  --c1: #E8622A; --c2: #1B9CD8; --c3: #F2B818;
  --c4: #DE2F73; --c5: #8A6BC0; --c6: #D63B33;
  --c7: #3FB98C; --c8: #79B23E; --c9: #2E72C8;

  /* Type */
  --display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --text: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.34rem + 0.78vw, 2rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.5vw, 2.9rem);
  --step-4:  clamp(2.4rem, 1.85rem + 2.7vw, 4.1rem);
  --step-5:  clamp(3rem, 2rem + 5vw, 5.8rem);

  /* Space */
  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4rem;
  --sp-9: 6rem;   --sp-10: 8rem;

  --gutter: clamp(1.15rem, 4vw, 3.5rem);
  --measure: 66ch;
  --radius: 4px;
  --radius-lg: 8px;

  /* Depth — offset and blur, always */
  --lift-1: 0 1px 2px rgba(18,33,26,.06), 0 2px 6px rgba(18,33,26,.05);
  --lift-2: 0 2px 4px rgba(18,33,26,.06), 0 8px 20px rgba(18,33,26,.09);
  --lift-3: 0 4px 8px rgba(18,33,26,.08), 0 18px 44px rgba(18,33,26,.14);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.4, 0, .2, 1);

  color-scheme: light;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
/* `contents` makes <picture> vanish from layout, so an <img> inside one is
   sized by the real container. Without it a percentage height on the image
   has no definite parent to resolve against and silently falls back to auto,
   which is how a full-bleed hero photo ends up letterboxed. */
picture { display: contents; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }

/* ------------------------------------------- browser surfaces, themed */
::selection { background: var(--morpho-200); color: var(--ink); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--sand-100); }
::-webkit-scrollbar-thumb {
  background: var(--sand-400); border-radius: 99px;
  border: 3px solid var(--sand-100);
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }
html { scrollbar-color: var(--sand-400) var(--sand-100); scrollbar-width: thin; }

:focus-visible {
  outline: 2.5px solid var(--morpho-500);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible, .site-header--solid .nav a:focus-visible { outline-color: var(--morpho-400); }

input, textarea, select { caret-color: var(--morpho-500); }

/* ------------------------------------------------------------- typography */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: 'SOFT' 20, 'WONK' 1, 'opsz' 40;
  line-height: 1.06;
  letter-spacing: -0.022em;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.012em; line-height: 1.2; }
h4 { font-size: var(--step-0); letter-spacing: 0; line-height: 1.3; }

p { text-wrap: pretty; }
.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 46ch;
}
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.1em; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--morpho-200); }
.prose a:hover { text-decoration-color: var(--morpho-500); }

.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------------------------------------------------------------- layout */
.wrap { width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; }
.wrap--narrow { width: min(100% - var(--gutter) * 2, 860px); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section--dark { background: var(--night); color: var(--sand-100); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--sand-50); }
.section--dark .lede { color: #B9C9BF; }
.section--sand { background: var(--sand-100); }

.stack > * + * { margin-top: var(--sp-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

/* A heading and its intro, with more air above than below the heading. */
.head { max-width: 54ch; }
.head h2 + p { margin-top: var(--sp-4); }
.head + * { margin-top: clamp(2rem, 4vw, 3.25rem); }

/* --------------------------------------------------------------- the rail
   Nine bands, one per casita. The site's structural signature: it divides
   sections, underlines the header, and on the casitas page it is the key
   to which colour is which. */
.rail { display: flex; height: 5px; width: 100%; }
.rail span { flex: 1; }
.rail span:nth-child(1) { background: var(--c1); }
.rail span:nth-child(2) { background: var(--c2); }
.rail span:nth-child(3) { background: var(--c3); }
.rail span:nth-child(4) { background: var(--c4); }
.rail span:nth-child(5) { background: var(--c5); }
.rail span:nth-child(6) { background: var(--c6); }
.rail span:nth-child(7) { background: var(--c7); }
.rail span:nth-child(8) { background: var(--c8); }
.rail span:nth-child(9) { background: var(--c9); }
.rail--tall { height: 9px; }

/* ---------------------------------------------------------------- icons */
.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.22em;
}
.icon--brand { fill: currentColor; stroke: none; }
.icon--lg { width: 1.6em; height: 1.6em; }

/* -------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--morpho);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.5em;
  background: var(--btn-bg); color: var(--btn-fg);
  border-radius: 999px;
  font-weight: 600; font-size: var(--step--1);
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: var(--lift-1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .2s;
}
.btn:hover { background: var(--morpho-700); transform: translateY(-1px); box-shadow: var(--lift-2); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--sand-300); color: var(--ink-3);
  cursor: not-allowed; box-shadow: none; transform: none;
}
.btn--lg { padding: 1em 1.9em; font-size: var(--step-0); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--sand-300); }
.btn--ghost:hover { --btn-bg: var(--sand-100); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn--wa { --btn-bg: #1FA855; }
.btn--wa:hover { background: #17853F; }
.btn--onDark { --btn-bg: var(--sand-50); --btn-fg: var(--ink); }
.btn--onDark:hover { background: #fff; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; font-size: var(--step--1);
  text-decoration: none;
  color: var(--morpho);
  padding-bottom: 2px;
  box-shadow: inset 0 -1px 0 var(--morpho-200);
  transition: box-shadow .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { box-shadow: inset 0 -1px 0 var(--morpho); gap: .75em; }
.section--dark .link-arrow { color: var(--morpho-400); box-shadow: inset 0 -1px 0 rgba(74,147,245,.4); }
.section--dark .link-arrow:hover { box-shadow: inset 0 -1px 0 var(--morpho-400); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  transition: background-color .4s var(--ease-io), box-shadow .4s var(--ease-io);
}
/* Over a photograph the sky can be almost white, so the header carries its
   own scrim rather than relying on the hero's. It fades out once the solid
   header takes over. */
.site-header[data-overlay="true"]::before {
  content: ''; position: absolute; inset: 0 0 -3rem; z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(7, 16, 11, .78) 0%, rgba(7, 16, 11, .52) 42%, rgba(7, 16, 11, 0) 100%);
  transition: opacity .4s var(--ease-io);
}
.site-header--solid::before { opacity: 0; }
.site-header__bar {
  display: flex; align-items: center; gap: var(--sp-5);
  padding-block: .85rem;
}
.site-header--solid { background: rgba(253,251,247,.92); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--sand-200), var(--lift-1); }
.site-header--solid .rail { opacity: 1; }
.site-header .rail { height: 3px; opacity: .001; transition: opacity .4s; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 2.35rem; height: 2.35rem; flex: none; }
.brand__name {
  font-family: var(--display); font-size: 1.02rem; font-weight: 600;
  font-variation-settings: 'SOFT' 30, 'WONK' 1, 'opsz' 14;
  line-height: 1.05; letter-spacing: -.015em;
  color: var(--ink);
}
.brand__name span { display: block; font-family: var(--text); font-size: .62rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-3); margin-top: .18rem; }

/* Header sits over the hero photo until scrolled */
.site-header:not(.site-header--solid) .brand__name { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.site-header:not(.site-header--solid) .brand__name span { color: rgba(255,255,255,.82); }
.site-header:not(.site-header--solid) .nav > a,
.site-header:not(.site-header--solid) .lang button,
.site-header:not(.site-header--solid) .nav-toggle { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.site-header:not(.site-header--solid) .lang { border-color: rgba(255,255,255,.4); }

.nav { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.4rem); }
.nav > a {
  text-decoration: none; font-size: var(--step--1); font-weight: 500;
  padding: .4rem .1rem; position: relative;
  transition: color .2s;
}
.nav > a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .05rem; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav > a:hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav > a[aria-current="page"] { font-weight: 700; }

.lang {
  display: inline-flex; border: 1.5px solid var(--sand-300); border-radius: 999px;
  overflow: hidden; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
}
.lang button { padding: .3rem .62rem; transition: background-color .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--sand-50); text-shadow: none; }

.nav-toggle { display: none; padding: .4rem; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(22rem, 84vw);
    background: var(--sand-50); flex-direction: column; align-items: stretch;
    justify-content: center; gap: .4rem; padding: var(--sp-7) var(--sp-6);
    transform: translateX(101%); transition: transform .5s var(--ease);
    box-shadow: var(--lift-3);
  }
  .nav[data-open="true"] { transform: none; }
  .site-header:not(.site-header--solid) .nav > a { color: var(--ink); text-shadow: none; }
  .nav > a { font-size: var(--step-1); font-family: var(--display); padding: .5rem 0; }
  .nav > a::after { display: none; }
  .nav .btn { margin-top: var(--sp-4); font-family: var(--text); font-size: var(--step-0); padding-block: .95em; }
}

.nav-scrim {
  position: fixed; inset: 0; z-index: 55; background: rgba(11,23,18,.5);
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.nav-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

.skip {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -140%);
  background: var(--ink); color: var(--sand-50); padding: .7rem 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius); z-index: 200; font-size: var(--step--1);
  transition: transform .25s var(--ease);
}
.skip:focus { transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: min(92svh, 60rem); display: grid; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(11,23,18,.62) 0%, rgba(11,23,18,.18) 32%, rgba(11,23,18,.1) 52%, rgba(11,23,18,.78) 100%),
    linear-gradient(to right, rgba(11,23,18,.42), transparent 62%);
}
.hero__inner {
  align-self: end;
  padding-block: clamp(7rem, 14vh, 10rem) clamp(2rem, 5vh, 3.5rem);
  color: #fff;
}
.hero h1 {
  color: #fff;
  font-size: var(--step-5);
  font-variation-settings: 'SOFT' 34, 'WONK' 1, 'opsz' 120;
  max-width: 15ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.32);
}
.hero__sub {
  margin-top: var(--sp-5); max-width: 40ch;
  font-size: var(--step-1); line-height: 1.45; color: rgba(255,255,255,.93);
  text-shadow: 0 1px 18px rgba(0,0,0,.42);
}
.hero__meta {
  margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6);
  font-size: var(--step--1); color: rgba(255,255,255,.9);
}
.hero__meta span { display: inline-flex; align-items: center; gap: .5em; }

/* --------------------------------------------------------- search dock */
.searchbar {
  background: var(--sand-50);
  border-radius: var(--radius-lg);
  box-shadow: var(--lift-3);
  overflow: hidden;
}
.hero .searchbar { margin-top: clamp(2rem, 5vh, 3rem); }
.searchbar__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr auto;
  align-items: stretch;
}
.searchbar__field {
  display: flex; flex-direction: column; gap: .15rem;
  padding: .9rem 1.15rem;
  border-right: 1px solid var(--sand-200);
  position: relative;
  text-align: left;
  transition: background-color .2s;
}
.searchbar__field:hover { background: var(--sand-100); }
.searchbar__field > label, .searchbar__label {
  font-size: .66rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3);
}
.searchbar__value {
  font-size: var(--step-0); font-weight: 500; color: var(--ink);
  display: flex; align-items: center; gap: .45em; min-height: 1.6em;
}
.searchbar__value[data-empty="true"] { color: var(--ink-3); font-weight: 400; }
.searchbar__go { display: grid; place-items: center; padding: .55rem; }
.searchbar__go .btn { height: 100%; padding-inline: 1.7rem; }

@media (max-width: 820px) {
  .searchbar__grid { grid-template-columns: 1fr 1fr; }
  .searchbar__field:nth-child(2) { border-right: 0; }
  .searchbar__field:nth-child(3) { grid-column: 1 / -1; border-right: 0; border-top: 1px solid var(--sand-200); }
  .searchbar__go { grid-column: 1 / -1; padding: .75rem; border-top: 1px solid var(--sand-200); }
  .searchbar__go .btn { width: 100%; padding-block: .9em; }
}

/* --------------------------------------------------------------- pledge */
.pledge {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
  align-items: center; justify-content: center;
  padding: var(--sp-4) 0;
  font-size: var(--step--1); color: var(--ink-2);
}
.pledge > span { display: inline-flex; align-items: center; gap: .5em; }
.pledge .icon { color: var(--leaf); }

/* ------------------------------------------------------------ intro slab */
.intro { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .intro { grid-template-columns: 1.05fr .95fr; align-items: start; } }
.intro__figure { position: relative; }
.intro__figure img { border-radius: var(--radius-lg); box-shadow: var(--lift-2); width: 100%; }
.intro__stamp {
  position: absolute; right: clamp(-1rem, -1vw, 0rem); bottom: -1.6rem;
  background: var(--sand-50); border-radius: var(--radius-lg);
  padding: 1rem 1.25rem; box-shadow: var(--lift-2);
  display: flex; align-items: center; gap: .9rem;
}
.intro__score {
  font-family: var(--display); font-size: 1.9rem; font-weight: 600; line-height: 1;
  font-variation-settings: 'opsz' 30; color: var(--morpho);
}
.intro__stamp p { font-size: var(--step--1); line-height: 1.3; color: var(--ink-2); }
.intro__stamp strong { display: block; color: var(--ink); }

/* -------------------------------------------------------------- casitas */
.types { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 780px) { .types { grid-template-columns: repeat(3, 1fr); } }

.type {
  display: flex; flex-direction: column;
  background: var(--sand-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--lift-1);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.type:hover { transform: translateY(-4px); box-shadow: var(--lift-3); }
.type__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-200); }
.type__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.type:hover .type__media img { transform: scale(1.045); }
.type__count {
  position: absolute; left: .85rem; top: .85rem;
  background: rgba(11,23,18,.72); backdrop-filter: blur(6px);
  color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px;
}
.type__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; gap: .7rem; }
.type__facts {
  display: flex; flex-wrap: wrap; gap: .4rem 1rem;
  font-size: var(--step--1); color: var(--ink-2);
}
.type__facts span { display: inline-flex; align-items: center; gap: .4em; }
.type__blurb { font-size: var(--step--1); color: var(--ink-2); line-height: 1.55; }
.type__foot {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--sand-200);
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.type__price { font-size: var(--step--1); color: var(--ink-2); }
.type__price b {
  font-family: var(--display); font-size: var(--step-1); font-weight: 600;
  font-variation-settings: 'opsz' 20; color: var(--ink);
}

/* --------------------------------------------------------- colour choice */
.colours { display: flex; flex-wrap: wrap; gap: .5rem; }
.colour-chip {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.09), var(--lift-1);
  position: relative;
}
.colour-chip::after {
  content: attr(data-name);
  position: absolute; left: 50%; bottom: calc(100% + .45rem); transform: translateX(-50%);
  background: var(--ink); color: var(--sand-50);
  font-size: .68rem; letter-spacing: .04em; padding: .25rem .5rem; border-radius: var(--radius);
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.colour-chip:hover::after { opacity: 1; }

/* ------------------------------------------------------------- amenities */
.amenities {
  display: grid; gap: .1rem 2rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}
.amenities li {
  display: flex; align-items: center; gap: .8rem;
  padding: .72rem 0; list-style: none;
  border-bottom: 1px solid rgba(255,255,255,.09);
  font-size: var(--step--1);
}
.section--sand .amenities li, .section:not(.section--dark) .amenities li { border-bottom-color: var(--sand-200); }
.amenities .icon { color: var(--morpho-400); width: 1.4em; height: 1.4em; }
.section:not(.section--dark) .amenities .icon { color: var(--morpho); }

/* ------------------------------------------------------------- editorial
   Alternating photo-and-text bands. Not cards; full-bleed pairs. */
.band { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) {
  .band { grid-template-columns: 1fr 1fr; }
  .band--flip .band__media { order: 2; }
}
.band__media { position: relative; }
.band__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--lift-2); }
.band__media figcaption {
  margin-top: .7rem; font-size: .78rem; color: var(--ink-3);
}
.section--dark .band__media figcaption { color: #8FA69A; }
.band__text > * + * { margin-top: var(--sp-4); }

/* Two stacked photos, offset — for the night band */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.duo img { border-radius: var(--radius-lg); box-shadow: var(--lift-2); width: 100%; }
.duo > :first-child { margin-top: clamp(1.5rem, 4vw, 3rem); }

/* --------------------------------------------------------------- reviews */
.reviews-head { display: flex; flex-wrap: wrap; gap: var(--sp-5) var(--sp-8); align-items: center; }
.score-badge {
  display: flex; align-items: center; gap: 1rem;
}
.score-badge__n {
  font-family: var(--display); font-size: 3.2rem; font-weight: 600; line-height: .9;
  font-variation-settings: 'opsz' 60; color: var(--sand-50);
}
.score-badge__t { font-size: var(--step--1); color: #B9C9BF; }
.score-badge__t strong { display: block; color: var(--sand-50); font-size: var(--step-0); }

.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .9rem 1.6rem; flex: 1; min-width: min(100%, 22rem); }
.cat { font-size: .78rem; color: #B9C9BF; }
.cat__row { display: flex; justify-content: space-between; margin-bottom: .3rem; }
.cat__bar { height: 3px; background: rgba(255,255,255,.14); border-radius: 99px; overflow: hidden; }
.cat__bar i { display: block; height: 100%; background: var(--morpho-400); border-radius: 99px; transform-origin: left; }

.quotes {
  display: grid; gap: var(--sp-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}
.quote {
  background: rgba(255,255,255,.045);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}
.quote blockquote { font-size: var(--step--1); line-height: 1.6; color: #DCE7E0; }
.quote figcaption { margin-top: .9rem; font-size: .76rem; color: #8FA69A; }
.quote figcaption b { color: var(--sand-100); font-weight: 600; }

/* --------------------------------------------------------------- gallery */
.gal-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .5rem 1rem; border-radius: 999px; font-size: var(--step--1); font-weight: 600;
  box-shadow: inset 0 0 0 1.5px var(--sand-300); color: var(--ink-2);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.chip:hover { background: var(--sand-100); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--sand-50); box-shadow: none; }

.grid-photos {
  columns: 3 18rem;
  column-gap: var(--sp-4);
}
.grid-photos figure {
  break-inside: avoid; margin-bottom: var(--sp-4);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--lift-1);
  background: var(--sand-200);
  cursor: zoom-in;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.grid-photos figure:hover { transform: translateY(-3px); box-shadow: var(--lift-2); }
.grid-photos img { width: 100%; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(8,16,12,.94);
  display: grid; grid-template-rows: auto 1fr auto; gap: 1rem;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease-io);
}
.lightbox[data-open="true"] { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; color: #fff; }
.lightbox__cap { text-align: center; color: #C3D2C9; font-size: var(--step--1); min-height: 1.5em; }
.lightbox button { color: #fff; padding: .6rem; border-radius: 50%; transition: background-color .2s; }
.lightbox button:hover { background: rgba(255,255,255,.12); }
.lightbox__nav { display: flex; gap: .5rem; }

/* --------------------------------------------------------------- booking */
.booking-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
@media (min-width: 1000px) { .booking-grid { grid-template-columns: minmax(0,1.55fr) minmax(20rem,.95fr); } }

.panel {
  background: var(--sand-50); border-radius: var(--radius-lg);
  box-shadow: var(--lift-1); padding: clamp(1.25rem, 3vw, 2rem);
}
.panel + .panel { margin-top: var(--sp-5); }
.panel__title { font-size: var(--step-1); margin-bottom: var(--sp-5); }

.summary { position: sticky; top: 6rem; }
.summary__line { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step--1); padding: .45rem 0; }
.summary__line span:last-child { font-variant-numeric: tabular-nums; }
.summary__line--muted { color: var(--ink-2); }
.summary__total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin-top: .6rem; padding-top: .9rem; border-top: 1.5px solid var(--sand-200);
}
.summary__total b { font-family: var(--display); font-size: var(--step-2); font-variation-settings: 'opsz' 30; font-weight: 600; }
.summary__note { margin-top: .9rem; font-size: .76rem; color: var(--ink-3); line-height: 1.45; }

/* Calendar */
.cal { user-select: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.cal__head h3 { font-size: var(--step-0); font-family: var(--text); font-weight: 700; letter-spacing: .01em; }
.cal__nav { display: flex; gap: .25rem; }
.cal__nav button { padding: .45rem; border-radius: 50%; color: var(--ink-2); transition: background-color .2s, color .2s; }
.cal__nav button:hover:not([disabled]) { background: var(--sand-100); color: var(--ink); }
.cal__nav button[disabled] { opacity: .3; cursor: not-allowed; }
.cal__months { display: grid; gap: var(--sp-6); }
@media (min-width: 720px) { .cal__months { grid-template-columns: 1fr 1fr; } }
.cal__dow, .cal__days { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__dow { margin-bottom: .35rem; }
.cal__dow span {
  text-align: center; font-size: .66rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3); padding-bottom: .3rem;
}
.cal__days button {
  aspect-ratio: 1; display: grid; place-items: center;
  font-size: var(--step--1); font-variant-numeric: tabular-nums;
  border-radius: 6px; position: relative;
  transition: background-color .15s, color .15s;
}
.cal__days button:hover:not([disabled]) { background: var(--morpho-50); }
.cal__days button[disabled] { color: var(--sand-400); cursor: not-allowed; text-decoration: line-through; text-decoration-thickness: 1px; }
.cal__days button[data-state~="in"] { background: var(--morpho-50); border-radius: 0; }
.cal__days button[data-state~="start"], .cal__days button[data-state~="end"] {
  background: var(--morpho); color: #fff; font-weight: 700;
}
.cal__days button[data-state~="start"] { border-radius: 6px 0 0 6px; }
.cal__days button[data-state~="end"] { border-radius: 0 6px 6px 0; }
.cal__days button[data-state~="start"][data-state~="end"] { border-radius: 6px; }
.cal__days button[data-today]::after {
  content: ''; position: absolute; bottom: 15%; width: 3px; height: 3px; border-radius: 50%;
  background: currentColor;
}
.cal__days .pad { visibility: hidden; }

.cal__legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: var(--sp-5); font-size: .74rem; color: var(--ink-3); }
.cal__legend span { display: inline-flex; align-items: center; gap: .45em; }
.cal__legend i { width: .8rem; height: .8rem; border-radius: 3px; display: inline-block; }

/* Stepper */
.stepper { display: flex; align-items: center; gap: .5rem; }
.stepper button {
  width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--sand-300); color: var(--ink-2);
  transition: box-shadow .2s, background-color .2s, color .2s;
}
.stepper button:hover:not([disabled]) { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.stepper button[disabled] { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 1.6rem; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }

.guest-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; }
.guest-row + .guest-row { border-top: 1px solid var(--sand-200); }
.guest-row p { font-size: .76rem; color: var(--ink-3); }

/* Availability results */
.offer {
  display: grid; gap: 1.1rem; align-items: center;
  grid-template-columns: 8.5rem 1fr auto;
  padding: 1rem; border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1.5px var(--sand-200);
  transition: box-shadow .25s, background-color .25s;
}
.offer + .offer { margin-top: var(--sp-4); }
.offer:hover { box-shadow: inset 0 0 0 1.5px var(--sand-400); }
.offer[data-selected="true"] { box-shadow: inset 0 0 0 2px var(--morpho); background: var(--morpho-50); }
.offer[data-soldout="true"] { opacity: .55; }
.offer img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.offer h3 { font-size: var(--step-0); }
.offer__facts { font-size: .78rem; color: var(--ink-2); margin-top: .3rem; }
.offer__left { font-size: .74rem; color: var(--coral); font-weight: 600; margin-top: .35rem; }
.offer__price { text-align: right; }
.offer__price b { font-family: var(--display); font-size: var(--step-1); font-variation-settings: 'opsz' 20; font-weight: 600; display: block; }
.offer__price span { font-size: .72rem; color: var(--ink-3); }
@media (max-width: 620px) {
  .offer { grid-template-columns: 5.5rem 1fr; }
  .offer__price { grid-column: 2; text-align: left; }
  .offer .btn { grid-column: 1 / -1; }
}

/* Forms */
.field { display: flex; flex-direction: column; gap: .35rem; }
.field > label { font-size: var(--step--1); font-weight: 600; }
.field .req { color: var(--coral); }
.field input, .field textarea, .field select {
  padding: .72rem .9rem; border-radius: var(--radius);
  background: #fff; border: 1.5px solid var(--sand-300);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--sand-400); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--morpho); box-shadow: 0 0 0 3px var(--morpho-50);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 1; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--coral); }
.field__err { font-size: .76rem; color: var(--coral); display: none; }
.field input[aria-invalid="true"] ~ .field__err,
.field textarea[aria-invalid="true"] ~ .field__err { display: block; }
.field__hint { font-size: .76rem; color: var(--ink-3); }
.form-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 620px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }

.check { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--step--1); }
.check input { width: 1.1rem; height: 1.1rem; margin-top: .25rem; accent-color: var(--morpho); flex: none; }

/* Notices */
.notice {
  display: flex; gap: .8rem; padding: .95rem 1.1rem; border-radius: var(--radius-lg);
  font-size: var(--step--1); line-height: 1.5;
  background: var(--morpho-50); color: var(--morpho-700);
}
.notice .icon { flex: none; margin-top: .15em; }
.notice--warn { background: var(--sun-50); color: #7A4A05; }
.notice--ok { background: var(--leaf-50); color: #17553A; }
.notice--err { background: #FDECEA; color: #8C241D; }

/* Steps */
.steps { display: flex; gap: .35rem; margin-bottom: var(--sp-6); flex-wrap: wrap; }
.step-pip {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  padding: .4rem .85rem; border-radius: 999px; color: var(--ink-3);
  background: var(--sand-100);
}
.step-pip[data-state="current"] { background: var(--ink); color: var(--sand-50); }
.step-pip[data-state="done"] { background: var(--leaf-50); color: #17553A; }
.step-pip i { width: 1.1rem; height: 1.1rem; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.08); font-style: normal; font-size: .68rem; }
.step-pip[data-state="current"] i { background: rgba(255,255,255,.2); }

/* Loading */
.spinner {
  width: 1.1em; height: 1.1em; border-radius: 50%; flex: none;
  border: 2px solid currentColor; border-top-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.skel {
  background: linear-gradient(90deg, var(--sand-200) 25%, var(--sand-100) 37%, var(--sand-200) 63%);
  background-size: 400% 100%; animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius);
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .spinner, .skel { animation-duration: 0s; } .skel { background: var(--sand-200); } }

.empty { text-align: center; padding: var(--sp-8) var(--sp-4); color: var(--ink-2); }
.empty .icon { color: var(--sand-400); width: 3rem; height: 3rem; margin: 0 auto var(--sp-4); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--night); color: #B9C9BF; padding-block: var(--sp-8) var(--sp-6); }
.site-footer h4 { color: var(--sand-50); font-family: var(--text); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.footer-grid { display: grid; gap: var(--sp-7); grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--sand-50); }
.site-footer ul { list-style: none; display: grid; gap: .55rem; font-size: var(--step--1); }
.site-footer__brand p { font-size: var(--step--1); max-width: 32ch; margin-top: var(--sp-4); }
.socials { display: flex; gap: .5rem; margin-top: var(--sp-5); }
.socials a {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18);
  transition: background-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.socials a:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.colophon {
  margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); justify-content: space-between;
  font-size: .76rem; color: #7E948A;
}

/* -------------------------------------------------------- floating chat */
.wa-fab {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 50;
  display: inline-flex; align-items: center; gap: .6rem;
  background: #1FA855; color: #fff;
  padding: .8rem 1.15rem; border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,.16), 0 14px 36px rgba(31,168,85,.34);
  text-decoration: none; font-weight: 600; font-size: var(--step--1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.wa-fab:hover { transform: translateY(-2px) scale(1.02); }
.wa-fab span { display: none; }
@media (min-width: 640px) { .wa-fab span { display: inline; } }

/* ------------------------------------------------------------------ FAQ */
.faq { border-top: 1px solid var(--sand-200); }
.faq details { border-bottom: 1px solid var(--sand-200); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; cursor: pointer; font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--ink-3); transition: transform .35s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq__a { padding-bottom: 1.25rem; color: var(--ink-2); font-size: var(--step--1); max-width: var(--measure); }
.faq__a > * + * { margin-top: .75em; }

/* ------------------------------------------------------- short page head */
.hero--short { min-height: min(62svh, 36rem); }
.hero--short h1 { font-size: var(--step-4); max-width: 18ch; }
.hero--short .hero__inner { padding-block: clamp(6rem, 12vh, 8rem) clamp(2.5rem, 6vh, 4rem); }

/* -------------------------------------------------------- search popover */
.searchbar { position: relative; }
.searchbar__pop {
  border-top: 1px solid var(--sand-200);
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--sand-50);
  max-height: min(70svh, 34rem); overflow-y: auto;
}
.searchbar__pop[data-panel="dates"] { padding-bottom: 1.25rem; }
.hero .searchbar__pop { text-align: left; color: var(--ink); }
@media (min-width: 821px) {
  .searchbar__pop { position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--lift-3); }
}

/* ------------------------------------------------------------- tiles
   Used once, for the six things to do around Playa Negra. Photo-led, so
   the picture is the card and the text sits under it. */
.tiles { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
@media (min-width: 680px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile > div:first-child { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--lift-2); }
.tile__body { padding-top: 1.1rem; }
.tile__body h3 { color: var(--sand-50); }
.tile__dist {
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--morpho-400); margin: .35rem 0 .6rem;
}
.tile__body p:last-child { font-size: var(--step--1); color: #B9C9BF; line-height: 1.55; }
.section:not(.section--dark) .tile__body h3 { color: var(--ink); }
.section:not(.section--dark) .tile__dist { color: var(--morpho); }
.section:not(.section--dark) .tile__body p:last-child { color: var(--ink-2); }

/* --------------------------------------------------------- fact lists */
.facts { display: grid; gap: 1.15rem; }
.facts > div { display: grid; gap: .25rem; }
.facts dt { font-weight: 700; font-size: var(--step--1); }
.facts dd { margin: 0; font-size: var(--step--1); color: var(--ink-2); line-height: 1.55; max-width: 52ch; }
.section--dark .facts dd { color: #B9C9BF; }
.facts--compact { gap: .8rem; }
.facts--compact > div {
  grid-template-columns: 9rem 1fr; gap: 1rem; align-items: baseline;
  padding-bottom: .8rem; border-bottom: 1px solid var(--sand-200);
}
.facts--compact > div:last-child { border-bottom: 0; padding-bottom: 0; }

/* ------------------------------------------------------------ contact */
.contact-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-list { list-style: none; display: grid; gap: .35rem; }
.contact-list a {
  display: flex; align-items: center; gap: .9rem; padding: .8rem .9rem;
  margin-inline: -.9rem; border-radius: var(--radius-lg); text-decoration: none;
  transition: background-color .2s;
}
.contact-list a:hover { background: var(--sand-100); }
.contact-list .icon { color: var(--morpho); }
.contact-list b { display: block; font-size: var(--step-0); word-break: break-word; }
.contact-list em { font-style: normal; font-size: .76rem; color: var(--ink-3); }
.contact-address { font-style: normal; font-size: var(--step--1); line-height: 1.65; color: var(--ink-2); }
.map-embed {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--sand-200);
  aspect-ratio: 4 / 3; box-shadow: var(--lift-1);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* -------------------------------------------------------------- rules */
.rules { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.rule { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.rule > .icon { color: var(--morpho); margin-top: .15em; }
.rule h2 { font-size: var(--step-1); margin-bottom: .5rem; }
.rule p { font-size: var(--step--1); color: var(--ink-2); line-height: 1.6; max-width: var(--measure); }

/* ------------------------------------------------------------- utilities */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hidden, [hidden] { display: none !important; }
.center { text-align: center; }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mt-8 { margin-top: var(--sp-8); }

/* ------------------------------------------------------------- the moment
   One authored entrance: the hero settles, the nine colours draw across,
   and everything below rises once as it is reached. */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes railDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.reveal { animation: riseIn .9s var(--ease) both; animation-timeline: view(); animation-range: entry 0% cover 26%; }

.hero h1, .hero__sub, .hero__meta, .hero .searchbar {
  animation: riseIn 1.1s var(--ease) both;
}
.hero__sub { animation-delay: .12s; }
.hero__meta { animation-delay: .2s; }
.hero .searchbar { animation-delay: .3s; }
.hero .rail span { transform-origin: left; animation: railDraw .7s var(--ease) both; }
.hero .rail span:nth-child(1) { animation-delay: .45s; }
.hero .rail span:nth-child(2) { animation-delay: .5s; }
.hero .rail span:nth-child(3) { animation-delay: .55s; }
.hero .rail span:nth-child(4) { animation-delay: .6s; }
.hero .rail span:nth-child(5) { animation-delay: .65s; }
.hero .rail span:nth-child(6) { animation-delay: .7s; }
.hero .rail span:nth-child(7) { animation-delay: .75s; }
.hero .rail span:nth-child(8) { animation-delay: .8s; }
.hero .rail span:nth-child(9) { animation-delay: .85s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important; animation-delay: 0s !important;
    transition-duration: .001s !important;
  }
}

/* --------------------------------------------------------------- print */
@media print {
  .site-header, .site-footer, .wa-fab, .nav, .searchbar__go, .lightbox { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 1rem; }
}

/* Scroll lock held by the drawer and the lightbox (see CBMlock in app.js). */
html.is-locked, html.is-locked body { overflow: hidden; }
