/* Keel & Compass — minimal theme on the official brand palette */
:root {
  --navy: #0b2d4f;
  --navy-deep: #08223d;
  --ocean: #1e6fa8;
  --gold: #c9a96a;
  --gold-deep: #a8874a;
  --sand: #f3f4f6;
  --ink: #0b2d4f;
  --muted: #5f6f80;
  --line: rgba(11, 45, 79, .12);
  --display: "Marcellus", "Optima", "Candara", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.005em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; }
.amp { color: var(--gold); }

.eyebrow {
  display: block; margin-bottom: 16px;
  font: 500 .74rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep);
}
.on-dark .eyebrow { color: var(--gold); }

/* ---------- Brand lock-up (mirrors the brand board) ---------- */
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand img { height: 50px; width: auto; flex: none; }
.lockup { display: inline-grid; line-height: 1; }
.wordmark {
  font: 400 1.42rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
}
.subline {
  display: flex; align-items: center; gap: 9px; margin-top: 7px;
  font: 500 .64rem/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; white-space: nowrap;
}
.subline span { padding-left: .4em; } /* balance the trailing letter-spacing */
.subline::before, .subline::after { content: ""; flex: 1 1 14px; min-width: 14px; height: 1px; background: currentColor; opacity: .75; transform: translateY(-.07em); } /* sit on the optical centre of the caps */
.subline.long { font-size: .5rem; letter-spacing: .22em; gap: 7px; }
.subline.long span { padding-left: .22em; }
.lockup.solo .wordmark { font-size: 2rem; letter-spacing: .035em; }
.brand-lg img { height: 62px; }
.brand-lg .wordmark { font-size: 1.45rem; }
.brand-lg .subline { font-size: .62rem; margin-top: 8px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.site-header.solid { background: rgba(255,255,255,.97); color: var(--navy); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.site-header .logo-dark { display: none; }
.site-header.solid .logo-light { display: none; }
.site-header.solid .logo-dark { display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .9rem; letter-spacing: .06em; opacity: .85; transition: opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"] { box-shadow: 0 1px 0 var(--gold); }
.lang { display: inline-flex; gap: 2px; font: 500 .74rem/1 var(--sans); letter-spacing: .14em; }
.lang a, .lang span { padding: 6px 7px; text-decoration: none; }
.lang a { opacity: .55; }
.lang a:hover { opacity: 1; }
.lang span { color: var(--gold); }
.menu-btn { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border: 1px solid transparent; border-radius: 2px;
  font: 500 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 15px; height: 15px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #d4b67c; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; padding: 140px 0 clamp(64px, 10vh, 110px); }
.hero.short { min-height: 70svh; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,34,61,.45) 0%, rgba(8,34,61,.1) 30%, rgba(8,34,61,.8) 100%),
    linear-gradient(90deg, rgba(8,34,61,.6) 0%, rgba(8,34,61,0) 70%);
}
.hero h1 { max-width: 16ch; }
.hero .lede { max-width: 50ch; font-size: clamp(1rem, 1.4vw, 1.15rem); opacity: .9; margin-bottom: 34px; }
.tagline { margin: 0 0 18px; font: 500 .78rem/1.3 var(--sans); letter-spacing: .36em; text-transform: uppercase; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.bg-sand { background: var(--sand); }
.on-dark { background: var(--navy); color: #fff; }
.on-dark p { color: rgba(255,255,255,.72); }

/* Divisions (home) */
.divisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.division {
  display: flex; flex-direction: column; padding: 44px 36px 36px; background: #fff;
  border: 1px solid var(--line); text-decoration: none; transition: border-color .25s;
}
.division:hover { border-color: var(--navy); }
.division .brand { margin-bottom: 30px; color: var(--navy); }
.division .sub { font: 500 .74rem/1.5 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.division p { color: var(--muted); margin-bottom: 28px; }
.division .more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font: 500 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.division .more svg { width: 15px; transition: transform .2s; }
.division:hover .more svg { transform: translateX(4px); }

/* Course (home) */
.course { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; counter-reset: leg; }
.leg { counter-increment: leg; border-top: 1px solid var(--line); padding-top: 26px; }
.leg::before { content: "0" counter(leg); display: block; font: 400 1rem/1 var(--display); color: var(--gold-deep); margin-bottom: 22px; }
.leg .pin { display: none; }
.leg .who { display: block; font: 500 .68rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.leg h3 { margin-bottom: 10px; }
.leg p { font-size: .96rem; margin: 0; color: var(--muted); }

/* Pillars / service grid */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; }
.pillar { border-top: 1px solid var(--line); padding-top: 30px; }
.pillar .ico { display: block; color: var(--gold-deep); margin-bottom: 22px; }
.pillar .ico svg { width: 28px; height: 28px; stroke-width: 1.3; }
.pillar .kicker { display: block; font: 500 .7rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.pillar p { color: var(--muted); margin: 0; }

/* Process */
.process-tabs { display: inline-flex; gap: 28px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.process-tabs button {
  border: 0; background: none; padding: 0 0 14px; margin-bottom: -1px; cursor: pointer; border-bottom: 1px solid transparent;
  font: 500 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.process-tabs button[aria-selected="true"] { color: var(--navy); border-color: var(--gold); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps[hidden] { display: none; }
.steps li { counter-increment: s; border-top: 1px solid var(--line); padding-top: 26px; }
.steps li::before { content: "0" counter(s); display: block; font: 400 1rem/1 var(--display); color: var(--gold-deep); margin-bottom: 18px; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Band */
.band { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 44px 48px; background: var(--navy); color: #fff; }
.band-gap { margin-top: 72px; }
.band h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: 6px; }
.band p { color: rgba(255,255,255,.75); margin: 0; max-width: 58ch; }

/* Sister-company row */
.cross { padding: 0; }
.cross-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px 0; border-top: 1px solid var(--line); }
.cross-row h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cross-row p { color: var(--muted); max-width: 62ch; margin: 0; }
.cross-row .btn { flex: none; }

/* Contact & forms */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact-aside .direct { margin-top: 28px; }
.contact-aside .direct a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 4px; }
.contact-aside .direct span.i { color: var(--gold); display: inline-flex; }
.contact-aside .direct svg { width: 18px; height: 18px; }
form.card { background: #fff; color: var(--ink); padding: clamp(26px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field legend { padding: 0; font: 500 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field legend { margin-bottom: 12px; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: 10px 0; border: 0; border-bottom: 1px solid rgba(11,45,79,.25); border-radius: 0; background: transparent;
  transition: border-color .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.field input::placeholder, .field textarea::placeholder { color: #9aa6b2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid rgba(11,45,79,.22); font-size: .9rem; transition: all .2s; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--ocean); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; }
.form-foot small { color: var(--muted); max-width: 34ch; }
.form-note { margin: 14px 0 0; font-size: .92rem; color: var(--ocean); min-height: 1.4em; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 72px 0 32px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand .brand { color: #fff; margin-bottom: 22px; }
.foot-brand p { max-width: 34ch; }
.site-footer h4 { font: 500 .7rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 6px 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 24px; font-size: .78rem; color: rgba(255,255,255,.42); }
.foot-bottom .credits { max-width: 70ch; }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--navy); color: #fff; padding: 40px 16px; }
.notfound img { width: 110px; margin: 0 auto 26px; }
.notfound p { color: rgba(255,255,255,.75); margin-bottom: 28px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s 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) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; inset: 84px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; color: var(--navy); padding: 8px 16px 22px; box-shadow: 0 16px 30px -18px rgba(0,0,0,.3);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: all .2s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border: 0; padding-top: 14px; }
  .nav-links a { display: block; padding: 14px 2px; font-size: 1rem; }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--gold-deep); }
}
@media (max-width: 1020px) {
  .divisions { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .lockup.solo .wordmark { font-size: 1.6rem; }
  .pillars, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .course { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .divisions, .contact { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 34px 28px; }
  .cross-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand { gap: 10px; }
  .brand img { height: 40px; }
  .wordmark { font-size: 1.12rem; }
  .lockup.solo .wordmark { font-size: 1.4rem; }
  .subline { font-size: .54rem; letter-spacing: .32em; margin-top: 6px; }
  .subline span { padding-left: .32em; }
  .subline.long { font-size: .4rem; letter-spacing: .16em; }
  .subline.long span { padding-left: .16em; }
  .brand-lg img { height: 56px; }
  .brand-lg .wordmark { font-size: 1.35rem; }
  .brand-lg .subline { font-size: .6rem; }
  .pillars, .services-grid, .steps, .course, .form-grid, .foot-grid { grid-template-columns: 1fr; }
  .pillars { gap: 40px; }
  .division { padding: 34px 24px 30px; }
  .hero-actions .btn { width: 100%; }
  .tagline { letter-spacing: .26em; }
}

/* Services intro with team photo */
.what-head { display: grid; grid-template-columns: 1fr minmax(0, 400px); gap: clamp(32px, 6vw, 80px); align-items: end; margin-bottom: 64px; }
.what-head .section-head { margin-bottom: 0; }
.what-head img { width: 100%; height: auto; aspect-ratio: 388 / 293; object-fit: cover; }
@media (max-width: 860px) {
  .what-head { grid-template-columns: 1fr; }
}

/* Keep the subject (right side of the photo) in frame when the hero crops */
.hero-right .hero-bg img { object-position: 72% 40%; }
.hero-right h1 { max-width: 520px; }
.hero-right .lede { max-width: 440px; }
@media (max-width: 860px) {
  /* Portrait crop: show the sunlit marina behind the copy; the team photo follows below */
  .hero-right .hero-bg img { object-position: 4% 50%; }
  /* Copy covers most of a portrait hero, so darken it evenly */
  .hero::before { background: linear-gradient(180deg, rgba(8,34,61,.55) 0%, rgba(8,34,61,.5) 40%, rgba(8,34,61,.82) 100%); }
}

/* Home banner: open water on the left carries the copy, boat stays clear on the right */
.hero-left .hero-bg img { object-position: 0% 50%; }
.hero-left h1 { max-width: 560px; }
.hero-left .lede { max-width: 460px; }
@media (max-width: 860px) {
  .hero-left .hero-bg img { object-position: 32% 50%; }
}

/* Charter destinations */
.dests { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.dest { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.dest img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.dest-body { padding: 30px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.dest .kicker { display: block; font: 500 .7rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.dest h3 { font-size: 1.5rem; }
.dest p { color: var(--muted); margin-bottom: 22px; }
.dest .from { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.dest .from strong { color: var(--navy); font-weight: 500; }
@media (max-width: 860px) {
  .dests { grid-template-columns: 1fr; }
  .dest-body { padding: 26px 24px 28px; }
}
/* Charters banner: bright Los Roques scene. Copy sits in the sky; boats and water stay clear below. */
.hero-charters { align-items: flex-start; padding-top: 136px; }
.hero-charters h1 { margin-bottom: 30px; }
.hero-charters .hero-bg img { object-position: 50% 0%; }
.hero-charters::before {
  background: linear-gradient(180deg, rgba(8,34,61,.78) 0%, rgba(8,34,61,.55) 32%, rgba(8,34,61,.12) 58%, rgba(8,34,61,0) 75%);
}
@media (max-width: 860px) {
  /* Portrait: the photo is height-fitted, so a taller hero pushes the boats below the copy */
  .hero-charters { min-height: max(100svh, 780px); padding-top: 118px; }
  .hero-charters .hero-bg img { object-position: 34% 50%; }
  .hero-charters::before { background: linear-gradient(180deg, rgba(8,34,61,.8) 0%, rgba(8,34,61,.62) 55%, rgba(8,34,61,.1) 80%, rgba(8,34,61,0) 100%); }
}
