/* =========================================================
   Gianetti Custom Yachts — homepage concept
   ========================================================= */

/* ---------- fonts ----------
   Self-hosted copies of Google Fonts (Cormorant Garamond v21, Inter Tight v9),
   latin + latin-ext subsets. Both are variable fonts, so every weight of a
   style shares one file — the per-weight rules mirror the Google Fonts CSS. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/cormorant-garamond-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/cormorant-garamond-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/cormorant-garamond-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/cormorant-garamond-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/cormorant-garamond-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/cormorant-garamond-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/cormorant-garamond-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/cormorant-garamond-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/cormorant-garamond-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/cormorant-garamond-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/inter-tight-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/inter-tight-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-tight-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-tight-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-tight-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-tight-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   Gianetti Custom Yachts — site design system
   (fonts are prepended from _build/fonts.css by _build/make-css.py)
   ========================================================= */

:root {
  --ink: #060e18;
  --navy: #0a1726;
  --navy-2: #14253c;
  --navy-3: #1b3150;
  --ivory: #f2ede4;
  --paper: #e9e2d5;
  --mist-l: #eef0f3;
  --brass: #b4935f;
  --brass-l: #d8bf92;
  --brass-d: #7a5f33;
  --mist: rgba(242, 237, 228, .66);
  --mist-2: rgba(242, 237, 228, .56);
  --line-l: rgba(242, 237, 228, .16);
  --line-d: rgba(10, 23, 38, .13);
  --text-d: #0a1726;
  --text-d-2: rgba(10, 23, 38, .64);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --pad: clamp(20px, 4.2vw, 72px);
  --nav-h: 92px;

  /* micro-labels: three steps (font + tracking), always uppercase */
  --mk-s: 400 10px/1.4 var(--sans);
  --mk-m: 400 11px/1.4 var(--sans);
  --mk-l: 500 12px/1.4 var(--sans);
}

*, *::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(--ink); color: var(--ivory);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html.is-locked body { overflow: hidden; }
img, video, svg, iframe { display: block; max-width: 100%; }
img { color: transparent; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 1px solid var(--brass-l); outline-offset: 4px; }

.container { width: 100%; max-width: 1640px; margin-inline: auto; padding-inline: var(--pad); }

/* ---------- type ---------- */
.display-1 { font-family: var(--serif); font-weight: 300; font-size: clamp(3.2rem, 8vw, 8.6rem); line-height: .95; letter-spacing: -.018em; }
.display-2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 5.2vw, 5.6rem); line-height: 1; letter-spacing: -.012em; }
.display-3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3.8rem); line-height: 1.02; letter-spacing: -.01em; }
.eyebrow { font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--mist); }
.eyebrow--dark { color: var(--text-d-2); }
.section-label { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: inherit; opacity: .8; margin-bottom: 26px; }
.section-label strong { font-weight: 500; }
.line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line > span { display: block; }
[data-lines] .line { display: block; }

.u-link { position: relative; display: inline-block; }
.u-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.u-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 54px; padding: 0 30px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font: var(--mk-l); letter-spacing: .3em; text-transform: uppercase;
  transition: color .6s var(--ease), border-color .6s var(--ease), background-color .6s var(--ease);
}
.btn > * { position: relative; z-index: 1; }
.btn i { display: grid; width: 16px; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; transform: translateY(101%); transition: transform .7s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn--sm { height: 44px; padding: 0 22px; font-size: 10.5px; }
.btn--block { width: 100%; border-radius: 0; height: 60px; }
.btn--navy { background: var(--navy); color: var(--ivory); }
.btn--navy::before { background: var(--brass); }
.btn--navy:hover { color: var(--ink); }
.btn--brass { background: var(--brass-l); color: var(--ink); }
.btn--brass::before { background: var(--ivory); }
.btn--line { border: 1px solid var(--line-l); color: var(--ivory); }
.btn--line::before { background: var(--ivory); }
.btn--line:hover { color: var(--ink); }
.btn--line-dark { border: 1px solid var(--line-d); color: var(--text-d); }
.btn--line-dark::before { background: var(--navy); }
.btn--line-dark:hover { color: var(--ivory); }
.btn--ghost { color: var(--mist); }
.btn--ghost::before { background: rgba(242,237,228,.1); }

.line-cta { display: inline-flex; align-items: center; gap: 22px; font: var(--mk-l); letter-spacing: .3em; text-transform: uppercase; color: var(--text-d); }
.line-cta__circle { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease); }
.line-cta__circle svg { width: 18px; transition: transform .6s var(--ease); }
.line-cta:hover .line-cta__circle { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.line-cta:hover .line-cta__circle svg { transform: translateX(3px); }
.line-cta--light { color: var(--ivory); }
.line-cta--light .line-cta__circle { border-color: var(--line-l); }
.line-cta--light:hover .line-cta__circle { background: var(--brass-l); color: var(--ink); border-color: var(--brass-l); }

.arrow-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-l); color: var(--ivory); display: grid; place-items: center; transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), opacity .5s var(--ease); }
.arrow-btn:disabled { opacity: .28; pointer-events: none; }
.arrow-btn svg { width: 18px; }
.arrow-btn:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.arrow-btn--glass { background: rgba(6,14,24,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* =========================================================
   CURTAIN (page transitions + first-visit loader)
   ========================================================= */
.curtain {
  position: fixed; inset: 0; z-index: 400; background: var(--ink);
  display: grid; place-items: center; pointer-events: none;
  transform: translateY(-101%);
}
html.is-entering .curtain { transform: none; pointer-events: auto; animation: curtain-fallback 0s 5s forwards; }
@keyframes curtain-fallback { to { transform: translateY(-101%); visibility: hidden; } }
html.js-ready .curtain { animation: none; }
.curtain__logo { width: clamp(200px, 20vw, 320px); opacity: 0; }
.curtain__logo svg { width: 100%; height: auto; overflow: visible; }
html.is-loader .curtain__logo { opacity: 1; }
html.is-loader .curtain__logo path { opacity: 0; }
.curtain__foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 44px; display: flex; justify-content: space-between; font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--mist-2); opacity: 0; }
html.is-loader .curtain__foot { opacity: 1; }
.curtain__count { font-family: var(--serif); font-size: 15px; letter-spacing: .12em; color: var(--brass-l); }
.curtain__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-l); opacity: 0; }
html.is-loader .curtain__bar { opacity: 1; }
.curtain__bar span { position: absolute; inset: 0; background: var(--brass-l); transform: scaleX(0); transform-origin: left; }

/* ---------- cursor + grain ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 500; pointer-events: none; opacity: 0; }
.cursor { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid rgba(242,237,228,.6); display: grid; place-items: center; mix-blend-mode: difference;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease); }
.cursor__label { font: var(--mk-s); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--ivory); }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--ivory); border-color: var(--ivory); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor-dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: var(--ivory); mix-blend-mode: difference; }
.cursor-dot.is-off { visibility: hidden; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }
.grain { position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-5%); } 60% { transform: translate(-6%,-2%); } 80% { transform: translate(5%,4%); } }

/* =========================================================
   NAV + MENU
   ========================================================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--nav-h); padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; color: var(--ivory);
  transition: transform .9s var(--ease), color .6s var(--ease), height .6s var(--ease); }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6,14,24,.55); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line-l); opacity: 0; transition: opacity .6s var(--ease), background-color .6s var(--ease); }
.nav.is-solid { height: 74px; }
.nav.is-solid::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-light { color: var(--text-d); }
.nav.is-light::before { background: rgba(242,237,228,.78); border-color: var(--line-d); }
.nav.is-light .nav__logo img { filter: brightness(0) invert(9%) sepia(45%) saturate(1600%) hue-rotate(190deg) brightness(88%); }
.nav__logo img { width: 124px; height: auto; transition: filter .6s var(--ease), width .6s var(--ease); }
.nav.is-solid .nav__logo img { width: 108px; }
.nav__right { display: flex; align-items: center; gap: 26px; font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; }
.nav__divider { width: 1px; height: 34px; background: currentColor; opacity: .3; }
.nav__burger { display: inline-flex; align-items: center; gap: 14px; height: 44px; letter-spacing: inherit; text-transform: inherit; }
.nav__burger-lines { position: relative; width: 26px; height: 8px; }
.nav__burger-lines i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease), left .6s var(--ease); }
.nav__burger-lines i:first-child { top: 0; }
.nav__burger-lines i:last-child { top: 7px; left: 8px; }
.nav__burger:hover .nav__burger-lines i:last-child { left: 0; }
html.menu-open .nav { color: var(--ivory); }
html.menu-open .nav::before { opacity: 0; }
html.menu-open .nav .nav__logo img { filter: none; }
html.menu-open .nav__contact, html.menu-open .nav__divider { opacity: 0; pointer-events: none; }
html.menu-open .nav__burger-lines i:first-child { top: 4px; transform: rotate(45deg); }
html.menu-open .nav__burger-lines i:last-child { top: 4px; left: 0; transform: rotate(-45deg); }
.nav__contact, .nav__divider { transition: opacity .5s var(--ease); }

.menu { position: fixed; inset: 0; z-index: 190; background: var(--navy); display: grid; grid-template-columns: 1fr 1fr; clip-path: inset(0 0 100% 0); visibility: hidden; }
.menu__media { position: relative; overflow: hidden; }
.menu__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.menu__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,23,38,.1), rgba(10,23,38,.65)); }
.menu__inner { display: flex; align-items: center; padding: 120px var(--pad) 60px; }
.menu__list a { display: flex; align-items: baseline; gap: 24px; padding: 8px 0; }
.menu__list small { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--brass-l); width: 26px; }
.menu__list .mw { display: inline-block; overflow: hidden; padding-bottom: .06em; transition: transform .8s var(--ease); }
.menu__list .mw > span { display: inline-block; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 6vw, 6.4rem); line-height: 1.04; transition: color .5s; }
.menu__list a:hover .mw, .menu__list a.is-current .mw { transform: translateX(18px); }
.menu__list a:hover .mw > span, .menu__list a.is-current .mw > span { color: var(--brass-l); font-style: italic; }

/* ---------- floating ---------- */
.float-pill { position: fixed; left: 20px; bottom: 22px; z-index: 150; display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px 0 8px; border-radius: 999px;
  background: rgba(10,23,38,.72); border: 1px solid var(--line-l); color: var(--ivory); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background-color .5s var(--ease), transform .9s var(--ease), opacity .5s, padding .8s var(--ease), gap .8s var(--ease); }
.float-pill__label { display: inline-block; max-width: 220px; overflow: hidden; white-space: nowrap; font: var(--mk-s); letter-spacing: .26em; text-transform: uppercase; transition: max-width .8s var(--ease), opacity .5s; }
.float-pill__icon { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; }
.float-pill__icon svg { width: 15px; }
.float-pill:hover { background: var(--navy-2); }
.float-wa { position: fixed; right: 22px; bottom: 22px; z-index: 165; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brass-l); color: var(--ink); box-shadow: 0 10px 30px rgba(6,14,24,.28); transition: background-color .5s var(--ease), color .5s var(--ease), transform .9s var(--ease), opacity .5s; }
.float-wa svg { width: 25px; }
.float-wa:hover { background: #1f9d55; color: #fff; }
html.menu-open .float-pill, html.menu-open .float-wa, html.at-end .float-pill, html.at-end .float-wa { opacity: 0 !important; pointer-events: none; }

/* =========================================================
   HERO (home) + PAGE HEROES
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--ink); }
.hero__media, .page-hero__media, .phero__media { position: absolute; inset: 0; will-change: transform; }
.hero__video, .phero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,14,24,.6) 0%, rgba(6,14,24,0) 26%, rgba(6,14,24,.06) 46%, rgba(6,14,24,.62) 76%, rgba(6,14,24,.94) 100%),
              linear-gradient(90deg, rgba(6,14,24,.5) 0%, rgba(6,14,24,.16) 45%, transparent 70%); }
/* the hero falls into the fleet's night: its bottom row mirrors the fleet glow's top row, so the seam disappears */
.hero__night { position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 50% 100%, rgba(20,37,60,.95), transparent 70%), var(--navy); }
.hero__content { position: absolute; left: 0; right: 0; bottom: clamp(110px, 17vh, 190px); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 18px; margin-bottom: 26px; color: var(--ivory); text-shadow: 0 1px 14px rgba(6,14,24,.75); }
.hero__eyebrow::before { content: ""; width: 56px; height: 1px; background: var(--brass-l); }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 7.6vw, 8.6rem); line-height: .93; letter-spacing: -.018em; text-shadow: 0 2px 40px rgba(6,14,24,.38); }
.hero__title em { font-style: italic; color: var(--brass-l); }
.hero__title .line:nth-child(2) { padding-left: clamp(0px, 7vw, 140px); }
.hero__lede { margin-top: 32px; max-width: 520px; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.65; color: var(--mist); text-shadow: 0 1px 16px rgba(6,14,24,.7); }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; width: 1px; height: 60px; background: var(--line-l); overflow: hidden; }
.hero__scroll span { position: absolute; inset: 0; background: var(--ivory); animation: scrollcue 2.4s var(--ease-io) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }

.discover { position: absolute; right: calc(var(--pad) + 4vw); bottom: clamp(110px, 17vh, 190px); z-index: 3; width: 150px; height: 150px; display: grid; place-items: center; }
.discover__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.discover__ring text { font-family: var(--sans); font-size: 12.5px; letter-spacing: .34em; fill: var(--ivory); font-weight: 400; }
.discover__core { width: 76px; height: 76px; border-radius: 50%; background: var(--brass-l); color: var(--ink); display: grid; place-items: center; transition: transform .8s var(--ease), background-color .6s var(--ease); }
.discover__core svg { width: 24px; transition: transform .8s var(--ease); }
.discover:hover .discover__core { transform: scale(1.12); background: var(--ivory); }
.discover:hover .discover__core svg { transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }

.page-hero { position: relative; height: 72vh; min-height: 520px; overflow: hidden; background: var(--ink); }
.page-hero__img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media picture { display: block; width: 100%; height: 100%; }
.page-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,14,24,.55) 0%, rgba(6,14,24,0) 30%, rgba(6,14,24,.1) 55%, rgba(6,14,24,.78) 100%); }
.page-hero__content { position: absolute; left: 0; right: 0; bottom: clamp(48px, 9vh, 96px); }
.page-hero h1 { text-shadow: 0 2px 40px rgba(6,14,24,.35); }
.page-hero--about .page-hero__img { filter: grayscale(1) contrast(1.05); }

/* =========================================================
   PROJECT HERO + TABS
   ========================================================= */
.phero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); }
.phero__img, .phero__slide img { width: 100%; height: 100%; object-fit: cover; }
.phero__slides { position: absolute; inset: 0; }
.phero__slide { position: absolute; inset: 0; opacity: 0; }
.phero__slide.is-active { opacity: 1; }
.phero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,14,24,.55) 0%, rgba(6,14,24,0) 28%, rgba(6,14,24,.15) 50%, rgba(6,14,24,.8) 82%, var(--ink) 100%); }
.phero__content { position: absolute; left: 0; right: 0; bottom: clamp(50px, 8vh, 100px); text-align: center; isolation: isolate; }
.phero__content::before { content: ""; position: absolute; inset: -14vh -10vw -8vh; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 60% 55% at 50% 60%, rgba(6,14,24,.62), rgba(6,14,24,0) 75%); }
.phero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(4rem, 11vw, 12rem); line-height: .9; letter-spacing: -.02em; text-shadow: 0 2px 50px rgba(6,14,24,.4); }
.phero__subtitle { margin-top: 10px; font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.6rem); line-height: 1.1; color: var(--ivory); text-shadow: 0 1px 24px rgba(6,14,24,.6); }
.phero__text { max-width: 760px; margin: 22px auto 0; font-size: 14px; line-height: 1.65; color: rgba(242,237,228,.82); text-shadow: 0 1px 24px rgba(6,14,24,.6); }
.phero__text p + p { margin-top: 6px; }

.pspecs { background: var(--ink); padding: clamp(30px, 4vw, 50px) 0 clamp(70px, 8vw, 110px); }
.tabs__list { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-l); }
.tabs__tab { padding: 22px 10px; font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--mist); transition: color .5s; }
.tabs__tab.is-active, .tabs__tab:hover { color: var(--ivory); }
.tabs__ink { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--brass-l); }
.tabs__panels { display: grid; }
.tabs__panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; }
.tabs__panel.is-active { visibility: visible; opacity: 1; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.spec-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; min-height: 130px; padding: 26px 18px; position: relative; }
.spec-cell:not(:nth-child(3n + 1))::before { content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: var(--line-l); }
.spec-cell span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.spec-cell strong { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2vw, 2.2rem); line-height: 1.15; color: var(--ivory); max-width: 26ch; }
.tabs__panel:not([data-panel="0"]) .spec-cell strong { font-family: var(--sans); font-size: clamp(14px, 1.05vw, 16px); line-height: 1.5; color: var(--ivory); }


/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 450; display: grid; place-items: center; visibility: hidden; }
.lightbox.is-open { visibility: visible; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(6,14,24,.94); opacity: 0; }
.lightbox__figure { position: relative; z-index: 1; width: min(92vw, 1600px); height: min(84vh, 1100px); display: grid; place-items: center; }
.lightbox__figure img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 40px 80px rgba(0,0,0,.4); }
.lightbox__close { position: absolute; top: 22px; right: var(--pad); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-l); color: var(--ivory); font-size: 26px; line-height: 1; transition: background-color .5s, color .5s; }
.lightbox__close:hover { background: var(--ivory); color: var(--ink); }
.lightbox__nav { position: absolute; top: 50%; z-index: 2; margin-top: -26px; }
.lightbox__nav--prev { left: var(--pad); }
.lightbox__nav--next { right: var(--pad); }
.lightbox__count { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; font-size: 11px; letter-spacing: .24em; color: var(--mist); }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: -38px; text-align: center; font: var(--mk-s); letter-spacing: .26em; text-transform: uppercase; color: var(--ivory); }
.lightbox__caption[hidden] { display: none; }


/* =========================================================
   BROCHURE + LEGAL
   ========================================================= */
.brochure { background: var(--mist-l); color: var(--text-d); padding: calc(var(--nav-h) + clamp(40px, 6vw, 90px)) 0 clamp(70px, 8vw, 120px); }
.brochure__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.brochure__copy .display-1 { margin-top: 18px; }
.brochure__intro { margin-top: 22px; max-width: 560px; font-size: 16px; line-height: 1.7; color: var(--text-d-2); }
.brochure__actions { display: grid; gap: 12px; }
.brochure__actions .btn { border-radius: 0; height: 50px; justify-content: space-between; min-width: 250px; }
.brochure__viewer { margin: clamp(40px, 5vw, 70px) auto 0; width: calc(100% - 2 * var(--pad) + 40px); max-width: 1700px; }
.brochure__shell { position: relative; background: var(--navy); padding: 10px; box-shadow: 0 40px 80px rgba(10,23,38,.22); }
.brochure__frame { width: 100%; height: min(78vh, 900px); border: 0; background: #2a2a2e; }
.brochure__cover { display: none; position: relative; }
.brochure__cover img { width: 100%; height: auto; }
.brochure__cover .btn { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); }
.brochure__fallback { margin-top: 16px; text-align: center; font-size: 13px; color: var(--text-d-2); }

.legal { background: var(--mist-l); color: var(--text-d); padding: calc(var(--nav-h) + clamp(30px, 5vw, 70px)) 0 clamp(80px, 9vw, 130px); }
.legal__inner { max-width: 900px; }
.legal__title { padding-bottom: 26px; border-bottom: 1px solid var(--text-d); }
.prose { margin-top: 36px; font-family: var(--serif); font-size: 18px; line-height: 1.7; color: rgba(10,23,38,.82); }
.prose > p:first-child { padding: 18px 22px; background: rgba(10,23,38,.06); border-left: 2px solid var(--navy); font-size: 15px; }
.prose p { margin: 0 0 16px; }
.prose h2 { margin: 46px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line-d); font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--text-d); }
.prose h3 { margin: 28px 0 12px; font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--text-d); }
.prose ul { margin: 0 0 18px; }
.prose li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid rgba(10,23,38,.07); }
.prose li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.prose strong { color: var(--text-d); font-weight: 600; }
.prose a { color: var(--navy-3); text-decoration: underline; text-decoration-color: rgba(180,147,95,.6); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-family: var(--sans); font-size: 13.5px; }
.prose th { text-align: left; padding: 12px; background: var(--navy-2); color: var(--ivory); font-weight: 500; letter-spacing: .04em; }
.prose td { padding: 12px; border-bottom: 1px solid var(--line-d); vertical-align: top; }

/* =========================================================
   CONSENT
   ========================================================= */
.consent { position: fixed; left: 20px; right: 20px; bottom: 86px; z-index: 260; margin: 0 auto; max-width: 1100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 16px 18px 16px 24px; background: rgba(10,23,38,.9); color: var(--ivory); border: 1px solid var(--line-l); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 12px; letter-spacing: .08em; }
.consent[hidden], .consent-modal[hidden] { display: none; }
.consent__text a { margin-left: 12px; color: var(--brass-l); font: var(--mk-s); letter-spacing: .26em; text-transform: uppercase; }
.consent__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-modal { position: fixed; inset: 0; z-index: 470; display: grid; place-items: center; padding: 20px; }
.consent-modal__backdrop { position: absolute; inset: 0; background: rgba(6,14,24,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.consent-modal__panel { position: relative; width: min(620px, 100%); max-height: 90vh; overflow: auto; background: var(--ivory); color: var(--text-d); padding: 40px 36px 30px; box-shadow: 0 40px 80px rgba(0,0,0,.3); }
.consent-modal__panel h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; }
.consent-modal__panel > p { margin-top: 10px; font-size: 14px; color: var(--text-d-2); }
.consent-modal__close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; font-size: 26px; line-height: 1; }
.consent-modal__cats { margin-top: 24px; display: grid; gap: 10px; }
.consent-cat { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 18px; background: #fff; border: 1px solid var(--line-d); cursor: pointer; }
.consent-cat__text { display: grid; gap: 4px; font-size: 13px; color: var(--text-d-2); }
.consent-cat__text strong { font: var(--mk-m); font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--text-d); }
.switch { position: relative; flex: none; width: 46px; height: 26px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: rgba(10,23,38,.16); transition: background-color .4s; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .5s var(--ease); }
.switch input:checked + i { background: var(--navy); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:disabled + i { opacity: .55; }
.consent-modal__actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 24px; }


/* read more (clamped copy) */
.readmore { overflow: hidden; }
.readmore.is-clamped, .readmore.is-moving { -webkit-mask-image: linear-gradient(180deg, #000 var(--rmf, 55%), transparent); mask-image: linear-gradient(180deg, #000 var(--rmf, 55%), transparent); }
.readmore__btn { margin-top: 14px; font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--brass-l); }

/* =========================================================
   v3 COMPONENTS — the concept's motion design, site-wide
   ========================================================= */

.section-tag { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(24px, 3.4vw, 46px); font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--text-d-2); }
.section-tag > span { font-family: var(--serif); font-style: italic; font-size: 18px; letter-spacing: 0; color: var(--brass); text-transform: none; }
.section-tag::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .35; }
.section-tag strong { font-weight: 500; color: var(--text-d); }
.section-tag--light { color: var(--mist); }
.section-tag--light > span { color: var(--brass-l); }
.section-tag--light strong { color: var(--ivory); }
.section-tag:not(.section-tag--light) > span:first-child { color: var(--brass-d); }
.display-2 em, .display-1 em { font-style: italic; color: #876a3c; }
[data-theme="dark"] .display-2 em, [data-theme="dark"] .display-1 em { color: var(--brass-l); }

/* ---------- stats (big serif numbers, brass units) ---------- */
.stats { display: flex; flex-wrap: wrap; gap: clamp(22px, 3.6vw, 64px); }
.stat { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat__v { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3vw, 3.3rem); line-height: 1; white-space: nowrap; color: var(--ivory); }
.stat__v small { margin-left: .28em; font-size: .42em; font-style: italic; letter-spacing: .06em; color: var(--brass-l); }
.stat__v--text { font-size: clamp(1.5rem, 2.2vw, 2.4rem); }
.stat__k { font: var(--mk-s); letter-spacing: .26em; text-transform: uppercase; color: var(--mist); }
.stat__k span { color: var(--mist-2); }
.stat__note { font-family: var(--serif); font-size: 14px; color: var(--mist-2); }

/* =========================================================
   THE YACHT BLOCK (home fleet acts + project arrival)
   ========================================================= */
.yblock__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 62%, rgba(216,191,146,.13), transparent 70%), radial-gradient(90% 70% at 50% 0%, rgba(20,37,60,.95), transparent 70%), linear-gradient(180deg, #0a1726 0%, #0c1b2e 55%, #08121f 100%); }
.yblock__ghost { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -54%); font-family: var(--serif); font-weight: 300; font-size: clamp(16rem, 44vw, 52rem); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(216,191,146,.2); white-space: nowrap; pointer-events: none; user-select: none; }
.yblock__head { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 34px); z-index: 3; pointer-events: none; }
.yblock__head > * { pointer-events: auto; }
.yblock__title { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 6.4vw, 7rem); line-height: .95; letter-spacing: -.015em; max-width: 14ch; }
.yblock__title em { font-style: italic; color: var(--brass-l); }
.yblock__sub { margin-top: 16px; max-width: 46ch; font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--mist); }
.yblock__text { position: absolute; z-index: 3; right: max(var(--pad), calc((100% - 1640px) / 2 + var(--pad))); top: calc(var(--nav-h) + 90px); width: min(400px, 30vw); font-size: 15.5px; line-height: 1.7; color: var(--mist); }
.yblock__text .readmore { margin: 0; }
.yblock__text .readmore.is-clamped { max-height: calc(1.7em * 5); }
.yblock__text .readmore.is-moving { overflow: hidden; }
.yblock__text p + p { margin-top: 10px; }
/* the keel (--hull: keel y / width) sits on the water line at 53% + .16w; scale and reflection pivot on it (--org, --refl) */
.yblock__yacht, .yblock__water { --w: min(84vw, 1480px, calc((100svh - 380px) * 2.3)); }
.yblock__yacht { position: absolute; z-index: 2; left: calc(50% - var(--w) / 2); top: calc(53% + var(--w) * (.16 - var(--hull, .3777))); width: var(--w); aspect-ratio: var(--ar, 2200 / 957); transform-origin: 50% var(--org, 86.8%); will-change: transform; }
.yblock__yacht .ship { position: absolute; inset: 0; }
.yblock__water { position: absolute; z-index: 1; left: 0; right: 0; top: calc(53% + var(--w) * .16); height: 1px; background: linear-gradient(90deg, transparent, rgba(216,191,146,.45) 30%, rgba(216,191,146,.45) 70%, transparent); }
.yblock__foot { position: absolute; left: 0; right: 0; bottom: 84px; z-index: 3; padding-right: calc(var(--pad) + 190px); }
.yblock__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; font: var(--mk-s); letter-spacing: .26em; text-transform: uppercase; color: var(--mist-2); }
.yblock__meta span + span::before { content: "·"; margin-right: 28px; color: var(--brass-l); }
.yblock__ring { position: absolute !important; right: max(calc(var(--pad) + 40px), 100px, calc((100% - 1640px) / 2 + var(--pad))) !important; bottom: 90px !important; z-index: 4; }
/* home: the number rolls inside its slot; one shared "Project" keyword (the current act's) is shown */
.yblock__nr { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .08em .12em .04em; margin: 0 -.08em -.12em -.04em; }
.yblock__nr em { display: inline-block; }
.fleet.is-pinned .fleet-act .yblock__kw { visibility: hidden; }
.fleet.is-pinned .fleet-act.is-current .yblock__kw { visibility: visible; }

.ship { position: relative; }
.yblock__yacht .ship, .berth__yacht .ship { will-change: transform; }
.ship__img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.ship__reflect { position: absolute; left: 0; top: var(--refl, 73.6%); width: 100%; transform: scaleY(-1); opacity: .22; filter: blur(2px) saturate(.7); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 62%, rgba(0,0,0,.9) 86%, #000 100%); mask-image: linear-gradient(180deg, transparent 0%, transparent 62%, rgba(0,0,0,.9) 86%, #000 100%); }
.ship__reflect .ship__img { filter: none; }
/* measured keels (bottom-most opaque hull row) of each cut-out */
.hull-435 { --ar: 2200 / 957; --hull: .3777; --org: 86.8%; --refl: 73.6%; }
.hull-458 { --ar: 2200 / 1008; --hull: .4118; --org: 89.9%; --refl: 79.7%; }
.hull-488 { --ar: 2200 / 1074; --hull: .4109; --org: 84.2%; --refl: 68.3%; }
.hull-424 { --ar: 1800 / 764; --hull: .3956; --org: 93.2%; --refl: 86.4%; }

/* home: the fleet (pinned, three acts) */
.fleet { position: relative; background: var(--navy); }
.fleet__pin { position: relative; height: 100vh; height: 100svh; min-height: 0; overflow: hidden; }
.fleet__bar { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 4px); z-index: 5; display: flex; align-items: center; justify-content: space-between; }
.fleet__bar .section-tag { margin: 0; }
.fleet__ui { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .2em; color: var(--mist); }
.fleet__count b { display: inline-block; overflow: hidden; vertical-align: bottom; font-family: var(--serif); font-weight: 400; font-size: 16px; color: var(--ivory); }
.fleet__count b span { display: inline-block; }
.fleet__bars { display: flex; gap: 6px; margin: 0 10px 0 4px; }
.fleet__bars span { position: relative; width: 44px; height: 1px; background: var(--line-l); }
.fleet__bars i { position: absolute; inset: 0; background: var(--brass-l); transform: scaleX(0); transform-origin: left; }
.fleet__acts { position: absolute; inset: 0; }
.fleet-act { position: absolute; inset: 0; visibility: hidden; }
.fleet-act.is-active { visibility: visible; }
.fleet .yblock__head { top: calc(var(--nav-h) + 78px); }
.fleet .yblock__text { top: calc(var(--nav-h) + 92px); }

/* project pages: the arrival */
.parrival { position: relative; height: 100vh; height: 100svh; min-height: 0; overflow: hidden; background: var(--navy); }
.parrival .yblock__title { font-size: clamp(2.6rem, 5vw, 5.6rem); max-width: 16ch; }
.parrival .stats { gap: clamp(18px, 2.6vw, 46px); }

/* =========================================================
   COMPARE (home specification)
   ========================================================= */
.compare { background: var(--paper); color: var(--text-d); padding: clamp(100px, 11vw, 170px) 0 clamp(90px, 10vw, 150px); }
.compare__head { margin-bottom: clamp(40px, 5vw, 70px); }
.compare__switch { display: none; }
.compare__row { display: grid; grid-template-columns: minmax(170px, 1.1fr) repeat(3, 1fr); gap: 0 clamp(16px, 2vw, 32px); align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line-d); transition: background-color .4s; }
.compare__row:not(.compare__row--head):hover { background: rgba(180,147,95,.09); }
.compare__row--head { position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--text-d); padding: 22px 0 16px; }
.compare__p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 2.6vw, 2.8rem); line-height: 1; transition: color .5s; }
.compare__p span { display: block; margin-bottom: 6px; font: var(--mk-s); letter-spacing: .26em; text-transform: uppercase; color: var(--text-d-2); }
.compare__p:hover { color: var(--brass); }
.compare__gtitle { margin-top: clamp(36px, 4vw, 56px); padding-bottom: 12px; font: var(--mk-l); letter-spacing: .3em; text-transform: uppercase; color: var(--brass-d); border-bottom: 1px solid var(--line-d); }
.compare__k { font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--text-d-2); }
.compare__v { font-family: var(--serif); font-size: clamp(1.05rem, 1.3vw, 1.3rem); line-height: 1.35; color: var(--text-d); }
.compare__v sup { color: var(--brass-d); font-size: .7em; margin-left: 2px; }
.compare__note { margin-top: 20px; font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--text-d-2); }

/* =========================================================
   STATEMENT (word-by-word reveal) — home about, project intro, about intro
   ========================================================= */
.statement { background: var(--ivory); color: var(--text-d); padding: clamp(110px, 14vw, 210px) 0 clamp(90px, 10vw, 160px); }
.statement__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5.4vw, 6rem); line-height: 1.04; letter-spacing: -.012em; max-width: 18ch; text-indent: clamp(0px, 10vw, 180px); }
.statement__title--prose { font-size: clamp(1.9rem, 3.6vw, 3.9rem); line-height: 1.16; max-width: 30ch; }
.statement__title .word { display: inline-block; text-indent: 0; }
.statement__grid { margin-top: clamp(70px, 9vw, 150px); display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); align-items: start; }
.statement__img { position: relative; overflow: hidden; }
.statement__img img { width: 100%; height: 100%; object-fit: cover; }
.statement__img--a { grid-column: 1 / span 6; aspect-ratio: 4 / 3.1; }
.statement__img--b { grid-column: 10 / span 3; aspect-ratio: 3 / 4; margin-top: 30%; }
.statement__copy { grid-column: 7 / span 3; padding-top: 10%; display: flex; flex-direction: column; gap: 34px; font-size: 15.5px; line-height: 1.75; color: var(--text-d-2); }
.statement__copy .lead { color: var(--text-d); font-weight: 500; margin-bottom: 12px; }
.statement__cols { margin-top: clamp(50px, 6vw, 90px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); font-size: 16px; line-height: 1.8; color: var(--text-d-2); }
.statement__cols .statement__body { grid-column: 2; }

/* project intro (dark statement) */
.pintro { background: var(--ink); color: var(--ivory); padding: clamp(110px, 13vw, 200px) 0 clamp(80px, 9vw, 140px); }
.pintro__statement { font-family: var(--serif); font-weight: 300; font-size: clamp(2.1rem, 4.4vw, 4.8rem); line-height: 1.1; letter-spacing: -.01em; max-width: 24ch; }
.pintro__statement .word { display: inline-block; }
.pintro__more { margin-top: 28px; max-width: 720px; font-size: 16px; line-height: 1.75; color: var(--mist); }
.pintro__meta { margin-top: clamp(40px, 5vw, 70px); display: flex; flex-wrap: wrap; gap: 14px 40px; font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--mist); }
.pintro__meta li { display: flex; align-items: center; gap: 12px; }
.pintro__meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass-l); }

/* =========================================================
   HORIZONTAL GALLERY (the concept's "voyage")
   ========================================================= */
.hgallery { position: relative; background: var(--ink); color: var(--ivory); }
.hgallery__pin { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; display: flex; align-items: center; }
.hgallery__pin::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 55% at 30% 50%, rgba(20,37,60,.55), transparent 72%); }
.hgallery__track { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); height: 100%; width: max-content; padding: 0 var(--pad); will-change: transform; }
.hgallery__intro { flex: 0 0 clamp(320px, 34vw, 560px); padding-right: clamp(20px, 4vw, 80px); }
.hgallery__intro .display-2 { font-size: clamp(2.8rem, 5.6vw, 6rem); }
.hgallery__lede { margin-top: 30px; max-width: 400px; font-size: 16px; line-height: 1.7; color: var(--mist); }
.hgallery__hint { margin-top: 46px; display: inline-flex; align-items: center; gap: 16px; font: var(--mk-s); letter-spacing: .26em; text-transform: uppercase; color: var(--mist-2); }
.hgallery__hint i { position: relative; width: 48px; height: 1px; background: var(--mist-2); overflow: hidden; }
.hgallery__hint i::after { content: ""; position: absolute; inset: 0; background: var(--brass-l); animation: hint 2.2s var(--ease-io) infinite; }
@keyframes hint { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.hpanel { position: relative; flex: none; display: flex; flex-direction: column; gap: 14px; }
.hpanel__media { position: relative; display: block; overflow: hidden; background: #0f1d2e; }
.hpanel__media img { position: absolute; top: 0; left: -9%; width: 118%; max-width: none; height: 100%; object-fit: cover; }
/* the caption wraps to the media width instead of widening the panel */
.hpanel figcaption { display: flex; align-items: center; gap: 14px; width: 0; min-width: 100%; min-height: 1.4em; font: var(--mk-s); line-height: 1.6; letter-spacing: .26em; text-transform: uppercase; color: var(--mist); }
.hpanel figcaption span { flex: none; font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0; color: var(--brass-l); }
.hpanel figcaption::after { content: ""; flex: none; width: 44px; height: 1px; background: var(--line-l); }
/* the yard reel is graded a touch quieter; hover gives back the full colour */
.hgallery--yard .hpanel__media img { filter: saturate(.78) contrast(1.05) brightness(.95); transition: filter 1.2s var(--ease); }
@media (hover: hover) { .hgallery--yard .hpanel__media:hover img { filter: none; } }
.hpanel--xl .hpanel__media { width: clamp(560px, 58vw, 1080px); height: min(66vh, 680px); }
.hpanel--l .hpanel__media { width: clamp(420px, 38vw, 720px); height: min(54vh, 560px); }
.hpanel--m .hpanel__media { width: clamp(340px, 28vw, 520px); height: min(48vh, 500px); }
.hpanel--tall .hpanel__media { width: clamp(320px, 26vw, 480px); height: min(72vh, 740px); }
.hpanel--low { align-self: flex-end; margin-bottom: 8vh; }
.hpanel--high { align-self: flex-start; margin-top: 12vh; }
.deckcard { flex: 0 0 clamp(260px, 22vw, 380px); align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(10px, 2vw, 40px); border-left: 1px solid var(--line-l); }
.deckcard small { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--brass-l); }
.deckcard__title { margin-top: 14px; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 3.8vw, 4.2rem); line-height: 1; }
.deckcard__title em { font-style: italic; color: var(--brass-l); }
.deckcard__room { margin-top: 18px; font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--mist); }
.hgallery__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 34px; display: flex; align-items: center; gap: 24px; font-size: 11px; letter-spacing: .2em; color: var(--mist-2); }
.hgallery__count b { font-family: var(--serif); font-weight: 400; font-size: 15px; letter-spacing: .06em; color: var(--ivory); }
.hgallery__bar { position: relative; flex: 1; max-width: 320px; height: 1px; background: var(--line-l); }
.hgallery__bar i { position: absolute; inset: 0; background: var(--brass-l); transform: scaleX(0); transform-origin: left; }

/* =========================================================
   HERITAGE RAIL (home)
   ========================================================= */
.heritage { background: var(--ivory); color: var(--text-d); padding: clamp(90px, 10vw, 160px) 0; }
.timeline { position: relative; }
.timeline__rail { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-d); }
.timeline__rail i { position: absolute; inset: 0; background: var(--brass); transform: scaleX(0); transform-origin: left; }
.timeline__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 56px); }
.milestone { position: relative; padding-top: 46px; }
.milestone__dot { position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--brass); }
.milestone__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--brass); transform: scale(0); transition: transform .6s var(--ease); }
.milestone.is-on .milestone__dot::after { transform: scale(1); }
.milestone__year { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 4.4vw, 4.8rem); line-height: 1; letter-spacing: -.02em; }
.milestone h3 { margin-top: 22px; font: var(--mk-l); letter-spacing: .3em; text-transform: uppercase; }
.milestone p { margin-top: 14px; max-width: 320px; font-size: 15px; line-height: 1.7; color: var(--text-d-2); }

/* =========================================================
   PROJECTS — berths
   ========================================================= */
.berths { background: var(--mist-l); color: var(--text-d); padding: clamp(100px, 11vw, 170px) 0 clamp(60px, 6vw, 100px); }
.berths__head { margin-bottom: clamp(30px, 4vw, 60px); }
.berth { position: relative; display: grid; grid-template-columns: 1fr; height: clamp(420px, 52vw, 760px); margin-inline: var(--pad); overflow: hidden; border-top: 1px solid var(--line-d);
  background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(20,37,60,.05) 100%); }
.berth__num { position: absolute; left: -2%; top: 50%; transform: translateY(-58%); font-family: var(--serif); font-weight: 300; font-size: clamp(14rem, 36vw, 40rem); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(10,23,38,.12); pointer-events: none; transition: -webkit-text-stroke-color .8s var(--ease); }
.berth--alt .berth__num { left: auto; right: -2%; }
.berth:hover .berth__num { -webkit-text-stroke-color: rgba(180,147,95,.5); }
.berth__stage { position: absolute; inset: 0; }
.berth__yacht { --w: min(64vw, 1100px); position: absolute; left: calc(50% - var(--w) / 2); top: calc(50% - var(--w) * (var(--hull, .3777) - .16)); width: var(--w); aspect-ratio: var(--ar, 2200 / 957); }
.berth__yacht .ship { position: absolute; inset: 0; }
.berth--alt .berth__yacht { left: calc(46% - var(--w) / 2); }
.berth .ship__reflect { opacity: .12; }
.berth__meta { position: absolute; left: 0; right: 0; bottom: clamp(24px, 3vw, 44px); display: flex; align-items: center; gap: 22px; }
.berth--alt .berth__meta { flex-direction: row-reverse; }
.berth__name { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 4rem); line-height: 1; }
.berth__year { font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--text-d-2); }
.berth__cta { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; margin-left: auto; transition: background-color .6s var(--ease), color .6s var(--ease), transform .6s var(--ease); }
.berth--alt .berth__cta { margin-left: 0; margin-right: auto; }
.berth__cta svg { width: 18px; }
.berth:hover .berth__cta { background: var(--navy); color: var(--ivory); transform: scale(1.08); }

/* =========================================================
   PROJECT CHAPTERS
   ========================================================= */
.chapters { position: fixed; left: 50%; bottom: 22px; z-index: 160; display: flex; align-items: center; gap: 4px; padding: 6px 8px 6px 18px; border-radius: 999px; transform: translate(-50%, 140%); opacity: 0;
  background: rgba(10,23,38,.78); border: 1px solid var(--line-l); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--ivory); overflow: hidden; }
.chapters__num { margin-right: 8px; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--brass-l); }
.chapters a { position: relative; padding: 10px 14px; border-radius: 999px; font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--mist); white-space: nowrap; transition: color .5s, background-color .5s; }
.chapters a:hover { color: var(--ivory); }
.chapters a.is-active { color: var(--ink); background: var(--brass-l); }
.chapters__bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 1px; background: var(--line-l); }
.chapters__bar i { position: absolute; inset: 0; background: var(--brass-l); transform: scaleX(0); transform-origin: left; }
html.menu-open .chapters { opacity: 0 !important; pointer-events: none; }

.pchap { scroll-margin-top: 0; }
.pchap__head { max-width: 1100px; }
.pchap__lead { margin-top: 22px; max-width: 640px; font-size: 16px; line-height: 1.75; color: var(--text-d-2); }

/* architecture (paper, the concept's "Engineered for the long passage") */
.pchap--arch { background: var(--paper); color: var(--text-d); padding: clamp(110px, 13vw, 200px) 0 clamp(100px, 12vw, 180px); }
.elev { margin-top: clamp(60px, 8vw, 120px); position: relative; }
.elev__frame { position: relative; display: grid; background: var(--paper); } /* the pinned figure is its own stacking context: the drawing multiplies onto this paper */
.elev__frame > .elev__img { grid-area: 1 / 1; }
.elev__img { width: 100%; height: auto; mix-blend-mode: multiply; filter: contrast(1.05); }
.elev__under { opacity: .1; filter: grayscale(1); } /* the faint tracing the pen draws over */
.elev__scan { position: absolute; top: -4%; bottom: -4%; left: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--brass) 20%, var(--brass) 80%, transparent); box-shadow: 0 0 18px 2px rgba(180,147,95,.45); opacity: 0; pointer-events: none; will-change: transform; }
.elev__dim { position: relative; display: flex; align-items: center; margin: 26px 2.5% 0 4%; color: var(--brass); }
.elev--401 .elev__dim { margin-inline: .45% 1.65%; }
.elev--402 .elev__dim { margin-inline: 3% 3.8%; }
.elev--403 .elev__dim { margin-inline: 3.3% 2.1%; }
.elev--401 { --ear: 2.418; } .elev--402 { --ear: 2.489; } .elev--403 { --ear: 2.793; } /* drawing width / height */
.elev__line { flex: 1; height: 1px; background: currentColor; transform-origin: left; }
.elev__tick { width: 1px; height: 14px; background: currentColor; }
.elev__label { position: absolute; left: 50%; top: -9px; transform: translateX(-50%); padding: 0 18px; background: var(--paper); font: var(--mk-m); line-height: 1.6; letter-spacing: .26em; text-transform: uppercase; color: var(--text-d); white-space: nowrap; }
.elev__notes { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; font: var(--mk-s); letter-spacing: .26em; text-transform: uppercase; color: var(--text-d-2); }
.pchap__split { margin-top: clamp(70px, 8vw, 130px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.pchap__intro .pchap__lead { margin-top: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 1.9vw, 2rem); line-height: 1.35; color: var(--text-d); }
.tabs--light .tabs__list { display: flex; gap: clamp(20px, 3vw, 48px); border-bottom: 1px solid var(--line-d); }
.tabs--light .tabs__tab { padding: 0 0 18px; color: var(--text-d-2); }
.tabs--light .tabs__tab.is-active, .tabs--light .tabs__tab:hover { color: var(--text-d); }
.tabs--light .tabs__ink { background: var(--brass); }
.spec-list > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-d); align-items: baseline; }
.spec-list dt { font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--text-d-2); }
.spec-list dd { font-family: var(--serif); font-size: clamp(1.15rem, 1.5vw, 1.55rem); line-height: 1.3; color: var(--text-d); }
.spec-list__note { padding-top: 16px; font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--text-d-2); }

.decks { margin-top: clamp(80px, 9vw, 140px); display: grid; grid-template-columns: 280px 1fr; gap: clamp(30px, 4vw, 70px); align-items: center; }
.decks__list { display: grid; gap: 4px; }
.decks__btn { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; text-align: left; font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.2vw, 2.4rem); color: var(--text-d-2); border-bottom: 1px solid var(--line-d); transition: color .5s, padding-left .7s var(--ease); }
.decks__btn small { font-style: italic; font-size: 15px; color: var(--brass-d); }
.decks__btn:hover, .decks__btn.is-active { color: var(--text-d); padding-left: 12px; }
.decks__btn.is-active { font-style: italic; }
.decks__stage { position: relative; display: grid; overflow: hidden; background: #fff; padding: clamp(18px, 3vw, 44px); box-shadow: 0 30px 70px rgba(10,23,38,.08); } /* the plan's 1.3 reveal zoom stays inside (no page overflow) */
.decks__plan { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.decks__plan.is-active { opacity: 1; visibility: visible; }
.decks__plan img { width: 100%; height: auto; }

/* in construction (the concept's two drifting columns) */
.pchap--build { background: var(--ink); color: var(--ivory); padding: clamp(110px, 12vw, 200px) 0 clamp(80px, 8vw, 140px); overflow: clip; }
.build__inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); }
.build__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-self: start; margin-top: -10vh; }
.build__text { margin-top: 32px; max-width: 440px; font-size: 16px; line-height: 1.75; color: var(--mist); }
.build__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 32px); }
.build__col { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 32px); will-change: transform; }
.build__col + .build__col { padding-top: 22vh; }
.shot { position: relative; overflow: hidden; aspect-ratio: 4 / 3.3; background: #0f1a27; }
.shot--tall { aspect-ratio: 3 / 4.1; }
.shot a { display: block; height: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.92); transition: transform 1.6s var(--ease), filter 1s var(--ease); }
.shot:hover img { transform: scale(1.06); filter: grayscale(.2) contrast(1.05) brightness(1); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; font: var(--mk-s); letter-spacing: .26em; text-transform: uppercase; color: var(--ivory); background: linear-gradient(180deg, transparent, rgba(6,14,24,.75)); pointer-events: none; }

/* specification tables */
.pchap--spec { background: var(--mist-l); color: var(--text-d); padding: clamp(110px, 12vw, 190px) 0 clamp(100px, 11vw, 170px); }
.spec__inner { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.spec__head { position: sticky; top: calc(var(--nav-h) + 30px); }
.spec__tables { display: grid; gap: 26px; }
.stable { background: #fff; box-shadow: 0 24px 60px rgba(10,23,38,.05); }
.stable__title { padding: 16px 24px; background: var(--navy-2); color: var(--ivory); font: var(--mk-m); font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.stable dl { padding: 6px 24px 10px; }
.stable__row { display: grid; grid-template-columns: minmax(150px, 34%) 1fr; gap: 20px; padding: 13px 0; font-size: 14px; line-height: 1.5; border-bottom: 1px solid var(--line-d); transition: background-color .4s; }
.stable__row:last-child { border-bottom: 0; }
.stable__row:hover { background: rgba(180,147,95,.08); }
.stable__row dt { color: var(--text-d); }
.stable__row dd { color: var(--text-d-2); }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.statement--about { padding-bottom: clamp(60px, 7vw, 110px); }
.strip { margin-top: clamp(60px, 7vw, 110px); overflow-x: auto; scrollbar-width: none; cursor: grab; scroll-snap-type: x proximity; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip__track { display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content; padding: 0 var(--pad); }
.strip__item { flex: none; height: clamp(300px, 46vw, 620px); scroll-snap-align: start; overflow: hidden; background: #dfe3e9; }
.strip__item a { display: block; height: 100%; }
.strip__item img { height: 100%; width: auto; max-width: none; transition: transform 1.6s var(--ease); }
.strip__item:hover img { transform: scale(1.04); }

/* Viareggio — the window opens */
.window { position: relative; background: var(--ivory); }
.window__stage { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.window__frame { position: absolute; inset: 0; overflow: hidden; clip-path: inset(20% 30% 20% 30%); will-change: clip-path; }
.window__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.4); }
.window__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,14,24,.25) 0%, rgba(6,14,24,.12) 38%, rgba(6,14,24,.55) 62%, rgba(6,14,24,.88) 100%); }
.window__word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(4rem, 15vw, 17rem); line-height: .9; letter-spacing: -.02em; color: var(--ivory); mix-blend-mode: difference; white-space: nowrap; pointer-events: none; }
.window__word--solid { mix-blend-mode: normal; opacity: 0; text-shadow: 0 6px 60px rgba(6,14,24,.35); }
.window__copy { position: absolute; left: 0; right: 0; bottom: 96px; z-index: 3; color: var(--ivory); }
.window__copy p { max-width: 620px; font-size: 16px; line-height: 1.75; color: var(--mist); }

/* history — horizontal chapters */
.history { position: relative; background: var(--ink); color: var(--ivory); }
.history__intro { flex: 0 0 clamp(320px, 34vw, 560px); }
.chapter { position: relative; flex: none; width: min(1100px, 82vw); height: 100%; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 4vw, 70px); align-items: center; padding-right: clamp(40px, 6vw, 110px); }
.chapter__year { position: absolute; left: -2vw; top: 50%; transform: translateY(-62%); font-family: var(--serif); font-weight: 300; font-size: clamp(9rem, 18vw, 20rem); line-height: .8; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px rgba(216,191,146,.18); white-space: nowrap; pointer-events: none; }
.chapter__copy { position: relative; z-index: 1; }
.chapter__index { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--brass-l); }
.chapter__date { margin-top: 16px; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 5vw, 5.4rem); line-height: 1; }
.chapter__label { margin-top: 18px; font: var(--mk-l); letter-spacing: .3em; text-transform: uppercase; color: var(--ivory); }
.chapter__text { margin-top: 18px; max-width: 420px; font-size: 16px; line-height: 1.75; color: var(--mist); }
.chapter__imgs { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.chapter__img { overflow: hidden; aspect-ratio: 3 / 3.6; background: #0f1d2e; }
.chapter__img:nth-child(2) { margin-top: 18vh; }
.chapter__img a { display: block; height: 100%; }
.chapter__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.chapter__img:hover img { transform: scale(1.05); }

.team { background: var(--mist-l); color: var(--text-d); padding: clamp(100px, 11vw, 170px) 0 clamp(90px, 10vw, 150px); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px) clamp(14px, 1.6vw, 24px); margin-top: clamp(40px, 5vw, 64px); }
.member:nth-child(3n + 2) { margin-top: clamp(0px, 6vw, 90px); }
.member__photo { aspect-ratio: 3 / 4; overflow: hidden; background: #dfe3e9; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: transform 1.6s var(--ease), filter 1s var(--ease); }
.member:hover .member__photo img { transform: scale(1.05); filter: grayscale(.2); }
.member__meta { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; }
.member__name { font-size: inherit; font-weight: 500; letter-spacing: inherit; }
.member__role { color: var(--text-d-2); text-align: right; }

/* =========================================================
   CONVERSATION (the concept's contact)
   ========================================================= */
.conversation { position: relative; background: var(--navy); color: var(--ivory); padding: clamp(80px, 8vw, 130px) 0 clamp(70px, 7vw, 110px); overflow: hidden; }
.conversation--page { padding-top: calc(var(--nav-h) + clamp(30px, 4vw, 60px)); }
.marquee { overflow: hidden; border-block: 1px solid var(--line-l); padding: 26px 0; }
.marquee__track { display: flex; align-items: center; gap: 48px; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 7vw, 7.6rem); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(242,237,228,.45); }
.marquee__track span em { color: var(--brass-l); -webkit-text-stroke: 0; }
.marquee__track i { font-style: normal; font-size: 22px; color: var(--brass-l); }
.conversation__grid { margin-top: clamp(80px, 9vw, 140px); display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.conversation__title { font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 8vw, 8.8rem); line-height: .92; letter-spacing: -.02em; }
.conversation__title em { font-style: italic; color: var(--brass-l); }
.conversation__title .line:nth-child(2) { padding-left: clamp(0px, 7vw, 130px); }
.conversation__intro { margin-top: 32px; max-width: 520px; font-size: 16px; line-height: 1.7; color: var(--mist); }
.cform { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.cfield { position: relative; display: grid; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line-l); }
.cfield::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--brass-l); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.cfield:focus-within::after { transform: scaleX(1); }
.cfield.is-invalid { border-color: #d0806a; }
.cfield--select, .cfield--area { grid-column: 1 / -1; }
.cfield__label { font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--mist); }
.cfield input, .cfield select, .cfield textarea { width: 100%; border: 0; outline: 0; background: transparent; padding: 4px 0; font-family: var(--serif); font-size: 20px; color: var(--ivory); appearance: none; -webkit-appearance: none; }
.cfield input::placeholder, .cfield textarea::placeholder { font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: rgba(242,237,228,.5); }
.cfield select { cursor: pointer; }
.cfield select:invalid { color: rgba(242,237,228,.56); font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; }
.cfield select option { color: var(--ink); }
.cfield__chev { position: absolute; right: 0; bottom: 14px; width: 26px; height: 26px; border: 1px solid var(--line-l); border-radius: 50%; display: grid; place-items: center; pointer-events: none; }
.cfield__chev svg { width: 14px; }
.cfield--area textarea { resize: vertical; min-height: 90px; }
.cform__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.cform__status { flex: 1; min-width: 220px; font-size: 13px; color: var(--mist); }
.cform__status.is-error { color: #e3a08c; }
.conversation__side { display: grid; gap: 0; }
.office { padding: 26px 0; border-top: 1px solid var(--line-l); display: grid; gap: 10px; }
.office__label { font: var(--mk-s); letter-spacing: .26em; text-transform: uppercase; color: var(--brass-l); }
.office__addr { font-size: 15px; line-height: 1.7; color: var(--mist); }
.office__mail, .office__tel { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.4vw, 2.5rem); line-height: 1.1; transition: color .5s; }
.office__mail:hover, .office__tel:hover { color: var(--brass-l); }
.office__wa { display: inline-flex; align-items: center; gap: 8px; width: max-content; font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; color: var(--mist); }
.office__wa svg { width: 15px; color: #3fbf75; }
.conversation__links { border-top: 1px solid var(--line-l); }
.clink { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; width: 100%; padding: 18px 0; text-align: left; border-bottom: 1px solid var(--line-l); transition: padding-left .6s var(--ease); }
.clink span { font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; }
.clink small { grid-row: 2; font-family: var(--serif); font-size: 15px; color: var(--mist-2); }
.clink i { grid-row: 1 / 3; grid-column: 2; align-self: center; width: 18px; color: var(--brass-l); transition: transform .6s var(--ease); }
.clink:hover { padding-left: 10px; }
.clink:hover i { transform: translateX(4px); }
.conversation__addr { margin-top: clamp(60px, 6vw, 100px); font: var(--mk-s); letter-spacing: .26em; text-transform: uppercase; color: var(--mist-2); }

/* footer */
.footer { background: var(--ink); color: var(--mist); padding: 70px 0 32px; }
.footer__row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: clamp(24px, 4vw, 64px); padding-bottom: 50px; border-bottom: 1px solid var(--line-l); }
.footer__logo img { width: 150px; height: auto; }
.footer__nav, .footer__social { display: flex; gap: clamp(18px, 2.4vw, 36px); font: var(--mk-m); letter-spacing: .26em; text-transform: uppercase; }
.footer__nav { color: var(--ivory); }
.footer__social a:hover { color: var(--ivory); }
.footer__top { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-l); color: var(--ivory); display: grid; place-items: center; transition: background-color .5s var(--ease), color .5s var(--ease); }
.footer__top svg { width: 18px; }
.footer__top:hover { background: var(--ivory); color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 11px; letter-spacing: .12em; color: var(--mist-2); }
.footer__legal { display: flex; gap: 26px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* desktop tier (matches the JS "desk" condition) */
@media (min-width: 901px) and (min-height: 501px) {
  .hgallery__pin { overflow: hidden; overflow: clip; }
  /* the brochure pill folds to its icon while the chapters pill is up */
  html.chapters-on .float-pill { gap: 0; padding-right: 8px; }
  html.chapters-on .float-pill__label { max-width: 0; opacity: 0; }
  html.chapters-on .float-pill:hover, html.chapters-on .float-pill:focus-visible { gap: 12px; padding-right: 22px; }
  html.chapters-on .float-pill:hover .float-pill__label, html.chapters-on .float-pill:focus-visible .float-pill__label { max-width: 220px; opacity: 1; }

  /* read more on the pinned stages opens into a frosted, bounded reading panel (the glass sits on a pseudo,
     so the copy keeps its box and its alignment with the container edge) */
  .yblock__text::before { content: ""; position: absolute; inset: -22px -26px; z-index: -1; pointer-events: none; border: 1px solid var(--line-l);
    background: rgba(8,18,31,.74); -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1); box-shadow: 0 30px 60px rgba(0,0,0,.35);
    opacity: 0; transition: opacity .6s var(--ease); }
  .yblock__text.is-reading { z-index: 6; }
  .yblock__text.is-reading::before { opacity: 1; }
  .yblock__text .readmore.is-open { max-height: max(calc(1.7em * 6), calc(100svh - var(--nav-h) - 452px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--brass) transparent; }
  .yblock__text .readmore.is-moving { overflow: hidden; }
  .yblock .ship > .ship__img { transition: filter .8s var(--ease); }
  .yblock:has(.is-reading) .ship > .ship__img { filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)) brightness(.55); }

  /* home fleet: the acts sail by --sail (main.js, -1..1) times a travel of 118% of the hull, or more when the
     hull is narrower than the stage, so off-stage hulls always clear the viewport (a positioned move only) */
  .fleet .yblock__yacht { --travel: max(var(--w) * 1.18, 50vw + var(--w) / 2 + 60px); left: calc(50% - var(--w) / 2 + var(--sail, 0) * var(--travel)); }

  /* the drawing pins at 54%: on short windows it narrows so the whole figure (dim + notes) stays inside the band */
  .elev { max-width: calc((92svh - 212px) * var(--ear, 2.4)); margin-inline: auto; }

  /* project arrival: a composed stage */
  .parrival .yblock__yacht, .parrival .yblock__water { --w: min(84vw, 1480px, calc((100svh - 410px) * 2.3)); }
  .parrival .yblock__foot { bottom: 108px; }
  .parrival .yblock__ring { bottom: 108px !important; }
  .parrival .yblock__ghost { -webkit-text-stroke-color: rgba(216,191,146,.26); -webkit-mask-image: linear-gradient(180deg, #000 0, #000 52%, transparent 74%); mask-image: linear-gradient(180deg, #000 0, #000 52%, transparent 74%); }
  .parrival .yblock__title--long { font-size: clamp(2.3rem, 3.9vw, 4.3rem); max-width: 19ch; }

  /* gallery progress reads top-right, like the fleet UI (clear of the pills and WhatsApp) */
  .hgallery__progress { top: calc(var(--nav-h) + 4px); bottom: auto; left: auto; right: max(var(--pad), calc((100% - 1640px) / 2 + var(--pad))); height: 52px; justify-content: flex-end; gap: 18px; }
  .hgallery__bar { flex: 0 0 clamp(120px, 11vw, 180px); }
  .hgallery__count b, .hgallery__progress > b { font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--ivory); }
  /* the reel's centre line drops 24px and the centred panels cap their height, so no media passes under the
     counter band (top 96-148) and the captions stay clear of the bottom pills; high panels keep their place
     (150px from the top), deck cards stay full height */
  .hgallery__track { padding-top: 48px; }
  .hpanel--xl .hpanel__media { height: min(66vh, 680px, calc(100vh - 276px)); }
  .hpanel--tall .hpanel__media { height: min(66vh, 680px, calc(100vh - 306px)); } /* narrow: its caption may wrap to 3 lines */
  .hpanel--high { margin-top: calc(max(12vh, 150px) - 48px); }
  .deckcard { margin-top: -48px; }

  /* history chapters at real scale */
  .chapter { width: min(1380px, 94vw); grid-template-columns: .85fr 1.5fr; }
  .chapter__imgs { grid-template-columns: 1.2fr 1fr; gap: 20px; }
  .chapter__img { aspect-ratio: auto; }
  .chapter__img:first-child { height: min(64vh, 600px); }
  .chapter__img:nth-child(2) { height: min(46vh, 430px); margin-top: 22vh; }
  .chapter__year { font-size: clamp(12rem, 24vw, 27rem); -webkit-text-stroke: 1px rgba(216,191,146,.3); }
  .chapter__date { font-size: clamp(3.6rem, 6vw, 6.6rem); }
  .chapter__text { font-size: 17px; max-width: 380px; }
}
@media (min-width: 1800px) {
  .yblock__text { font-size: clamp(15.5px, .74vw, 19px); width: min(440px, 24vw); }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .chapters a { padding: 10px 11px; letter-spacing: .16em; }
}
/* short desktop windows (1280x680, 960x600): the stage furniture tightens so the pins keep working */
@media (min-width: 901px) and (max-height: 760px) {
  .fleet .yblock__head { top: calc(var(--nav-h) + 52px); }
  .yblock__head { top: calc(var(--nav-h) + 18px); }
  .yblock__foot { bottom: 96px; }
  .yblock__meta { margin-top: 14px; }
  .stat__v { font-size: clamp(1.7rem, 4.6vh, 3.3rem); }
  .stat__v--text { font-size: clamp(1.4rem, 3.4vh, 2.4rem); }
  .yblock__ring { width: 120px; height: 120px; bottom: 100px !important; }
  .window__copy { bottom: 104px; }
  .phero__content { bottom: 96px; }
}
@media (max-width: 1180px) {
  .yblock__text { width: min(360px, 34vw); font-size: 14.5px; }
  .yblock__foot .stats .stat:nth-child(n + 5) { display: none; }
  .compare__row { grid-template-columns: minmax(130px, .9fr) repeat(3, 1fr); }
  .statement__img--b { display: none; }
  .statement__img--a { grid-column: 1 / span 7; }
  .statement__copy { grid-column: 8 / span 5; }
}
@media (max-width: 900px), (max-height: 500px) {
  :root { --nav-h: 76px; }
  .nav__contact, .nav__divider { display: none; }
  .nav__logo img { width: 104px; }
  .menu { grid-template-columns: 1fr; }
  .menu__media { display: none; }
  .hero__title .line:nth-child(2) { padding-left: 0; }
  .hero__content { bottom: 232px; }
  .discover { width: 112px; height: 112px; right: var(--pad); bottom: 104px; }
  .discover__core { width: 56px; height: 56px; }
  .hero__scroll { display: none; }
  .float-pill { height: 42px; gap: 10px; padding: 0 16px 0 5px; }
  .float-pill__label { font-size: 10px; letter-spacing: .18em; }
  .float-pill__icon { width: 30px; height: 30px; }

  /* yacht block: stacked, not pinned */
  .fleet__pin, .parrival { height: auto; min-height: 0; overflow: visible; }
  .fleet__bar { position: relative; top: 0; padding-top: 90px; flex-wrap: wrap; gap: 18px; }
  .fleet__ui .arrow-btn, .fleet__bars { display: none; }
  .fleet__acts { position: relative; }
  .fleet-act, .parrival { position: relative; inset: auto; visibility: visible; padding: 50px 0 70px; overflow: hidden; }
  .fleet-act + .fleet-act { border-top: 1px solid var(--line-l); }
  .yblock__ghost { top: 34%; font-size: 70vw; }
  .yblock__head, .yblock__text, .yblock__foot, .fleet .yblock__head, .fleet .yblock__text { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: auto; padding-right: var(--pad); }
  .yblock__head { padding-top: 30px; }
  .yblock__text { margin: 22px var(--pad) 0; width: auto; }
  .yblock__text .readmore.is-clamped { max-height: calc(1.7em * 6); }
  .yblock__yacht { --w: 118vw; position: relative; left: -9vw; top: auto; margin: 30px 0 10px; }
  .yblock__water { display: none; }
  .yblock__foot .stats { gap: 22px 34px; }
  .yblock__foot .stats .stat:nth-child(n + 5) { display: flex; }
  .stat__v { font-size: 2.1rem; }
  .yblock__ring { position: relative !important; right: auto !important; bottom: auto !important; margin: 30px var(--pad) 0 auto; display: block; }
  .parrival { padding-top: 80px; }

  .compare__switch { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; }
  .compare__tab { flex: none; padding: 10px 16px; border: 1px solid var(--line-d); border-radius: 999px; font: var(--mk-s); letter-spacing: .26em; text-transform: uppercase; color: var(--text-d-2); }
  .compare__tab.is-active { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
  .compare__row { grid-template-columns: 1fr 1.3fr; }
  .compare__k { font-size: 10px; }
  .compare__row--head { display: none; }
  .compare__v { display: none; }
  .compare[data-col="0"] .compare__v[data-col="0"], .compare[data-col="1"] .compare__v[data-col="1"], .compare[data-col="2"] .compare__v[data-col="2"] { display: block; }
  .compare:not([data-col]) .compare__v[data-col="0"] { display: block; }

  .statement__title { text-indent: 0; }
  .statement__grid { grid-template-columns: 1fr; }
  .statement__img--a, .statement__copy { grid-column: 1; }
  .statement__cols { grid-template-columns: 1fr; }
  .statement__cols .statement__body { grid-column: 1; }

  .hgallery__pin { height: auto; min-height: 0; display: block; padding: 90px 0 70px; }
  .hgallery__track { width: auto; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; align-items: flex-start; }
  .hgallery__track::-webkit-scrollbar { display: none; }
  .hgallery__intro, .history__intro { flex-basis: 84vw; scroll-snap-align: start; }
  .hgallery__pin > .hgallery__intro, .hgallery__pin > .history__intro { padding: 0 var(--pad) 36px; }
  .hgallery__pin > .hgallery__intro .hgallery__hint { display: none; }
  .history .hgallery__track { display: block; overflow: visible; }
  .history .chapter { width: auto; height: auto; margin-bottom: 80px; }
  .history .chapter:last-child { margin-bottom: 0; }
  .hpanel, .deckcard, .chapter { scroll-snap-align: start; }
  .hpanel--xl .hpanel__media, .hpanel--l .hpanel__media { width: 84vw; height: 58vw; }
  .hpanel--m .hpanel__media, .hpanel--tall .hpanel__media { width: 66vw; height: 86vw; }
  .hpanel--low, .hpanel--high { align-self: auto; margin: 0; }
  .deckcard { flex-basis: 60vw; align-self: center; }
  .hgallery__progress { display: none; }

  .timeline__rail { display: none; }
  .timeline__list { grid-template-columns: 1fr; row-gap: 48px; }
  .milestone { padding: 0 0 0 40px; }
  .milestone__dot { top: 14px; }

  .berth { height: 92vw; margin-inline: 0; }
  .berth__yacht, .berth--alt .berth__yacht { --w: 100vw; left: 0; }
  .berth__meta, .berth--alt .berth__meta { flex-direction: row; padding-inline: var(--pad); }
  .berth--alt .berth__cta { margin-left: auto; margin-right: 0; }

  html.chapters-on .float-pill { opacity: 0 !important; pointer-events: none; }
  .chapters { left: var(--pad); right: calc(var(--pad) + 64px); transform: translateY(140%); justify-content: space-between; padding-left: 14px; overflow-x: auto; scrollbar-width: none; }
  .chapters a { padding: 9px 10px; font-size: 10px; letter-spacing: .14em; }
  .chapters__num { display: none; }
  .pchap__split, .spec__inner, .build__inner { grid-template-columns: 1fr; }
  .spec__head { position: relative; top: auto; }
  .decks { grid-template-columns: 1fr; }
  .decks__list { grid-auto-flow: column; overflow-x: auto; }
  .decks__btn { font-size: 1.3rem; padding: 10px 14px 10px 0; border: 0; white-space: nowrap; }
  .build__sticky { position: relative; height: auto; margin: 0 0 50px; }
  .build__col + .build__col { padding-top: 14vh; }
  .stable__row { grid-template-columns: 1fr; gap: 2px; }
  .elev__notes { flex-direction: column; gap: 8px; }
  .elev__label { font-size: 10px; letter-spacing: .2em; }
  .shot figcaption { font-size: 10px; letter-spacing: .14em; }

  .window__copy { bottom: 84px; }
  .chapter { width: 84vw; grid-template-columns: 1fr; gap: 26px; padding: 0; align-content: center; }
  .chapter__year { font-size: 42vw; top: 22%; }
  .chapter__img:nth-child(2) { margin-top: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .member:nth-child(3n + 2) { margin-top: 0; }
  .member__meta { flex-direction: column; gap: 4px; font-size: 10.5px; }
  .member__role { text-align: left; }

  .conversation__grid { grid-template-columns: 1fr; }
  .cform { grid-template-columns: 1fr; }
  .footer__row { grid-template-columns: 1fr auto; row-gap: 26px; }
  .footer__nav, .footer__social { grid-column: 1 / -1; flex-wrap: wrap; }
  .footer__top { grid-row: 1; grid-column: 2; }
  .brochure__head { flex-direction: column; align-items: flex-start; }
  .brochure__frame { display: none; }
  .brochure__cover { display: block; }
  .consent { bottom: 84px; }
}
@media (max-width: 560px) {
  .yblock__title { font-size: 3.2rem; }
  .elev__dim-label, .elev__label { font-size: 10px; padding: 0 10px; }
  .shot figcaption { font-size: 10px; padding: 30px 10px 10px; letter-spacing: .14em; }
  .consent { flex-direction: column; align-items: stretch; }
  .consent__actions { flex-direction: column; }
  .consent__actions .btn { width: 100%; white-space: nowrap; }
  .consent__text a { margin-left: 0; margin-right: 12px; display: inline-block; }
  .phero__veil { background: linear-gradient(180deg, rgba(6,14,24,.55) 0%, rgba(6,14,24,.12) 22%, rgba(6,14,24,.55) 40%, rgba(6,14,24,.85) 62%, var(--ink) 100%); }
  .footer__bottom { flex-direction: column; }
}

/* landscape phones: stacked layout, heroes sized to the short screen */
@media (max-height: 500px) and (orientation: landscape) {
  .hero, .phero, .page-hero { min-height: 0; }
  .hero__content { bottom: 72px; padding-right: 180px; }
  .hero__title { font-size: clamp(2.4rem, 10vh, 4rem); }
  .hero__lede { margin-top: 14px; font-size: 14px; }
  .discover { bottom: 72px; }
  .phero__content { bottom: 72px; }
  .phero__title { font-size: clamp(3rem, 14vh, 5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .discover__ring, .hero__scroll span, .hgallery__hint i::after { animation: none; }
  html.is-entering .curtain { display: none; }
  .window__frame { clip-path: none; }
  .window__img { transform: none; }
  .fleet-act { visibility: visible; }
}
