@import url("fonts.css");

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

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

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

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

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

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

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

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

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

/* ============================================================
   Captain's Villa — "the captain's logbook"
   ------------------------------------------------------------
   The logo turns the C of Captain's into a ship's wheel. So the
   site reads like a logbook laid over a sea chart: a faint chart
   grid, compass and wheel marks, section labels written as log
   entries, distances drawn as bearings on dotted route lines, a
   round porthole inset over the pool, and rank stripes for the
   Silver / Gold / Platinum packages.

   Measured rules: the logo is dark grey type, so the header is
   white (navy made it vanish). Navy carries text (16:1); links are a
   deep sea-teal (7.8:1); the sunset orange is darkened to carry white
   on buttons (5.8:1); bright cyan is a fill under navy text (8.3:1)
   or text on navy only. Playfair Display for display, Mulish for
   reading.
   ============================================================ */

:root {
  --white:  #ffffff;
  --sand:   #f6f1e7;
  --shell:  #ece4d3;
  --navy:   #14213a;
  --navy-2: #1d2e4d;

  --ink:    #1b2433;
  --muted:  #56606e;
  --sea:    #075a6d;
  --cyan:   #0bccee;
  --sunset: #a64b1c;
  --brass:  #b8893b;
  --rope:   #d9c7a3;
  --line:   #e2d9c6;

  --wrap: 1220px;
  --r: 10px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 22px 46px -30px rgba(20,33,58,.55);
  --chart: linear-gradient(rgba(7,90,109,.06) 1px, transparent 1px) 0 0 / 48px 48px,
           linear-gradient(90deg, rgba(7,90,109,.06) 1px, transparent 1px) 0 0 / 48px 48px;
}

body { background: var(--sand); color: var(--ink); font: 400 clamp(1.02rem, .98rem + .2vw, 1.12rem)/1.72 Mulish, "Segoe UI", Helvetica, Arial, sans-serif; }
h1, h2, .display { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.8rem); }
h2 { font-size: clamp(1.95rem, 1.35rem + 2.5vw, 3.15rem); }
h3 { font-family: Mulish, sans-serif; font-weight: 800; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.3; }
a { color: var(--sea); text-underline-offset: .2em; }
a:hover { color: var(--sunset); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -70px; z-index: 300; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 1rem; }

/* Log-entry label */
.log { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--sunset); margin-bottom: .8rem; }
.log::before { content: ""; width: 18px; height: 18px; border: 2px solid currentColor; border-radius: 50%; background: radial-gradient(circle, currentColor 0 2px, transparent 2.5px); }
.log--light { color: var(--cyan); }

/* ---------- Header ------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header.is-stuck { box-shadow: 0 10px 24px -20px rgba(20,33,58,.6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 80px; }
.brand img { width: clamp(170px, 18vw, 220px); height: auto; }
.nav { display: flex; align-items: center; gap: .1rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; padding: .55rem .8rem; border-radius: 6px; }
.nav a:hover { color: var(--sea); background: var(--sand); }
.nav a[aria-current] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--cyan); border-radius: 0; }
.nav .book { margin-left: .5rem; background: var(--sunset); color: #fff; padding: .7rem 1.1rem; border-radius: 999px; }
.nav .book:hover { background: var(--navy); color: #fff; }
.nav-toggle { display: none; }
@media (max-width: 1000px) {
  .nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .3s var(--ease), background .2s; }
  .nav-toggle span::before { position: absolute; top: -6px; }
  .nav-toggle span::after { position: absolute; top: 6px; }
  .site-header.is-open .nav-toggle span { background: transparent; }
  .site-header.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .site-header.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: fixed; inset: 80px 0 0; flex-direction: column; justify-content: flex-start; gap: .3rem; padding: 2rem 1.25rem; background: var(--sand) var(--chart); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility .2s; overflow-y: auto; }
  .site-header.is-open .nav { opacity: 1; visibility: visible; }
  .nav a { font-size: 1.2rem; width: min(100%, 22rem); text-align: center; padding: .85rem 1rem; }
  .nav a[aria-current] { box-shadow: none; background: var(--white); border-radius: 6px; }
  .nav .book { margin: .6rem 0 0; }
}

/* ---------- Hero: the pool, with a porthole --------------------------- */
.hero { position: relative; min-height: min(88vh, 860px); display: grid; align-items: end; overflow: hidden; background: var(--navy); color: #fff; }
.hero > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
/* Paints above the photo: ::before precedes the <img> in the DOM. */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,33,58,.15) 0%, rgba(20,33,58,0) 35%, rgba(20,33,58,.55) 70%, rgba(20,33,58,.9) 100%); }
.hero-inner { position: relative; z-index: 2; padding: clamp(3rem, 8vw, 5.5rem) 0; display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: end; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; max-width: 14ch; }
.hero p { color: #eaf2f6; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); max-width: 46ch; margin-top: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.porthole { justify-self: end; width: clamp(180px, 22vw, 290px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 10px solid var(--brass); box-shadow: 0 0 0 3px var(--navy), 0 0 0 7px var(--rope), 0 24px 40px -18px rgba(0,0,0,.6); position: relative; }
.porthole img { width: 100%; height: 100%; object-fit: cover; }
.porthole::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
@media (max-width: 900px) { .porthole { display: none; } }

/* ---------- Buttons ----------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; font: 800 1rem/1 Mulish, sans-serif; padding: 1rem 1.45rem; border-radius: 999px; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--sunset { background: var(--sunset); color: #fff; }
.btn--sunset:hover { background: var(--navy); color: #fff; }
.btn--cyan { background: var(--cyan); color: var(--navy); }
.btn--cyan:hover { background: #fff; color: var(--navy); }
.btn--ghost { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------------------------------------------------- */
.section { padding: clamp(3.8rem, 8vw, 6.5rem) 0; }
.section--chart { background: var(--sand) var(--chart); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: #dde6ef; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #cfdbe6; }
.section-head { max-width: 46rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); }
.section--navy .section-head p { color: #cfdbe6; }
.lede { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.42rem); line-height: 1.6; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.split--flip > :first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }
.photo { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo--round { border-radius: 50%; aspect-ratio: 1; border: 8px solid var(--rope); }
.photo--round img { aspect-ratio: 1; }

/* Bearings: distances on a dotted route */
.bearings { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; margin-top: 1.5rem; }
.bearings::before { content: ""; position: absolute; left: 3%; right: 3%; top: 34px; border-top: 2px dashed var(--sea); opacity: .5; }
@media (max-width: 820px) { .bearings { grid-template-columns: 1fr 1fr; } .bearings::before { display: none; } }
.bearings li { position: relative; text-align: center; }
.bearings .mark { width: 68px; height: 68px; margin: 0 auto .7rem; border-radius: 50%; background: var(--white); border: 2px solid var(--navy); display: grid; place-items: center; position: relative; z-index: 1; }
.bearings .mark svg { width: 30px; height: 30px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bearings b { display: block; font-family: "Playfair Display", serif; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); color: var(--navy); line-height: 1.05; }
.bearings span { color: var(--muted); font-size: .95rem; }

/* Amenities as a logbook list */
.logbook { columns: 3 220px; column-gap: 2rem; list-style: none; }
.logbook li { break-inside: avoid; padding: .6rem 0 .6rem 2rem; border-bottom: 1px dashed var(--line); position: relative; font-weight: 600; }
.logbook li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 12px; height: 12px; border: 2px solid var(--sea); border-radius: 50%; background: radial-gradient(circle, var(--sea) 0 2px, transparent 2.5px); }

/* Packages: rank stripes */
.ranks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); }
@media (max-width: 900px) { .ranks { grid-template-columns: 1fr; } }
.rank { background: var(--white); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.rank .stripes { display: flex; gap: 5px; margin-bottom: 1rem; }
.rank .stripes i { display: block; width: 36px; height: 7px; border-radius: 2px; }
.rank--silver .stripes i { background: #9aa4ae; }
.rank--gold .stripes i { background: var(--brass); }
.rank--platinum .stripes i { background: var(--navy); }
.rank p { color: var(--muted); margin: .5rem 0 0; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.service { background: var(--navy-2); border-radius: var(--r); overflow: hidden; }
.service img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service div { padding: 1.1rem 1.2rem 1.3rem; }
.service p { color: #cfdbe6; margin: .4rem 0 0; }

/* Island sections */
.island { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(2rem, 5vw, 3.5rem) 0; border-top: 1px dashed var(--line); }
.island:first-of-type { border-top: 0; }
.island:nth-of-type(even) > :first-child { order: 2; }
@media (max-width: 880px) { .island { grid-template-columns: 1fr; } .island:nth-of-type(even) > :first-child { order: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin-top: 1rem; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; font-weight: 700; font-size: .92rem; }
.acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 820px) { .acts { grid-template-columns: 1fr 1fr; } }
.act { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy); }
.act img { width: 100%; height: 100%; object-fit: cover; }
.act span { position: absolute; left: .8rem; bottom: .8rem; background: var(--cyan); color: var(--navy); font-weight: 800; padding: .35rem .8rem; border-radius: 999px; }

/* ---------- Gallery ----------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.filter { font: 800 .98rem/1 Mulish, sans-serif; padding: .7rem 1.1rem; border-radius: 999px; cursor: pointer; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: .8rem; grid-auto-flow: dense; }
.tile { position: relative; display: block; padding: 0; border: 0; cursor: pointer; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.tile.is-tall { aspect-ratio: auto; grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile.is-entering { animation: rise .45s var(--ease) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.gallery-more { display: flex; justify-content: center; margin-top: 1.6rem; }

/* ---------- Page head --------------------------------------------------- */
.page-head { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.page-head > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,33,58,.92), rgba(20,33,58,.62) 60%, rgba(20,33,58,.35)); }
.page-head .wrap { position: relative; z-index: 2; }
.page-head p { color: #eaf2f6; max-width: 54ch; margin-top: .6rem; }
.crumbs { font-size: .92rem; color: #eaf2f6; margin-bottom: .6rem; }
.crumbs a { color: #fff; }

/* ---------- Contact ----------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.2rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.lines { list-style: none; display: grid; gap: .75rem; margin-top: 1rem; }
.lines li > a, .lines li > span { display: flex; align-items: center; gap: 1rem; background: var(--white); border-radius: var(--r); padding: 1rem 1.15rem; text-decoration: none; color: var(--ink); box-shadow: 0 12px 30px -26px rgba(20,33,58,.7); }
.lines li > a:hover { color: var(--sea); }
.lines svg { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 50%; border: 2px solid var(--navy); fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lines b { display: block; font-size: 1.1rem; }
.lines small { display: block; color: var(--muted); font-size: .9rem; }
.lines li.mail { position: relative; }
.lines li.mail > svg { position: absolute; left: 1.15rem; top: 50%; transform: translateY(-50%); z-index: 1; pointer-events: none; }
.lines li.mail > a, .lines li.mail > span { padding-left: 4.4rem; min-height: 4.7rem; font-weight: 800; font-size: 1.08rem; }
.map-frame { position: relative; width: 100%; aspect-ratio: 4 / 3; min-height: 300px; border-radius: var(--r); overflow: hidden; background: var(--shell) var(--chart); box-shadow: var(--shadow); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame .map-consent { position: absolute; inset: 0; display: grid; place-content: center; gap: .9rem; text-align: center; padding: 1.5rem; }
.map-frame .map-consent p { color: var(--ink); max-width: 36ch; margin: 0 auto; font-weight: 700; }

/* ---------- Footer ------------------------------------------------------ */
.site-footer { background: var(--navy); color: #cfdbe6; padding: clamp(2.8rem, 6vw, 3.8rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: inline-block; background: var(--white); padding: .6rem .9rem; border-radius: 8px; }
.footer-brand img { width: 190px; }
.site-footer h3 { color: var(--cyan); font-size: .88rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .7rem; }
.site-footer ul { list-style: none; display: grid; gap: .3rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--cyan); }
.colophon { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--navy-2); font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }

/* ---------- Lightbox ---------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 400; display: none; background: rgba(12,20,36,.96); opacity: 0; transition: opacity .26s; padding: clamp(1rem, 4vw, 3rem); }
.lightbox.is-open { display: grid; grid-template-rows: 1fr auto; }
.lightbox.is-visible { opacity: 1; }
.lb-stage { display: grid; place-items: center; min-height: 0; }
.lb-figure { margin: 0; display: grid; place-items: center; gap: .8rem; max-height: 100%; }
.lb-img { max-width: 100%; max-height: 78vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; transition: opacity .2s; }
.lb-img.is-loading { opacity: .3; }
.lb-caption { color: #dde6ef; text-align: center; max-width: 60ch; }
.lb-counter { margin: .6rem 0 0; text-align: center; color: var(--cyan); font-weight: 800; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover:not(:disabled) { background: var(--cyan); color: var(--navy); }
.lb-btn:disabled { opacity: .3; cursor: default; }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.lb-prev { left: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lb-close { right: clamp(.5rem, 2vw, 1.5rem); top: clamp(.5rem, 2vw, 1.5rem); }

/* Hero variant: text at the top, where the sky and sea are, so it never covers
   the swimmer on the pool steps in the lower half of the photograph. */
.hero--top { align-items: start; }
.hero--top::before { background: linear-gradient(180deg, rgba(20,33,58,.88) 0%, rgba(20,33,58,.55) 38%, rgba(20,33,58,0) 62%); }
.hero--top .hero-inner { align-items: start; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
@media (max-width: 760px) { .hero--top::before { background: linear-gradient(180deg, rgba(20,33,58,.9) 0%, rgba(20,33,58,.7) 55%, rgba(20,33,58,.2) 85%); } }

/* The pool mosaic: one large photograph and four around it. */
.pool-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(160px, 22vw); gap: .8rem; }
.pool-mosaic .tile { aspect-ratio: auto; border-radius: 10px; }
.pool-mosaic .tile:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) { .pool-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; } }
