/* Llevant Sailing demo. Native CSS, one theme, radius rule:
   buttons are pills, media and inputs use --r. */

:root {
  --sand: #e3d4b8;
  --paper: #f6f2ea;
  --blue: #0f2b46;
  --blue-soft: #1d4a6d;
  --terra: #b4532d;
  --terra-dark: #983f1d;
  --muted: #465c70;
  --line: rgba(15, 43, 70, 0.22);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(1.25rem, 4vw, 4rem);
  --r: 4px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--blue);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }

:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gut); }

.section { padding-block: clamp(5rem, 11vw, 10rem); position: relative; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra-dark);
  margin-bottom: 1.25rem;
}

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 18ch;
  padding-bottom: 0.08em;
}

em { font-style: italic; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 1rem 2rem;
  border-radius: 999px;
  border: 1px solid var(--terra);
  background: var(--terra);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s;
}
.btn:hover { background: var(--terra-dark); border-color: var(--terra-dark); transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }
.btn--sm { padding: 0.65rem 1.35rem; font-size: 0.875rem; }
.btn--light { background: var(--paper); color: var(--blue); border-color: var(--paper); }
.btn--light:hover { background: #fff; color: var(--terra-dark); border-color: #fff; }
.btn--form { margin-top: 0.5rem; min-width: 12rem; }

/* Media */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: linear-gradient(135deg, #2b6f8a, #0f2b46);
}
.media img {
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
}
.media.ph::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.4;
}
.media.ph img { visibility: hidden; }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-inline: var(--gut);
  color: #fff;
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.nav.is-solid {
  background: rgba(246, 242, 234, 0.94);
  color: var(--blue);
  box-shadow: 0 1px 0 var(--line);
}
@supports (backdrop-filter: blur(10px)) {
  .nav.is-solid { background: rgba(246, 242, 234, 0.82); backdrop-filter: blur(14px); }
}
.nav__brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.nav__links { display: flex; gap: 2.25rem; margin-left: auto; }
.nav__links a {
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.9;
  transition: opacity 0.3s;
}
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--blue);
}
.hero__media { position: absolute; inset: 0; border-radius: 0; }
.hero__media img { top: -8%; height: 116%; object-position: 50% 50%; }
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(9, 28, 48, 0.82) 0%, rgba(9, 28, 48, 0.35) 45%, rgba(9, 28, 48, 0.18) 100%);
}
.hero__content {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 7rem var(--gut) clamp(3rem, 7vh, 5rem);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 6.4rem);
  line-height: 1;
  letter-spacing: -0.015em;
  margin-bottom: 1.75rem;
}
.line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.line > span { display: block; }
.hero__sub {
  max-width: 34rem;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.92);
}

.motion .hero__title .line > span { transform: translateY(115%); }
.motion .hero__sub,
.motion .hero__cta { opacity: 0; transform: translateY(24px); }

/* The coast: editorial intro */
.coast { background: var(--paper); }
.coast__kicker {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra-dark);
  margin-bottom: 1.75rem;
}
.coast__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.coast__intro {
  max-width: 60ch;
  margin-top: clamp(1.5rem, 2.4vw, 2.25rem);
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: var(--muted);
}
.coast__intro p + p { margin-top: 1.1em; }
.coast__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(20rem, 36vw, 34rem);
  column-gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: stretch;
}
.coast__text { align-self: start; }
.coast__photo { aspect-ratio: 3 / 4; }
.coast__photo img { top: -7.5%; height: 115%; }
.motion .coast__photo { opacity: 0; transform: translateY(36px); }
.coast__points {
  list-style: none;
  margin: clamp(3.5rem, 7vw, 7rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
.coast__pt { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.coast__num {
  display: block;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--terra-dark);
  margin-bottom: 0.9rem;
}
.coast__name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 1.9vw, 1.8rem); line-height: 1.15; }
.coast__pt p { font-size: 0.95rem; line-height: 1.55; color: var(--muted); margin-top: 0.5rem; max-width: 26ch; }
.motion .coast__title .line > span { transform: translateY(115%); }
.motion .coast__pt { opacity: 0; transform: translateY(28px); }

/* Parallax strips (CALM, SAIL): four vertical strips, one letter each, photos drift behind fixed letters */
.strips {
  position: relative;
  height: 110vh;
  min-height: 34rem;
  background: var(--paper);
  overflow: hidden;
}
.strips__strips, .strips__word {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 3px;
}
.strips__strip { position: relative; overflow: hidden; background: var(--blue); }
.strips__strip img {
  position: absolute;
  left: 0;
  top: -15%;
  width: 100%;
  height: 130%;
  object-fit: cover;
}
.strips__word {
  margin: 0;
  z-index: 1;
  pointer-events: none;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: 1;
  color: #f4efe6;
  text-shadow: 0 2px 28px rgba(9, 28, 48, 0.32);
}
.strips__word span { display: flex; align-items: center; justify-content: center; }

/* Manifesto: one photo cut into grid pieces; a few corners are rounded to show the page behind */
.manifesto {
  --W: min(calc(92vh * 5 / 6), calc(100vw - 2 * var(--gut)));
  background: var(--paper);
  padding-block: 4vh;
  display: flex;
  justify-content: center;
}
.mpanel {
  --g: 1;
  position: relative;
  width: var(--W);
  aspect-ratio: 5 / 6;
  display: grid;
  grid-template-columns: 13fr 60fr 27fr;
  grid-template-rows: 6fr 27fr 35fr 32fr;
  color: #fff;
}
.mp {
  background-image: url("../img/velero-turquesa.webp");
  background-repeat: no-repeat;
  background-size: var(--W) calc(var(--W) * 1.5);
  background-position: calc(var(--W) * var(--x) * -1) calc(var(--W) * var(--y) * -1);
  background-color: var(--blue);
}
.mp--br { border-bottom-right-radius: calc(var(--W) * 0.152 * var(--g)); }
.mp--tl { border-top-left-radius: calc(var(--W) * 0.127 * var(--g)); }
.mp--bl { border-bottom-left-radius: calc(var(--W) * 0.197 * var(--g)); }
.mp:nth-child(11).mp--br { border-bottom-right-radius: calc(var(--W) * 0.18 * var(--g)); }
.mlines {
  --ln: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25));
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    var(--ln) 13% 0 / 1px 100% no-repeat,
    var(--ln) 73% 0 / 1px 100% no-repeat,
    var(--ln) 0 6% / 100% 1px no-repeat,
    var(--ln) 0 33% / 100% 1px no-repeat,
    var(--ln) 0 68% / 100% 1px no-repeat;
}
.mtext {
  position: absolute;
  left: calc(13% + clamp(1rem, 2.4vw, 2rem));
  top: calc(6% + clamp(0.9rem, 2vw, 1.6rem));
  width: calc(60% * 0.68);
  text-shadow: 0 1px 18px rgba(9, 28, 48, 0.4);
}
.mtext__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, calc(var(--W) * 0.068), 3rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.mtext__body {
  font-family: var(--sans);
  font-size: clamp(0.78rem, calc(var(--W) * 0.021), 0.98rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.8em;
}

/* Fleet */
.fleet { background: var(--paper); padding-top: 0; overflow-x: clip; }
.fleet__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2vw, 2rem);
  row-gap: clamp(4rem, 9vw, 9rem);
  margin-top: clamp(3rem, 6vw, 6rem);
}
.boat { will-change: transform; }
.boat--a { grid-column: 1 / 7; grid-row: 1; }
.boat--b { grid-column: 8 / 13; grid-row: 1; align-self: end; }
.boat--c { grid-column: 4 / 11; grid-row: 2; }
.boat__media { aspect-ratio: 4 / 5; }
.boat--b .boat__media { aspect-ratio: 4 / 3; }
.boat--c .boat__media { aspect-ratio: 16 / 10; }
.boat__info {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1.5rem;
  row-gap: 0.25rem;
  padding-top: 1.25rem;
  align-items: end;
}
.boat__name { font-family: var(--serif); font-weight: 500; font-size: 2.2rem; line-height: 1.1; }
.boat__type { grid-column: 1; color: var(--muted); font-size: 0.95rem; }
.boat__info .specs { grid-column: 1; margin-top: 0.75rem; }
.boat__price { grid-column: 2; grid-row: 1 / 3; text-align: right; font-size: 0.95rem; color: var(--muted); align-self: start; padding-top: 0.5rem; }
.boat__price strong { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; color: var(--terra-dark); line-height: 1.1; }
.specs { display: flex; gap: 2rem; }
.specs dt { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.specs dd { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.2; }

/* Routes */
.routes { background: var(--sand); overflow: hidden; padding-bottom: clamp(5rem, 10vw, 9rem); }
.routes .eyebrow { margin-bottom: 0; }
.routes__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.6rem, 16vw, 15rem);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  width: max-content;
  padding: 0.1em var(--gut) 0.15em;
  color: var(--blue);
  will-change: transform;
}
.routes__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
  margin-top: clamp(-14rem, -9vw, -4rem);
  position: relative;
}
.route { will-change: transform; }
.route--1 { grid-column: 1 / 5; margin-top: 8vw; }
.route--2 { grid-column: 5 / 8; }
.route--3 { grid-column: 8 / 11; margin-top: 16vw; }
.route--4 { grid-column: 11 / 13; margin-top: 6vw; }
.route__media { aspect-ratio: 4 / 5; box-shadow: 0 24px 50px -28px rgba(15, 43, 70, 0.55); }
.route--2 .route__media { aspect-ratio: 1 / 1; }
.route--3 .route__media { aspect-ratio: 4 / 5; }
.route--4 .route__media { aspect-ratio: 3 / 5; }
.route__name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.15; margin-top: 1.1rem; }
.route__meta { font-size: 0.85rem; color: var(--terra-dark); font-weight: 500; margin-top: 0.15rem; }
.route__text { font-size: 0.95rem; color: var(--muted); margin-top: 0.5rem; max-width: 30ch; }

/* How it works */
.how { background: var(--paper); }
.how__grid {
  display: grid;
  grid-template-columns: 5fr 4fr 5fr;
  column-gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.step { padding-top: 1.5rem; position: relative; }
.step--2 { margin-top: clamp(3rem, 8vw, 8rem); }
.step--3 { margin-top: clamp(1.5rem, 4vw, 4rem); }
.step__rule {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--terra);
  transform-origin: left center;
}
.step__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.1;
  padding-bottom: 0.1em;
  margin-bottom: 0.9rem;
}
.step p { color: var(--muted); max-width: 34ch; }

/* Gallery */
.gallery { background: var(--sand); overflow: hidden; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2vw, 2rem);
  margin-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: 4vw;
}
.g { will-change: transform; position: relative; }
.g .media { height: 100%; box-shadow: 0 30px 60px -34px rgba(15, 43, 70, 0.6); }
.g1 { grid-column: 1 / 6; grid-row: 1 / 4; aspect-ratio: 3 / 4; z-index: 1; }
.g2 { grid-column: 8 / 12; grid-row: 1 / 3; aspect-ratio: 2 / 3; margin-top: 10vw; z-index: 3; }
.g3 { grid-column: 4 / 9; grid-row: 4 / 6; aspect-ratio: 3 / 2; margin-top: -4vw; z-index: 2; }
.g4 { grid-column: 9 / 13; grid-row: 5 / 7; aspect-ratio: 4 / 3; margin-top: 0; z-index: 4; }
.g5 { grid-column: 1 / 4; grid-row: 5 / 7; aspect-ratio: 2 / 3; margin-top: 2vw; z-index: 3; }

/* Reviews */
.reviews { background: var(--paper); }
.reviews__grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  column-gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
}
.quote blockquote { margin: 0; }
.quote--main blockquote p {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.8vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  padding-bottom: 0.1em;
}
.quote figcaption { margin-top: 1.5rem; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }
.quote figcaption strong { color: var(--blue); font-weight: 500; }
.reviews__side { display: grid; gap: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(0rem, 6vw, 6rem); }
.quote--small { border-top: 2px solid var(--terra); padding-top: 1.5rem; }
.quote--small p { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.25; }

/* FAQ */
.faq { background: var(--paper); padding-top: 0; }
.faq__list { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 60rem; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.2;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--terra), var(--terra)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--terra), var(--terra)) center / 1.5px 100% no-repeat;
  transition: transform 0.4s var(--ease);
}
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); max-width: 52rem; padding: 0 3rem 1.75rem 0; }

/* Availability form */
.avail { background: var(--sand); }
.avail__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  column-gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
}
.avail__lead { margin-top: 1.5rem; max-width: 30rem; color: var(--muted); }
.avail .eyebrow { color: var(--terra-dark); }
.avail__lead { color: #2f4659; }

.form { display: grid; gap: 1.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; border: 0; padding: 0; margin: 0; min-width: 0; }
label, legend { font-size: 0.9rem; font-weight: 500; padding: 0; }
input, select {
  width: 100%;
  font: inherit;
  font-weight: 400;
  color: var(--blue);
  background: var(--paper);
  border: 1px solid rgba(15, 43, 70, 0.55);
  border-radius: var(--r);
  padding: 0.85rem 1rem;
  min-height: 3.25rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
input::placeholder { color: #566b7e; opacity: 1; }
input:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15, 43, 70, 0.2); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #9a2f12; box-shadow: 0 0 0 1px #9a2f12; }
.err { min-height: 1.25rem; font-size: 0.85rem; line-height: 1.4; color: #8a2a0e; font-weight: 500; }
.radios { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.radio { position: relative; cursor: pointer; }
.radio input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; cursor: pointer; }
.radio span {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0 1.4rem;
  border: 1px solid rgba(15, 43, 70, 0.55);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 400;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.radio input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); }
.radio input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 3px; }
.form__ok {
  padding: 1.25rem 1.5rem;
  background: var(--paper);
  border-left: 3px solid var(--terra);
  border-radius: var(--r);
  font-weight: 400;
}
.btn[aria-busy="true"] { opacity: 0.75; pointer-events: none; }

/* Footer */
.footer { background: var(--blue); color: #e9eef3; padding-top: clamp(4rem, 8vw, 7rem); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem clamp(1.5rem, 4vw, 4rem);
}
.footer__logo { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; line-height: 1.1; color: #fff; }
.footer__note { margin-top: 0.75rem; color: #b7c4d1; max-width: 26ch; font-size: 0.95rem; }
.footer__col { font-style: normal; font-size: 0.95rem; }
.footer__col h3 { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: #f0b79d; margin-bottom: 0.75rem; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__credit { font-size: 0.85rem; color: #b7c4d1; margin-top: 0.35rem; }
.footer__credit a { color: #e9eef3; text-underline-offset: 3px; }
.footer__credit a:hover { color: #fff; }
.footer__legal { margin-top: clamp(3rem, 6vw, 5rem); padding-block: 1.5rem 2rem; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.85rem; color: #b7c4d1; }

/* Narrow desktop and tablet: price moves under the specs */
@media (max-width: 1200px) {
  .boat { min-width: 0; }
  .boat__info { grid-template-columns: minmax(0, 1fr); }
  .boat__price { grid-column: 1; grid-row: auto; text-align: left; padding-top: 0.75rem; }
  .boat__price strong { display: inline; font-size: 1.7rem; }
  .specs { gap: 1.25rem; flex-wrap: wrap; }
}

/* Tablet */
@media (max-width: 1023px) {
  .nav__links { gap: 1.4rem; }
  .how__grid { grid-template-columns: 1fr 1fr; }
  .step--3 { grid-column: 1 / 2; }
  .avail__grid { grid-template-columns: 1fr; row-gap: 3rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile: single column, no horizontal travel */
@media (max-width: 767px) {
  body { font-size: 1rem; }
  .hero__media img { object-position: 62% 50%; }
  .nav__links { display: none; }
  .nav { justify-content: space-between; }
  .nav__brand { font-size: 1.4rem; }
  .section { padding-block: 4.5rem; }
  .coast__top { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .coast__photo { width: 100%; }
  .coast__photo img { top: 0; height: 100%; }
  .coast__points { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.25rem; column-gap: 1.25rem; }
  .coast__pt p { font-size: 0.88rem; }
  .strips { height: 90vh; min-height: 28rem; }
  .strips__word { font-size: clamp(2.75rem, 14vw, 4.5rem); text-shadow: 0 1px 16px rgba(9, 28, 48, 0.45); }
  .manifesto { --W: 100vw; padding-block: 2.5rem; }
  .mtext { width: calc(60% - 1.5rem); left: calc(13% + 0.8rem); top: calc(6% + 0.7rem); }
  .mtext__title { font-size: 1.55rem; }
  .mtext__body { font-size: 0.74rem; line-height: 1.45; }

  .fleet { padding-top: 0; }
  .fleet__grid { grid-template-columns: 1fr; row-gap: 3.5rem; }
  .boat--a, .boat--b, .boat--c { grid-column: 1; grid-row: auto; align-self: auto; }
  .boat--a { width: 88%; }
  .boat--b { width: 100%; }
  .boat--c { width: 92%; margin-left: auto; }
  .boat__info { grid-template-columns: 1fr; }
  .boat__price { grid-column: 1; grid-row: auto; text-align: left; padding-top: 0.75rem; }
  .boat__price strong { display: inline; font-size: 1.7rem; }
  .boat__name { font-size: 2rem; }

  .routes__title {
    white-space: normal;
    width: auto;
    font-size: clamp(2.6rem, 13vw, 4rem);
    padding-inline: var(--gut);
    line-height: 1.02;
  }
  .routes__grid { grid-template-columns: 1fr; row-gap: 3rem; margin-top: 1.5rem; }
  .route--1, .route--2, .route--3, .route--4 { grid-column: 1; margin-top: 0; }
  .route--1 { width: 88%; }
  .route--2 { width: 100%; }
  .route--3 { width: 82%; margin-left: auto; }
  .route--4 { width: 76%; }
  .route--4 .route__media { aspect-ratio: 4 / 5; }

  .how__grid { grid-template-columns: 1fr; row-gap: 2.75rem; }
  .step--2, .step--3 { margin-top: 0; grid-column: auto; }

  .gallery__grid { grid-template-columns: 1fr 1fr; column-gap: 0.85rem; row-gap: 0.85rem; padding-bottom: 2rem; }
  .g1 { grid-column: 1 / 2; grid-row: auto; margin-top: 0; }
  .g2 { grid-column: 2 / 3; grid-row: auto; margin-top: 2.5rem; }
  .g3 { grid-column: 1 / 3; grid-row: auto; margin-top: 0; }
  .g4 { grid-column: 1 / 3; grid-row: auto; margin-top: 0; }
  .g5 { grid-column: 1 / 2; grid-row: auto; margin-top: 0; }

  .reviews__grid { grid-template-columns: 1fr; row-gap: 3rem; }
  .reviews__side { padding-top: 0; }
  details p { padding-right: 0; }
  .field-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Reduced motion: everything static, native scroll */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .boat, .route, .g, .routes__title { will-change: auto; }
}

/* Coast map beside the manifesto panel (map left, panel right) */
.manifesto {
  --W: min(calc(92vh * 5 / 6), calc((100vw - 2 * var(--gut) - clamp(1.5rem, 3vw, 3rem)) / 2.4));
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-inline: var(--gut);
}
.cmap { margin: 0; width: calc(var(--W) * 1.397); flex: none; }
.cmap__svg { display: block; width: 100%; height: auto; border-radius: var(--r); }
.cmap__town { font-family: var(--serif); font-weight: 600; font-size: 34px; letter-spacing: 6px; fill: var(--terra); text-anchor: middle; }
.cmap__mtn { font-family: var(--serif); font-style: italic; font-size: 28px; fill: #5f6d40; text-anchor: middle; }
.cmap__sea { font-family: var(--serif); font-style: italic; font-size: 30px; letter-spacing: 9px; fill: #fff; opacity: .5; text-anchor: middle; }
.cmap__lbl { font-family: var(--serif); font-weight: 600; font-size: 25px; fill: var(--blue); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
.cmap__num { font-family: var(--sans); font-weight: 500; font-size: 14px; fill: #fff; text-anchor: middle; }
.cmap__n { font-family: var(--serif); font-weight: 600; font-size: 24px; fill: #fff; text-anchor: middle; }
.cmap__lt { font-family: var(--serif); font-weight: 600; font-size: 26px; fill: var(--blue); }
.cmap__li { font-family: var(--sans); font-size: 18px; fill: var(--blue); }
.cmap__ld { font-family: var(--sans); font-size: 15px; fill: var(--muted); }
.cmap__ibl { font-family: var(--serif); font-weight: 600; font-size: 24px; fill: #fff; }
.cmap__ibs { font-family: var(--sans); font-size: 15px; fill: #fff; opacity: .8; }
.cmap__credit { font-family: var(--sans); font-size: 12px; fill: #fff; opacity: .7; }
.cmap__route, .cmap__spot { transition: opacity .3s var(--ease); }
.motion .cmap__dash { animation: cmap-flow 1.6s linear infinite; }
@keyframes cmap-flow { to { stroke-dashoffset: -30; } }

@media (max-width: 1023px) {
  .manifesto { flex-direction: column; }
  .manifesto .mpanel { order: 1; }
  .cmap { order: 2; width: calc(100vw - 2 * var(--gut)); max-width: 46rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .manifesto { --W: min(calc(92vh * 5 / 6), calc(100vw - 2 * var(--gut))); }
}
@media (max-width: 767px) {
  .manifesto { --W: 100vw; padding-inline: 0; }
  .cmap { width: calc(100vw - 2rem); }
  .cmap__lbl { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .cmap__dash { animation: none; } }

/* History: photo left, text right */
.history__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.history__photo { aspect-ratio: 4 / 5; }
.history__text p { color: var(--muted); font-size: 1.02rem; line-height: 1.7; max-width: 52ch; margin-bottom: 1rem; }
.history__text .h2 { margin-bottom: 1.6rem; }
.history__text .history__lead { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.4; color: var(--blue); }
.history__dates { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.history__dates li { padding-top: 1rem; }
.history__dates b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.9rem; color: var(--terra); line-height: 1; }
.history__dates span { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 0.4rem; line-height: 1.35; padding-right: 0.5rem; }
@media (max-width: 1023px) {
  .history__grid { grid-template-columns: 1fr; }
  .history__photo { aspect-ratio: 3 / 2; }
}
@media (max-width: 767px) {
  .history__dates { grid-template-columns: 1fr 1fr; row-gap: 1.2rem; }
}

/* Availability: photo background with dark overlay, form on a light card */
.avail { background: var(--blue); color: #fff; overflow: hidden; isolation: isolate; }
.avail__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.avail__bg img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }
.avail__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 28, 48, 0.92) 0%, rgba(9, 28, 48, 0.72) 55%, rgba(9, 28, 48, 0.4) 100%); }
.avail__grid { align-items: center; }
.avail .h2 { color: #fff; }
.avail .eyebrow { color: #e3b08f; }
.avail .avail__lead { color: rgba(255, 255, 255, 0.85); }
.avail .form { background: var(--paper); color: var(--blue); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
@media (max-width: 1023px) {
  .avail__bg::after { background: linear-gradient(180deg, rgba(9, 28, 48, 0.9) 0%, rgba(9, 28, 48, 0.7) 100%); }
}
