/* ==========================================================================
   Calidreamin Charters — site.css
   Hand-written static build. No framework, no build step.
   Palette: deep Pacific ink + cool paper + the brand coral (#EB6753).
   Type:    Fraunces (display, variable) + DM Sans (body, variable), self-hosted.
   ========================================================================== */

/* --- fonts ---------------------------------------------------------------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-var-latin.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-stretch: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans-var-latin.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* --- tokens --------------------------------------------------------------- */
:root {
  /* ground */
  --ink:        #06171F;
  --ink-2:      #0C2A36;
  --ink-3:      #143C4B;
  --paper:      #FFFFFF;
  --paper-2:    #F1F5F6;
  --paper-3:    #E4EDEF;

  /* line + text */
  --line:       #D5E2E5;
  --line-dark:  #1E4353;
  --text:       #06171F;
  --text-2:     #47626D;
  --text-3:     #7B949D;
  --on-ink:     #EAF2F4;
  --on-ink-2:   #9DB6BF;

  /* brand */
  --accent:     #EB6753;
  --accent-2:   #D14B36;
  --sea:        #1B7F94;

  /* type */
  --display: 'Fraunces', ui-serif, Georgia, serif;
  --body:    'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* rhythm */
  --gutter:  clamp(20px, 5vw, 56px);
  --measure: 1240px;
  --section: clamp(72px, 10vw, 130px);
  --radius:  4px;

  --shadow:    0 1px 2px rgba(6,23,31,.05), 0 8px 24px -12px rgba(6,23,31,.18);
  --shadow-lg: 0 2px 4px rgba(6,23,31,.06), 0 24px 60px -24px rgba(6,23,31,.30);
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--on-ink);
  padding: 12px 20px; text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

/* --- typography ----------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 4.9rem); letter-spacing: -.028em; }
h2 { font-size: clamp(2rem, 4.1vw, 3.1rem); letter-spacing: -.022em; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); letter-spacing: -.012em; }
p  { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--body);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.eyebrow.on-dark { color: var(--accent); }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--text-2); max-width: 58ch; }
.lede.on-dark { color: var(--on-ink-2); }

/* --- layout --------------------------------------------------------------- */
.wrap { max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--wash { background: var(--paper-2); }

.section-head { max-width: 66ch; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body);
  font-size: .84rem; font-weight: 500;
  letter-spacing: .11em; text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-3); border-color: var(--ink-3); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 500;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
}
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- header --------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 18px;
  transition: background-color .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,23,31,.55), rgba(6,23,31,0));
  pointer-events: none; transition: opacity .3s ease;
}
.site-header.is-stuck { background: var(--paper); box-shadow: 0 1px 0 var(--line); padding-block: 12px; }
.site-header.is-stuck::before { opacity: 0; }
.site-header.is-solid { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid::before { opacity: 0; }

.header-inner { position: relative; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 40px; width: auto; transition: height .3s ease; }
.brand .logo-light { display: block; }
.brand .logo-dark  { display: none; }
.is-stuck .brand .logo-light, .is-solid .brand .logo-light { display: none; }
.is-stuck .brand .logo-dark,  .is-solid .brand .logo-dark  { display: block; }
.is-stuck .brand img { height: 34px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: .84rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; text-decoration: none; position: relative; padding-block: 4px;
}
.is-stuck .nav a, .is-solid .nav a { color: var(--text); }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--accent); }

.header-cta { flex: 0 0 auto; }
.header-cta .btn { padding: 12px 22px; font-size: .78rem; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: #fff;
  transition: transform .25s ease, opacity .2s ease, background-color .3s ease;
}
.nav-toggle span + span { margin-top: 6px; }
.is-stuck .nav-toggle span, .is-solid .nav-toggle span { background: var(--text); }
.nav-open .nav-toggle span { background: var(--text); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- hero ----------------------------------------------------------------- */
.hero { position: relative; min-height: min(94vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
/* Ocean-toned ground behind the hero photograph. Without it the first paint is a
   grey block until the image arrives — which is exactly how the old site looked
   to anyone on a slow connection. */
.hero__media { position: absolute; inset: 0; background: linear-gradient(160deg, #17505F 0%, #0A2530 100%); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* The drone footage sits OVER the photograph and fades in once it can actually play,
   so a slow or refused video never leaves a gap — the still is always underneath. */
.hero__video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s ease;
  pointer-events: none;
}
.hero__video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}
/* z-index 2 keeps the shade above the video layer (z-index 1), not just the photo —
   without it the footage washes out the headline the moment it fades in. */
.hero__media::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to top, rgba(6,23,31,.88) 0%, rgba(6,23,31,.42) 42%, rgba(6,23,31,.30) 100%);
}
/* z-index 3 puts the words above BOTH the video (1) and the shade (2). Without it the
   footage paints straight over the headline. */
.hero__inner { position: relative; z-index: 3; width: 100%; padding-block: clamp(56px, 9vw, 104px); color: #fff; }
.hero__inner .eyebrow { color: #fff; opacity: .82; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero__sub { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: rgba(255,255,255,.86); max-width: 46ch; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__facts {
  margin-top: clamp(40px, 6vw, 66px);
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.22);
  display: flex; flex-wrap: wrap; gap: 14px 52px;
}
.hero__fact { display: flex; flex-direction: column; gap: 2px; }
.hero__fact dt {
  font-size: .7rem; letter-spacing: .17em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.hero__fact dd {
  margin: 0; font-family: var(--display); font-size: 1.3rem; font-weight: 500; color: #fff;
  font-variant-numeric: tabular-nums;
}

/* --- vessel --------------------------------------------------------------- */
.vessel { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 76px); align-items: stretch; }
.vessel__text { display: flex; flex-direction: column; gap: 0; }
.vessel__text > .lede:last-of-type { margin-bottom: 32px; }
.vessel__media { display: flex; }
.vessel__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); min-height: 340px; }
.vessel__specs {
  /* margin-top:auto pins the specs to the bottom of the text column so it lines up
     with the foot of the photograph. Padding here would paint the grid-gap colour. */
  margin: auto 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px;
  background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius);
  overflow: hidden;
}
.vessel__specs div { background: var(--ink); padding: 20px 22px; }
.vessel__specs dt { font-size: .7rem; letter-spacing: .17em; text-transform: uppercase; color: var(--on-ink-2); }
.vessel__specs dd { margin: 6px 0 0; font-family: var(--display); font-size: 1.5rem; color: #fff; font-variant-numeric: tabular-nums; }

/* --- charter cards -------------------------------------------------------- */
.charters { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(18px, 2.2vw, 30px); }
.charter {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.charter:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--paper-3); }
.charter__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.charter__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.charter:hover .charter__media img { transform: scale(1.04); }
.charter__tag {
  position: absolute; left: 14px; top: 14px;
  background: rgba(6,23,31,.78); color: #fff; backdrop-filter: blur(6px);
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 2px;
}
.charter__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.charter__body h3 { margin-bottom: 10px; }
.charter__body p { color: var(--text-2); font-size: .97rem; }
.charter__meta {
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
}
.charter__price { font-family: var(--display); font-size: 1.22rem; font-variant-numeric: tabular-nums; }
.charter__price span { font-family: var(--body); font-size: .8rem; color: var(--text-3); }
.charter__dur { font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; color: var(--text-3); }

/* --- destinations --------------------------------------------------------- */
.dests { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(14px, 1.8vw, 24px); }
.dest { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dest:hover img { transform: scale(1.05); }
.dest::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,23,31,.9) 8%, rgba(6,23,31,.15) 58%, rgba(6,23,31,0) 100%);
}
.dest__label { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 22px; }
.dest__label h3 { color: #fff; font-size: 1.1rem; }
.dest__label p {
  margin: 7px 0 0; color: rgba(255,255,255,.76); font-size: .85rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* --- onboard / add-ons ---------------------------------------------------- */
.onboard { display: grid; gap: clamp(46px, 6vw, 86px); }
.onboard__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.5vw, 68px); align-items: center; }
.onboard__row:nth-child(even) .onboard__media { order: 2; }
.onboard__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.onboard__price {
  display: inline-flex; align-items: baseline; gap: 7px;
  margin-bottom: 14px; padding: 7px 14px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px;
}
.onboard__price b { font-family: var(--display); font-size: 1.05rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.onboard__price span { font-size: .78rem; color: var(--text-3); letter-spacing: .04em; }
.onboard__row h3 { margin-bottom: 12px; }
.onboard__row p { color: var(--text-2); }
.onboard__note { margin-top: 14px; font-size: .88rem; color: var(--text-3); }

/* An add-on with no photograph of its own — presented as a panel rather than a
   half-empty image row, so the section does not look like a failed image load. */
.onboard__feature {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
}
.onboard__feature h3 { margin-bottom: 12px; }
.onboard__feature p { color: var(--text-2); max-width: 62ch; }
.onboard__feature .onboard__price { background: var(--paper); }

/* --- gallery -------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.gallery a { display: block; border-radius: 3px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--ink-2); }
.gallery a:nth-child(1), .gallery a:nth-child(8) { grid-column: span 2; grid-row: span 2; aspect-ratio: 3 / 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.gallery a:hover img { transform: scale(1.05); opacity: .9; }

/* --- gallery viewer (built by site.js) ------------------------------------ */
.viewer {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: rgba(6,23,31,.94);
  padding: clamp(20px, 5vw, 60px);
  animation: viewer-in .2s ease;
}
@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }
.viewer img { max-width: 100%; max-height: 88vh; width: auto; border-radius: 3px; }
.viewer__close {
  position: absolute; top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px);
  width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
  transition: background-color .2s ease;
}
.viewer__close:hover { background: rgba(255,255,255,.2); }

/* --- how it works --------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(24px, 3.4vw, 52px); counter-reset: step; }
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--display); font-size: 2.4rem; line-height: 1;
  color: var(--accent); margin-bottom: 18px; font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: .97rem; }
.section--ink .step p { color: var(--on-ink-2); }
.section--ink .step h3 { color: #fff; }

/* --- enquiry form --------------------------------------------------------- */
.enquire { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 5vw, 80px); align-items: start; }
.enquire__aside p { color: var(--text-2); }
.enquire__contact { margin-top: 30px; display: grid; gap: 16px; }
.enquire__contact a {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text); font-size: 1rem;
}
.enquire__contact a:hover { color: var(--accent); }
.enquire__contact svg { flex: 0 0 auto; color: var(--accent); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-2); font-weight: 500; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(235,103,83,.14); outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C0392B; }
.field__err { font-size: .82rem; color: #C0392B; display: none; }
.field.has-error .field__err { display: block; }

.form__consent { font-size: .84rem; color: var(--text-3); }
.form__status { display: none; padding: 16px 18px; border-radius: var(--radius); font-size: .95rem; }
.form__status.is-ok   { display: block; background: #E7F3EC; border: 1px solid #A9D2BC; color: #23694A; }
.form__status.is-err  { display: block; background: #FBEAE7; border: 1px solid #E4B0A6; color: #A63A28; }
/* honeypot — must stay visually hidden but present */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-ink-2); padding-block: clamp(56px, 7vw, 86px) 34px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin-top: 20px; max-width: 34ch; font-size: .95rem; }
.footer-col h4 {
  font-family: var(--body); font-size: .74rem; font-weight: 500;
  letter-spacing: .17em; text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { text-decoration: none; font-size: .95rem; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); border-radius: 50%;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 60px); padding-top: 26px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between;
  font-size: .85rem;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 1020px) {
  .charters { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dests    { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 auto 0; z-index: 90;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 92px 24px 30px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%); transition: transform .3s ease;
    margin-left: 0;
  }
  .nav-open .nav { transform: translateY(0); }
  .nav a { color: var(--text); padding-block: 16px; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .nav a::after { display: none; }
  .header-cta { display: none; }
  .nav-open .site-header { background: var(--paper); }
  .nav-open .site-header::before { opacity: 0; }

  .vessel, .enquire, .onboard__row { grid-template-columns: 1fr; }
  .onboard__row:nth-child(even) .onboard__media { order: 0; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery a:nth-child(1), .gallery a:nth-child(8) { grid-column: span 2; grid-row: span 1; }
  .hero__facts { gap: 18px 34px; }
}
@media (max-width: 600px) {
  .charters { grid-template-columns: 1fr; }
  .dests    { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .form__row { grid-template-columns: 1fr; }
  .vessel__specs { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Interior pages — charters, journal, about, contact, legal
   ========================================================================== */

/* --- page hero (smaller than the homepage's) ------------------------------ */
.phero { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.phero__inner { position: relative; padding-block: clamp(120px, 15vw, 190px) clamp(44px, 6vw, 76px); }
.phero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.7rem); max-width: 18ch; }
.phero .eyebrow { color: var(--accent); }
.phero__sub { margin: 20px 0 0; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--on-ink-2); max-width: 56ch; }
.phero.has-media .phero__media { position: absolute; inset: 0; background: linear-gradient(160deg, #17505F, #0A2530); }
.phero.has-media .phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero.has-media .phero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,23,31,.92) 4%, rgba(6,23,31,.55) 55%, rgba(6,23,31,.42) 100%);
}
.phero.has-media .phero__sub { color: rgba(255,255,255,.85); }

/* --- prose (rich text from Studio) ---------------------------------------- */
.prose { max-width: 68ch; font-size: 1.06rem; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; color: var(--text-2); }
.prose h2, .prose h3, .prose h4 { color: var(--text); margin: 2em 0 .6em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.prose h3 { font-size: clamp(1.2rem, 2vw, 1.42rem); }
.prose h4 { font-size: 1.08rem; }
.prose strong { color: var(--text); font-weight: 650; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.1em; color: var(--text-2); }
.prose li { margin-bottom: .55em; padding-left: .2em; }
.prose li::marker { color: var(--accent); }
.prose img { border-radius: var(--radius); margin: 1.8em 0; width: 100%; height: auto; }
.prose a { color: var(--accent); }
.prose em { font-style: italic; }
.prose__updated {
  font-family: var(--mono, var(--body)); font-size: .84rem; color: var(--text-3);
  padding-bottom: 1.4em; border-bottom: 1px solid var(--line); margin-bottom: 2em !important;
}
.prose--legal { max-width: 72ch; }
.prose--legal h2 { font-size: 1.3rem; margin-top: 2.2em; }

/* --- charter detail ------------------------------------------------------- */
.charter-detail { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(34px, 5vw, 72px); align-items: start; }
.charter-side { position: sticky; top: 100px; }
.charter-side__card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.charter-side__card h2 { font-size: 1.12rem; margin: 0 0 18px; }
.charter-side__card dl { margin: 0 0 24px; display: grid; gap: 0; }
.charter-side__card dl div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.charter-side__card dl div:last-child { border-bottom: 0; }
.charter-side__card dt { font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; color: var(--text-3); }
.charter-side__card dd { margin: 0; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.charter-side__note { margin: 14px 0 0; font-size: .84rem; color: var(--text-3); text-align: center; }

/* --- add-ons list --------------------------------------------------------- */
.charter-addons h2 { margin: 0 0 26px; }
.addons { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.addons li {
  background: var(--paper); padding: 22px 26px;
  display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: baseline;
}
.addon__name { font-family: var(--display); font-size: 1.15rem; font-weight: 500; }
.addon__price { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--accent); white-space: nowrap; }
.addon__note { grid-column: 1 / -1; font-size: .86rem; color: var(--text-3); }
.addons__foot { margin: 18px 0 0; font-size: .89rem; color: var(--text-3); max-width: 62ch; }

/* --- journal -------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(20px, 2.6vw, 34px); }
.post-card { display: flex; flex-direction: column; }
.post-card__media { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-3); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding-top: 18px; }
.post-card__date { margin: 0 0 8px; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.post-card h2 { font-size: 1.18rem; margin: 0 0 10px; line-height: 1.28; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-card p { font-size: .93rem; color: var(--text-2); margin: 0; }

.post__head { max-width: 800px; padding-top: clamp(112px, 13vw, 150px); }
.post__head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 16px; }
.post__meta { font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 0; }
.post__cover { max-width: 940px; margin-block: clamp(30px, 4vw, 48px); }
.post__cover img { width: 100%; border-radius: var(--radius); }
.post__body { margin-inline: auto; }
.post__back { max-width: 68ch; margin: 46px auto 0; padding-top: 26px; border-top: 1px solid var(--line); }
.post .wrap { max-width: 940px; }

/* --- about ---------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0,1fr) 400px; gap: clamp(34px, 5vw, 72px); align-items: start; }
.about-side img { width: 100%; border-radius: var(--radius); }
.about-side__card { margin-top: 22px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.about-side__card h3 { margin: 0 0 16px; }
.about-side__card dl { margin: 0; }
.about-side__card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.about-side__card dl div:last-child { border-bottom: 0; }
.about-side__card dt { font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; color: var(--text-3); }
.about-side__card dd { margin: 0; font-weight: 500; }

/* --- contact -------------------------------------------------------------- */
.contact-facts { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-facts h2 { font-size: 1.12rem; margin: 0 0 14px; }
.contact-facts ul { margin: 0; padding-left: 1.05em; color: var(--text-2); font-size: .95rem; }
.contact-facts li { margin-bottom: .5em; }
.contact-facts li::marker { color: var(--accent); }

/* --- closing CTA band ----------------------------------------------------- */
.cta-band { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band__actions .btn { width: 100%; }

@media (max-width: 980px) {
  .charter-detail, .about-grid { grid-template-columns: 1fr; }
  .charter-side { position: static; }
  .post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .cta-band__actions .btn { width: auto; flex: 1 1 200px; }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .addons li { grid-template-columns: 1fr; }
  .addon__price { justify-self: start; }
}
