@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plexmono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --navy: #0b2236;
  --navy-2: #12324d;
  --sea: #0f5f8c;
  --sea-bright: #1a8fc4;
  --foam: #e9f3f8;
  --stone: #efe6d4;
  --stone-dark: #d9c9a8;
  --sun: #f2b632;
  --red: #d2402f;
  --ink: #10202e;
  --muted: #4c5d6c;
  --white: #ffffff;
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-stretch: 112%;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.eyebrow {
  font-family: "Plex Mono", ui-monospace, monospace;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--sun); border-radius: 2px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--sun);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 118%; font-size: 1.2rem; letter-spacing: .01em; }
.brand svg { width: 34px; height: 34px; }
.brand span b { color: var(--sun); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; padding: 8px 14px; border-radius: 8px; font-weight: 550; font-size: .97rem;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--navy-2); }
.nav-links a[aria-current="page"] { color: var(--sun); }
.nav-links .btn { margin-left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--sun); color: var(--navy) !important;
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
  padding: 13px 22px; border-radius: 10px; font-size: 1rem; font-family: inherit;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(242,182,50,.35); }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--white) !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--white); }
.nav-links .btn { padding: 9px 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 84px 0 0; position: relative; z-index: 2; }
.hero p.lead { font-size: 1.2rem; color: #c8dbe8; max-width: 33ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .eyebrow { color: #9fc6de; }
.hero-art { position: relative; align-self: end; }
.hero-art svg { width: 100%; height: auto; }
.waves { position: relative; height: 90px; margin-top: -2px; }
.waves svg { position: absolute; left: 0; width: 200%; height: 100%; }
.waves .w1 { animation: drift 18s linear infinite; }
.waves .w2 { animation: drift 11s linear infinite reverse; opacity: .7; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.boat { animation: bob 5s ease-in-out infinite; transform-origin: 50% 90%; transform-box: fill-box; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-7px) rotate(1.2deg); } }
.sunpulse { animation: pulse 6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.gull { animation: glide 14s ease-in-out infinite; }
@keyframes glide { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-10px); } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.bg-foam { background: var(--foam); }
.bg-stone { background: var(--stone); }

/* Trip cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid #d6e5ee; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(11,34,54,.14); }
.card .art { height: 150px; }
.card .art svg { width: 100%; height: 100%; }
.card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card p { color: var(--muted); font-size: .97rem; flex: 1; }
.tag {
  font-family: "Plex Mono", monospace; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sea); margin-bottom: 8px;
}
.card a.more { font-weight: 700; color: var(--sea); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.card a.more:hover { text-decoration: underline; }

/* Split block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.coast { border-radius: var(--radius); overflow: hidden; background: var(--sea); }
.coast svg { width: 100%; height: auto; }
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.place {
  background: var(--white); border-radius: 12px; padding: 16px 18px; border-left: 4px solid var(--sea-bright);
  transition: border-color .2s, transform .2s;
}
.place:hover { border-color: var(--sun); transform: translateX(4px); }
.place strong { display: block; font-stretch: 110%; }
.place span { color: var(--muted); font-size: .92rem; }

/* Day on board: three columns, no numbers */
.day { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.day-col { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; }
.day-col .icon { width: 46px; height: 46px; margin-bottom: 18px; }
.day-col p { color: #c8dbe8; margin: 0; }
.day-col h3 { color: var(--white); }
.day-col::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--navy-2); }

/* Included list */
.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 28px; list-style: none; padding: 0; margin: 0; }
.included li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--stone-dark); }
.included svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--sea); }

/* CTA */
.cta { background: var(--sea); color: var(--white); padding: 72px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 .3em; }
.cta p { margin: 0; color: #d6ecf7; }

/* Footer */
footer { background: var(--navy); color: #9fb7c9; padding: 40px 0; font-size: .92rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer a { text-decoration: none; color: var(--white); }
footer nav { display: flex; gap: 18px; }

/* ---------- Charters page ---------- */
.page-hero { background: var(--navy); color: var(--white); padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero p { color: #c8dbe8; max-width: 52ch; font-size: 1.12rem; }
.page-hero .eyebrow { color: #9fc6de; }
.page-hero .deco { position: absolute; right: -40px; bottom: -10px; width: 420px; opacity: .9; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 2px solid #c8dbe8; background: var(--white); color: var(--ink);
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--sea); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.trips { display: grid; gap: 16px; }
.trip {
  display: grid; grid-template-columns: 180px 1fr auto; gap: 28px; align-items: center;
  background: var(--white); border: 1px solid #d6e5ee; border-radius: var(--radius); padding: 18px 24px 18px 18px;
  transition: box-shadow .25s, transform .25s, opacity .3s;
}
.trip:hover { box-shadow: 0 14px 30px rgba(11,34,54,.12); transform: translateY(-3px); }
.trip.hide { display: none; }
.trip .art { height: 120px; border-radius: 10px; overflow: hidden; }
.trip .art svg { width: 100%; height: 100%; }
.trip h3 { margin-bottom: .3em; }
.trip p { color: var(--muted); margin: 0 0 .6em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.facts li { font-size: .82rem; font-family: "Plex Mono", monospace; background: var(--foam); color: var(--navy-2); padding: 4px 10px; border-radius: 6px; }
.trip .btn { white-space: nowrap; }

/* Form */
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.form-note { background: var(--white); border-radius: var(--radius); padding: 22px; border-left: 4px solid var(--sun); margin-top: 22px; color: var(--muted); }
form.enquiry { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: 0 10px 30px rgba(11,34,54,.08); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 650; font-size: .93rem; }
input, select, textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 9px; border: 2px solid #c8dbe8; background: #fbfdfe; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sea-bright); box-shadow: 0 0 0 4px rgba(26,143,196,.15); }
textarea { min-height: 120px; resize: vertical; }
.field .err { color: var(--red); font-size: .85rem; min-height: 1.2em; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.form-status { grid-column: 1 / -1; border-radius: 10px; padding: 16px 18px; display: none; }
.form-status.show { display: block; background: var(--foam); border: 2px solid var(--sea-bright); color: var(--navy); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .included { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero-inner, .split, .form-wrap { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 56px; }
  .day { grid-template-columns: 1fr; }
  .trip { grid-template-columns: 1fr; }
  .trip .art { height: 140px; }
  .page-hero .deco { display: none; }
  section { padding: 68px 0; }
}
@media (max-width: 600px) {
  .nav-links a:not(.btn) { padding: 8px 8px; font-size: .9rem; }
  .nav-links .btn { display: none; }
  .brand { font-size: 1.05rem; }
  .cards, .included, .places { grid-template-columns: 1fr; }
  form.enquiry { grid-template-columns: 1fr; padding: 22px; }
}
.field .btn { align-self: flex-start; }
.hero-inner { padding-bottom: 28px; }
.hero-art svg { border-radius: 20px; }
.waves svg { max-width: none; }
.trips { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 420px) { .nav-links a:not(.btn) { padding: 6px 6px; font-size: .85rem; } .brand svg { width: 28px; height: 28px; } }
