@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; }
}

/* Artemida Cruises — fresh, modern sea (2026-09-23).
   From the boat: white hull with a navy stripe and a thin sky line, turquoise deck cushions, varnished wood,
   orange lifebuoys; the logo's navy and sky blue. Signatures: the hull stripe (header, section labels), the
   logo's wave as the edge of every photo hero and of the footer, and lifebuoy rings around icons.
   Geom (headings) + Akt (text), both with Greek. */
:root {
  --navy: #0f3450;
  --navy-2: #164766;
  --sea: #1d6f9a;          /* text and links on white */
  --sky: #3aabd8;          /* the logo's light blue */
  --aqua: #17a2b4;         /* the deck cushions */
  --foam: #eef7fa;
  --sand: #f6f1e9;
  --wood: #9c5a2c;
  --buoy: #f49831;         /* the Sunset Cruise flyer's orange (buttons carry brown text) */
  --buoy-l: #ec6a2e;        /* the real lifebuoys' red-orange, for the icon rings */
  --brown: #423121;        /* the flyer's dark brown */
  --brown-2: #7e4d25;
  --cream: #faebc0;        /* the flyer's gold seal */
  --white: #ffffff;
  --ink: #0f2536;
  --body: #34495a;
  --muted: #5a6d7c;
  --line: #d6e6ee;
  --display: "Geom", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sans: "Akt", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --r: 18px;
  --header-h: 4.9rem;
  --wrap: min(1240px, 100% - 2 * clamp(1rem, 4vw, 2.5rem));
  --f-accent: var(--brown-2); --f-accent-d: var(--navy); --f-bg: #fff; --f-border: #c8dce6; --f-ink: var(--ink); --f-muted: var(--muted); --f-radius: 12px;
}
html { scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--white); color: var(--body); font: 400 1.08rem/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sea); text-underline-offset: .2em; }
a:hover { color: var(--navy); }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.ico { width: 1.2rem; height: 1.2rem; flex: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; padding: .8rem 1.2rem; background: var(--navy); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.label { display: flex; align-items: center; gap: .7rem; margin: 0 0 .7rem; font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sea); }
/* The hull stripe: a navy band with a thin sky line under it */
.stripe { display: inline-block; width: 2rem; height: 7px; flex: none; background: linear-gradient(var(--navy) 0 4px, transparent 4px 5px, var(--sky) 5px 7px); }
.h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); line-height: 1.04; }
.h2 { font-size: clamp(1.8rem, 1.25rem + 1.8vw, 2.7rem); line-height: 1.12; }
.h3 { font-size: 1.3rem; line-height: 1.25; }
.lede { font-size: clamp(1.12rem, 1rem + .35vw, 1.3rem); line-height: 1.55; }
.sub { margin-top: .6rem; color: var(--muted); font-size: 1.1rem; }
.prose p + p { margin-top: 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.4rem; border: 2px solid var(--navy); border-radius: 999px; background: var(--navy); color: #fff; font: 700 1rem/1 var(--display); text-decoration: none; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.btn:hover { background: var(--sea); border-color: var(--sea); color: #fff; }
.btn .ico { width: 1.1rem; height: 1.1rem; }
.btn-sm { min-height: 44px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn-buoy { background: var(--buoy); border-color: var(--buoy); color: var(--brown); }
.btn-buoy:hover { background: var(--brown); border-color: var(--brown); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }

/* Header: white for the logo, the hull stripe along its lower edge */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); }
.hull-stripe { height: 7px; background: linear-gradient(var(--navy) 0 4px, #fff 4px 5px, var(--sky) 5px 7px); }
.header-inner { display: flex; align-items: center; gap: 1rem 1.6rem; min-height: var(--header-h); width: var(--wrap); margin-inline: auto; }
.brand { flex: none; }
.brand img { width: 118px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem; border-radius: 999px; color: var(--ink); text-decoration: none; font: 500 1.02rem/1 var(--display); }
.nav a:hover { background: var(--foam); }
.nav a[aria-current="page"] { background: var(--foam); color: var(--sea); }
.nav-book { display: none; }
.nav-socials { display: none; }
.nav .nav-book a { background: var(--buoy); color: var(--brown); }
.header-tools { display: flex; align-items: center; gap: .6rem; }
.langs { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.langs a { display: inline-grid; place-items: center; min-width: 40px; min-height: 38px; border-radius: 999px; color: var(--ink); text-decoration: none; font: 700 .85rem/1 var(--display); }
.langs a:hover { background: var(--foam); }
.langs a[aria-current="true"] { background: var(--navy); color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; margin: auto; background: var(--ink); transition: transform .25s var(--ease), background-color .2s; }
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.site-header.is-open .nav-toggle .bars { background: transparent; }
.site-header.is-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Photo heroes: full width, titles straight on the photo, the logo's wave as the lower edge */
.phead { position: relative; display: grid; align-items: end; min-height: clamp(26rem, 70vh, 44rem); isolation: isolate; background: var(--navy); color: #fff; }
.phead-home { min-height: clamp(30rem, 86vh, 54rem); }
.phead-short { min-height: clamp(20rem, 50vh, 30rem); }
.phead-photo { position: absolute; inset: 0; z-index: -1; margin: 0; }
.phead-photo img { width: 100%; height: 100%; object-fit: cover; }
.phead-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 30, 46, .82) 0%, rgba(8, 30, 46, .45) 45%, rgba(8, 30, 46, .1) 80%), linear-gradient(90deg, rgba(8, 30, 46, .45), rgba(8, 30, 46, 0) 65%); }
.phead-in { padding: clamp(5rem, 12vh, 8rem) 0 clamp(4.5rem, 9vw, 7rem); }
.phead .crumbs { margin-bottom: 1.1rem; }
.phead .crumbs ol, .phead .crumbs a { color: rgba(255, 255, 255, .88); }
.phead .label { color: #9fdcf2; }
.phead .h1 { max-width: 15ch; margin-bottom: .9rem; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.phead .lede { max-width: 36rem; margin-bottom: 1.5rem; color: rgba(255, 255, 255, .94); }
.hero-words { max-width: none; }
.hero-words span { display: block; }
.hero-words span:nth-child(2) { color: var(--buoy); }
.wave-edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(34px, 5vw, 70px); color: var(--white); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .35rem; }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section-foam { background: var(--foam); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.sec-head .h2 { max-width: 26ch; }

/* Route cards: photo whole, frosted band at the bottom with the name and an arrow */
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.8vw, 1.4rem); }
.route-card { position: relative; display: block; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; box-shadow: 0 22px 44px -30px rgba(15, 52, 80, .6); }
.route-card figure { margin: 0; aspect-ratio: 4 / 5; }
.route-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.route-card:hover img { transform: scale(1.04); }
.route-band { position: absolute; left: .7rem; right: .7rem; bottom: .7rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.1rem; border-radius: 14px; background: rgba(15, 52, 80, .58); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.route-band strong { font: 700 1.2rem/1.2 var(--display); }
.route-band .ico { width: 1.4rem; height: 1.4rem; transition: transform .2s var(--ease); }
.route-card:hover .route-band .ico { transform: translateX(4px); }
.routes-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.routes-foot .lede { max-width: 40rem; }

/* Lifebuoy ring around icons */
.idea-ico { display: inline-grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: radial-gradient(circle, #fff 0 52%, transparent 53%), conic-gradient(var(--buoy-l) 0 12.5%, #fff 0 25%, var(--buoy-l) 0 37.5%, #fff 0 50%, var(--buoy-l) 0 62.5%, #fff 0 75%, var(--buoy-l) 0 87.5%, #fff 0); box-shadow: 0 0 0 1px rgba(15, 52, 80, .12), 0 8px 18px -10px rgba(15, 52, 80, .5); color: var(--navy); }
.idea-ico .ico { width: 1.25rem; height: 1.25rem; }
.ideas { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.8vw, 1.4rem); margin: 0; padding: 0; }
.idea { padding: 1.6rem 1.5rem 1.7rem; border-radius: var(--r); background: var(--white); box-shadow: 0 1px 0 var(--line), 0 16px 36px -30px rgba(15, 52, 80, .5); }
.idea h3 { margin: 1rem 0 .45rem; font-size: 1.28rem; }

/* Story + polaroids (the Sunset Cruise flyer's instant photos) */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story-lines { margin-bottom: 1.6rem; color: var(--navy); font: 500 clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem)/1.35 var(--display); }
.polaroids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; width: min(100%, 30rem); justify-self: center; padding: 1rem; }
.polaroids .polaroid:nth-child(even) { margin-left: -12%; }
.polaroids .polaroid:nth-child(n+3) { margin-top: -14%; }
.polaroid { margin: 0; padding: 10px 10px 34px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 16px 30px -14px rgba(66, 49, 33, .5); transform: rotate(var(--tilt, -3deg)); transition: transform .35s var(--ease); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid:nth-child(2) { --tilt: 5deg; position: relative; top: 1.6rem; }
.polaroid:nth-child(3) { --tilt: 3deg; }
.polaroid:nth-child(4) { --tilt: -6deg; position: relative; top: 1.2rem; }
.polaroid { position: relative; }
.polaroid:hover { transform: rotate(0deg) scale(1.04); z-index: 2; }
.polaroid.reveal { opacity: 0; transform: rotate(var(--tilt, -3deg)) translateY(14px); }
.polaroid.reveal.is-visible { opacity: 1; transform: rotate(var(--tilt, -3deg)); }
.polaroid.reveal.is-visible:hover { transform: rotate(0deg) scale(1.03); }
.polaroids-eve { position: relative; display: block; min-height: 30rem; padding: 0; }
.polaroids-eve .polaroid { position: absolute; width: 62%; margin: 0; }
.polaroids-eve .polaroid:nth-child(1) { left: 0; top: 0; --tilt: -6deg; }
.polaroids-eve .polaroid:nth-child(2) { right: 0; top: 18%; --tilt: 5deg; }
.polaroids-eve .polaroid:nth-child(3) { left: 14%; bottom: 0; --tilt: -2deg; }

/* The video, played in its frame (click to load) */
.video-frame { position: relative; max-width: 62rem; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--brown); box-shadow: 0 30px 60px -36px rgba(66, 49, 33, .6); }
.video-frame img, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(66, 49, 33, .45), rgba(66, 49, 33, 0) 55%); pointer-events: none; }
.video-frame.is-playing::after { display: none; }
.video-play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 5.2rem; height: 5.2rem; margin: -2.6rem 0 0 -2.6rem; padding: 0; border: 0; border-radius: 50%; background: var(--buoy); color: var(--brown); box-shadow: 0 0 0 10px rgba(250, 235, 192, .45); cursor: pointer; transition: transform .2s var(--ease); }
.video-play .ico { width: 1.8rem; height: 1.8rem; margin-left: 5px; }
.video-play:hover { transform: scale(1.07); }

/* Reviews: balanced columns, every review in full, no scrolling */
.reviews { columns: 3 18rem; column-gap: 1rem; }
.review { break-inside: avoid; display: flex; flex-direction: column; gap: 1.2rem; margin: 0 0 1rem; padding: 1.5rem; border-radius: var(--r); background: var(--foam); }
.review blockquote { margin: 0; font-size: 1.02rem; }
.review blockquote::before { content: "“"; display: block; height: 1.6rem; color: var(--buoy); font: 700 3.2rem/1 var(--display); }
.review figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.review figcaption strong { color: var(--ink); font-family: var(--display); }
.review figcaption span { color: var(--muted); }

/* Explore */
.intro .prose { max-width: 58rem; }
.daily, .isle, .boat, .contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.daily .h2, .isle .h2 { margin-bottom: 1rem; }
.daily .lede { margin-bottom: .8rem; }
.photo { margin: 0; border-radius: var(--r); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.daily .photo, .isle .photo { aspect-ratio: 3 / 2; }
.trips { list-style: none; display: grid; gap: .8rem; margin: 1.6rem 0 0; padding: 0; }
.trip { padding: 1.1rem 1.3rem; border-radius: 14px; background: var(--foam); }
.trip h3 { margin-bottom: .6rem; font-size: 1.1rem; }
.trip-line { display: flex; align-items: center; gap: 1rem; }
.trip-line small { display: block; color: var(--muted); font-size: .88rem; }
.trip-line strong { font: 700 1.6rem/1 var(--display); color: var(--navy); }
.trip-line i { flex: 1; height: 10px; background: radial-gradient(circle at 5px 5px, var(--sky) 3px, transparent 3.5px) left / 18px 10px repeat-x; }
.isles { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.isle:nth-child(even) .photo { order: 2; }
.flex-note { padding: 1.5rem 1.7rem; border-left: 4px solid var(--sky); border-radius: 0 var(--r) var(--r) 0; background: var(--foam); }
.flex-note .h3 { margin-bottom: .6rem; }
.flex-note p + p { margin-top: .6rem; color: var(--muted); font-size: 1rem; }

.evening { position: relative; padding-block: clamp(4rem, 8vw, 6.5rem); background: linear-gradient(160deg, var(--brown) 0%, #5a3a20 60%, var(--brown-2) 100%); color: #f1e3cc; }
.evening-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.evening .label { color: var(--buoy); font-size: 1rem; letter-spacing: .08em; }
.evening .h2 { color: #fff; margin-bottom: .9rem; }
.evening .lede { color: #fff; margin-bottom: 1.4rem; }
.eve-for { color: var(--cream); font-weight: 600; margin-bottom: .6rem; }
.eve-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; margin: 0 0 1.6rem; padding: 0; }
.eve-list li { display: flex; align-items: center; gap: .55rem; color: #fff; }
.eve-list .ico { color: var(--buoy); }
.evening .prose { margin-bottom: 1.8rem; }

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.svc { padding: 1.7rem; border-radius: var(--r); background: var(--foam); }
.svc-extra { background: #fdf3e2; }
.svc h3 { margin-bottom: .9rem; font-size: 1.3rem; }
.svc ul { list-style: none; margin: 0; padding: 0; }
.svc li { display: flex; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid rgba(15, 52, 80, .1); }
.svc li:last-child { border-bottom: 0; }
.svc .ico { margin-top: .2rem; color: var(--aqua); }
.svc-extra .ico { color: var(--wood); }

/* Boat & crew */
.boat { align-items: start; }
.spec { padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--r); background: var(--navy); color: #d8e6ee; }
.spec .h3 { color: #fff; margin-bottom: .8rem; }
.spec dl { margin: 0; }
.spec div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(255, 255, 255, .13); }
.spec div:last-child { border-bottom: 0; }
.spec dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }
.boat-photos { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(.6rem, 1.4vw, 1rem); }
.boat-photos .photo { aspect-ratio: auto; height: clamp(16rem, 30vw, 26rem); }
.crew { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.crew-photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; }
.crew-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.crew .sub { margin: .2rem 0 1rem; }

/* Gallery: balanced columns, natural proportions */
.gallery-grid { columns: 4 13rem; column-gap: clamp(.5rem, 1vw, .9rem); }
.gallery-grid .tile { break-inside: avoid; margin-bottom: clamp(.5rem, 1vw, .9rem); }
.gallery-grid .tile.is-entering { animation: tile-in .45s var(--ease) both; }
@keyframes tile-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gallery-more { display: flex; justify-content: center; margin-top: 1.6rem; }
.tile { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--foam); cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; background: rgba(8, 24, 37, .96); opacity: 0; transition: opacity .25s; }
.lightbox.is-open { display: block; }
.lightbox.is-visible { opacity: 1; }
.lb-stage { position: absolute; inset: 4.5rem 4.5rem 4rem; display: grid; place-items: center; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: .8rem; max-height: 100%; }
.lb-img { max-width: 100%; max-height: calc(100vh - 11rem); width: auto; height: auto; border-radius: 10px; transition: opacity .2s; }
.lb-img.is-loading { opacity: .3; }
.lb-caption { color: #d8e6ee; text-align: center; }
.lb-counter { position: absolute; left: 1.4rem; top: 1.4rem; margin: 0; color: #9fb8c8; font-weight: 600; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; }
.lb-btn:hover { background: #fff; color: var(--ink); }
.lb-btn svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn:disabled { display: none; }
.lb-prev { left: 1rem; top: 50%; margin-top: -1.5rem; }
.lb-next { right: 1rem; top: 50%; margin-top: -1.5rem; }
.lb-close { right: 1rem; top: 1rem; }

/* Contact */
.contact-grid { align-items: start; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r); background: var(--foam); }
.form-card { background: var(--white); border: 1px solid var(--line); box-shadow: 0 20px 44px -34px rgba(15, 52, 80, .5); }
.form-card .h3 { margin-bottom: .4rem; }
.form-intro { margin-bottom: 1.2rem; color: var(--muted); }
.contact-side .h3 { margin-bottom: .9rem; }
.big-actions { display: grid; gap: .7rem; margin-bottom: 1.2rem; }
.big-actions > a, .big-mail { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 14px; background: var(--foam); color: var(--ink); text-decoration: none; }
.big-actions > a:hover { box-shadow: 0 0 0 2px var(--sky); }
.big-actions .ico { width: 1.4rem; height: 1.4rem; color: var(--sea); }
.big-actions small { display: block; color: var(--muted); font-size: .9rem; }
.big-actions strong { display: block; font: 700 1.15rem/1.3 var(--display); overflow-wrap: anywhere; }
.big-mail strong a { color: var(--ink); }
.find .h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.find .ico { color: var(--brown-2); }

/* Terms */
.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4rem); max-width: 60rem; }
.terms { list-style: none; counter-reset: t; display: grid; gap: .8rem; margin: 0; padding: 0; }
.terms li { counter-increment: t; position: relative; padding: 1rem 1.2rem 1rem 3.8rem; border-radius: 14px; background: var(--foam); color: var(--ink); }
.terms li::before { content: counter(t); position: absolute; left: 1rem; top: .9rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--navy); color: #fff; font: 700 .95rem/1 var(--display); }
.privacy .h2 { margin-bottom: 1.2rem; }
.privacy h3 { margin: 1.6rem 0 .5rem; font-size: 1.15rem; }
.privacy p + p { margin-top: .6rem; }

/* Footer: the logo's wave into the navy sea, a booking call, contacts, links and every social icon */
.site-footer { margin-top: 1rem; color: #cfdfe8; }
.footer-wave { position: relative; height: clamp(34px, 5vw, 70px); }
.footer-wave .wave-edge { color: var(--navy); }
.footer-body { padding: clamp(1.5rem, 4vw, 2.5rem) 0 1.5rem; background: var(--navy); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-cta .h2 { color: #fff; margin-bottom: .3rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.6fr); gap: 2rem clamp(1.5rem, 4vw, 3rem); padding-block: clamp(2rem, 4vw, 3rem); }
.footer-brand img { width: 150px; margin-bottom: 1rem; }
.footer-brand p + p { margin-top: .8rem; }
.footer-h { margin: 0 0 .8rem; font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.footer-phones { list-style: none; margin: 0; padding: 0; }
.footer-phones li + li { margin-top: .7rem; }
.footer-phones small { display: block; color: #9fb8c8; font-size: .88rem; }
.footer-phones a { font: 700 1.15rem/1.3 var(--display); }
.footer-mail { margin-top: 1rem; overflow-wrap: anywhere; }
.footer-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: .4rem; }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-social .footer-h { margin: 0; }
.socials { display: grid; grid-template-columns: repeat(8, 48px); gap: .55rem; }
.soc { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; transition: background-color .2s, border-color .2s, color .2s; }
.site-footer .soc:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.soc .ico { width: 1.3rem; height: 1.3rem; }
.colophon { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; color: #9fb8c8; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1100px) {
  .nav-toggle { display: grid; place-items: center; }
  .header-tools { margin-left: auto; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - var(--header-h)); display: none; margin: 0; padding: 1rem max(1rem, calc((100vw - 1240px) / 2)) 3rem; background: #fff; overflow-y: auto; }
  .site-header.is-open .nav { display: block; }
  .nav-socials { display: block; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
  .nav-socials p { margin-bottom: .8rem; font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sea); }
  .nav .nav-socials .soc { display: inline-grid; place-items: center; width: 48px; height: 48px; min-height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: var(--foam); font-size: 1rem; }
  .nav .nav-socials .soc:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
  .nav ul { flex-direction: column; gap: .3rem; }
  .nav a { width: 100%; min-height: 3.5rem; padding: 0 1.1rem; font-size: 1.15rem; background: var(--foam); border-radius: 14px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-groups { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .daily, .isle, .boat, .contact-grid, .story, .evening-in, .crew { grid-template-columns: minmax(0, 1fr); }
  .isle:nth-child(even) .photo { order: 0; }
  .routes, .ideas { grid-template-columns: minmax(0, 1fr); }
  .route-card figure { aspect-ratio: 16 / 10; }
  .polaroids-eve { min-height: 0; aspect-ratio: 1 / .95; max-width: 30rem; }
  .crew-photo { max-width: 22rem; }
}
@media (max-width: 640px) {
  .socials { grid-template-columns: repeat(4, 48px); gap: .8rem 1.2rem; }
  :root { --header-h: 4.2rem; }
  .brand img { width: 92px; }
  .header-tools .btn-sm { display: none; }
  .nav-book { display: block; }
  .langs a { min-width: 36px; }
  .services, .boat-photos, .footer-grid, .footer-groups { grid-template-columns: minmax(0, 1fr); }
  .eve-list { grid-template-columns: minmax(0, 1fr); }
  .spec div { flex-direction: column; gap: .1rem; }
  .spec dd { text-align: left; }
  .lb-stage { inset: 4rem .5rem 5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; margin: 0; }
  .lb-prev { left: calc(50% - 3.6rem); }
  .lb-next { right: calc(50% - 3.6rem); }
}
@media (max-width: 360px) {
  .brand img { width: 80px; }
  .header-inner { gap: .5rem; }
  .header-tools { gap: .35rem; }
}

/* ---------- Form (shared by the hospitality sites; themed by --f-* set in each site's CSS) ---------- */
.site-form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1.2rem; align-items: end; }
.form-row-tight { grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.5rem), 1fr)); gap: .9rem; }
.field { display: grid; gap: .35rem; align-content: start; min-width: 0; }
.field label { font-weight: 600; }
.req { color: var(--f-accent); }
.hint { margin: 0; font-size: .92rem; color: var(--f-muted); }
.field input:not([type="checkbox"]), .field textarea, .field select { width: 100%; min-height: 3.1rem; padding: .7rem .9rem; font: inherit; font-size: 1.0625rem; color: var(--f-ink); background: var(--f-bg); border: 2px solid var(--f-border); border-radius: var(--f-radius); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.25rem) 55%, calc(100% - .9rem) 55%; background-size: .35rem .35rem; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--f-ink); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--f-accent); outline-offset: 2px; box-shadow: none; border-color: var(--f-ink); background-color: #fff; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { display: flex; gap: .45rem; align-items: center; margin: .1rem 0 0; font-size: .95rem; font-weight: 600; color: #b3261e; }
.field-error .ico { width: 1.1rem; height: 1.1rem; }
.field-check { grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; align-items: start; }
.field-check input { width: 1.35rem; height: 1.35rem; margin-top: .2rem; accent-color: var(--f-accent); }
.field-check label { font-weight: 400; font-size: .98rem; }
.field-check .field-error { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: .92rem; color: var(--f-muted); }
.btn-submit { justify-self: start; background: var(--f-accent); color: #fff; }
.btn-submit:hover { background: var(--f-accent-d); color: #fff; }
.btn-submit:disabled { opacity: .65; cursor: progress; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-kind="ok"] { color: #1f6b3a; }
.form-status[data-kind="error"] { color: #b3261e; }
