/*
  VOICE: premium yachting & hospitality — calm, airy, few words, fine detail.
  IDEA: a yacht's printed welcome card — navy and white, a thin gold rule, generous margins.
  PICTURE: layered Rock Islands scene with the catamaran (placeholder until real photography/video).
  COLOUR and TYPE: navy dominant, turquoise support, white ground, gold as a hairline accent only.
                   Cormorant Garamond for headings, Jost for text.
  LAYOUT: mobile-first single column; full-bleed bands; content max 1200px.

  ── Brand tokens: change colours and fonts here and the whole site follows. ──
*/
:root {
  --navy: #0b1f3a;
  --navy-deep: #06142a;
  --turq: #17aeb0;
  --turq-light: #7fd9d5;
  --turq-pale: #e7f6f5;
  --white: #ffffff;
  --mist: #f4f7f9;
  --ink: #142235;
  --muted: #56657a;
  --gold: #c2a165;
  --line: #dde4ea;
  --radius: 4px;
  --max: 1200px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--sans); overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; color: var(--navy); }
h1 { font-size: clamp(40px, 7vw, 72px); }
h2 { font-size: clamp(32px, 4.4vw, 48px); }
h3 { font-size: 26px; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: 19px; color: var(--muted); }
:focus-visible { outline: 2px solid var(--turq); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 max(5vw, 20px); }
.band { padding: clamp(56px, 8vw, 112px) 0; }
.band.mist { background: var(--mist); }
.band.navy { background: var(--navy); color: #dfe8f1; }
.band.navy h2, .band.navy h3 { color: #fff; }
.rule { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 0 0 24px; }
.center { text-align: center; }
.center p, .center .rule { margin-left: auto; margin-right: auto; }

/* ── Header ── */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 52px; height: 52px; }
.brand b { font: 600 22px/1 var(--serif); letter-spacing: .02em; display: block; }
.brand small { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 1.5px; background: var(--navy); position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
.nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px max(5vw,20px) 20px; }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 12px 0; text-decoration: none; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav a[aria-current="page"] { color: var(--turq); }
.nav a.btn { display: flex; padding: 0 22px; margin-top: 16px; border: 0; color: #fff; }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav { display: flex !important; position: static; padding: 0; border: 0; background: none; align-items: center; gap: 28px; }
  .nav ul { display: flex; gap: 26px; }
  .nav a { border: 0; padding: 6px 0; font-size: 15px; }
  .nav ul a:hover { color: var(--turq); }
  .nav a.btn { display: inline-flex; margin: 0; min-height: 44px; }
}

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: var(--radius); background: var(--navy); color: #fff; text-decoration: none; font: 500 15px/1 var(--sans); letter-spacing: .03em; border: 1px solid var(--navy); cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--navy-deep); }
.btn.turq { background: var(--turq); border-color: var(--turq); }
.btn.turq:hover { background: #12898b; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.light:hover { background: #fff; color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ── Home hero: drone reel. Phone: full-width video, text below. Desktop: text left, reel right. ── */
.hero { background: var(--navy); color: #dfe8f1; }
.hero .reel { position: relative; background: var(--navy-deep); }
.hero video { width: 100%; height: min(86svh, 177.8vw); object-fit: cover; display: block; }
.hero .copy { padding: 40px max(5vw, 20px) 56px; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero p { font-size: 19px; color: #dfe8f1; }
.hero .mute { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(6,20,42,.45); color: #fff; font-size: 13px; cursor: pointer; }
@media (min-width: 900px) {
  .hero { background: linear-gradient(90deg, var(--navy) 38%, rgba(11,31,58,.72)), var(--navy) url("arch-wide.webp") center / cover no-repeat; }
  .hero .inner { max-width: var(--max); margin: 0 auto; padding: 64px max(5vw, 20px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; min-height: min(88vh, 860px); }
  .hero .copy { padding: 0; }
  .hero .reel { border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); max-width: 420px; justify-self: end; width: 100%; }
  .hero video { height: auto; aspect-ratio: 9 / 16; }
}

/* ── Page header (inner pages): own photo behind a navy veil ── */
.page-head { position: relative; background-color: var(--navy); background-position: center; background-size: cover; background-repeat: no-repeat; color: #eef3f8; padding: clamp(80px, 14vw, 180px) 0 clamp(48px, 7vw, 96px); }
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,20,42,.85), rgba(6,20,42,.25)); }
.page-head .wrap { position: relative; }
.page-head h1 { color: #fff; }
.page-head p { font-size: 19px; }

/* ── Grids & cards ── */
.grid { display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split.rev > :first-child { order: 2; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card p { color: var(--muted); font-size: 16px; }
.price { font: 600 24px/1.2 var(--serif); color: var(--navy); margin: 0 0 .4em; }
.card .price { font-size: 21px; margin: 0; color: var(--navy); }
.navy .price { color: #fff; }
.card .more { margin-top: auto; font-weight: 500; color: var(--navy); text-decoration: none; font-size: 15px; }
.card .more::after { content: " →"; color: var(--gold); }

/* Photo placeholder (kept for future use) */
.ph { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #1f6f86 0%, #17aeb0 55%, #9fe3dc 100%); display: flex; align-items: flex-end; }
.ph.tall { aspect-ratio: 4 / 5; }
.ph.wide { aspect-ratio: 16 / 9; }
.ph.dusk { background: linear-gradient(170deg, #0b1f3a 0%, #3d4f7a 45%, #d79f6b 100%); }
.ph.deep { background: linear-gradient(170deg, #06142a 0%, #0f4c6b 60%, #17aeb0 100%); }
.ph.sand { background: linear-gradient(170deg, #7fd9d5 0%, #e7f6f5 70%, #efe6d3 100%); }
.ph span { margin: 14px; font-size: 13px; color: #fff; background: rgba(6,20,42,.5); padding: 4px 10px; border-radius: 20px; }
.ph.sand span { color: var(--navy); background: rgba(255,255,255,.7); }
.photo { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; display: block; }
.photo.tall { aspect-ratio: 4 / 5; } .photo.wide { aspect-ratio: 16 / 9; }
.split .photo { border-radius: var(--radius); }
.pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.pair img:last-child { margin-top: 40px; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(70%, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; border-radius: var(--radius); }
@media (min-width: 800px) { .strip { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0,1fr)); overflow: visible; } }
.foot-logo { width: 96px; height: 96px; margin-bottom: 16px; }

/* ── Lists & tables ── */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 1px; background: var(--gold); }
.navy .ticks li { border-color: rgba(255,255,255,.14); }
table.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { text-align: left; padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 500; color: var(--navy); width: 42%; }
.tbc { color: var(--muted); font-style: italic; }

/* ── Gallery ── */
.gallery { display: grid; grid-auto-flow: dense; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery figure { margin: 0; }
.gallery button { all: unset; display: block; width: 100%; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.gallery button:focus-visible { outline: 2px solid var(--turq); outline-offset: 2px; }
.gallery img { aspect-ratio: 1; width: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery button:hover img { transform: scale(1.03); }
.gallery .feature { grid-column: span 2; } .gallery .feature img { aspect-ratio: 2 / 1; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,20,42,.94); display: none; align-items: center; justify-content: center; padding: 56px 12px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; font-size: 22px; cursor: pointer; }
.lb-close { top: 12px; right: 12px; } .lb-prev { left: 12px; top: 50%; } .lb-next { right: 12px; top: 50%; }

/* ── Forms ── */
.form { display: grid; gap: 16px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; color: var(--navy); }
.form input, .form select, .form textarea { font: 16px/1.4 var(--sans); padding: 12px 14px; min-height: 48px; border: 1px solid #c8d3dd; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.form .row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.form-msg { font-size: 15px; color: var(--muted); }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; color: var(--muted); font-size: 14px; }
.contact-list a { font-size: 18px; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--turq); }

.booking-box { border: 1px dashed #b7c6d3; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); background: var(--mist); }

/* ── CTA band & footer ── */
.cta { background: var(--turq-pale); }
.site-foot { background: var(--navy-deep); color: #b8c6d6; font-size: 15px; padding: 56px 0 28px; }
.site-foot .cols { display: grid; gap: 32px; }
@media (min-width: 800px) { .site-foot .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot h4 { font: 500 20px/1.2 var(--serif); color: #fff; margin: 0 0 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { padding: 4px 0; }
.site-foot a { color: #dfe8f1; text-decoration: none; }
.site-foot a:hover { color: var(--turq-light); }
.site-foot .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* One gentle motion: sections fade up as they enter */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }
