/* ============================================================
   Nautique Central — homepage
   Dark + white + single red accent (#ED1C24), condensed display
   type, full-bleed Nautique photography. GSAP scroll motion;
   reduced-motion collapses to static. Fonts via CDN for this
   starter; self-host for production.
   ============================================================ */

:root {
  color-scheme: dark; /* UA surfaces (select popups, scrollbars) follow the dark theme */
  --bg: #0b0b0b;
  --bg-1: #111113;
  --bg-2: #17171a;
  --bg-3: #1d1d21;
  --text: #ffffff;
  --muted: #b3b4b9;
  --muted-2: #9a9ca2;      /* lifted for WCAG AA on near-black */
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.26);
  --accent: #ed1c24;
  --accent-2: #ff3b42;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --r-card: 14px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);

  --font-display: "Clash Display", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Switzer", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; line-height: 1.0; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; background: var(--accent); color: #fff; font-weight: 600; padding: 10px 18px; border-radius: var(--r-pill); transform: translateY(-180%); transition: transform 0.2s var(--ease-out); }
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 11vw, 148px); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }

.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px; font-weight: 600; color: var(--accent-2); margin: 0 0 20px; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 56ch; }
.section-h { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.head .lede { margin-top: 18px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: #fff; transition: color 0.2s var(--ease-out); }
.text-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.text-link:hover { color: var(--accent-2); } .text-link:hover svg { transform: translateX(5px); }

/* ---------- buttons ---------- */
.btn { --btn-bg: transparent; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; font-size: 1.05rem; line-height: 1; padding: 17px 32px; border-radius: var(--r-pill); border: 1.5px solid transparent; background: var(--btn-bg); cursor: pointer; white-space: nowrap; transition: transform 0.18s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { --btn-bg: var(--accent); color: #fff; }
.btn--primary:hover { --btn-bg: var(--accent-2); }
.btn--ghost { border-color: var(--line-strong); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn:active { transform: scale(0.97); }

/* ---------- header ---------- */
/* native anchor jumps (reduced-motion / no-GSAP fallback) must clear the fixed header */
section[id] { scroll-margin-top: 90px; }
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; height: 76px; border-bottom: 1px solid transparent; transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.45s var(--ease-out); }
.header--hidden { transform: translateY(-100%); }
.header.scrolled { background: rgba(8, 8, 9, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line); height: 66px; }
.header__row { display: flex; align-items: center; gap: 32px; width: 100%; }
.brand-logo { height: 46px; width: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45)); }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.85); padding: 4px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.28s var(--ease-out); }
.nav a:hover { color: #fff; } .nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta { padding: 11px 22px; font-size: 0.92rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: clamp(56px, 9vw, 110px); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,9,0.9) 0%, rgba(8,8,9,0.5) 40%, rgba(8,8,9,0.1) 72%, rgba(8,8,9,0.22) 100%), linear-gradient(to right, rgba(8,8,9,0.72) 0%, rgba(8,8,9,0.16) 52%, rgba(8,8,9,0) 82%); }
.hero__inner { max-width: 900px; }
/* over photography the red eyebrow loses contrast against bright sky/water — go white in the hero only */
.hero .eyebrow { color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.9rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.02; }
.hero__sub { color: rgba(255,255,255,0.88); font-size: clamp(1.05rem, 1.7vw, 1.32rem); max-width: 46ch; margin: 22px 0 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
/* ghost CTAs sit over photography in the heroes — frosted backdrop keeps them legible on bright water */
.hero .btn--ghost, .mhero .btn--ghost { background: rgba(10, 10, 12, 0.32); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); border-color: rgba(255, 255, 255, 0.5); }
.hero .btn--ghost:hover, .mhero .btn--ghost:hover { background: rgba(10, 10, 12, 0.5); border-color: #fff; }
/* mobile hero: portrait-friendly golden-hour shot — frame the boat, let the warm sky
   breathe up top, keep a strong base scrim so the copy stays legible */
@media (max-width: 700px) {
  /* phones: the boat sits low in-frame, so anchor the copy to the TOP over the golden sky
     and let the boat stand clear in the lower half — scrim is top-weighted to match */
  .hero { align-items: flex-start; padding-top: clamp(92px, 24vw, 132px); padding-bottom: clamp(36px, 10vw, 64px); }
  .hero__media img { height: 100%; object-position: center; }
  .hero__media::after { background: linear-gradient(to bottom, rgba(8,8,9,0.88) 0%, rgba(8,8,9,0.52) 24%, rgba(8,8,9,0.12) 48%, rgba(8,8,9,0.03) 66%, rgba(8,8,9,0.2) 100%); }
  .hero .eyebrow, .hero h1, .hero__sub { text-shadow: 0 1px 22px rgba(0,0,0,0.6); }
}

/* ---------- brand strip ---------- */
.brands { background: var(--bg-1); border-block: 1px solid var(--line); padding-block: clamp(28px, 4vw, 44px); }
.brands__row { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; }
.brands__label { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); }
.brands__logos { display: flex; align-items: center; gap: clamp(22px, 3.5vw, 48px); }
.brand-mark { height: 26px; width: auto; opacity: 0.9; }
.brand-word { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 1.85rem; letter-spacing: 0.05em; color: #fff; opacity: 0.92; line-height: 1; }
.brands__div { width: 1px; height: 30px; background: var(--line); }

/* ---------- THE RANGE ---------- */
.range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rtile { display: flex; flex-direction: column; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.rtile:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.rtile:nth-child(2) { transform: translateY(40px); }
.rtile:nth-child(2):hover { transform: translateY(34px); }
.rtile:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.rtile__media { aspect-ratio: 4 / 3.4; overflow: hidden; }
.rtile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.rtile:hover .rtile__media img { transform: scale(1.06); }
.rtile__body { padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; flex: 1; }
.rtile__kicker { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.rtile__body h3 { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 12px; }
.rtile__body p { color: var(--muted); font-size: 0.98rem; margin-bottom: 22px; }
.rtile__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--accent-2); }
.rtile__go svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.rtile:hover .rtile__go svg { transform: translateX(5px); }

/* ---------- THREE STATES ---------- */
.states { background: var(--bg); }
.states__intro { padding-block: clamp(72px, 11vw, 140px) clamp(40px, 6vw, 72px); }
.states__intro .lede { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(28px, 5vw, 72px); margin-top: clamp(36px, 5vw, 56px); }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 6vw, 5rem); line-height: 0.9; color: #fff; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: 0.92rem; margin-top: 6px; letter-spacing: 0.02em; }

.states__track { display: flex; flex-direction: column; gap: 8px; }
.state-panel { position: relative; width: 100%; min-height: 80vh; display: flex; overflow: hidden; }
.state-panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.state-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,9,0.86) 2%, rgba(8,8,9,0.15) 55%), linear-gradient(to right, rgba(8,8,9,0.6), transparent 55%); }
.state-panel__body { position: relative; z-index: 2; align-self: flex-end; padding-bottom: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; align-items: flex-start; }
.state-panel__count { font-size: 1rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.92); margin-bottom: 8px; }
.state-panel__num { font-family: var(--font-display); font-weight: 700; color: var(--accent-2); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.state-panel__state { font-size: clamp(2.3rem, 5.2vw, 4.4rem); line-height: 1.0; }
.state-panel__city { color: var(--muted); font-size: 1.05rem; margin: 10px 0 28px; }
.states__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.12); z-index: 5; opacity: 0; transition: opacity 0.3s var(--ease-out); }
.gsap-horizontal .states__progress { opacity: 1; }
.states__progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

.gsap-horizontal .states__viewport { height: 100vh; overflow: hidden; }
.gsap-horizontal .states__track { flex-direction: row; flex-wrap: nowrap; gap: 0; height: 100vh; width: max-content; will-change: transform; }
.gsap-horizontal .state-panel { width: 100vw; height: 100vh; min-height: 0; }

/* ---------- WHY NAUTIQUE ---------- */
.why { position: relative; padding-block: clamp(90px, 13vw, 170px); overflow: hidden; }
.why__media { position: absolute; inset: -8% 0; z-index: -2; }
.why__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.why__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(8,8,9,0.95) 0%, rgba(8,8,9,0.72) 42%, rgba(8,8,9,0.3) 100%), linear-gradient(to top, rgba(8,8,9,0.7), transparent 60%); }
.why__inner { position: relative; }
.why h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 17ch; }
.why__lead { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 54ch; margin-top: 22px; }
.why__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 64px); max-width: 920px; }
.why__pt h3 { font-size: 1.3rem; margin-bottom: 8px; color: #fff; }
.why__pt p { color: var(--muted); font-size: 0.95rem; }

/* ---------- ABOUT split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__frame { overflow: hidden; }
.split__frame img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.split h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); margin-bottom: 22px; }
.split p { color: var(--muted); margin-bottom: 18px; }
.split .text-link { margin-top: 10px; }

/* ---------- statement band ---------- */
.statement { position: relative; min-height: 66vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.statement__media { position: absolute; inset: -8% 0; z-index: -2; }
.statement__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.statement__media::after { content: ""; position: absolute; inset: 0; background: rgba(8,8,9,0.58); }
.statement h2 { font-size: clamp(2.1rem, 5vw, 4.3rem); max-width: 18ch; }
.statement .wrap { position: relative; }

/* ---------- PROOF / reviews ---------- */
.proof { background: var(--bg-1); }
.proof__head { max-width: 760px; }
.proof__rating { margin-top: 22px; color: var(--muted); font-size: 1.02rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.proof__stars { color: var(--accent); letter-spacing: 2px; font-size: 1.1rem; }
.proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 60px); }
.quote { margin: 0; padding-top: 28px; border-top: 2px solid var(--accent); position: relative; }
.quote p { font-size: 1.08rem; line-height: 1.5; color: #eef0f2; margin-bottom: 18px; }
.quote cite { font-style: normal; color: var(--muted-2); font-size: 0.9rem; letter-spacing: 0.02em; }

/* ---------- DEMO / enquiry ---------- */
.demo { background: var(--bg); }
.demo__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 84px); align-items: start; }
.demo__copy h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 22px; }
.demo__copy p { color: var(--muted); margin-bottom: 26px; max-width: 46ch; }
.demo__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.demo__list li { position: relative; padding-left: 28px; color: #dfe1e4; }
.demo__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 2px; background: var(--accent); }
.demo__formwrap { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px); }
.demo__form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .checkbox { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--muted); }
.field input, .field select { font-family: var(--font-body); font-size: 1rem; color: #fff; background: var(--bg-3); border: 1px solid var(--line-strong); border-radius: 8px; padding: 13px 14px; transition: border-color 0.2s var(--ease-out); }
.field input::placeholder { color: #8a8c93; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent-2); }
.field input.is-error, .field select.is-error { border-color: var(--accent); }
.field__error { color: var(--accent-2); font-size: 0.78rem; margin: 2px 0 0; }
.checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--accent); }
.demo__form .btn { justify-content: center; margin-top: 4px; }
.demo__fineprint { font-size: 0.82rem; color: var(--muted-2); text-align: center; }
.demo__done { text-align: center; padding: clamp(28px, 4vw, 48px) 0; }
.demo__done h3 { font-size: 2rem; margin-bottom: 12px; }
.demo__done p { color: var(--muted); max-width: 40ch; margin-inline: auto; }

/* ---------- showrooms ---------- */
.locs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.loc { padding: 36px clamp(20px, 2.4vw, 36px); border-top: 2px solid var(--accent); }
.loc + .loc { border-left: 1px solid var(--line); }
.loc__state { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 1.7rem; margin-bottom: 4px; }
.loc__city { color: var(--muted-2); font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 22px; }
.loc__line { display: flex; gap: 12px; color: var(--muted); font-size: 0.97rem; margin-bottom: 14px; align-items: flex-start; }
.loc__line svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--muted-2); }
.loc__line a { color: var(--muted); transition: color 0.2s var(--ease-out); } .loc__line a:hover { color: #fff; }
.loc .text-link { margin-top: 8px; }

/* ---------- help trio ---------- */
.help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.help__item { padding: 8px clamp(20px, 3vw, 48px); display: flex; flex-direction: column; }
.help__item + .help__item { border-left: 1px solid var(--line); }
.help__icon { color: var(--accent); margin-bottom: 18px; } .help__icon svg { width: 30px; height: 30px; }
.help__item h3 { font-size: 1.5rem; margin-bottom: 10px; }
.help__item p { color: var(--muted); font-size: 0.98rem; margin-bottom: 18px; }
.help__item .text-link { margin-top: auto; }

/* ---------- closer ---------- */
.closer { background: var(--bg-1); border-top: 1px solid var(--line); text-align: center; }
.closer h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); margin-bottom: 28px; }
.closer__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: #060607; padding-block: clamp(56px, 7vw, 88px) 32px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: clamp(32px, 5vw, 64px); }
.footer__logo { height: 64px; width: auto; margin-bottom: 20px; }
.footer p, .footer a { color: var(--muted); font-size: 0.95rem; }
.footer a:hover { color: #fff; }
.footer h3 { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; color: var(--muted-2); margin: 0 0 18px; }
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__locs { display: grid; gap: 16px; }
.footer__loc strong { color: #fff; font-weight: 600; display: block; font-size: 0.9rem; }
.footer__socials { display: flex; gap: 14px; margin-top: 20px; }
.footer__socials a { display: inline-flex; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-pill); align-items: center; justify-content: center; transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out); }
.footer__socials a:hover { border-color: var(--accent); background: rgba(237,28,36,0.12); }
.footer__socials svg { width: 19px; height: 19px; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); }
.footer__legal, .footer__legal a { color: var(--muted-2); font-size: 0.84rem; }

/* ---------- mobile nav + sticky bar ---------- */
.mnav { position: fixed; inset: 0; z-index: 99; background: rgba(8,8,9,0.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: none; flex-direction: column; justify-content: center; gap: 8px; padding: var(--pad); }
.mnav.open { display: flex; }
.mnav a { font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mnav .btn { margin-top: 24px; justify-content: center; }
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 10px; padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom)); background: rgba(8,8,9,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.35s var(--ease-out); }
.stickybar.show { transform: none; }
.stickybar .btn { flex: 1; justify-content: center; padding: 14px; }
.stickybar .btn--ghost { flex: 0 0 96px; }

/* ---------- film grain (depth on the dark sections; fixed + pointer-events none = perf-safe) ---------- */
.grain { position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- G23 cruising the bottom + liquid-glass wake (scroll-driven) ----------
   Desktop only: phones keep the bottom edge for the sticky CTA bar. Always
   visible while crossing; pointer-events: none keeps every click clickable. */
.cruise { display: none; position: fixed; left: 0; bottom: 0; width: 100%; height: 110px; pointer-events: none; z-index: 40; overflow: hidden; }
@media (min-width: 981px) { .cruise { display: block; } }
/* starts off-screen left so there's no flash before GSAP's first scrub tick takes over */
.cruise__rig { position: absolute; left: 0; bottom: 0; width: clamp(170px, 17vw, 250px); height: 100%; will-change: transform; transform: translateX(calc(-100% - 40px)); }
.cruise__boat { position: absolute; right: 0; bottom: 12px; width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,0.45)); }
.cruise__wake { position: absolute; bottom: 16px; right: 44%; width: 300%; height: 30px; border-radius: 50%; transform-origin: right center; mix-blend-mode: screen; filter: blur(6px); background: radial-gradient(130% 120% at 100% 50%, rgba(255,255,255,0.5), rgba(200,228,250,0.2) 40%, transparent 72%); animation: cruiseWake 2.8s ease-in-out infinite; }
.cruise__wake--2 { bottom: 12px; right: 42%; width: 240%; height: 14px; filter: blur(3px); background: linear-gradient(to left, rgba(255,255,255,0.75), rgba(255,255,255,0.18) 32%, transparent 66%); animation-duration: 3.6s; animation-delay: -0.7s; }
@keyframes cruiseWake { 0%, 100% { transform: scaleY(1) translateY(0); opacity: 0.95; } 50% { transform: scaleY(0.78) translateY(2px); opacity: 0.74; } }
@media (prefers-reduced-motion: reduce) { .cruise { display: none !important; } }

/* ============================================================
   MODEL PAGES (generated by scripts/build-models.mjs)
   ============================================================ */
.mhero { position: relative; min-height: 82vh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(48px, 7vw, 96px); }
.mhero__media { position: absolute; inset: 0; z-index: -2; }
.mhero__media img { width: 100%; height: 100%; object-fit: cover; }
.mhero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,9,0.9) 4%, rgba(8,8,9,0.2) 56%, rgba(8,8,9,0.5)), linear-gradient(to right, rgba(8,8,9,0.7), transparent 60%); }
.mhero__inner { position: relative; }
.mback { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 0.9rem; font-weight: 600; margin-bottom: clamp(20px, 4vw, 40px); }
.mback svg { width: 15px; height: 15px; transform: rotate(180deg); }
.mback:hover { color: #fff; }
.mhero__kicker { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.mhero h1 { font-size: clamp(2.4rem, 7vw, 5.2rem); }
.mhero__tagline { color: rgba(255,255,255,0.9); font-size: clamp(1.1rem, 2vw, 1.5rem); margin: 16px 0 30px; max-width: 28ch; }
.mhero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.mhero__price { display: flex; flex-direction: column; gap: 3px; margin: 0 0 30px; }
.mhero__from { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); color: #fff; letter-spacing: -0.01em; line-height: 1; }
.mhero__from--poa { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.mhero__pnote { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }

/* headline stat strip under the hero */
.mstatbar { background: var(--bg-1); border-block: 1px solid var(--line); }
.mstatbar__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.mstat { padding: clamp(20px, 3vw, 32px) clamp(12px, 2vw, 22px); display: flex; flex-direction: column; gap: 6px; }
.mstat + .mstat { border-left: 1px solid var(--line); }
.mstat__val { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.mstat__label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }

/* overview */
.moverview__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.moverview__body { margin-top: 22px; display: grid; gap: 16px; }
.moverview__body p { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.18rem); }
.moverview__bestfor { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); color: #dfe1e4; font-size: 1rem; }
.moverview__bestfor span { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 600; color: var(--accent-2); margin-right: 10px; }
.moverview__cta { margin-top: 22px; }
.moverview__media { margin: 0; background: radial-gradient(120% 92% at 50% 18%, #16171c, var(--bg-1)); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(20px, 3vw, 44px); overflow: hidden; }
.moverview__media img { width: 100%; height: auto; filter: drop-shadow(0 32px 36px rgba(0, 0, 0, 0.5)); }

/* key features */
.mfeat { background: var(--bg-1); border-top: 1px solid var(--line); }
.mfeat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.mfeat__item { background: var(--bg-1); padding: clamp(24px, 2.6vw, 36px); display: flex; gap: 16px; }
/* fill the final row so the hairline grid never shows an empty cell (8 items in 3 cols, etc.) */
.mfeat__item:last-child:nth-child(3n + 2) { grid-column: span 2; }
.mfeat__item:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
.mfeat__item h3 { font-size: 1.05rem; line-height: 1.2; margin-bottom: 7px; color: #fff; }
.mfeat__item p { color: var(--muted); font-size: 0.94rem; line-height: 1.55; }

/* gallery */
.mgallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mshot { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-card); }
.mshot img { width: 100%; height: clamp(280px, 40vw, 540px); object-fit: cover; display: block; }
.mshot figcaption { position: absolute; left: 22px; bottom: 18px; font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.04em; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,0.65); }

/* <picture> is transparent to layout — the inner <img> is what gets styled */
picture { display: contents; }

/* ---------- cinematic statement band (PDP) ---------- */
.mstatement { position: relative; min-height: clamp(380px, 62vh, 640px); display: flex; align-items: flex-end; overflow: hidden; border-top: 1px solid var(--line); }
.mstatement__media { position: absolute; inset: 0; z-index: -2; }
.mstatement__media img { width: 100%; height: 116%; object-fit: cover; }
.mstatement__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,9,0.92) 6%, rgba(8,8,9,0.32) 56%, rgba(8,8,9,0.55)); }
.mstatement__inner { position: relative; padding-block: clamp(40px, 7vw, 90px); }
.mstatement__quote { font-size: clamp(2rem, 5.2vw, 4rem); max-width: 18ch; letter-spacing: -0.02em; line-height: 1.04; }

/* ---------- preloader curtain ---------- */
.preloader { position: fixed; inset: 0; z-index: 10001; background: var(--bg); display: grid; place-items: center; animation: preloaderFail 0.01s linear 4s forwards; }
.preloader__bar { width: 140px; height: 2px; background: var(--line-strong); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes preloaderFail { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .preloader { display: none !important; } }

/* full specifications, grouped */
.mspecfull { background: var(--bg-1); border-top: 1px solid var(--line); }
.mspecfull__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.mspecfull__note { color: var(--muted-2); font-size: 0.86rem; margin-top: 18px; max-width: 38ch; }
.specgroups { display: grid; gap: clamp(26px, 3vw, 40px); }
.specgroup h3 { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; color: var(--accent-2); margin: 0 0 8px; }
.specgroup dl { margin: 0; }
.specrow { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specrow dt { color: var(--muted); font-size: 0.95rem; }
.specrow dd { margin: 0; color: #fff; font-weight: 500; font-size: 0.98rem; text-align: right; font-variant-numeric: tabular-nums; }

/* range index + cards (shared with related) */
.range-index .head { max-width: 760px; }
.range-note { margin-top: 16px; color: var(--muted-2); font-size: 0.84rem; max-width: 62ch; }
.models-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.range-index__grid { margin-top: clamp(28px, 4vw, 44px); }
.mrelated { background: var(--bg-1); border-top: 1px solid var(--line); }
.mcard { display: flex; flex-direction: column; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.mcard:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.mrelated .mcard { background: var(--bg-2); }
.mcard:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.mcard__media { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 20px 20px 0; background: radial-gradient(120% 90% at 50% 0%, #16171c, var(--bg-1)); }
.mcard__media img { width: 92%; height: auto; filter: drop-shadow(0 20px 22px rgba(0, 0, 0, 0.45)); }
.mcard__body { padding: 22px clamp(20px, 2.2vw, 28px) 26px; display: flex; flex-direction: column; flex: 1; }
.mcard__kicker { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.mcard__body h3 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); margin-bottom: 8px; }
.mcard__tag { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.mcard__foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.mcard__price { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: #fff; letter-spacing: -0.01em; }
.mcard__price--poa { font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; color: #eef0f2; letter-spacing: 0.01em; }
.mcard__meta { font-size: 0.78rem; color: var(--muted-2); text-align: right; }
.mcard__go { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--accent-2); }
.mcard__go svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease-out); }
.mcard:hover .mcard__go svg { transform: translateX(5px); }

/* ---------- range: brand groups ---------- */
.brand-group + .brand-group { margin-top: clamp(52px, 8vw, 100px); }
.brand-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; margin: 0 0 clamp(22px, 3vw, 34px); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.brand-group__title { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
.brand-group__meta { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }

/* ---------- image hover-zoom (desktop, fine pointer) ---------- */
@media (hover: hover) and (pointer: fine) {
  .mshot img, .moverview__media img { transition: transform 0.6s var(--ease-out); will-change: transform; }
  .mshot:hover img, .moverview__media:hover img { transform: scale(1.05); }
  .mcard__media img { transition: transform 0.6s var(--ease-out); }
  .mcard:hover .mcard__media img { transform: scale(1.04); }
}

/* ---------- Design your Nautique (floating boat on dark) ---------- */
.build { position: relative; text-align: center; overflow: hidden; padding-block: clamp(72px, 10vw, 130px) clamp(36px, 6vw, 64px); background: radial-gradient(125% 80% at 50% 22%, #1c1e24 0%, var(--bg) 56%); border-top: 1px solid var(--line); }
.build__inner { position: relative; z-index: 2; max-width: 620px; margin-inline: auto; }
.build h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 6px 0 18px; }
.build .lede { margin: 0 auto 28px; }
.build__stage { position: relative; z-index: 1; margin-top: clamp(12px, 2vw, 28px); animation: bob 6s ease-in-out infinite; will-change: transform; }
.build__boat { display: block; width: min(560px, 80%); height: auto; margin-inline: auto; filter: drop-shadow(0 38px 48px rgba(0,0,0,0.6)); will-change: transform; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .build__stage { animation: none; } }

/* ============================================================
   CROSS-DOCUMENT VIEW TRANSITIONS (Chrome 126+/Safari 18.2+;
   everyone else gets a normal navigation). The clicked range-card
   image morphs into the model-page hero ("boat-hero" pairing,
   assigned on click in app.js).
   ============================================================ */
@view-transition { navigation: auto; }
.mhero__media img { view-transition-name: boat-hero; }
::view-transition-old(root) { animation-duration: 0.26s; }
::view-transition-new(root) { animation-duration: 0.38s; }
::view-transition-group(boat-hero) { animation-duration: 0.55s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
::view-transition-old(boat-hero), ::view-transition-new(boat-hero) { animation-duration: 0.55s; height: 100%; width: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-image-pair(*),
  ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- button label roll (wrapped by app.js; desktop fine-pointer only) ---------- */
.btn__txt { position: relative; display: inline-block; overflow: hidden; }
.btn__txt span { display: block; }
/* the duplicate label exists only to drive the desktop hover roll; on touch/coarse
   pointers the roll media query never matches, so keep it out of flow or it stacks
   a second copy of the label under the first (every button looked doubled on mobile). */
.btn__txt span + span { display: none; }
@media (hover: hover) and (pointer: fine) {
  .btn__txt span { transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
  .btn__txt span + span { display: block; position: absolute; inset: 0; transform: translateY(110%); }
  .btn:hover .btn__txt span:first-child { transform: translateY(-110%); }
  .btn:hover .btn__txt span + span { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .btn__txt span { transition: none !important; } }

/* ============================================================
   MOTION STATES (gated; everything visible if JS/GSAP absent or reduced-motion)
   ============================================================ */
.anim .hero [data-hero] { opacity: 0; transform: translateY(26px); animation: heroRise 0.85s var(--ease-out) forwards; }
.anim .hero [data-hero]:nth-child(1) { animation-delay: 0.10s; }
.anim .hero [data-hero]:nth-child(2) { animation-delay: 0.22s; }
.anim .hero [data-hero]:nth-child(3) { animation-delay: 0.34s; }
.anim .hero [data-hero]:nth-child(4) { animation-delay: 0.46s; }
@keyframes heroRise { to { opacity: 1; transform: none; } }

/* cinematic GSAP hero intro takes over from the CSS keyframes (desktop + gsap only) */
.hero-cine .hero [data-hero] { animation: none; opacity: 0; }
.hero-cine .hero__media img { will-change: transform, filter; }

.mask-clip { overflow: hidden; display: block; }
.mask-inner { display: block; }
/* per-line masks: each headline line is its own clip so lines cascade */
.mask-lines .mask-clip { display: block; }
/* hide-then-reveal only on desktop; phones/tablets show content statically (robust) */
@media (min-width: 981px) {
  .gsap-ready [data-reveal] { opacity: 0; transform: translateY(18px); }
  .gsap-ready [data-reveal-img] { clip-path: inset(0 0 100% 0); }
  /* headline mask: CSS-transition reveal toggled by an IntersectionObserver (refresh-proof,
     deep-link-proof — no dependence on ScrollTrigger's scroll-space through the pinned section) */
  .gsap-ready .mask-clip .mask-inner { transform: translateY(110%); transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }
  .gsap-ready .mask-clip.is-revealed .mask-inner { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim .hero [data-hero] { animation: none; }
  .anim .hero [data-hero], .gsap-ready [data-reveal] { opacity: 1; transform: none; }
  .gsap-ready [data-reveal-img] { clip-path: none; }
  .gsap-ready .mask-clip .mask-inner { transform: none !important; transition: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .range-grid { grid-template-columns: 1fr; gap: 18px; }
  .rtile:nth-child(2) { transform: none; }
  .rtile:nth-child(2):hover { transform: translateY(-6px); }
  .stats { grid-template-columns: repeat(2, auto); gap: 32px 40px; }
  .why__points { grid-template-columns: 1fr; gap: 22px; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .proof__grid { grid-template-columns: 1fr; }
  .demo__grid { grid-template-columns: 1fr; }
  .state-panel { min-height: 68vh; }
  .state-panel__body { padding-bottom: clamp(32px, 8vw, 56px); }
  .locs { grid-template-columns: 1fr; }
  .loc + .loc { border-left: 0; }
  .help { grid-template-columns: 1fr; }
  .help__item { padding: 28px 0; }
  .help__item + .help__item { border-left: 0; border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr; }
  .stickybar.show { display: flex; }
  .moverview__grid { grid-template-columns: 1fr; }
  .moverview__media { order: -1; }
  .mfeat__grid { grid-template-columns: 1fr 1fr; }
  .mfeat__item:last-child:nth-child(3n + 2), .mfeat__item:last-child:nth-child(3n + 1) { grid-column: auto; }
  .mfeat__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .mgallery__grid { grid-template-columns: 1fr; }
  .mspecfull__grid { grid-template-columns: 1fr; gap: clamp(24px, 5vw, 40px); }
  .mhero { min-height: 72vh; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .brands__row { flex-direction: column; gap: 16px; }
  /* three brand marks can't sit side by side at phone width — wrap and scale down */
  .brands__logos { flex-wrap: wrap; justify-content: center; gap: 14px 24px; }
  .brands__div { display: none; }
  .brand-mark { height: 20px; }
  .brand-word { font-size: 1.4rem; }
  .field-row { grid-template-columns: 1fr; }
  .hero__cta .btn, .closer__cta .btn, .mhero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.7rem); }
  .section-h { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .statement h2 { font-size: clamp(1.9rem, 8.5vw, 3rem); }
  .state-panel__state { font-size: clamp(2rem, 9vw, 3.2rem); }
  .why h2, .split h2, .demo__copy h2, .closer h2 { font-size: clamp(1.7rem, 7.5vw, 2.6rem); }
  /* model stat bar -> clean 2x2 grid */
  .mstatbar__row { grid-template-columns: 1fr 1fr; }
  .mstat + .mstat { border-left: 0; }
  .mstat:nth-child(even) { border-left: 1px solid var(--line); }
  .mstat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mfeat__grid { grid-template-columns: 1fr; }
  .mfeat__item:last-child { grid-column: auto; }
}
