/* Kayak Ria Formosa v2: the lagoon, seen through the hull. */

:root {
  /* colour: taken from the lagoon and the client's own kayaks */
  --salt: #F2F4EF;        /* ground: bleached sandbank white */
  --shallows: #DCE9E0;    /* surface: one tone step from the ground */
  --channel: #0E2E2C;     /* ink and the deep field */
  --channel-2: #16403C;   /* a tone step up inside the deep field */
  --muted: #3E5A55;       /* secondary ink on salt */
  --lagoon: #2E6E5E;      /* full colour field */
  --lagoon-ink: #F2F4EF;
  --lagoon-muted: #CFE3D8;
  --deep-muted: #B9D2C8;  /* secondary ink on the channel field */
  --kayak: #F4C430;       /* accent: the regular kayak's yellow */
  --kayak-press: #E2B21C;

  /* type */
  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --s-display: clamp(3rem, 8vw, 6rem);
  --s-h2: clamp(2.25rem, 4.6vw, 4rem);
  --s-h3: 1.5rem;
  --s-body: 1.125rem;
  --s-small: 0.9375rem;

  /* space: 8px scale */
  --margin: clamp(20px, 4vw, 56px);
  --gap: clamp(24px, 3vw, 48px);
  --section: clamp(88px, 11vw, 168px);
  --max: 1320px;
  --bar-h: 72px;
  --dock-h: 0px;

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--salt);
  color: var(--channel);
  font-family: var(--font);
  font-size: var(--s-body);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--lagoon);
  padding-bottom: var(--dock-h);
  transition: padding-bottom var(--t-ui) var(--ease-out);
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--kayak); color: var(--channel); }
:focus-visible { outline: 3px solid var(--kayak); outline-offset: 3px; }
.plan :focus-visible, .proof :focus-visible, .foot :focus-visible { outline-color: var(--kayak); }
html { scrollbar-color: var(--lagoon) var(--shallows); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--kayak); color: var(--channel); padding: 12px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--margin), var(--max)); margin-inline: auto; }

/* type roles */
.display, .h2, .h3, .foot__name {
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.display { font-size: var(--s-display); }
.h2 { font-size: var(--s-h2); line-height: 1; }
.h3 { font-size: var(--s-h3); line-height: 1.15; letter-spacing: -0.02em; font-variation-settings: "wdth" 106; }
.lead { font-size: var(--s-body); max-width: 60ch; }

.link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
  text-decoration-color: color-mix(in oklab, currentColor 40%, transparent);
  transition: text-decoration-color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

/* buttons: square, one fill, named for the action */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  font-weight: 700; font-size: var(--s-small); letter-spacing: 0;
  font-variation-settings: "wdth" 104;
  text-decoration: none; white-space: nowrap;
  border: 0; border-radius: 0; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:active { transform: scale(0.97); }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: var(--s-body); }
.btn--kayak { background: var(--kayak); color: var(--channel); }
.btn--ink { background: var(--channel); color: var(--salt); }
@media (hover: hover) and (pointer: fine) {
  .btn--kayak:hover { background: var(--kayak-press); }
  .btn--ink:hover { background: var(--lagoon); }
}

/* ---------- header bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--salt);
  transition: background-color 300ms ease, color 300ms ease, transform 400ms var(--ease-out);
}
.bar.is-solid { background: var(--salt); color: var(--channel); }
.bar__inner {
  height: var(--bar-h);
  width: min(100% - 2 * var(--margin), var(--max)); margin-inline: auto;
  display: flex; align-items: center; gap: 32px;
}
.mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: var(--s-body); letter-spacing: -0.02em; font-variation-settings: "wdth" 112; white-space: nowrap; }
.mark__hull { width: 12px; height: 32px; fill: var(--kayak); }
.mark__seat { fill: var(--channel); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: var(--s-small); padding: 12px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }
.bar__end { display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; }
.lang button {
  min-width: 44px; min-height: 44px; padding: 0 8px; background: none; border: 0; cursor: pointer;
  font-weight: 700; font-size: var(--s-small); opacity: 0.62; transition: opacity var(--t-hover) ease;
}
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.btn--bar { min-height: 44px; padding: 0 18px; font-size: var(--s-small); }
.menu-btn { display: none; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; padding: 0; }
.menu-btn__icon { display: grid; gap: 7px; width: 24px; margin: auto; }
.menu-btn__icon i { display: block; height: 2px; background: currentColor; transition: transform var(--t-ui) var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; align-items: end;
  background: var(--channel); color: var(--salt);
  overflow: clip;
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: #2d7f7a; }
.hero__media picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 60%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* neutral scrim under the words, the one gradient the page allows */
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.36) 38%, rgba(0, 0, 0, 0) 64%), /* taste-skill-ignore: neutral scrim over the photo */
    linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 46%); /* taste-skill-ignore: neutral scrim over the photo */
}
.hero__copy {
  width: min(100% - 2 * var(--margin), var(--max)); margin-inline: auto;
  padding: calc(var(--bar-h) + 48px) 0 clamp(32px, 5vh, 56px);
  display: grid; gap: 24px; justify-items: start;
}
.hero__title { max-width: 11ch; }
.line { display: block; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > span { display: block; }
.hero__lead { max-width: 46ch; font-size: var(--s-body); line-height: 1.55; margin-top: 8px; }
.hero__act { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.hero__price { font-size: var(--s-small); }
.hero__price strong { font-size: var(--s-h3); font-weight: 800; letter-spacing: -0.02em; margin: 0 2px; }
.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 16px 40px;
  margin-top: 16px; font-size: var(--s-small); line-height: 1.4;
}
.facts li, .facts a { display: grid; gap: 2px; text-decoration: none; }
.facts strong { font-weight: 700; }
.facts span { color: #D3E4DD; }
.facts a strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; text-decoration-color: rgba(242, 244, 239, 0.45); }

/* ---------- choose your kayak: the waterline ---------- */
.hulls { padding-block: var(--section) calc(var(--section) * 0.75); }
.hulls__head { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.hulls__grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); align-items: start; }
.stage { display: none; }
.hulls__list { display: grid; gap: clamp(64px, 8vw, 120px); }
.hull { display: grid; gap: 16px; align-content: start; }
.hull__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 8px; }
.hull__price { font-size: var(--s-small); }
.hull__price strong { font-size: var(--s-h2); font-weight: 800; letter-spacing: -0.04em; font-variation-settings: "wdth" 112; line-height: 1; margin-right: 4px; }
.hull > p:not(.hull__price) { max-width: 46ch; }
.spec { display: grid; gap: 8px; margin: 8px 0 16px; }
.spec div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 12px 16px; background: var(--shallows); }
.spec dt { font-weight: 700; }
.spec dd { margin: 0; }
.hull .btn { justify-self: start; }

/* desktop with motion: the stage holds while the two kayaks pass */
@media (min-width: 900px) {
  .hulls__grid { grid-template-columns: 7fr 5fr; }
  .stage { display: block; position: sticky; top: calc(var(--bar-h) + 24px); align-self: start; }
  .stage__frame { position: relative; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--bar-h) - 120px); width: 100%; overflow: clip; background: var(--lagoon); }
  .stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .stage__img--clear { clip-path: inset(0 0 0 0); }
  .stage__cap { position: relative; margin-top: 16px; min-height: 1.6em; font-size: var(--s-small); color: var(--muted); }
  .stage__cap span { display: block; transition: opacity var(--t-ui) ease; }
  .stage__cap span + span { position: absolute; inset: 0; opacity: 0; }
  .hulls.is-clear .stage__cap span:first-child { opacity: 0; }
  .hulls.is-clear .stage__cap span + span { opacity: 1; }
  .hull__img { display: none; }
  .hulls__list { gap: 0; }
  .hull { min-height: calc(78svh - var(--bar-h)); align-content: center; padding-block: 32px; }
  .hull:first-child { align-content: start; padding-top: 0; }
  .hull { transition: opacity var(--t-ui) ease; }
  .motion .hull:not(.is-on) { opacity: 0.45; }
}

/* ---------- group planner (deep field) ---------- */
.plan { background: var(--channel); color: var(--salt); padding-block: var(--section); }
.plan .lead { color: var(--deep-muted); margin-top: 24px; }
.plan__grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); align-items: stretch; }
.plan__text { display: flex; flex-direction: column; }
.plan__pic { margin-top: auto; padding-top: 40px; overflow: clip; }
.plan__pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 25% 50%; }
.planner { display: grid; gap: 32px; background: var(--channel-2); padding: clamp(24px, 4vw, 48px); }
.planner__kind { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.planner__kind legend, .planner__label { font-weight: 700; font-size: var(--s-small); margin-bottom: 12px; padding: 0; color: var(--deep-muted); }
.planner__kind label { position: relative; display: block; cursor: pointer; }
.planner__kind input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.planner__kind span {
  display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 12px;
  background: var(--channel); font-weight: 700; text-align: center;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.planner__kind input:checked + span { background: var(--kayak); color: var(--channel); }
.planner__kind input:focus-visible + span { outline: 3px solid var(--salt); outline-offset: 3px; }
.planner__people { display: grid; }
.stepper { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; background: var(--channel); }
.stepper button { height: 56px; background: none; border: 0; cursor: pointer; font-size: 1.5rem; font-weight: 700; transition: background-color var(--t-hover) ease; }
.stepper button:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .stepper button:not(:disabled):hover { background: var(--lagoon); } }
.stepper output { text-align: center; font-size: var(--s-h3); font-weight: 800; }
.planner__answer { display: grid; gap: 4px; }
.planner__boats { font-size: var(--s-h3); font-weight: 700; line-height: 1.25; font-variation-settings: "wdth" 106; }
.planner__total { color: var(--deep-muted); }
.planner__total strong { color: var(--salt); font-size: var(--s-h2); font-weight: 800; letter-spacing: -0.04em; font-variation-settings: "wdth" 112; line-height: 1.1; margin: 0 4px; }
.planner .btn { justify-self: start; }
.planner__note { font-size: var(--s-small); color: var(--deep-muted); }

/* ---------- the lagoon: opening window ---------- */
.lagoon { padding-top: var(--section); }
.lagoon__head { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.window__stage { position: relative; height: 100svh; min-height: 560px; overflow: clip; background: var(--channel); }
.window__media { position: absolute; inset: 0; }
.window__media img { width: 100%; height: 100%; object-fit: cover; }
.window__cap {
  position: absolute; left: max(var(--margin), (100% - var(--max)) / 2); bottom: 24px; margin-right: var(--margin);
  color: var(--salt); background: var(--channel); padding: 10px 16px;
  font-size: var(--s-small); font-weight: 600; max-width: 52ch;
}
.spots { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; gap: 32px var(--gap); padding-block: clamp(64px, 8vw, 120px) var(--section); }
.spots__title { grid-column: 1; grid-row: 1; align-self: start; font-size: var(--s-h3); }
.spots__pic { grid-column: 1; grid-row: 2; align-self: start; position: sticky; top: calc(var(--bar-h) + 24px); }
.spots__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 50%; }
.spots__list { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 8px; counter-reset: spot; }
.spots__list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: clamp(24px, 3vw, 36px); background: var(--shallows); }
.spots__list h4 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-variation-settings: "wdth" 112; }
.spots__list p { max-width: 52ch; }

/* ---------- before you go ---------- */
.before { background: var(--shallows); padding-block: var(--section); }
.before__grid { display: grid; grid-template-columns: 6fr 6fr; gap: var(--gap); align-items: start; }
.before__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.before__text { display: grid; gap: 40px; }
.before__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.before__lists .h3 { margin-bottom: 16px; }
.h3--sub { margin-top: 32px; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 9px; border-left: 3px solid var(--lagoon); border-bottom: 3px solid var(--lagoon); transform: rotate(-45deg); }
.ticks--no li::before { width: 14px; height: 3px; border: 0; background: var(--muted); transform: none; top: 0.75em; }
.before__rule { padding: 24px 28px; background: var(--salt); font-weight: 600; max-width: 60ch; }

/* ---------- proof (lagoon field) ---------- */
.proof { background: var(--lagoon); color: var(--lagoon-ink); padding-block: var(--section); }
.proof__grid { display: grid; grid-template-columns: 6fr 6fr; gap: var(--gap); align-items: start; }
.proof__score { display: grid; gap: 24px; justify-items: start; }
.proof__score .lead { color: var(--lagoon-muted); }
.proof__figure { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; }
.proof__num { font-size: clamp(6rem, 16vw, 13rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.85; color: var(--kayak); font-variation-settings: "wdth" 112; }
.proof__of { font-size: var(--s-h3); font-weight: 700; line-height: 1.2; max-width: 9em; font-variation-settings: "wdth" 106; }
.proof__list { display: grid; gap: 8px; }
.proof__list { gap: clamp(32px, 4vw, 48px); padding-top: 8px; }
.proof__list li { display: grid; gap: 8px; max-width: 46ch; }
.proof__list p { color: var(--lagoon-muted); }

/* the 4.5 rises out of its own baseline, once */
.proof__num { display: inline-block; overflow: clip; padding-bottom: 0.04em; }
.proof__num > span { display: inline-block; }
.motion .proof__num:not(.is-in) > span { transform: translateY(102%); }
.motion .proof__num.is-in > span { transform: none; transition: transform 1200ms var(--ease-expo) 120ms; }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section); }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); align-items: start; }
.faq__head { position: sticky; top: calc(var(--bar-h) + 32px); display: grid; gap: 24px; }
.faq__pic {
  width: min(100%, 300px); aspect-ratio: 1 / 1.8; margin-top: 16px;
  /* the clear kayak's hull outline, the page's one recurring shape */
  -webkit-mask: url("assets/hull.svg") center / 100% 100% no-repeat; mask: url("assets/hull.svg") center / 100% 100% no-repeat;
}
.faq__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.faq__list { display: grid; gap: 8px; }
.qa { background: var(--shallows); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 72px; padding: 16px 28px; font-weight: 700; font-size: var(--s-body); line-height: 1.35;
  transition: background-color var(--t-hover) ease;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-right: 4px;
  border-right: 3px solid var(--channel); border-bottom: 3px solid var(--channel);
  transform: translateY(-3px) rotate(45deg); transition: transform var(--t-ui) var(--ease-out);
}
.qa[open] summary::after { transform: translateY(3px) rotate(-135deg); }
@media (hover: hover) and (pointer: fine) { .qa summary:hover { background: #CFE0D5; } }
.qa__a { padding: 0 28px 28px; max-width: 64ch; }

/* ---------- meeting point ---------- */
.meet { background: var(--channel); color: var(--salt); }
.meet__grid { display: grid; grid-template-columns: 5fr 7fr; min-height: 640px; }
.meet__text {
  display: grid; align-content: center; gap: 24px;
  padding: var(--section) var(--gap) var(--section) max(var(--margin), calc((100vw - var(--max)) / 2));
}
.meet__addr { font-size: var(--s-h3); font-weight: 700; line-height: 1.3; font-variation-settings: "wdth" 106; }
.meet__text > p { color: var(--deep-muted); max-width: 46ch; }
.meet__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.meet .btn--ink { background: var(--salt); color: var(--channel); }
@media (hover: hover) and (pointer: fine) { .meet .btn--ink:hover { background: var(--kayak); } }
.meet__map { position: relative; min-height: 420px; background: var(--channel-2); }
.meet__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.75) contrast(1.02); }

/* ---------- footer ---------- */
.foot { background: var(--salt); padding-block: var(--section) 40px; }
.foot__close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.foot__ask { font-size: var(--s-h2); font-weight: 800; letter-spacing: -0.035em; line-height: 1; font-variation-settings: "wdth" 112; max-width: 22ch; }
.foot__name {
  margin: clamp(64px, 9vw, 128px) 0 32px;
  /* fitted to the frame: the name runs edge to edge of the grid, never past it */
  font-size: min(calc((100vw - 2 * var(--margin)) / 10.4), 7.9rem); line-height: 0.85; white-space: nowrap; color: var(--lagoon);
}
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px var(--gap); font-size: var(--s-small); color: var(--muted); }
.foot__cols a { text-decoration: none; font-weight: 600; color: var(--channel); }
@media (hover: hover) and (pointer: fine) { .foot__cols a:hover { text-decoration: underline; text-underline-offset: 0.25em; } }

/* ---------- mobile dock ---------- */
.dock { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .facts { grid-template-columns: repeat(2, minmax(0, auto)); }
}

@media (max-width: 899px) {
  :root { --bar-h: 64px; }
  .menu-btn { display: block; }
  .btn--bar { display: none; }
  .nav {
    position: fixed; inset: var(--bar-h) 0 auto; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--margin) 24px;
    background: var(--salt); color: var(--channel);
    box-shadow: 0 24px 40px -24px rgba(6, 22, 21, 0.35); /* taste-skill-ignore: the open menu really floats */
    transform-origin: top right;
    transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out), visibility 0s linear var(--t-ui);
    opacity: 0; transform: translateY(-6px) scale(0.98); visibility: hidden;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav a { font-size: 1.25rem; padding: 14px 0; }
  .bar.is-menu { background: var(--salt); color: var(--channel); }

  .hulls__grid, .hulls__head, .lagoon__head, .plan__grid, .before__grid, .proof__grid, .faq__grid, .meet__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .faq__pic { display: none; }
  .spots { grid-template-columns: 1fr; }
  .spots__title, .spots__pic, .spots__list { grid-column: 1; grid-row: auto; }
  .spots__pic { position: static; order: 3; }
  .spots__pic img { aspect-ratio: 16 / 10; }
  .meet__text { padding: var(--section) var(--margin) 56px; }
  .meet__map { min-height: 360px; }
  .foot__cols { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --s-h3: 1.375rem; }
  .plan__pic { display: none; }
  .spots__list h4 { font-size: var(--s-h3); }
  /* the hero becomes its own composition: picture above, words on the deep field */
  .hero { display: block; min-height: 0; }
  .hero__media { position: relative; inset: auto; height: 44svh; min-height: 260px; z-index: 0; }
  .hero__img { object-position: 50% 60%; }
  .hero__scrim { display: none; }
  .hero__copy { padding: 28px 0 48px; gap: 16px; }
  .hero__title { font-size: clamp(2.75rem, 13.4vw, 4rem); font-variation-settings: "wdth" 108; }
  .hero__lead { margin-top: 0; }
  .hero__act { width: 100%; }
  .hero__act .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 8px; }

  .bar:not(.is-solid):not(.is-menu) { color: var(--salt); }
  .before__lists { grid-template-columns: 1fr; }
  .planner__kind { grid-template-columns: 1fr; }
  .planner .btn, .hull .btn, .meet__links .btn { width: 100%; }
  .foot__close .btn { width: 100%; }
  .spec div { grid-template-columns: 6rem 1fr; }

  .dock {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--margin) calc(10px + env(safe-area-inset-bottom));
    background: var(--channel); color: var(--salt);
    transform: translateY(110%);
    transition: transform 320ms var(--ease-out);
  }
  .dock.is-on { transform: none; }
  .dock__price { font-size: var(--s-small); white-space: nowrap; }
  .dock__price strong { font-size: var(--s-h3); font-weight: 800; }
  .dock__book { flex: 1; min-height: 48px; }
  .dock__call { display: grid; place-items: center; width: 48px; height: 48px; background: var(--channel-2); }
  .dock__call svg { width: 22px; height: 22px; fill: none; stroke: var(--salt); stroke-width: 1.8; stroke-linejoin: round; }
}

@media (max-width: 700px) and (max-height: 700px) {
  .hero__media { height: 38svh; min-height: 220px; }
}

@media (max-width: 440px) {
  .bar__inner { gap: 8px; }
  .bar__end { gap: 0; margin-left: auto; }
  .mark { gap: 8px; }
  .mark span { font-size: 0.9375rem; }
  .lang button { min-width: 40px; padding: 0 4px; }
  .facts { gap: 12px 16px; }
}

/* ---------- motion states (only with JS and motion allowed) ---------- */
.motion .hero [data-line] { transform: translateY(105%); }
.motion .hero [data-hero-in] { opacity: 0; transform: translateY(16px); }
.motion .hero.is-in [data-line] { transform: none; transition: transform 1000ms var(--ease-expo) calc(250ms + var(--i, 0) * 100ms); }
.motion .hero.is-in [data-hero-in] { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out) var(--d, 600ms), transform 700ms var(--ease-out) var(--d, 600ms); }
.motion .hero [data-line]:nth-child(1) { --i: 0; }
.motion .hero .line:nth-child(2) [data-line] { --i: 1; }
.motion .hero .hero__lead { --d: 560ms; }
.motion .hero .hero__act { --d: 660ms; }
.motion .hero .facts { --d: 760ms; }

/* the hull window: the hero first shows through the outline of a kayak */
.motion .hero__media[data-hull] {
  -webkit-mask-image: url("assets/hull.svg"); mask-image: url("assets/hull.svg");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: var(--hx, 56%) var(--hy, 62%); mask-position: var(--hx, 56%) var(--hy, 62%);
  -webkit-mask-size: calc(var(--hs, 70svh) * 0.34) var(--hs, 70svh); mask-size: calc(var(--hs, 70svh) * 0.34) var(--hs, 70svh);
}
.motion .hero__media.is-open { -webkit-mask-image: none; mask-image: none; }

/* reveals below the fold: fire once */
/* starts part-visible: nothing is ever held at zero if a reveal does not fire */
.motion [data-reveal] { opacity: 0.4; transform: translateY(24px); }
.motion [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out) var(--rd, 0ms), transform 900ms var(--ease-expo) var(--rd, 0ms); }
.motion [data-shutter] { clip-path: inset(0 0 100% 0); }
.motion [data-shutter] img { transform: scale(1.1); }
.motion [data-shutter].is-in { clip-path: inset(0); transition: clip-path 1100ms var(--ease-in-out); }
.motion [data-shutter].is-in img { transform: none; transition: transform 1500ms var(--ease-expo); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .btn, .nav, .dock, .qa summary::after { transition-duration: 0.01ms !important; }
}
