/* ============================================================
   Wholesail.cruises — design system
   ============================================================
   Editorial broker aesthetic. Magazine, not SaaS.

   Principles (do not violate):
   - Serif headlines, lowercase URL as wordmark
   - No rounded buttons, no gradients, no soft drop shadows
   - Asymmetric layouts where possible
   - Numbers shown confidently, no "$X — Save Y%" treatment
   - Whitespace generous in editorial sections, tight in data sections
   - One brand color (deep navy), one accent (brass), used sparingly
   ============================================================ */

/* ---------- Fonts ---------- */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* Americana ExtraBold — drop the font file into /fonts/ and it takes over the
   hero wordmark automatically. Accepts woff2 / woff / ttf; rename your file to
   match one of these. Until a file is present, --display falls back to Bitter. */
@font-face {
  font-family: 'Americana ExtraBold';
  src: url('../fonts/americana-extrabold.woff2') format('woff2'),
       url('../fonts/americana-extrabold.woff') format('woff'),
       url('../fonts/americana-extrabold.ttf') format('truetype');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  /* Color */
  --ink:           #14253D;   /* deep navy, near-black with blue depth — primary brand */
  --ink-soft:      #2A3B53;   /* lifted navy for hover, secondary accents */
  --paper:         #FAF7F0;   /* warm ivory page background */
  --paper-pure:    #FFFFFF;   /* used sparingly — data tables only */
  --paper-tint:    #F2EDDF;   /* off-paper for section bands */
  --brass:         #B08D57;   /* accent — used VERY sparingly, never for backgrounds */
  --brass-soft:    #C8A876;   /* hover state for brass */
  --rule:          rgba(20, 37, 61, 0.12);  /* hairline rules */
  --rule-strong:   rgba(20, 37, 61, 0.32);
  --shadow-deep:   rgba(20, 37, 61, 0.06);  /* used ONCE, on a single editorial element */

  /* Typography — Hanken Grotesk everywhere; heavy weight on the wordmark. */
  --serif: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --sans:  'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --display: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  /* Splash hero photograph — local file at /img/splash.jpg. Drop a new jpg in to swap. */
  --hero-photo: url('../img/splash.jpg');

  /* Scale — editorial, not SaaS */
  --fs-mega:   clamp(3.5rem, 7vw, 6.5rem);   /* hero URL */
  --fs-hero:   clamp(2.25rem, 4.5vw, 3.75rem);
  --fs-h1:     clamp(2rem, 3.5vw, 2.75rem);
  --fs-h2:     clamp(1.5rem, 2.5vw, 1.875rem);
  --fs-h3:     1.25rem;
  --fs-body:   1.0625rem;     /* 17px — slightly larger than default for editorial weight */
  --fs-small:  0.9375rem;     /* 15px */
  --fs-meta:   0.8125rem;     /* 13px — captions, dates, labels */

  --lh-tight:  1.15;
  --lh-snug:   1.3;
  --lh-body:   1.55;
  --lh-prose:  1.65;

  /* Space scale */
  --s-1:  0.25rem;
  --s-2:  0.5rem;
  --s-3:  0.75rem;
  --s-4:  1rem;
  --s-5:  1.5rem;
  --s-6:  2rem;
  --s-7:  3rem;
  --s-8:  4rem;
  --s-9:  6rem;
  --s-10: 8rem;

  /* Layout */
  --col-max:     1240px;
  --col-reading: 680px;     /* editorial body text column */
  --col-narrow:  520px;
}

/* ---------- Reset / base ---------- */

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brass); }

button {
  font: inherit;
  cursor: pointer;
}

/* ---------- Containers ---------- */

.wrap {
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

@media (min-width: 768px) {
  .wrap { padding: 0 var(--s-6); }
}

.wrap-reading {
  max-width: var(--col-reading);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.wrap-narrow {
  max-width: var(--col-narrow);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

/* ---------- Header / nav ---------- */

.site-header {
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-5);
  flex-wrap: wrap;
}

.brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3125rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}

.brand em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  gap: var(--s-6);
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav a {
  color: var(--ink);
  padding: var(--s-1) 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}

.nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--brass);
}

/* ---------- Hero (editorial, NOT centered SaaS) ---------- */

.hero {
  padding: var(--s-8) 0 var(--s-9);
  position: relative;
}

.hero__url {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-mega);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 var(--s-7) 0;
  word-break: break-word;
}

.hero__lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.6vw, 1.4375rem);
  line-height: var(--lh-snug);
  color: var(--ink);
  max-width: 38em;
  margin: 0 0 var(--s-7) 0;
}

.hero__lead em {
  font-style: italic;
}

.hero__actions {
  display: flex;
  gap: var(--s-5);
  align-items: center;
  flex-wrap: wrap;
}

/* ---------- Buttons (no rounded pills, no shadows) ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: var(--s-3) var(--s-5);
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  border-radius: 0;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--ink-soft);
  color: var(--paper);
}

.btn--text {
  border: none;
  padding: var(--s-2) 0;
  background: transparent;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}

.btn--text:hover {
  background: transparent;
  color: var(--brass);
  border-bottom-color: var(--brass);
}

/* ---------- Section structure ---------- */

.section {
  padding: var(--s-9) 0;
}

.section--tinted {
  background: var(--paper-tint);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--ink h2,
.section--ink h3 {
  color: var(--paper);
}

/* Section eyebrow — small label above each editorial section
   in editorial-paper feel. Not "SECTION 01" SaaS-y, but
   a quiet descriptive label. */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 var(--s-4) 0;
}

.section--ink .eyebrow {
  color: var(--brass-soft);
}

/* ---------- Editorial typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-4) 0;
  line-height: var(--lh-tight);
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h1); }
h3 { font-size: var(--fs-h2); }
h4 { font-size: var(--fs-h3); }

p {
  margin: 0 0 var(--s-5) 0;
}

p:last-child { margin-bottom: 0; }

/* Editorial body prose */
.prose {
  font-size: var(--fs-body);
  line-height: var(--lh-prose);
  color: var(--ink);
}

.prose p {
  margin: 0 0 var(--s-5) 0;
}

.prose em { font-style: italic; }
.prose strong { font-weight: 600; }

/* Lead paragraph — first paragraph of an editorial piece */
.prose-lead {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: var(--s-6);
}

/* ---------- The sailing card (the data unit, used throughout) ---------- */

/* Cards are NOT rounded, NOT shadowed. They're rows in a catalog.
   Image left, content right, hairline rule below. Reads like a
   wholesale broker's printed list. */

.sailings {
  border-top: 1px solid var(--rule);
}

.sailing {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: var(--s-6);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background 0.15s;
}

.sailing:hover {
  background: rgba(20, 37, 61, 0.025);
}

.sailing__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-tint);
}

.sailing__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}

.sailing:hover .sailing__image img {
  transform: scale(1.03);
}

.sailing__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.sailing__date {
  font-family: var(--sans);
  font-size: var(--fs-meta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.sailing__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}

.sailing__meta {
  font-family: var(--sans);
  font-size: var(--fs-small);
  color: var(--ink-soft);
  margin-top: var(--s-1);
}

.sailing__meta span + span::before {
  content: "·";
  margin: 0 var(--s-2);
  color: var(--rule-strong);
}

.sailing__editorial {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-top: var(--s-2);
  max-width: 40em;
}

.sailing__price {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  align-items: flex-end;
  white-space: nowrap;
}

.sailing__price-number {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.75rem;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.015em;
}

.sailing__price-label {
  font-family: var(--sans);
  font-size: var(--fs-meta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.sailing__departs {
  font-family: var(--sans);
  font-size: var(--fs-meta);
  color: var(--ink-soft);
  margin-top: var(--s-2);
  font-style: italic;
}

/* mobile sailing card */
@media (max-width: 720px) {
  .sailing {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
  .sailing__image {
    aspect-ratio: 16 / 9;
  }
  .sailing__price {
    text-align: left;
    align-items: flex-start;
    flex-direction: row;
    gap: var(--s-3);
    align-items: baseline;
  }
}

/* ---------- The big editorial hero photograph treatment ---------- */

.editorial-hero {
  position: relative;
  margin: 0 0 var(--s-8) 0;
}

.editorial-hero__image {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  background: var(--ink);
}

@media (max-width: 720px) {
  .editorial-hero__image { aspect-ratio: 4 / 3; }
}

.editorial-hero__caption {
  font-family: var(--sans);
  font-size: var(--fs-meta);
  color: var(--ink-soft);
  margin-top: var(--s-3);
  padding: 0 var(--s-5);
  font-style: italic;
}

/* ---------- Sailing detail page ---------- */

.detail-meta {
  display: flex;
  gap: var(--s-6);
  flex-wrap: wrap;
  padding: var(--s-5) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--s-7);
}

.detail-meta__item {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.detail-meta__label {
  font-family: var(--sans);
  font-size: var(--fs-meta);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.detail-meta__value {
  font-family: var(--serif);
  font-size: 1.1875rem;
  color: var(--ink);
  font-weight: 500;
}

/* itinerary list (port-by-port) — typographic, NOT cards */
.itinerary {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}

.itinerary li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s-5);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.itinerary__day {
  font-family: var(--sans);
  font-size: var(--fs-meta);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.itinerary__port {
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--ink);
  font-weight: 500;
}

.itinerary__port .arrive {
  display: block;
  font-family: var(--sans);
  font-size: var(--fs-meta);
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ---------- Forms (inquiry) ---------- */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.form-field label {
  font-family: var(--sans);
  font-size: var(--fs-meta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--serif);
  font-size: 1.125rem;
  padding: var(--s-3) 0;
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--brass);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  padding: var(--s-3) 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-8) 0;
  margin-top: var(--s-10);
}

.site-footer .brand {
  color: var(--paper);
  font-size: 1.5rem;
}

.site-footer .brand em {
  color: var(--brass-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-7);
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.footer-nav a {
  font-family: var(--sans);
  font-size: var(--fs-small);
  color: rgba(250, 247, 240, 0.85);
}

.footer-nav a:hover {
  color: var(--paper);
}

.footer-fine {
  font-family: var(--sans);
  font-size: var(--fs-meta);
  color: rgba(250, 247, 240, 0.55);
  line-height: var(--lh-body);
}

/* ---------- Editorial chrome — the small touches ---------- */

/* The horizontal rule with a centered small mark — magazine-style
   section break. Used VERY sparingly. */
.section-break {
  border: none;
  height: 1px;
  background: var(--rule-strong);
  margin: var(--s-8) auto;
  max-width: 80px;
  position: relative;
}

/* The "stat" treatment — a number used as an editorial pull-quote */
.stat {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.stat-label {
  font-family: var(--sans);
  font-size: var(--fs-meta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: var(--s-2);
  font-weight: 500;
}

/* ---------- Filter bar (sailings index) ---------- */

.filters {
  display: flex;
  gap: var(--s-5);
  align-items: baseline;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: var(--fs-small);
  flex-wrap: wrap;
}

.filters label {
  font-size: var(--fs-meta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-right: var(--s-2);
}

.filters select {
  font-family: var(--sans);
  font-size: var(--fs-small);
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  cursor: pointer;
}

.filters__count {
  margin-left: auto;
  font-style: italic;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.split-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
}

@media (max-width: 720px) {
  .split-cols { grid-template-columns: 1fr; gap: var(--s-6); }
}

.three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}

@media (max-width: 720px) {
  .three-cols { grid-template-columns: 1fr; gap: var(--s-5); }
}

/* ---------- Ocean / sky hero treatment ----------
   Replaces the plain paper splash with a sky-to-sea gradient.
   Top stays light so the navy wordmark and body text remain legible. */

/* ---------- Ocean splash hero (cruise-line treatment) ----------
   Full-bleed sea photograph, bold display headline, white text on a
   legibility scrim, with open sky as negative space. The photo is a stable
   Unsplash CDN link (var --hero-photo); if it fails to load, the layered
   sea gradient beneath carries the look so nothing ever goes blank. */

.hero--ocean {
  position: relative;
  color: #fff;
  background-color: #14609b;
  background-image:
    linear-gradient(180deg, rgba(8,32,56,0.34) 0%, rgba(8,32,56,0.10) 34%, rgba(8,32,56,0.62) 100%),
    var(--hero-photo),
    linear-gradient(180deg, #5db9e8 0%, #2e8fc9 46%, #14609b 100%);
  background-size: cover, cover, cover;
  background-position: center, center 38%, center;
  background-repeat: no-repeat;
}

.hero--ocean .eyebrow { color: rgba(255,255,255,0.88); }
.hero--ocean h1,
.hero--ocean .hero__url,
.hero--ocean .hero__lead,
.hero--ocean .prose-lead { color: #fff; }
.hero--ocean .hero__lead em { color: #fff; }
.hero--ocean h1 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; }

/* hero buttons pop bright on the photo */
.hero--ocean .btn--primary { background: #fff; color: var(--ink); border-color: #fff; }
.hero--ocean .btn--primary:hover { background: var(--brass-soft); border-color: var(--brass-soft); color: var(--ink); }
/* generic ocean-hero buttons go white — but NEVER restyle the primary button's
   text here, or it inherits white-on-white and vanishes until hover. */
.hero--ocean .btn:not(.btn--primary) { color: #fff; border-color: rgba(255,255,255,0.85); }
.hero--ocean .btn:not(.btn--primary):hover { background: #fff; color: var(--ink); }
.hero--ocean .btn--text { color: #fff; border-bottom-color: rgba(255,255,255,0.85); }
.hero--ocean .btn--text:hover { color: var(--brass-soft); border-bottom-color: var(--brass-soft); }

/* the big splash (homepage + weddings): tall, text low, open sky above */
.hero--splash {
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--s-9);
  padding-bottom: var(--s-9);
}
.hero--splash .hero__url {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
  margin: 0 0 var(--s-5) 0;
  word-break: normal;
  overflow-wrap: anywhere;
}
.hero--splash .hero__tld { color: #27AAE1; }
.hero--splash .hero__lead {
  font-family: var(--serif);
  max-width: 30em;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  text-shadow: 0 1px 20px rgba(0,0,0,0.25);
}
.hero--splash .hero__lead a { color: #fff; border-bottom-color: rgba(255,255,255,0.6); }

/* small photographer credit, lower-right of the splash */
.hero__credit {
  position: absolute;
  right: var(--s-5);
  bottom: var(--s-3);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.72);
  margin: 0;
}
.hero__credit a { color: inherit; border-bottom: 1px solid rgba(255,255,255,0.4); }
.hero__credit a:hover { color: #fff; }

/* ---------- Image "scenes" — designed seascapes where photos will go ----------
   Used for sailing cards and detail-page heroes until licensed photography
   is dropped in. Always render; no external dependency. */

.scene {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #cfe8f7 0%, #7fbfe6 38%, #2f7fc0 70%, #184f86 100%);
}

.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(82% 56% at 72% 15%, rgba(255, 247, 224, 0.55) 0%, rgba(255, 247, 224, 0) 56%);
  pointer-events: none;
}

/* tropical turquoise */
.scene--bahamas,
.scene--caribbean,
.scene--mexican-riviera,
.scene--panama-canal {
  background: linear-gradient(180deg, #d6f1fb 0%, #8fdce9 32%, #2fb6cb 58%, #0f8db0 78%, #0a6c90 100%);
}

/* bermuda — soft pink sky over teal water */
.scene--bermuda {
  background: linear-gradient(180deg, #fde7df 0%, #cdeef0 30%, #69c8d2 60%, #1f93a8 100%);
}

/* alaska — glacier steel */
.scene--alaska {
  background: linear-gradient(180deg, #e4eff3 0%, #b2ced8 32%, #7298a8 62%, #3f6374 100%);
}

/* mediterranean / middle east / europe — bright azure */
.scene--mediterranean,
.scene--mediterranean-middle-east,
.scene--europe {
  background: linear-gradient(180deg, #d4eafb 0%, #8cc4e9 35%, #3a85c4 66%, #18548a 100%);
}

/* pacific coast — cooler blue with a warm horizon */
.scene--pacific-coast {
  background: linear-gradient(180deg, #ecdfc7 0%, #c0d3df 32%, #7299b6 62%, #3b5f7a 100%);
}

/* open-ocean crossings */
.scene--transatlantic,
.scene--repositioning {
  background: linear-gradient(180deg, #c9dfed 0%, #8eb7d2 38%, #427aa4 70%, #1c4a72 100%);
}

/* gentle zoom-in on hover, matching the old photo behavior */
.sailing:hover .sailing__image.scene::before { transform: scale(1.06); transition: transform 0.4s ease-out; }

/* ---------- Real photo overlay ----------
   A baked Unsplash photo (data.hero_image) is laid over the .scene
   gradient. If the photo fails to load it hides itself (inline onerror)
   and the gradient shows through — so the page never goes blank/beige. */
.scene__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;                 /* sit above the gradient + sun-glow ::before */
}

.editorial-hero__image .scene__img { z-index: 1; }

/* card hover zoom applies to the photo when present */
.sailing:hover .sailing__image .scene__img {
  transform: scale(1.03);
  transition: transform 0.4s ease-out;
}

/* small photographer credit on the detail-page hero */
.editorial-hero__credit {
  font-style: normal;
  color: var(--ink-soft);
  opacity: 0.8;
}
.editorial-hero__credit a { border-bottom: 1px solid var(--rule); }
.editorial-hero__credit a:hover { color: var(--brass); }

/* ============================================================
   MOTION LAYER — load + scroll reveals, hover micro-interactions
   ------------------------------------------------------------
   js/site.js adds .anim-ready to <html> ONLY when IntersectionObserver
   is supported, then toggles .is-visible on each section as it enters the
   viewport. If the script never runs, .anim-ready is absent, the hiding
   rules below never apply, and every section shows normally. Fully gated
   behind prefers-reduced-motion so it respects that setting.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .anim-ready body > section,
  .anim-ready .editorial-hero {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }
  .anim-ready body > section.is-visible,
  .anim-ready .editorial-hero.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Hover micro-interactions (no JS, always on) ---------------- */
.btn {
  transition: background 0.18s ease, color 0.18s ease,
              transform 0.18s ease, box-shadow 0.22s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20, 37, 61, 0.20); }
.btn:active { transform: translateY(0); box-shadow: none; }

.sailing { transition: background 0.18s ease, transform 0.22s ease; }
.sailing:hover { transform: translateX(5px); }

/* Animated underline on text links (the "How buying works" style) */
.btn--text { position: relative; }
.btn--text::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn--text:hover::after { transform: scaleX(1); }

/* ============================================================
   HOMEPAGE SHOWPIECE — streaming headline, stat band, numbered
   cards, hero eyebrow + scroll cue. All hidden states are gated
   on .home-anim (added by home.js only when motion is supported);
   without it everything renders in final state.
   ============================================================ */

/* hero eyebrow */
.hero__eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-meta);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  margin: 0 0 var(--s-3);
}

/* streaming headline letters */
.home-anim [data-stream] .stream-word {
  display: inline-block;
  white-space: nowrap;
}
.home-anim [data-stream] .stream-ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
  white-space: pre;
}
.home-anim [data-stream].is-streamed .stream-ch {
  opacity: 1;
  transform: none;
}

/* generic reveal (hero lead, actions, scroll cue, cards) */
.home-anim [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1),
              transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.home-anim [data-reveal].is-in { opacity: 1; transform: none; }

/* scroll cue */
.hero__scroll {
  position: absolute;
  left: 50%; bottom: var(--s-5);
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
}
.home-anim .hero__scroll { transform: translateX(-50%) translateY(26px); }
.home-anim .hero__scroll.is-in { transform: translateX(-50%); }
.hero__scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0));
  animation: scrollpulse 2.1s ease-in-out infinite;
  transform-origin: top;
}
.hero__scroll-text {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
}
@keyframes scrollpulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* stat band */
.statband {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.statband__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.stat { text-align: left; position: relative; padding-left: 1.25rem; }
.stat::before {
  content: ""; position: absolute; left: 0; top: 0.1em; bottom: 0.1em;
  width: 3px; background: var(--brass);
}
.stat__num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat__num .stat__pre {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 0.35rem;
}
.stat__label {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(250,247,240,0.86);
  line-height: 1.4;
}
.home-anim .statband { opacity: 0; transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.home-anim .statband.is-in { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .statband__grid { grid-template-columns: repeat(2, 1fr); }
}

/* numbered option cards */
.optcard {
  position: relative;
  border-top: 2px solid var(--ink);
  padding-top: var(--s-4);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.optcard__num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  color: var(--brass);
  margin-bottom: var(--s-2);
  letter-spacing: -0.02em;
}
.optcard:hover { transform: translateY(-4px); }

/* numbered process steps (How It Works) */
.steps {
  list-style: none;
  margin: var(--s-5) 0 0;
  padding: 0;
  position: relative;
}
.step {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  padding: var(--s-4) 0;
  position: relative;
}
.step + .step { border-top: 1px solid var(--rule); }
.step__num {
  flex: 0 0 auto;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--brass);
  width: 1.6em;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.step__body { padding-top: 0.15em; }
.step__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}
.step__body p { margin: 0; color: var(--ink-soft); line-height: 1.55; }
