/* ==========================================================================
   Tenestay — shared stylesheet
   Sections: 1 tokens · 2 base · 3 loader · 4 nav island · 5 booking bar
             6 hero · 7 home sections · 8 map · 9 landing pages
             10 gallery + lightbox · 11 accordion · 12 footer · 13 utilities
   ========================================================================== */

/* 1 — Tokens ------------------------------------------------------------- */
:root {
  --navy: #0b1f33;
  --navy-deep: #071624;
  --volcanic: #121212;
  --sand: #e8dcc8;
  --sun: #ab4a2b;          /* the logo's terracotta — the brand's primary mark */
  --sun-light: #c9603c;
  --gold: #f4b942;         /* kept for warm light only: glows, gradients, hero wash */
  --gold-soft: #ffd37a;
  --foam: #f7f5f1;
  --lagoon: #2a9d8f;
  --lagoon-deep: #1d7e74;

  --ink: var(--navy);
  --ink-soft: rgba(11, 31, 51, 0.68);
  --paper: var(--foam);
  --line: rgba(11, 31, 51, 0.16);
  --line-strong: rgba(11, 31, 51, 0.34);

  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --ui: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* Type scale — 1.25 minor third, fluid */
  --t-hero: clamp(2.9rem, 9.5vw, 7.4rem);
  --t-1: clamp(2.1rem, 5.2vw, 3.9rem);
  --t-2: clamp(1.55rem, 3.1vw, 2.35rem);
  --t-3: clamp(1.17rem, 1.9vw, 1.45rem);
  --t-body: clamp(1rem, 1.05vw, 1.09rem);
  --t-small: 0.875rem;
  --t-micro: 0.76rem;

  --gut: clamp(1.25rem, 5vw, 4.5rem);
  --band: clamp(4.5rem, 11vw, 9.5rem);
  --measure: 62ch;
  --radius: 14px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.22, 0.74, 0.28, 1);
  --slow: 0.9s var(--ease);
}

/* 2 — Base --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  font-size: var(--t-body);
  line-height: 1.62;
  font-synthesis-weight: none;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
  animation: loader-unlock 0.01s linear 2.5s forwards;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0;
  font-variation-settings: "SOFT" 28, "WONK" 1, "opsz" 36;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--gold); }

img, video, svg { max-width: 100%; display: block; }

button, input, select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--sun-light);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--sun); color: var(--foam); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: var(--foam);
  padding: 0.75rem 1.1rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

/* Fine paper grain — the whole site sits on it, like printed travel stock */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

/* 3 — Sun loader --------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 55%, #1d3d52 100%);
  animation: loader-failsafe 2.5s linear forwards;
}

.loader__stack {
  display: grid;
  gap: clamp(1rem, 3vw, 1.7rem);
  justify-items: center;
  width: min(68vw, 380px);
}
.loader__mark,
.loader__word { display: block; height: auto; overflow: visible; }
.loader__mark { width: 100%; }
.loader__word { width: 88%; margin: 0 auto; }
.loader__sun,
.loader__ray,
.loader__wave,
.loader__letter {
  transform-box: fill-box;
  transform-origin: center;
}
.loader__sun { animation: loader-sun 0.55s var(--ease) both; }
.loader__ray { animation: loader-ray 0.5s var(--ease) both; }
.loader__rays .loader__ray:nth-child(1) { animation-delay: 0.16s; }
.loader__rays .loader__ray:nth-child(2) { animation-delay: 0.24s; }
.loader__rays .loader__ray:nth-child(3) { animation-delay: 0.28s; }
.loader__rays .loader__ray:nth-child(4) { animation-delay: 0.34s; }
.loader__rays .loader__ray:nth-child(5) { animation-delay: 0.4s; }
.loader__wave { animation: loader-wave 0.55s var(--ease) 0.38s both; }
.loader__letter { animation: loader-letter 0.34s var(--ease) both; }
.loader__letter:nth-child(1) { animation-delay: 0.42s; }
.loader__letter:nth-child(2) { animation-delay: 0.48s; }
.loader__letter:nth-child(3) { animation-delay: 0.54s; }
.loader__letter:nth-child(4) { animation-delay: 0.60s; }
.loader__letter:nth-child(5) { animation-delay: 0.66s; }
.loader__letter:nth-child(6) { animation-delay: 0.72s; }
.loader__letter:nth-child(7) { animation-delay: 0.78s; }
.loader__letter:nth-child(8) { animation-delay: 0.84s; }
@keyframes loader-sun {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes loader-ray {
  from { opacity: 0; transform: scale(0.15) rotate(-12deg); }
  to { opacity: 1; transform: none; }
}
@keyframes loader-wave {
  from { opacity: 0; transform: translateY(14px) scaleX(0.86); }
  to { opacity: 1; transform: none; }
}
@keyframes loader-letter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.loader.is-done {
  animation: none;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}

@keyframes sun-rise {
  from { transform: translateY(38px) scale(0.9); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes horizon-draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes loader-failsafe {
  0% { opacity: 1; visibility: visible; pointer-events: auto; }
  80% { opacity: 1; visibility: visible; pointer-events: none; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
@keyframes loader-unlock { to { overflow: visible; } }

/* 4 — Header. Transparent over the hero; a bar and shadow once it sticks. */
.sitehead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 84;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.65rem, 1.8vw, 1.15rem) var(--gut);
  pointer-events: none;
  background: transparent;
  box-shadow: 0 0 0 rgba(7, 22, 36, 0);
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.sitehead.is-stuck {
  background: rgba(7, 22, 36, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 16px 40px -14px rgba(7, 22, 36, 0.62);
}
body.admin-bar .sitehead { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .sitehead { top: 46px; }
}

.mark {
  display: block;
  width: clamp(104px, 11vw, 150px);
  line-height: 0;
  pointer-events: auto;
}
.mark img { display: block; width: 100%; height: auto; }
/* Sun and wordmark are separate pieces so each can read the background it is
   actually sitting on — the lockup can straddle a section edge without either
   half going invisible. Proportions match the master artwork. */
.mark__part { display: block; position: relative; margin: 0 auto; }
.mark__part--sun { width: 62.7%; }
.mark__part--word { width: 95.1%; margin-top: 11%; }
.mark__img { width: 100%; height: auto; }
.mark__img--dark { filter: drop-shadow(0 0 9px rgba(247, 245, 241, 0.9)); }
.mark__img--light { display: none; filter: drop-shadow(0 3px 14px rgba(7, 22, 36, 0.7)); }
.mark__part.is-dark .mark__img--dark { display: none; }
.mark__part.is-dark .mark__img--light { display: block; }

/* Apartment symbols — one per home, same line language as the logo */
.symbol {
  width: 44px;
  height: 44px;
  flex: none;
}
.symbol--lg { width: 62px; height: 62px; }
.symbol--onDark { filter: none; }
.aptcard__symbol {
  position: absolute;
  top: 1.05rem;
  right: 1.15rem;
  z-index: 2;
  width: 46px;
  height: 46px;
  padding: 0.35rem;
  border-radius: 50%;
  background: rgba(247, 245, 241, 0.92);
  box-shadow: 0 8px 26px -12px rgba(7, 22, 36, 0.8);
}
.titleline { display: flex; align-items: center; gap: 0.28em; flex-wrap: wrap; }
.titleline .symbol--lg {
  width: 1.4em;
  height: 1.4em;
  margin-top: 0;
  font-size: var(--t-hero);
}
.island {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  pointer-events: auto;
}

.island__btn {
  border: 0;
  background: transparent;
  color: var(--foam);
  padding: 0;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  transition: color 0.35s var(--ease);
}
.island__btn:hover { color: var(--sun-light); }
.island__menu {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.burger,
.burger::before,
.burger::after {
  display: block;
  width: 30px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger::before { top: -9px; }
.burger::after { top: 9px; }
.island__book {
  font-size: 1.35rem;
  text-decoration: none;
  line-height: 1;
}
.island__social {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--foam);
  text-decoration: none;
}
.island__social svg { display: block; width: 30px; height: 30px; }
@media (max-width: 720px) {
  .island { gap: 0.35rem; }
  .island__book { font-size: 1.15rem; }
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(7, 22, 36, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.drawer[data-open="true"] { opacity: 1; visibility: visible; }
.drawer__inner {
  width: min(92vw, 640px);
  color: var(--foam);
  text-align: left;
}
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list li { border-top: 1px solid rgba(247, 245, 241, 0.18); }
.drawer__list li:last-child { border-bottom: 1px solid rgba(247, 245, 241, 0.18); }
.drawer__list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 0.2rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4.4vw, 2.3rem);
  text-decoration: none;
  transition: padding-left 0.35s var(--ease), color 0.35s var(--ease);
}
.drawer__list a:hover { padding-left: 1rem; color: var(--sun-light); }
.drawer__list em {
  font-family: var(--ui);
  font-style: normal;
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  opacity: 0.65;
}
.drawer__close {
  background: none;
  border: 1px solid rgba(247, 245, 241, 0.4);
  color: var(--foam);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.6rem;
  cursor: pointer;
  font-size: var(--t-small);
}
@media (max-width: 720px) {
  .drawer__list a {
    font-size: 1.05rem;
    gap: 0.55rem;
    white-space: nowrap;
  }
  .drawer__list em {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }
}

/* Sun-arc scroll progress, right edge */
.sunarc {
  position: fixed;
  right: max(0.35rem, 1vw);
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  width: 46px;
  height: 58vh;
  pointer-events: none;
}
.sunarc__track { stroke: var(--line); stroke-width: 1; fill: none; }
.sunarc__live { stroke: var(--sun); stroke-width: 1.6; fill: none; stroke-linecap: round; }
.sunarc__dot { fill: var(--sun); }
.on-dark .sunarc__track { stroke: rgba(247, 245, 241, 0.25); }

@media (max-width: 680px) {
  /* On a phone the arc would cross the text column — the scrollbar is enough */
  .sunarc { display: none; }
}

/* Sun-flare cursor (desktop, pointer:fine only) */
.flare {
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 70;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(244, 185, 66, 0.22), rgba(244, 185, 66, 0) 62%);
  transition: opacity 0.5s var(--ease);
}

/* 5 — Booking bar -------------------------------------------------------- */
.booking {
  --bk-ink: var(--navy);
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(11, 31, 51, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px -28px rgba(11, 31, 51, 0.55);
  padding: 0.7rem;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr;
}

.booking__field {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius);
  background: rgba(232, 220, 200, 0.42);
  position: relative;
}
.booking__field > label {
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.booking__field input,
.booking__field button.booking__guests,
.booking__date {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 1rem;
  color: var(--bk-ink);
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.booking__dateinput {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cal {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  z-index: 70;
  width: min(340px, 88vw);
  padding: 1.05rem 1rem 0.9rem;
  background: var(--foam);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 60px -26px rgba(11, 31, 51, 0.55);
  display: none;
}
.cal[data-open="true"] { display: block; }
.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.cal__month {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.cal__nav {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.cal__nav:hover { color: var(--sun); }
.cal__nav:disabled { color: rgba(11, 31, 51, 0.28); cursor: default; }
.cal__week,
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.cal__week {
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}
.cal__cell { display: grid; place-items: center; min-height: 2.45rem; }
.cal__cell.is-range { background: rgba(232, 220, 200, 0.85); }
.cal__cell.is-start { border-radius: 999px 0 0 999px; }
.cal__cell.is-end { border-radius: 0 999px 999px 0; }
.cal__cell.is-start.is-end { border-radius: 999px; background: transparent; }
.cal__day {
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font: inherit;
  cursor: pointer;
}
.cal__day:hover:not(:disabled) { background: var(--sand); }
.cal__day:disabled { color: rgba(11, 31, 51, 0.28); cursor: default; }
.cal__day.is-today { box-shadow: inset 0 0 0 1px var(--line-strong); }
.cal__day.is-on,
.cal__day.is-on:hover { background: var(--sun); color: var(--foam); }
.booking__cta {
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--foam);
  padding: 1.05rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.booking__cta:hover { background: var(--sun); color: var(--foam); }
.booking__note {
  grid-column: 1 / -1;
  font-size: var(--t-micro);
  color: var(--ink-soft);
  padding: 0 0.5rem 0.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.booking.is-noticed {
  z-index: 64;
  animation: booking-notice 2.6s var(--ease) both;
}
@keyframes booking-notice {
  0% { transform: scale(1); box-shadow: 0 20px 60px -28px rgba(11, 31, 51, 0.55); }
  16% { transform: scale(1.045); box-shadow: 0 28px 70px -18px rgba(171, 74, 43, 0.38); }
  74% { transform: scale(1.045); box-shadow: 0 28px 70px -18px rgba(171, 74, 43, 0.38); }
  100% { transform: scale(1); box-shadow: 0 20px 60px -28px rgba(11, 31, 51, 0.55); }
}
.booking__note strong { font-weight: 600; color: var(--ink); }
.booking__nights.is-short { color: var(--sun); font-weight: 600; }

.staytoggle { display: flex; gap: 0.4rem; margin-bottom: 0.9rem; flex-wrap: wrap; }
.staytoggle .chip { border-color: rgba(247, 245, 241, 0.38); color: var(--foam); }
.staytoggle .chip[aria-pressed="true"] { background: var(--foam); color: var(--navy); border-color: var(--foam); }
@media (max-width: 720px) {
  .staytoggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
  }
  .staytoggle .chip {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.5rem 0.4rem;
    font-size: 0.72rem;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    background: rgba(11, 31, 51, 0.35);
  }
  .staytoggle .chip[aria-pressed="true"] { background: var(--foam); }
}

.bookwrap {
  margin: clamp(-4.5rem, -6vw, -3rem) var(--gut) clamp(3rem, 8vw, 4.5rem);
  position: relative;
  z-index: 62;
}

.guests {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 60;
  width: min(280px, 82vw);
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -24px rgba(11, 31, 51, 0.5);
  padding: 0.8rem;
  display: none;
}
.guests[data-open="true"] { display: block; }
.guests__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.1rem;
}
.guests__row + .guests__row { border-top: 1px solid var(--line); }
.guests__ctrl { display: flex; align-items: center; gap: 0.7rem; }
.guests__ctrl button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  line-height: 1;
}
.guests__ctrl button:hover { background: var(--sun); color: var(--foam); border-color: var(--sun); }
.guests small { display: block; font-size: var(--t-micro); color: var(--ink-soft); }

.booking--sticky {
  position: sticky;
  top: clamp(0.6rem, 1.6vw, 1.2rem);
  z-index: 60;
  margin: calc(var(--band) * -0.42) var(--gut) 0;
}

@media (min-width: 760px) {
  .booking { grid-template-columns: 1fr 1fr 1fr auto; align-items: stretch; }
  .booking__note { order: 9; }
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 140%);
  z-index: 120;
  background: var(--navy);
  color: var(--foam);
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-size: var(--t-small);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  transition: transform 0.55s var(--ease);
  max-width: 90vw;
  text-align: center;
}
.toast[data-show="true"] { transform: translate(-50%, 0); }

/* 6 — Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--foam);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: -8% 0 -8%;
  z-index: -2;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cross-fading hero sequence with a slow drift — three frames, seven seconds each */
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity, transform;
  animation: hero-cycle 21s linear infinite;
}
.hero__slide:nth-child(2) { animation-delay: 7s; }
.hero__slide:nth-child(3) { animation-delay: 14s; }

@keyframes hero-cycle {
  0%   { opacity: 0; transform: scale(1.04) translate3d(0, 0, 0); }
  4%   { opacity: 1; }
  29%  { opacity: 1; }
  34%  { opacity: 0; }
  100% { opacity: 0; transform: scale(1.13) translate3d(-1.2%, -1%, 0); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 70% at 72% 34%, rgba(244, 185, 66, 0.2), transparent 58%),
    linear-gradient(96deg, rgba(7, 22, 36, 0.82) 0%, rgba(7, 22, 36, 0.46) 42%, rgba(7, 22, 36, 0.08) 72%),
    linear-gradient(180deg, rgba(7, 22, 36, 0.5) 0%, rgba(7, 22, 36, 0.1) 32%, rgba(7, 22, 36, 0.92) 100%);
}
.hero__inner {
  padding: var(--gut) var(--gut) clamp(7.5rem, 15vw, 11rem);
  width: 100%;
}
.hero__title {
  font-size: var(--t-hero);
  max-width: 14ch;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 120;
}
.hero__line {
  max-width: 34ch;
  margin-top: 1.1rem;
  color: rgba(247, 245, 241, 0.86);
  font-size: var(--t-3);
}
.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  text-decoration: none;
  font-size: var(--t-small);
  border: 1px solid rgba(247, 245, 241, 0.5);
  color: var(--foam);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.pill:hover { background: var(--foam); color: var(--navy); }
.pill--sun { background: var(--sun); border-color: var(--sun); color: var(--foam); font-weight: 600; }
.pill--sun:hover { background: var(--foam); color: var(--navy); border-color: var(--foam); }
.pill--teal { background: var(--lagoon); border-color: var(--lagoon); color: var(--foam); font-weight: 600; }
.pill--teal:hover { background: var(--lagoon-deep); border-color: var(--lagoon-deep); }
.pill--ink { border-color: var(--line-strong); color: var(--ink); }
.pill--ink:hover { background: var(--navy); color: var(--foam); border-color: var(--navy); }

.hero__scroll {
  position: absolute;
  right: var(--gut);
  bottom: clamp(2.5rem, 7vw, 5rem);
  font-size: var(--t-micro);
  letter-spacing: 0.2em;
  color: rgba(247, 245, 241, 0.7);
  writing-mode: vertical-rl;
}

/* 7 — Home sections ------------------------------------------------------ */
.band { padding: var(--band) var(--gut); }
.band--tight { padding-block: calc(var(--band) * 0.6); }
.band--dark { background: var(--navy); color: var(--foam); }
.band--sand { background: var(--sand); }

.lede { max-width: 46ch; font-size: var(--t-3); }
.h-1 { font-size: var(--t-1); max-width: 18ch; }
.h-2 { font-size: var(--t-2); max-width: 22ch; }

/* Horizon rule — the recurring motif: a thin sea line with a sun on it */
.horizon {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}
.horizon::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.horizon i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sun);
  flex: none;
}
.band--dark .horizon,
.mapsec .horizon,
.coast .horizon { color: rgba(247, 245, 241, 0.62); }
.band--dark .horizon::after,
.mapsec .horizon::after,
.coast .horizon::after { background: linear-gradient(90deg, rgba(247, 245, 241, 0.45), transparent); }

.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: var(--t-small);
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.chip[aria-pressed="true"] { background: var(--sun); color: var(--foam); border-color: var(--sun); }
.band--dark .chip,
.mapsec .chip,
.coast .chip { border-color: rgba(247, 245, 241, 0.34); color: var(--foam); }
.band--dark .chip[aria-pressed="true"],
.mapsec .chip[aria-pressed="true"],
.coast .chip[aria-pressed="true"] { background: var(--sun-light); color: var(--foam); border-color: var(--sun-light); }
.chip--static { cursor: default; }

/* Place chips floating over the coast chapter */
.coast {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-content: center;
  overflow: hidden;
  color: var(--foam);
  background: var(--navy);
}
.coast__bg { position: absolute; inset: -10% 0; z-index: 0; }
.coast__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(7, 22, 36, 0.72) 0%, rgba(7, 22, 36, 0.28) 55%, rgba(7, 22, 36, 0.45) 100%),
    linear-gradient(180deg, rgba(7, 22, 36, 0.25), rgba(7, 22, 36, 0.55));
}
.coast__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.coast__inner { position: relative; z-index: 1; padding: var(--band) var(--gut); }
.h-1.coast__line { max-width: 18em; }
.coast__places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.2rem;
}
.place {
  border: 1px solid rgba(247, 245, 241, 0.35);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: var(--t-small);
  background: rgba(11, 31, 51, 0.35);
  backdrop-filter: blur(8px);
}
a.place { text-decoration: none; color: inherit; }
a.place:hover { border-color: var(--foam); }
.place b { font-weight: 600; }
.place span { opacity: 0.66; font-size: var(--t-micro); margin-left: 0.4rem; }

/* Apartment ribbon — horizontal constellation */
.ribbon { background: var(--foam); }
.ribbon__pin { position: relative; }
.ribbon__head { padding: var(--band) var(--gut) 0; }
.ribbon__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: clamp(2rem, 5vw, 3.5rem) var(--gut) var(--band);
  scrollbar-width: thin;
}
.ribbon__track {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  width: max-content;
  align-items: stretch;
}

.aptcard {
  scroll-snap-align: center;
  position: relative;
  width: min(80vw, 420px);
  min-height: clamp(460px, 62vh, 620px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--foam);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--navy);
  transition: width 0.7s var(--ease), transform 0.7s var(--ease);
}
.aptcard img:not(.symbol) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease);
}
.aptcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 36, 0.05) 30%, rgba(7, 22, 36, 0.85) 100%);
}
.aptcard:hover img:not(.symbol), .aptcard:focus-visible img:not(.symbol) { transform: scale(1.1); }
.aptcard.is-open { width: min(92vw, 640px); }
.aptcard__body { position: relative; z-index: 2; padding: clamp(1.2rem, 3vw, 2rem); }
.aptcard__name {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.05;
}
.aptcard__meta {
  display: block;
  margin-top: 0.6rem;
  font-size: var(--t-small);
  color: rgba(247, 245, 241, 0.8);
}
.aptcard__more {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.7s var(--ease), opacity 0.5s var(--ease), margin 0.7s var(--ease);
  font-size: var(--t-small);
  color: rgba(247, 245, 241, 0.85);
}
.aptcard.is-open .aptcard__more { max-height: 190px; opacity: 1; margin-top: 0.9rem; }

.badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 2;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  background: var(--sun);
  color: var(--foam);
  font-weight: 600;
}
.badge--long { background: var(--lagoon); color: var(--foam); }
.badge--inline { position: static; display: inline-block; }

/* 8 — Map ---------------------------------------------------------------- */
.mapsec { background: var(--navy); color: var(--foam); padding-bottom: var(--band); }
.mapsec__head { padding: var(--band) var(--gut) clamp(1.2rem, 3vw, 2rem); }
.mapfilters { padding: 0 var(--gut) 1.1rem; }
.mapshell {
  position: relative;
  margin: 0 var(--gut);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(247, 245, 241, 0.18);
  background: #0e2740;
}
.mapshell--mini { margin-inline: 0; }
.mapcanvas { height: clamp(380px, 62vh, 640px); width: 100%; }
.mapcanvas--mini { height: clamp(300px, 46vh, 440px); }

.mapstate {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  gap: 0.6rem;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(160deg, #0e2740, #071624);
  color: rgba(247, 245, 241, 0.9);
}
.mapstate[hidden] { display: none; }
.mapstate__sun {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin: 0 auto;
  background: var(--sun-light);
  animation: pulse 1.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(0.82); opacity: 0.55; }
  50% { transform: scale(1); opacity: 1; }
}
.mapstate p { max-width: 42ch; font-size: var(--t-small); color: rgba(247, 245, 241, 0.72); }

/* Leaflet overrides — keep the map in the brand, not default blue */
.leaflet-container { background: #0e2740; font-family: var(--ui); }
.leaflet-tile-pane { filter: saturate(0.85) contrast(1.05); }
/* If the dark canvas is unavailable and OSM steps in, mute it to match */
.leaflet-container[data-tiles="osm"] .leaflet-tile-pane { filter: saturate(0.45) contrast(0.92) brightness(1.02); }
.leaflet-control-attribution {
  background: rgba(11, 31, 51, 0.72) !important;
  color: rgba(247, 245, 241, 0.75) !important;
  font-size: 10px !important;
}
.leaflet-control-attribution a { color: var(--sun-light) !important; }
.leaflet-control-zoom a {
  background: rgba(11, 31, 51, 0.82) !important;
  color: var(--foam) !important;
  border-color: rgba(247, 245, 241, 0.2) !important;
}
.leaflet-popup-content-wrapper {
  background: rgba(11, 31, 51, 0.78);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(247, 245, 241, 0.28);
  border-radius: var(--radius);
  color: var(--foam);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7);
}
.leaflet-popup-content { margin: 0.95rem 1.05rem; line-height: 1.5; }
.leaflet-popup-tip { background: rgba(11, 31, 51, 0.78); }
.leaflet-popup-close-button { color: var(--foam) !important; }

.pop__name { font-family: var(--display); font-size: 1.22rem; display: block; }
.pop__meta { font-size: var(--t-micro); color: rgba(247, 245, 241, 0.72); display: block; margin: 0.25rem 0 0.7rem; }
.pop__link {
  display: inline-block;
  background: var(--sun);
  color: var(--foam);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: var(--t-micro);
  text-decoration: none;
  font-weight: 600;
}

.tmark { border-radius: 50%; cursor: pointer; }
.tmark--sun {
  background: var(--sun);
  box-shadow: 0 0 0 5px rgba(171, 73, 42, 0.28), 0 0 24px rgba(171, 73, 42, 0.55);
  transition: box-shadow 0.4s var(--ease);
}
.tmark--sun:hover { box-shadow: 0 0 0 9px rgba(171, 73, 42, 0.24), 0 0 30px rgba(171, 73, 42, 0.75); }
.tmark--long {
  background: var(--lagoon);
  box-shadow: 0 0 0 5px rgba(42, 157, 143, 0.28), 0 0 24px rgba(42, 157, 143, 0.55);
}
.tmark--long:hover { box-shadow: 0 0 0 9px rgba(42, 157, 143, 0.25), 0 0 30px rgba(42, 157, 143, 0.75); }
.tmark--poi {
  background: var(--sand);
  border: 1px solid rgba(11, 31, 51, 0.55);
  box-shadow: 0 0 0 3px rgba(232, 220, 200, 0.16);
}

/* Named pins, airport marks and drive-time chips — the journey map */
.pinwrap { width: 0 !important; height: 0 !important; overflow: visible; }

.pin {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transform: translate(-7px, -50%);
}
.pin--left { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%); }
.pin--up { transform: translate(-7px, calc(-50% - 17px)); }
.pin--left.pin--up { transform: translate(calc(-100% + 7px), calc(-50% - 17px)); }
.pin--down { transform: translate(-7px, calc(-50% + 17px)); }
.pin--left.pin--down { transform: translate(calc(-100% + 7px), calc(-50% + 17px)); }

.pin__mark {
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: 50%;
  background: var(--sun-light);
  box-shadow: 0 0 0 4px rgba(201, 96, 60, 0.25), 0 0 18px rgba(201, 96, 60, 0.7);
}
.pin--long .pin__mark { background: var(--lagoon); box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.28), 0 0 18px rgba(42, 157, 143, 0.6); }

.pin__name {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: #f7f5f1;
  text-shadow: 0 2px 10px rgba(7, 22, 36, 0.95), 0 0 22px rgba(7, 22, 36, 0.8);
}
.pin--air .pin__glyph,
.pin--place .pin__glyph {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  color: var(--navy);
  background: var(--sand);
  box-shadow: 0 0 16px rgba(232, 220, 200, 0.45);
}
.pin--place { transform: translate(-11px, -50%); gap: 6px; }
.pin--place.pin--left { transform: translate(calc(-100% + 11px), -50%); }
.pin--place .pin__name { font-size: 0.78rem; letter-spacing: 0.03em; }
.pin--place.pin--golf .pin__glyph { background: var(--lagoon); color: var(--foam); }
.pin--place.pin--beaches .pin__glyph { background: var(--sun-light); color: var(--navy); }
.pin--place.pin--airports .pin__glyph { background: var(--sand); color: var(--navy); }
.pin__name--air { font-size: 0.85rem; color: var(--sand); display: flex; align-items: baseline; gap: 6px; }
.pin__note {
  font-family: var(--ui);
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.trip {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(7, 22, 36, 0.8);
  border: 1px solid rgba(247, 245, 241, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--foam);
  font-size: 0.72rem;
  line-height: 1;
}
.trip b { font-weight: 600; }
.trip i { font-style: normal; opacity: 0.6; }

/* Corner furniture on the big map */
.maplegend {
  position: absolute;
  left: 1rem;
  bottom: 1.9rem;
  z-index: 1000;
  display: grid;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: rgba(7, 22, 36, 0.78);
  border: 1px solid rgba(247, 245, 241, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(247, 245, 241, 0.86);
  font-size: var(--t-micro);
  pointer-events: none;
}
.maplegend span { display: flex; align-items: center; gap: 0.5rem; }
.maplegend i { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.maplegend .lg-hol { background: var(--sun-light); }
.maplegend .lg-long { background: var(--lagoon); }
.maplegend .lg-dash {
  width: 22px;
  height: 0;
  border-radius: 0;
  border-top: 1.6px dashed rgba(247, 245, 241, 0.7);
}
.mapedge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(7, 22, 36, 0.78);
  border: 1px solid rgba(247, 245, 241, 0.18);
  color: rgba(247, 245, 241, 0.82);
  font-size: var(--t-micro);
  pointer-events: none;
}
@media (max-width: 680px) {
  .maplegend { left: 0.6rem; bottom: 0.6rem; padding: 0.6rem 0.7rem; }
  .mapedge { display: none; }
  .pin__name { font-size: 0.82rem; }
  .trip { font-size: 0.64rem; padding: 2px 7px; }
}

/* 9 — Landing pages ------------------------------------------------------ */
.sensory { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); max-width: 56ch; }
.sensory p {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.1vw, 2.1rem);
  line-height: 1.22;
  margin: 0;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 60;
}
.sensory p::first-letter { color: var(--sun); }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.facts div { background: var(--paper); padding: 1.1rem clamp(0.8rem, 2vw, 1.4rem); }
.facts dt { font-size: var(--t-micro); letter-spacing: 0.12em; color: var(--ink-soft); }
.facts dd { margin: 0.3rem 0 0; font-family: var(--display); font-size: 1.28rem; }
.band--sand .facts div { background: var(--sand); }

.split {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3.4rem);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; }
}

.prose { max-width: var(--measure); }
.prose h3 { font-size: var(--t-3); margin-bottom: 0.4rem; }
.prose + .prose { margin-top: 1.6rem; }

.cross {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 340px;
  text-decoration: none;
  color: var(--foam);
  display: grid;
  align-items: end;
  background: var(--navy);
}
.cross img:not(.symbol) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 1s var(--ease); }
.cross:hover img:not(.symbol) { transform: scale(1.06); }
.cross__body { position: relative; z-index: 2; padding: clamp(1.2rem, 3vw, 2rem); background: linear-gradient(180deg, transparent, rgba(7, 22, 36, 0.85)); }

/* 10 — Gallery + lightbox ------------------------------------------------ */
.gallery {
  display: flex;
  gap: clamp(0.7rem, 1.6vw, 1.2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}
.gallery button {
  flex: none;
  scroll-snap-align: center;
  width: min(78vw, 520px);
  aspect-ratio: 4 / 3;
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sand);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }

.roomrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8.5rem, 16rem);
  column-gap: clamp(1rem, 2.5vw, 2.25rem);
  align-items: center;
  margin-top: clamp(1.75rem, 4vw, 3rem);
}
.roomrow:first-of-type { margin-top: 0.4rem; }
.roomrow__frame { position: relative; min-width: 0; }
.roomrow__label {
  margin: 0;
  font-size: var(--t-2);
  text-align: right;
}
.roomrow .gallery { padding-bottom: 0.4rem; }
.roomrow__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 245, 241, 0.94);
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px -14px rgba(11, 31, 51, 0.65);
}
.roomrow__arrow--prev { left: 0.7rem; }
.roomrow__arrow--next { right: 0.7rem; }
.roomrow__arrow:hover { background: var(--foam); color: var(--sun); }
.roomrow__arrow:disabled { opacity: 0.35; cursor: default; color: var(--navy); }
@media (max-width: 720px) {
  .roomrow { grid-template-columns: 1fr; row-gap: 0.7rem; }
  .roomrow__label { order: -1; text-align: left; font-size: var(--t-3); }
  .roomrow .gallery { scrollbar-width: none; }
  .roomrow .gallery::-webkit-scrollbar { display: none; }
  .roomrow .gallery button { width: 100%; scroll-snap-align: start; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(7, 22, 36, 0.94);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: clamp(0.8rem, 3vw, 2rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox[data-open="true"] { opacity: 1; visibility: visible; }
.lightbox img { max-height: 100%; margin: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; color: var(--foam); gap: 1rem; }
.lightbox__bar button {
  background: transparent;
  border: 1px solid rgba(247, 245, 241, 0.4);
  color: var(--foam);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.lightbox__cap { color: rgba(247, 245, 241, 0.75); font-size: var(--t-small); text-align: center; }

/* 11 — Accordion --------------------------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2.5rem 1.15rem 0;
  position: relative;
  font-family: var(--display);
  font-size: var(--t-3);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.4s var(--ease);
}
.acc details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.acc__body { padding: 0 0 1.4rem; max-width: var(--measure); font-size: var(--t-small); }
.acc__body ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.acc__body li { margin-bottom: 0.3rem; }

.note {
  font-size: var(--t-micro);
  color: var(--ink-soft);
  border-left: 2px solid var(--sun);
  padding-left: 0.8rem;
  max-width: 52ch;
}
.band--dark .note { color: rgba(247, 245, 241, 0.7); }

/* 12 — Footer ------------------------------------------------------------ */
.foot {
  background: var(--navy-deep);
  color: rgba(247, 245, 241, 0.78);
  padding: var(--band) var(--gut) clamp(2rem, 5vw, 3rem);
}
.foot__grid { display: grid; gap: 2.4rem; }
@media (min-width: 820px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot__logo { width: clamp(160px, 19vw, 240px); margin-bottom: 1.9rem; }
.foot h2 { color: var(--foam); font-size: var(--t-2); max-width: 16ch; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 0.45rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--sun-light); }
.foot__rule {
  margin: clamp(2.4rem, 6vw, 4rem) 0 1.4rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(247, 245, 241, 0.4), transparent);
}
.foot__fine { font-size: var(--t-micro); display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; }

/* 13 — Utilities + motion ------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }

.stack > * + * { margin-top: clamp(1rem, 2.4vw, 1.8rem); }
.stack h3 { margin-bottom: 0.45rem; font-size: var(--t-3); }
.hide { display: none !important; }
.sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .loader { display: none; }
  body.is-loading { overflow: visible; animation: none; }
  .flare { display: none; }
}
