/* ============================================================
   SARONIC BLUE — saronicblue.com
   Coastal-luxury static site. Signature: warm chalk paper,
   Saronic sea-blue, a recurring "horizon" hairline, and
   nautical coordinates set in mono.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Palette — drawn from the Saronic Gulf: deep sea, sunlit
     water, warm limestone, Greek chalk, and the gold of the
     evening uplights. */
  --ink:    #0c2630; /* deep sea — primary text & dark sections */
  --sea:    #1b6b86; /* Saronic blue — signature accent         */
  --sky:    #5fb0c9; /* sunlit shallows — highlights / hover     */
  --sand:   #e7decb; /* warm limestone — alt section background  */
  --paper:  #f6f3ec; /* warm chalk — page background             */
  --white:  #ffffff;
  --gold:   #c9a25e; /* evening uplight — used very sparingly    */

  --ink-70: rgba(12, 38, 48, 0.70);
  --ink-55: rgba(12, 38, 48, 0.70); /* darkened from .55 to clear WCAG AA on sand */
  --chalk-80: rgba(246, 243, 236, 0.82);
  --chalk-60: rgba(246, 243, 236, 0.62);
  --line:   rgba(12, 38, 48, 0.14);
  --line-light: rgba(246, 243, 236, 0.20);

  /* Type */
  --display: "Fraunces", "Hoefler Text", Georgia, serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Fluid scale */
  --fs-eyebrow: 0.72rem;
  --fs-mono:    0.78rem;
  --fs-body:    1.0625rem;
  --fs-lead:    clamp(1.18rem, 1.6vw, 1.45rem);
  --fs-h3:      clamp(1.35rem, 2.2vw, 1.7rem);
  --fs-h2:      clamp(2rem, 4.4vw, 3.3rem);
  --fs-display: clamp(2.75rem, 7.4vw, 6rem);

  /* Spacing */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1240px;
  --maxw-text: 62ch;
  --section-y: clamp(4rem, 9vw, 8rem);

  /* Form */
  --r-sm: 8px;
  --r: 16px;
  --r-lg: 26px;
  --r-pill: 999px;
  --shadow-card: 0 24px 60px -28px rgba(12, 38, 48, 0.55);
  --shadow-soft: 0 10px 34px -20px rgba(12, 38, 48, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--sea); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
}

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

:focus-visible {
  outline: 2.5px solid var(--sea);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100%;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--paper); }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--chalk-80); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark a { color: var(--sky); }
.section--dark a:hover { color: var(--white); }

/* ---------- Typographic utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sea);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section--dark .eyebrow { color: var(--sky); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-70);
  max-width: var(--maxw-text);
}
.section--dark .lead { color: var(--chalk-80); }

.mono {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.02em;
  font-weight: 400;
}

/* Coordinate chip — recurring nautical signature */
.coords {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.06em;
  color: var(--ink-55);
}
.section--dark .coords,
.hero .coords { color: var(--chalk-60); }

/* Horizon divider — the sea-line that recurs through the site */
.horizon {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 0;
  margin: 0;
  height: 1px;
}
.horizon::before,
.horizon::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.horizon::after { background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent); }
.horizon span {
  width: 7px; height: 7px;
  border: 1px solid var(--sea);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.section--dark .horizon::before,
.section--dark .horizon::after {
  background: linear-gradient(90deg, transparent, var(--line-light) 18%, var(--line-light) 82%, transparent);
}
.section--dark .horizon span { border-color: var(--sky); }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: var(--btn-pad-y) 1.6rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
              color 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--sea);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: var(--ink); color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--on-photo {
  background: rgba(246, 243, 236, 0.10);
  color: var(--white);
  border-color: rgba(246, 243, 236, 0.55);
  backdrop-filter: blur(6px);
}
.btn--on-photo:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}
.site-header.is-scrolled {
  background: rgba(246, 243, 236, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -24px rgba(12, 38, 48, 0.5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.28rem;
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand__mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand__mark circle, .brand__mark line, .brand__mark path { stroke: currentColor; }
.brand strong { font-weight: 500; }
.brand small {
  display: block;
  font-family: var(--body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 2px;
}
.is-scrolled .brand { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding-block: 0.4rem;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.is-scrolled .nav__links a { color: var(--ink); }
.is-scrolled .nav__links a:hover { color: var(--sea); }

.nav__cta { padding-block: 0.7rem; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  width: 24px;
  margin-inline: auto;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), background 0.3s;
}
.is-scrolled .nav__toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.04);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(7, 24, 32, 0.90) 0%, rgba(7, 24, 32, 0.60) 40%, rgba(7, 24, 32, 0.30) 72%, rgba(7, 24, 32, 0.32) 100%);
}
.hero__inner {
  padding-block: clamp(7rem, 12vw, 9rem) clamp(3rem, 7vw, 5rem);
  width: 100%;
}
.hero .eyebrow { color: var(--sky); text-shadow: 0 1px 8px rgba(7, 24, 32, 0.55); }
.hero__title {
  font-size: var(--fs-display);
  max-width: 16ch;
  margin: 0 0 1.4rem;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--sky);
}
.hero__sub {
  font-size: var(--fs-lead);
  line-height: 1.45;
  max-width: 46ch;
  color: var(--chalk-80);
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.hero__foot {
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chalk-80);
}
.hero__scroll .line {
  width: 46px; height: 1px; background: var(--chalk-60);
  position: relative; overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll .line::after {
    content: ""; position: absolute; inset: 0;
    background: var(--white);
    animation: scrollline 2.4s var(--ease) infinite;
  }
}
@keyframes scrollline {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ---------- Section heading block ---------- */
.head {
  display: grid;
  gap: 1.2rem;
  max-width: var(--maxw-text);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head h2 { font-size: var(--fs-h2); text-wrap: balance; }

/* ---------- Intro / statement ---------- */
.statement {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 860px) {
  .statement { grid-template-columns: 0.85fr 1fr; }
}
.statement__lead {
  font-family: var(--display);
  font-size: var(--fs-h3);
  line-height: 1.32;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.statement__body { color: var(--ink-70); }
.statement__meta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.statement__meta .coords { white-space: nowrap; }

/* ---------- Villa plates ---------- */
.villas { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.villa {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 880px) {
  .villa { grid-template-columns: 1.05fr 0.95fr; }
  .villa--flip .villa__media { order: 2; }
}
.villa__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 5 / 4;
  background: var(--ink);
}
.villa__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.villa:hover .villa__media img { transform: scale(1.045); }
.villa__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(7, 24, 32, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 0.45rem 0.8rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(246, 243, 236, 0.25);
}
.villa__name {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: 0.7rem;
}
.villa__essence {
  font-family: var(--display);
  font-style: italic;
  font-size: var(--fs-h3);
  color: var(--sea);
  line-height: 1.3;
  margin-bottom: 1.4rem;
}
.villa__body { color: var(--ink-70); max-width: 46ch; margin-bottom: 1.6rem; }
.villa__specs {
  list-style: none;
  margin: 0 0 1.9rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
}
.villa__specs li {
  display: grid;
  gap: 0.15rem;
}
.villa__specs b {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1;
}
.villa__specs span {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.villa__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.textlink .arrow { transition: transform 0.3s var(--ease); }
.textlink:hover .arrow { transform: translateX(4px); }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
@media (min-width: 620px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature {
  background: var(--paper);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
.section--sand .feature { background: var(--sand); }
.feature__icon {
  width: 30px; height: 30px;
  color: var(--sea);
}
.feature__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; }
.feature h3 { font-size: 1.22rem; }
.feature p { font-size: 0.98rem; color: var(--ink-70); }

/* ---------- Location ---------- */
.place { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .place { grid-template-columns: 1fr 1fr; align-items: center; } }
.place__map {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.place__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.distances {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
}
.distances li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.distances li:first-child { border-top: 1px solid var(--line); }
.distances .place-name { font-weight: 500; }
.distances .place-dist {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink-55);
  white-space: nowrap;
}
.section--dark .distances li { border-color: var(--line-light); }
.section--dark .distances .place-dist { color: var(--chalk-60); }

/* ---------- Booking / OTA ---------- */
.booking__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 860px) { .booking__grid { grid-template-columns: 0.9fr 1.1fr; } }
.ota {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.ota__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: rgba(246, 243, 236, 0.06);
  border: 1px solid var(--line-light);
  border-radius: var(--r);
  color: var(--white);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              transform 0.3s var(--ease);
}
.ota__btn:hover {
  background: rgba(246, 243, 236, 0.12);
  border-color: var(--sky);
  color: var(--white);
  transform: translateY(-2px);
}
.ota__btn .name {
  font-weight: 600;
  font-size: 1rem;
  display: block;
}
.ota__btn .role {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chalk-60);
}
.ota__btn .arrow { color: var(--sky); transition: transform 0.3s var(--ease); }
.ota__btn:hover .arrow { transform: translate(3px, -3px); }
.ota__btn--direct {
  background: var(--sea);
  border-color: var(--sea);
}
.ota__btn--direct:hover { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.ota__btn--direct:hover .arrow { color: var(--ink); }
.ota__btn--direct .role { color: rgba(255, 255, 255, 0.85); } /* AA on the --sea fill */
.ota__btn--direct:hover .role { color: var(--ink); }

/* Slot reserved for a future booking widget (e.g. Hosthub) */
.widget-slot {
  margin-top: 1.4rem;
  border: 1px dashed var(--line-light);
  border-radius: var(--r);
  padding: 1rem 1.2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--chalk-60);
}

/* ---------- Property page: quick facts ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
@media (min-width: 720px) { .facts { grid-template-columns: repeat(5, 1fr); } }
.fact {
  background: var(--paper);
  padding: 1.5rem 1.2rem;
  display: grid;
  gap: 0.3rem;
  text-align: center;
}
.fact b {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1;
}
.fact span {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
}

/* ---------- Property page: prose ---------- */
.prose { max-width: var(--maxw-text); }
.prose p { color: var(--ink-70); }
.prose p + p { margin-top: 1.1em; }
.pull {
  font-family: var(--display);
  font-style: italic;
  font-size: var(--fs-h3);
  line-height: 1.3;
  color: var(--sea);
  border-left: 2px solid var(--sky);
  padding-left: 1.4rem;
  margin: 2rem 0;
  max-width: 40ch;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.6rem, 1.4vw, 1rem);
}
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery__item {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
  border: 0;
  padding: 0;
}
.gallery__item--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery__item--tall { grid-row: span 2; aspect-ratio: 1 / 2; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,24,32,0.35), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 20, 27, 0.93);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lightbox.is-open { display: flex; }
body.lightbox-open { overflow: hidden; } /* scroll-lock, not viewport-gated like the mobile nav */
.lightbox__img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  object-fit: contain;
}
.lightbox__btn {
  position: absolute;
  background: rgba(246, 243, 236, 0.10);
  border: 1px solid rgba(246, 243, 236, 0.4);
  color: var(--white);
  width: 52px; height: 52px;
  border-radius: var(--r-pill);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.lightbox__btn:hover { background: rgba(246, 243, 236, 0.22); }
.lightbox__close { top: 1.4rem; right: 1.4rem; }
.lightbox__prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute;
  bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--chalk-80);
}

/* ---------- Amenities ---------- */
.amenities {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
}
@media (min-width: 680px) { .amenities { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .amenities { grid-template-columns: repeat(3, 1fr); } }
.amenity h3 {
  font-size: 1.05rem;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 0.6rem;
}
.amenity h3 .ic { width: 18px; height: 18px; color: var(--sea); flex: 0 0 auto; }
.amenity h3 .ic svg { width: 100%; height: 100%; stroke: currentColor; fill: none; }
.amenity ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.amenity li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--ink-70);
  font-size: 0.98rem;
}
.amenity li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 5px; height: 5px;
  background: var(--sky);
  transform: rotate(45deg);
}

/* ---------- Services ---------- */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.chip {
  font-size: 0.9rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--ink-70);
  background: var(--paper);
}
.section--sand .chip { background: var(--white); }

/* ---------- Cross-link ---------- */
.crosslink {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--r);
  background: var(--sand);
}
.crosslink p { margin: 0; }
.crosslink .small {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 0.3rem;
}
.crosslink .big { font-family: var(--display); font-size: 1.5rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--chalk-80); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; }
.footer a { color: var(--chalk-80); }
.footer a:hover { color: var(--white); }
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.2rem, 5vw, 3.5rem);
}
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand { color: var(--white); margin-bottom: 1.1rem; }
.footer__blurb { color: var(--chalk-60); max-width: 34ch; font-size: 0.98rem; }
.footer h2 {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin: 0 0 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: var(--chalk-60);
}
.footer__bottom .coords { color: var(--chalk-60); }

/* ---------- Reveal animation ---------- */
/* Reveal is a progressive enhancement: only hide content once JS has
   confirmed it can reveal it again (html.js). No JS → content stays visible. */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  html.js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 880px) {
  .nav__toggle { display: flex; z-index: 120; }
  .nav__links {
    /* Anchored top + explicit height (not inset:0) so the drawer still fills the
       screen when the scrolled header's backdrop-filter makes it the containing
       block for this fixed element. */
    position: fixed;
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    height: 100vh;
    height: 100dvh;
    width: min(82vw, 360px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem var(--gutter);
    background: var(--ink);
    transform: translateX(105%);
    visibility: hidden; /* drop closed links out of tab order + a11y tree */
    transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
    box-shadow: -30px 0 60px -30px rgba(0,0,0,0.6);
  }
  .nav__links.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.45s var(--ease), visibility 0s;
  }
  .nav__links a { color: var(--chalk-80); font-size: 1.3rem; font-family: var(--display); }
  .is-scrolled .nav__links a { color: var(--chalk-80); }
  .nav__links a:hover { color: var(--white); }
  .nav__cta {
    background: var(--sea);
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border-radius: var(--r-pill);
  }
  body.nav-open { overflow: hidden; }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(6, 20, 27, 0.55);
    z-index: 90; /* below the fixed header (z100) so the menu panel stays tappable */
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 620px) {
  .ota { grid-template-columns: 1fr; }
  .hero__foot { justify-content: center; }
  .hero__scroll { display: none; }
}
