/* ==========================================================================
   Chalana Marine: main stylesheet
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--ink: #061219;
	--ink-2: #0a1d27;
	--ink-3: #0f2a36;
	--ivory: #f2eee6;
	--paper: #f7f4ee;
	--teal: #74cfc3;
	--teal-deep: #17605f;
	--muted-d: rgba(242, 238, 230, .66);
	--muted-l: #55626a;
	--line-d: rgba(242, 238, 230, .16);
	--line-l: rgba(6, 18, 25, .14);

	--serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

	--gutter: clamp(20px, 4vw, 64px);
	--maxw: 1640px;
	--section: clamp(96px, 13vw, 200px);
	--header-h: 88px;

	--ease: cubic-bezier(.19, 1, .22, 1);
	--ease-io: cubic-bezier(.76, 0, .24, 1);

	--z-header: 50;
	--z-menu: 40;
	--z-lightbox: 70;
	--z-curtain: 80;
	--z-intro: 90;
	--z-cursor: 100;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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-size: clamp(16px, 1.05vw, 17px);
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
/* Cormorant defaults to old-style figures; use lining numerals everywhere. */
.display, .statement, .stats dd, .spec-strip dd, .specs__row dd, .timeline__year, .model-card__title, .model-row__title, .intro__count, .lightbox__count, .big-list span, .marquee span, .contact__value, .site-footer__mail, .menu__label, .hero__model-text strong, .hero__now-title, .film-block__title { font-variant-numeric: lining-nums proportional-nums; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd, address, blockquote { margin: 0; }
address { font-style: normal; }
sup { font-size: .55em; vertical-align: super; line-height: 0; }
::selection { background: var(--teal); color: var(--ink); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 2px; }
[data-theme="light"] :focus-visible { outline-color: var(--teal-deep); }

.skip-link {
	position: fixed; top: 12px; left: 12px; z-index: 200;
	padding: 12px 20px; background: var(--ivory); color: var(--ink);
	border-radius: 999px; transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }
.site-main:focus { outline: none; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Layout ---------- */
.container { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }

[data-theme="dark"] { background: var(--ink); color: var(--ivory); }
[data-theme="light"] { background: var(--paper); color: var(--ink); }

.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.col-label { grid-column: 1 / span 3; }
.col-body { grid-column: 5 / -1; }
@media (max-width: 900px) {
	.col-label, .col-body { grid-column: 1 / -1; }
	.col-label { margin-bottom: 32px; }
}

/* ---------- Type ---------- */
.display {
	font-family: var(--serif);
	font-weight: 300;
	line-height: .95;
	letter-spacing: -.02em;
	text-wrap: balance;
}
.display em { font-style: italic; font-weight: 300; }
[data-theme="dark"] .display em, .display em { color: var(--teal); }
[data-theme="light"] .display em { color: var(--teal-deep); }
.display--hero { font-size: clamp(3.6rem, 12.5vw, 13.5rem); line-height: .88; }
.display--xl { font-size: clamp(3.2rem, 9vw, 9.5rem); line-height: .9; }
.display--lg { font-size: clamp(2.6rem, 5.8vw, 6.4rem); }
.display--md { font-size: clamp(2rem, 3.8vw, 3.8rem); }

.eyebrow {
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	line-height: 1.5;
}
[data-theme="dark"] .eyebrow { color: var(--muted-d); }
[data-theme="light"] .eyebrow { color: var(--muted-l); }

.index-label {
	display: inline-flex; align-items: baseline; gap: 10px;
	font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.index-label span { font-family: var(--serif); font-style: italic; font-size: 1.35rem; letter-spacing: 0; text-transform: none; }
[data-theme="dark"] .index-label span { color: var(--teal); }
[data-theme="light"] .index-label span { color: var(--teal-deep); }

.lead { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.6; max-width: 46ch; font-weight: 300; }
[data-theme="dark"] .lead { color: var(--muted-d); }
[data-theme="light"] .lead { color: var(--muted-l); }

.statement {
	font-family: var(--serif);
	font-weight: 300;
	font-size: clamp(1.85rem, 3.5vw, 3.6rem);
	line-height: 1.14;
	letter-spacing: -.01em;
	max-width: 24ch;
	text-wrap: pretty;
}
.statement .w { transition: opacity .2s linear; }

/* ---------- Buttons & links ---------- */
.btn {
	--btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor;
	display: inline-flex; align-items: center; justify-content: center; gap: 14px;
	min-height: 54px; padding: 0 30px;
	border-radius: 999px; border: 1px solid var(--btn-bd);
	background: var(--btn-bg); color: var(--btn-fg);
	font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	cursor: pointer;
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
	position: relative; overflow: hidden; isolation: isolate;
}
.btn .icon { transition: transform .5s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 11.5px; }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--ink); --btn-bd: var(--ivory); }
.btn--light:hover { --btn-bg: var(--teal); --btn-bd: var(--teal); }
.btn--ghost { --btn-bd: rgba(242, 238, 230, .4); }
.btn--ghost:hover { --btn-bg: var(--ivory); --btn-fg: var(--ink); --btn-bd: var(--ivory); }
[data-theme="light"] .btn--ghost { --btn-bd: var(--line-l); }
[data-theme="light"] .btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--ivory); --btn-bd: var(--ink); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--ivory); --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: var(--teal-deep); --btn-bd: var(--teal-deep); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	padding-bottom: 6px; position: relative; cursor: pointer;
}
.link-arrow::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: currentColor; transform-origin: left; transition: transform .6s var(--ease);
}
.link-arrow:hover::after, a:hover > .link-arrow::after, a:hover .link-arrow::after { transform: scaleX(.3); }
.link-arrow .icon { transition: transform .5s var(--ease); }
.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(6px); }

.hover-line {
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size .5s var(--ease);
	padding-bottom: 2px;
}
.hover-line:hover, .hover-line.is-current { background-size: 100% 1px; }

.circle-btn {
	display: grid; place-items: center; flex: none;
	width: clamp(64px, 6vw, 88px); aspect-ratio: 1; border-radius: 50%;
	border: 1px solid currentColor;
	transition: background-color .4s var(--ease), color .4s var(--ease), transform .6s var(--ease);
}
.circle-btn .icon { width: 22px; height: 22px; }
a:hover .circle-btn { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: var(--z-header);
	color: var(--ivory);
	transition: transform .6s var(--ease), background-color .5s var(--ease), backdrop-filter .5s;
}
.site-header__inner {
	width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto;
	height: var(--header-h);
	display: flex; align-items: center; gap: 32px;
	transition: height .5s var(--ease);
}
.site-header.is-scrolled {
	background: rgba(6, 18, 25, .9);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	box-shadow: 0 1px 0 var(--line-d);
}
.site-header.is-scrolled .site-header__inner { height: 72px; }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { background: transparent; backdrop-filter: none; box-shadow: none; transform: none; }

.brand { display: block; flex: none; }
.brand__img { height: clamp(48px, 4.4vw, 66px); width: auto; transition: height .5s var(--ease); }
.is-scrolled .brand__img { height: clamp(42px, 3.6vw, 52px); }

.nav-inline { margin-left: auto; }
.nav-inline ul { display: flex; gap: clamp(20px, 2.4vw, 40px); }
.nav-inline a { font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding-block: 12px; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.nav-inline + .site-header__actions { margin-left: 8px; }

.menu-toggle {
	display: inline-flex; align-items: center; gap: 14px;
	min-height: 44px; padding: 0 4px 0 18px;
	font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	cursor: pointer;
}
.menu-toggle__icon {
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(242, 238, 230, .35);
	display: grid; place-content: center; gap: 6px;
	transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.menu-toggle__icon span { display: block; width: 16px; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.menu-toggle:hover .menu-toggle__icon { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
.menu-open .menu-toggle__icon span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle__icon span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1100px) { .nav-inline { display: none; } .site-header__actions, .nav-inline + .site-header__actions { margin-left: auto; } }
@media (max-width: 640px) { .site-header__cta { display: none; } .menu-toggle__label { display: none; } }

/* ---------- Menu overlay: full-width index ---------- */
.overlay-menu {
	position: fixed; inset: 0; z-index: var(--z-menu);
	color: var(--ivory);
	visibility: hidden; pointer-events: none;
	transition: visibility 0s linear .9s;
}
.menu-open .overlay-menu { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.menu__bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(55% 70% at 88% 100%, rgba(116, 207, 195, .10), transparent 65%),
		radial-gradient(40% 50% at 0% 0%, rgba(116, 207, 195, .05), transparent 60%),
		var(--ink);
	clip-path: inset(0 0 100% 0);
	transition: clip-path .9s var(--ease-io);
}
.menu-open .menu__bg { clip-path: inset(0); }

.menu__inner {
	position: relative; height: 100%;
	display: grid; grid-template-rows: auto 1fr auto; gap: 3vh;
	padding: calc(var(--header-h) + 2vh) 0 4vh;
	overflow-y: auto; overscroll-behavior: contain;
}
.menu__top {
	display: flex; justify-content: space-between; gap: 20px;
	padding-bottom: 14px;
	opacity: 0; transition: opacity .6s var(--ease);
}
.menu-open .menu__top { opacity: 1; transition-delay: .35s; }

.menu__nav { align-self: center; }
.menu__list { counter-reset: none; }
.menu__item, .menu__list--custom > li { position: relative; overflow: hidden; }
.menu__item::before, .menu__list--custom > li::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-d);
	transform: scaleX(0); transform-origin: left;
	transition: transform 1.1s var(--ease);
}
.menu__item:last-child::after, .menu__list--custom > li:last-child::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-d);
	transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease);
}
.menu-open .menu__item::before, .menu-open .menu__item:last-child::after,
.menu-open .menu__list--custom > li::before, .menu-open .menu__list--custom > li:last-child::after {
	transform: scaleX(1); transition-delay: calc(.2s + var(--i, 1) * .06s);
}

.menu__row, .menu__list--custom a {
	position: relative;
	display: grid; grid-template-columns: clamp(44px, 5vw, 88px) minmax(0, 1fr) auto clamp(48px, 4vw, 60px);
	align-items: center; gap: clamp(12px, 2vw, 32px);
	padding-block: clamp(6px, 1.3vh, 16px);
	transform: translateY(105%);
	transition: transform 1s var(--ease);
	isolation: isolate;
}
.menu-open .menu__row, .menu-open .menu__list--custom a { transform: none; transition-delay: calc(.22s + var(--i, 1) * .06s); }
.menu__list--custom a { grid-template-columns: 1fr; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6.6vh, 5.6rem); line-height: 1.1; }

/* Hover: a soft fill rises behind the row. */
.menu__row::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(116, 207, 195, .08), rgba(116, 207, 195, 0) 85%);
	transform: scaleY(0); transform-origin: bottom;
	transition: transform .6s var(--ease);
}
.menu__row:hover::before, .menu__row:focus-visible::before { transform: scaleY(1); }

.menu__num { font-family: var(--serif); font-style: italic; font-size: clamp(1rem, 1.4vw, 1.3rem); color: var(--teal); padding-left: 4px; }
.menu__label {
	font-family: var(--serif); font-weight: 300;
	font-size: clamp(2.4rem, 7vh, 6rem); line-height: 1.08; letter-spacing: -.02em;
	transition: transform .7s var(--ease), color .4s var(--ease);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.menu__desc {
	font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
	color: var(--muted-d); text-align: right;
	transition: color .4s var(--ease), transform .7s var(--ease);
}
.menu__arrow {
	width: clamp(44px, 3.6vw, 56px); aspect-ratio: 1; border-radius: 50%;
	border: 1px solid var(--line-d); display: grid; place-items: center;
	opacity: 0; transform: translateX(-14px) rotate(-45deg);
	transition: opacity .45s var(--ease), transform .7s var(--ease), background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.menu__row:hover .menu__label, .menu__row:focus-visible .menu__label { transform: translateX(clamp(8px, 1.4vw, 24px)); font-style: italic; color: var(--teal); }
.menu__row:hover .menu__desc, .menu__row:focus-visible .menu__desc { color: var(--ivory); transform: translateX(-8px); }
.menu__row:hover .menu__arrow, .menu__row:focus-visible .menu__arrow { opacity: 1; transform: none; background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.menu__row[aria-current] .menu__label { font-style: italic; color: var(--teal); }
.menu__row[aria-current] .menu__arrow { opacity: 1; transform: none; }
.menu__row[aria-current] .menu__desc::before { content: "● "; color: var(--teal); font-size: 8px; vertical-align: middle; }

/* Dim the other rows while one is hovered. */
@media (hover: hover) {
	.menu__list:hover .menu__row .menu__label { opacity: .4; }
	.menu__list .menu__row:hover .menu__label { opacity: 1; }
	.menu__label { transition: transform .7s var(--ease), color .4s var(--ease), opacity .4s var(--ease); }
}

.menu__aside {
	display: grid; grid-template-columns: repeat(4, auto) 1fr; align-items: start; gap: clamp(24px, 4vw, 72px);
	opacity: 0; transform: translateY(20px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.menu-open .menu__aside { opacity: 1; transform: none; transition-delay: .55s; }
.menu__group .eyebrow { margin-bottom: 12px; }
.menu__group li { font-size: 15px; line-height: 2; }
.menu__socials { display: flex; gap: 10px; }
.menu__socials a {
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-d);
	display: grid; place-items: center;
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.menu__socials a:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.menu__socials .icon { width: 18px; height: 18px; }
.menu__cta { justify-self: end; align-self: end; }

@media (max-width: 1100px) {
	.menu__aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.menu__cta { justify-self: start; grid-column: 1 / -1; }
}
@media (max-width: 700px) {
	.menu__row { grid-template-columns: 36px minmax(0, 1fr) 44px; }
	.menu__desc { display: none; }
	.menu__arrow { opacity: 1; transform: none; width: 40px; }
	.menu__label { font-size: clamp(2.1rem, 10vw, 3rem); }
	.menu__place { display: none; }
	.menu__group li { font-size: 14px; }
}

/* ---------- Intro loader ---------- */
.intro { display: none; }
.show-intro .intro {
	display: grid; place-items: center;
	position: fixed; inset: 0; z-index: var(--z-intro);
	background: var(--ink); color: var(--ivory);
	clip-path: inset(0);
	transition: clip-path 1.1s var(--ease-io);
}
.intro-done .intro { clip-path: inset(0 0 100% 0); }
.intro__inner { width: min(560px, 80vw); text-align: center; }
.intro__mark { width: 96px; margin: 0 auto 40px; filter: brightness(0) invert(1); opacity: 0; transform: translateY(16px); animation: intro-in 1s var(--ease) .1s forwards; }
.intro__meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-d); }
.intro__count { font-family: var(--serif); font-size: 2.6rem; letter-spacing: 0; color: var(--ivory); font-variant-numeric: tabular-nums; }
.intro__bar { height: 1px; background: var(--line-d); margin-top: 18px; overflow: hidden; }
.intro__bar span { display: block; height: 100%; background: var(--teal); transform-origin: left; transform: scaleX(0); }
@keyframes intro-in { to { opacity: 1; transform: none; } }

/* ---------- Page transition curtain ---------- */
.curtain {
	position: fixed; inset: 0; z-index: var(--z-curtain);
	background: var(--ink-2);
	display: grid; place-items: center;
	transform: translateY(100%);
	pointer-events: none;
}
.curtain img { width: 72px; filter: brightness(0) invert(1); opacity: .9; }
.from-nav .curtain { transform: none; }
.curtain.is-out { transform: translateY(-100%); transition: transform .9s var(--ease-io); }
.curtain.is-in { transform: none; transition: transform .7s var(--ease-io); }
/* Safety nets: never leave the intro or curtain covering the page if scripts fail. */
.from-nav .curtain:not(.is-out) { animation: cover-away 0s 3s forwards; }
.show-intro .intro { animation: cover-away 0s 5s forwards; }
@keyframes cover-away { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------- Custom cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.has-cursor .cursor { display: block; }
	.cursor { position: fixed; top: 0; left: 0; z-index: var(--z-cursor); pointer-events: none; }
	.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
	.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--teal); }
	.cursor__ring {
		width: 40px; height: 40px; margin: -20px 0 0 -20px;
		border: 1px solid rgba(116, 207, 195, .6);
		display: grid; place-items: center;
		transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), opacity .3s;
	}
	.cursor.is-hover .cursor__ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--teal); }
	.cursor.has-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--ivory); border-color: var(--ivory); }
	.cursor.has-label .cursor__dot { opacity: 0; }
	.cursor__label { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; }
	.cursor.has-label .cursor__label { opacity: 1; }
	.cursor.is-hidden .cursor__dot, .cursor.is-hidden .cursor__ring { opacity: 0; }
}

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line__inner { display: inline-block; }
.js .reveal-lines .line__inner { transform: translateY(110%); transition: transform 1.3s var(--ease); }
.js .reveal-lines.is-in .line__inner { transform: none; }
.js .reveal-lines .line:nth-child(2) .line__inner { transition-delay: .09s; }
.js .reveal-lines .line:nth-child(3) .line__inner { transition-delay: .18s; }
.js .reveal-lines .line:nth-child(4) .line__inner { transition-delay: .27s; }

.clip-reveal { overflow: hidden; }
.clip-reveal img { width: 100%; height: 100%; object-fit: cover; }
.js .clip-reveal img { clip-path: inset(100% 0 0 0); transform: scale(1.25); transition: clip-path 1.4s var(--ease-io), transform 1.8s var(--ease); }
.js .clip-reveal.is-in img { clip-path: inset(0); transform: scale(1); }

/* ---------- Hero ---------- */
.hero, .boat-hero {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: flex; flex-direction: column; justify-content: flex-end;
	overflow: hidden; isolation: isolate;
}
.hero__media, .boat-hero__media, .page-hero__media, .cta__media, .global__media {
	position: absolute; inset: -6% 0; z-index: -2; will-change: transform;
}
.hero__media img, .hero__video, .boat-hero__media img, .page-hero__media img, .cta__media img, .global__media img {
	width: 100%; height: 100%; object-fit: cover;
}
.hero__media img, .hero__video, .boat-hero__media img { transform: scale(1.18); transition: transform 2.8s var(--ease); }
.is-ready .hero__media img, .is-ready .hero__video, .is-ready .boat-hero__media img { transform: scale(1); }
.hero__shade {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(6, 18, 25, .55) 0%, rgba(6, 18, 25, 0) 28%),
		linear-gradient(0deg, rgba(6, 18, 25, .92) 0%, rgba(6, 18, 25, .45) 38%, rgba(6, 18, 25, .05) 70%);
}
.hero__shade::after, .page-hero--image::after, .cta::after {
	/* Film grain: softens low-resolution photography. */
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner, .boat-hero__inner { padding-top: calc(var(--header-h) + 8vh); padding-bottom: clamp(96px, 14vh, 150px); }
.hero__eyebrow { margin-bottom: clamp(16px, 2.4vh, 28px); color: var(--ivory) !important; }
.hero .display--hero em { color: var(--ivory); }
.hero__foot, .boat-hero__foot {
	margin-top: clamp(28px, 5vh, 56px);
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px;
}
.hero__text { max-width: 44ch; font-size: clamp(1rem, 1.2vw, 1.15rem); font-weight: 300; color: rgba(242, 238, 230, .84); }
.hero__bar {
	position: absolute; left: 0; right: 0; bottom: 28px;
	display: flex; justify-content: space-between; align-items: center;
	font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-d);
}
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll span { width: 1px; height: 36px; background: var(--line-d); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; inset: 0; background: var(--ivory); animation: scroll-line 2.2s var(--ease-io) infinite; }
@keyframes scroll-line { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 640px) { .hero__bar span:not(.hero__scroll) { display: none; } .hero__bar { justify-content: center; } }

.crumbs { display: flex; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 24px; }
.crumbs a:hover { color: var(--ivory); }

/* ---------- Inner page hero ---------- */
.page-hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: 72vh; min-height: 72svh;
	display: flex; align-items: flex-end;
	padding: calc(var(--header-h) + 10vh) 0 clamp(56px, 9vh, 110px);
	background:
		radial-gradient(60% 80% at 85% 10%, rgba(116, 207, 195, .12), transparent 60%),
		var(--ink);
}
.page-hero--image { min-height: 92vh; min-height: 92svh; }
.page-hero--full { min-height: 100vh; min-height: 100svh; }
.page-hero--image .page-hero__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(6, 18, 25, .92) 0%, rgba(6, 18, 25, .4) 45%, rgba(6, 18, 25, .35) 100%);
}
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero__foot { margin-top: clamp(28px, 5vh, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.page-hero__meta { display: flex; gap: 32px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-d); }
.page-hero__meta li + li { padding-left: 32px; border-left: 1px solid var(--line-d); }

/* ---------- Intro block & stats ---------- */
.intro-block__foot {
	margin-top: clamp(40px, 6vw, 80px);
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end;
	max-width: 900px;
}
.intro-block__foot p { color: var(--muted-l); max-width: 56ch; }
@media (max-width: 700px) { .intro-block__foot { grid-template-columns: 1fr; } }

.stats {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: clamp(80px, 10vw, 160px);
}
.stats__item { padding: 28px clamp(12px, 2vw, 32px) 0 0; border-top: 1px solid var(--line-l); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 14px; }
[data-theme="dark"] .stats__item { border-color: var(--line-d); }
.stats dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-l); }
[data-theme="dark"] .stats dt { color: var(--muted-d); }
.stats dd { font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 6.6vw, 7rem); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats sup { font-size: .4em; color: var(--teal-deep); margin-left: 4px; }
[data-theme="dark"] .stats sup { color: var(--teal); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 48px; } }

/* ---------- Lineup (horizontal) ---------- */
.lineup { position: relative; }
.lineup__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.lineup__head {
	padding-top: calc(var(--header-h) + 3vh);
	display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 40px;
}
.lineup__head .index-label { grid-column: 1 / -1; }
.lineup__head .display { font-size: clamp(2.4rem, 5vw, 5.6rem); }
.lineup__progress { width: clamp(120px, 18vw, 280px); height: 1px; background: var(--line-d); margin-bottom: 1.2em; }
.lineup__progress span { display: block; height: 100%; background: var(--teal); transform-origin: left; transform: scaleX(0); }
.lineup__viewport { flex: 1; display: flex; align-items: center; min-height: 0; }
.lineup__track {
	display: flex; gap: clamp(20px, 2.6vw, 48px);
	padding-inline: var(--gutter);
	will-change: transform;
}
.lineup__item { flex: none; width: min(40vw, 78vh, 640px); }
.lineup__item--end { width: min(34vw, 520px); display: flex; align-items: center; }
.lineup__all { display: flex; align-items: center; gap: 32px; padding: 40px; }
.lineup__all .display em { color: var(--teal); }

.model-card { display: block; cursor: pointer; }
.model-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); border-radius: 2px; }
.model-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.92); }
.model-card:hover .model-card__media img { transform: scale(1.06); filter: saturate(1.05); }
.model-card__body { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: start; padding-top: 22px; border-top: 1px solid var(--line-d); margin-top: 22px; }
.model-card__num { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--teal); line-height: 1.2; }
.model-card__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1; margin-top: 8px; }
.model-card__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; transition: transform .6s var(--ease), background-color .4s, color .4s; }
.model-card:hover .model-card__arrow { transform: rotate(45deg); background: var(--ivory); color: var(--ink); }

@media (max-width: 900px) {
	.lineup { height: auto !important; padding-bottom: var(--section); }
	.lineup__sticky { position: static; height: auto; overflow: visible; }
	.lineup__head { grid-template-columns: 1fr; margin-bottom: 40px; }
	.lineup__progress { display: none; }
	.lineup__viewport { display: block; }
	.lineup__track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
	.lineup__track::-webkit-scrollbar { display: none; }
	.lineup__item { width: 80vw; scroll-snap-align: center; }
	.lineup__item--end { width: 70vw; }
}

/* ---------- Feature (888X) ---------- */
.feature { background: var(--ink-2); }
.feature__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); align-items: center; }
.feature__media { grid-column: 1 / span 7; position: relative; padding-bottom: 14%; }
.feature__img { aspect-ratio: 5 / 4; }
.feature__img--small { position: absolute; right: -10%; bottom: 0; width: 52%; aspect-ratio: 3 / 2; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.feature__body { grid-column: 9 / -1; display: grid; gap: 32px; justify-items: start; }
@media (max-width: 900px) {
	.feature__media, .feature__body { grid-column: 1 / -1; }
	.feature__img--small { right: 0; }
}

.spec-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; max-width: 640px; }
.spec-strip > div { padding: 18px 20px 0 0; border-top: 1px solid var(--line-d); }
[data-theme="light"] .spec-strip > div { border-color: var(--line-l); }
.spec-strip dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 8px; }
[data-theme="light"] .spec-strip dt { color: var(--muted-l); }
.spec-strip dd { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 2.8vw, 3rem); line-height: 1; white-space: nowrap; }
.spec-strip small { font-family: var(--sans); font-size: 12px; letter-spacing: .1em; margin-left: 4px; color: var(--muted-d); }
[data-theme="light"] .spec-strip small { color: var(--muted-l); }
.spec-strip--sm dd { font-size: clamp(1.6rem, 2vw, 2.2rem); }
@media (max-width: 540px) { .spec-strip { grid-auto-flow: row; grid-template-columns: 1fr 1fr; row-gap: 20px; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: clamp(28px, 4vw, 56px); border-block: 1px solid var(--line-l); }
.marquee__track { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 7vw, 7.5rem); line-height: 1; white-space: nowrap; letter-spacing: -.02em; }
.marquee em { color: var(--teal-deep); }
.marquee i { width: clamp(10px, 1vw, 16px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--teal-deep); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Craft ---------- */
.craft__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(56px, 7vw, 112px); align-items: start; }
.craft__media { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.craft__list { grid-column: 7 / -1; align-self: end; }
.craft__list li { display: grid; grid-template-columns: 64px 1fr; gap: 6px 24px; padding-block: 32px; border-top: 1px solid var(--line-l); }
.craft__num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--teal-deep); grid-row: span 2; }
.craft__list h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.3rem); line-height: 1.1; }
.craft__list p { color: var(--muted-l); max-width: 48ch; }
@media (max-width: 900px) { .craft__media, .craft__list { grid-column: 1 / -1; } }

/* ---------- Global ---------- */
.global { overflow: hidden; isolation: isolate; }
.global__media { opacity: .22; }
.global::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0, rgba(6, 18, 25, .4) 40%, var(--ink) 100%); }
.global__head { display: grid; gap: 28px; max-width: 900px; }
.global__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 120px); margin-top: clamp(56px, 7vw, 112px); }
.global__cols .eyebrow { margin-bottom: 16px; }
@media (max-width: 900px) { .global__cols { grid-template-columns: 1fr; } }

.big-list li {
	display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
	padding-block: clamp(16px, 1.8vw, 26px);
	border-bottom: 1px solid var(--line-d);
}
.big-list li span { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.8vw, 2.8rem); line-height: 1.1; transition: transform .6s var(--ease), color .4s; }
.big-list li small { font-size: 12px; letter-spacing: .18em; color: var(--muted-d); }
.big-list li:hover span { transform: translateX(14px); color: var(--teal); font-style: italic; }

/* ---------- Gallery teaser ---------- */
.teaser__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 40px; }
.teaser__head .index-label { grid-column: 1 / -1; }
.teaser__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); margin-top: clamp(56px, 7vw, 112px); align-items: start; }
.teaser__item { display: block; cursor: pointer; }
.teaser__item--1 { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.teaser__item--2 { grid-column: 7 / -1; aspect-ratio: 16 / 11; margin-top: 18vh; }
.teaser__item--3 { grid-column: 2 / span 5; aspect-ratio: 4 / 3; margin-top: 4vh; }
.teaser__item--4 { grid-column: 8 / span 5; aspect-ratio: 4 / 5; margin-top: -14vh; }
.teaser__item img { transition: transform 1.4s var(--ease), clip-path 1s; }
.teaser__item.is-in:hover img { transform: scale(1.05); }
@media (max-width: 700px) {
	.teaser__head { grid-template-columns: 1fr; }
	.teaser__item--1, .teaser__item--2, .teaser__item--3, .teaser__item--4 { grid-column: span 6; margin-top: 0; aspect-ratio: 4 / 5; }
	.teaser__item--2, .teaser__item--4 { transform: translateY(40px); }
}

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; min-height: 92vh; display: flex; align-items: flex-end; padding-block: var(--section) clamp(64px, 10vh, 120px); }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 18, 25, .9) 0%, rgba(6, 18, 25, .35) 60%, rgba(6, 18, 25, .55) 100%); }
.cta__inner { display: grid; gap: 28px; justify-items: start; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { padding-top: var(--section); padding-bottom: 32px; border-top: 1px solid var(--line-d); }
.site-footer__top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; padding-bottom: clamp(56px, 7vw, 112px); border-bottom: 1px solid var(--line-d); }
.site-footer__mail { display: inline-flex; align-items: center; gap: 16px; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.6rem); font-weight: 300; padding-bottom: 8px; border-bottom: 1px solid var(--line-d); transition: color .3s, border-color .3s; }
.site-footer__mail .icon { width: .8em; height: .8em; transition: transform .5s var(--ease); }
.site-footer__mail:hover { color: var(--teal); border-color: var(--teal); }
.site-footer__mail:hover .icon { transform: rotate(45deg); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-block: clamp(48px, 6vw, 96px); }
.site-footer__grid .eyebrow { margin-bottom: 16px; }
.footer-links li, .site-footer__grid li, .site-footer__grid address { font-size: 15px; line-height: 2; color: rgba(242, 238, 230, .86); }
.site-footer__brand img { width: 160px; margin-bottom: 20px; }
.site-footer__brand p { color: var(--muted-d); max-width: 30ch; font-size: 15px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; }
.socials a:hover { color: var(--teal); }
.socials .icon { width: 18px; height: 18px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-d); font-size: 13px; color: var(--muted-d); }
.to-top { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.to-top:hover { color: var(--teal); }
.to-top .icon { width: 16px; height: 16px; }
@media (max-width: 1000px) {
	.site-footer__top { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(64px, 9vw, 140px); align-items: end; }
.story__media { grid-column: 1 / span 6; aspect-ratio: 4 / 3; }
.story__body { grid-column: 8 / -1; display: grid; gap: 24px; }
.story__body p { color: var(--muted-l); }
@media (max-width: 900px) { .story__media, .story__body { grid-column: 1 / -1; } }

.timeline__head { display: grid; gap: 24px; margin-bottom: clamp(56px, 7vw, 112px); }
.timeline__list li {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px clamp(16px, 2vw, 32px);
	padding-block: clamp(28px, 3.4vw, 48px); border-top: 1px solid var(--line-d);
}
.timeline__list li:last-child { border-bottom: 1px solid var(--line-d); }
.timeline__year { grid-column: 1 / span 4; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2.6rem, 5vw, 5rem); line-height: .9; color: var(--teal); }
.timeline__list li > div { grid-column: 5 / -1; display: grid; gap: 10px; max-width: 62ch; }
.timeline__list h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.3rem); line-height: 1.1; }
.timeline__list p { color: var(--muted-d); }
@media (max-width: 700px) { .timeline__year, .timeline__list li > div { grid-column: 1 / -1; } }

.check-list { display: grid; gap: 0; margin-top: 40px; max-width: 760px; }
.check-list li { position: relative; padding: 18px 0 18px 44px; border-top: 1px solid var(--line-l); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 30px; width: 24px; height: 1px; background: var(--teal-deep); }
[data-theme="dark"] .check-list li { border-color: var(--line-d); }
[data-theme="dark"] .check-list li::before { background: var(--teal); }

.why { padding-top: 0; }
.why__head { display: grid; gap: 24px; margin-bottom: clamp(56px, 7vw, 100px); }
.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
.why__item { padding: clamp(28px, 3.4vw, 56px); border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); display: grid; gap: 16px; align-content: start; transition: background-color .5s var(--ease); }
.why__item:hover { background: #efeae1; }
.why__icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; color: var(--teal-deep); margin-bottom: 16px; }
.why__item h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.2rem); line-height: 1.1; }
.why__item p { color: var(--muted-l); }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } }

.people__head { display: grid; gap: 24px; margin-bottom: clamp(56px, 7vw, 100px); }
.people__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.people__grid li { padding-top: 32px; border-top: 1px solid var(--line-d); display: grid; gap: 8px; }
.people__mono { width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--teal); margin-bottom: 20px; }
.people__grid h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.4vw, 2.4rem); line-height: 1.1; }
.people__grid p { color: var(--muted-d); }
@media (max-width: 800px) { .people__grid { grid-template-columns: 1fr; } }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(48px, 6vw, 96px); }
.filters__btn {
	min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-l);
	font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
	cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.filters__btn sup { color: var(--muted-l); margin-left: 2px; transition: color .3s; }
.filters__btn:hover { border-color: var(--ink); }
.filters__btn.is-active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.filters__btn.is-active sup { color: var(--teal); }

/* ---------- Model rows ---------- */
.model-row { border-top: 1px solid var(--line-l); }
.model-row:last-child { border-bottom: 1px solid var(--line-l); }
.model-row.is-filtered { display: none; }
.model-row__link { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); align-items: center; padding-block: clamp(40px, 6vw, 96px); cursor: pointer; }
.model-row__media { grid-column: 1 / span 7; aspect-ratio: 16 / 10; background: #e6e1d7; }
.model-row__link:hover .model-row__media.is-in img { transform: scale(1.05); }
.model-row__body { grid-column: 9 / -1; display: grid; gap: 20px; justify-items: start; position: relative; }
.model-row:nth-child(even) .model-row__media { grid-column: 6 / -1; order: 2; }
.model-row:nth-child(even) .model-row__body { grid-column: 1 / span 4; order: 1; }
.model-row__num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--teal-deep); }
.model-row__title { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 5.6vw, 6rem); line-height: .92; letter-spacing: -.02em; transition: color .4s; }
.model-row__link:hover .model-row__title { color: var(--teal-deep); font-style: italic; }
.model-row__body > p:not(.eyebrow) { color: var(--muted-l); max-width: 40ch; }
@media (max-width: 900px) {
	.model-row__media, .model-row__body, .model-row:nth-child(even) .model-row__media, .model-row:nth-child(even) .model-row__body { grid-column: 1 / -1; order: initial; }
}

.bespoke .col-body { display: grid; gap: 32px; justify-items: start; }

/* ---------- Boat detail ---------- */
.overview__type { margin-top: 16px; }
.overview__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 72px); margin-top: clamp(48px, 6vw, 96px); align-items: start; }
.overview__cols p { color: var(--muted-l); }
.overview__cols p + p { margin-top: 1.2em; }
.overview__cols .check-list { margin-top: 0; }
@media (max-width: 800px) { .overview__cols { grid-template-columns: 1fr; } }

.boat-gallery { padding-top: 0; }
.boat-gallery__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 40px; padding-top: 32px; border-top: 1px solid var(--line-l); }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 19vw, 330px); grid-auto-flow: dense; gap: clamp(10px, 1.2vw, 20px); }
.mosaic__item { grid-column: span 4; cursor: zoom-in; background: #e6e1d7; }
.mosaic__item:nth-child(6n + 1) { grid-column: span 8; grid-row: span 2; }
.mosaic__item:nth-child(6n + 4) { grid-column: span 6; grid-row: span 2; }
.mosaic__item:nth-child(6n + 5) { grid-column: span 6; }
.mosaic__item:nth-child(6n + 6) { grid-column: span 6; }
.mosaic__item.is-in:hover img { transform: scale(1.04); filter: brightness(1.05); }
@media (max-width: 700px) {
	.mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
	.mosaic__item, .mosaic__item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
	.mosaic__item:nth-child(3n + 1) { grid-column: span 2; grid-row: span 1; }
}

.specs { background: var(--ink-2); }
.specs .col-body { display: grid; gap: 48px; }
.specs__groups { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); }
.specs__group .eyebrow { padding-bottom: 16px; }
.specs__row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-block: 18px; border-top: 1px solid var(--line-d); }
.specs__row:last-child { border-bottom: 1px solid var(--line-d); }
.specs__row dt { color: var(--muted-d); font-size: 15px; }
.specs__row dd { font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 400; text-align: right; }
.specs__note { font-size: 13px; color: var(--muted-d); }
@media (max-width: 800px) { .specs__groups { grid-template-columns: 1fr; } }

.next-model__link { position: relative; display: flex; align-items: center; min-height: 70vh; overflow: hidden; isolation: isolate; cursor: pointer; }
.next-model__media { position: absolute; inset: 0; z-index: -1; }
.next-model__media img { width: 100%; height: 100%; object-fit: cover; opacity: .35; transform: scale(1.04); transition: transform 1.6s var(--ease), opacity .8s; }
.next-model__link:hover .next-model__media img { transform: scale(1); opacity: .55; }
.next-model__inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 40px; padding-block: 12vh; }
.next-model__inner .eyebrow { grid-column: 1 / -1; }
.next-model .display { transition: transform .8s var(--ease); }
.next-model__link:hover .display { transform: translateX(20px); font-style: italic; }

/* ---------- Gallery page ---------- */
.masonry { columns: 3; column-gap: clamp(12px, 1.4vw, 22px); }
.masonry__item { display: block; break-inside: avoid; margin-bottom: clamp(12px, 1.4vw, 22px); position: relative; overflow: hidden; cursor: zoom-in; background: #e6e1d7; }
.masonry__item img { width: 100%; transition: transform 1.4s var(--ease), opacity .8s var(--ease); }
.js .masonry__item img { opacity: 0; }
.js .masonry__item.is-in img { opacity: 1; }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__item.is-filtered { display: none; }
.masonry__tag {
	position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px;
	background: rgba(6, 18, 25, .7); color: var(--ivory); backdrop-filter: blur(8px);
	font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
	opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.masonry__item:hover .masonry__tag, .masonry__item:focus-visible .masonry__tag { opacity: 1; transform: none; }
@media (max-width: 1100px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: var(--z-lightbox); background: rgba(6, 18, 25, .97); color: var(--ivory); display: grid; place-items: center; opacity: 0; transition: opacity .4s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { max-width: min(88vw, 1400px); display: grid; gap: 14px; justify-items: center; }
.lightbox__figure img { max-height: 80vh; width: auto; object-fit: contain; transition: opacity .3s; }
.lightbox__figure figcaption { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-d); }
.lightbox__close, .lightbox__nav { position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; cursor: pointer; transition: background-color .3s, color .3s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--ivory); color: var(--ink); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-family: var(--serif); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .lightbox__nav { top: auto; bottom: 16px; transform: none; } .lightbox__count { bottom: 30px; } }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); align-items: start; }
.contact__info { grid-column: 1 / span 4; display: grid; gap: 0; justify-items: start; }
.contact__form { grid-column: 6 / -1; display: grid; gap: 28px; }
.contact__block { width: 100%; display: grid; grid-template-columns: 48px 1fr; gap: 4px 20px; padding-block: 28px; border-top: 1px solid var(--line-l); }
.contact__block:last-of-type { border-bottom: 1px solid var(--line-l); margin-bottom: 32px; }
.contact__icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; color: var(--teal-deep); }
.contact__icon .icon { width: 20px; height: 20px; }
.contact__value { font-family: var(--serif); font-size: clamp(1.4rem, 1.8vw, 1.8rem); line-height: 1.25; justify-self: start; word-break: break-word; }
@media (max-width: 900px) { .contact__info, .contact__form { grid-column: 1 / -1; } .contact__form { order: -1; } }

.form { display: grid; gap: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { position: relative; }
.field input, .field textarea, .field select {
	width: 100%; padding: 30px 0 12px; border: 0; border-bottom: 1px solid var(--line-l); border-radius: 0;
	background: transparent; color: var(--ink); font: inherit; font-size: 17px;
	transition: border-color .3s var(--ease);
	-webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23061219' stroke-width='1.4'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") right 4px center / 12px no-repeat; padding-right: 28px; }
.field label {
	position: absolute; left: 0; top: 30px; color: var(--muted-l); pointer-events: none;
	transform-origin: left top; transition: transform .35s var(--ease), color .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal-deep); box-shadow: 0 1px 0 0 var(--teal-deep); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label,
.field label.is-static { transform: translateY(-24px) scale(.78); color: var(--teal-deep); letter-spacing: .04em; }
.field input:user-invalid { border-color: #b3261e; }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; }
.form__note { font-size: 13px; color: var(--muted-l); }
.form.is-sending .btn { opacity: .6; pointer-events: none; }

.notice { padding: 18px 22px; border-left: 2px solid; font-size: 15px; }
.notice--ok { border-color: var(--teal-deep); background: rgba(23, 96, 95, .08); }
.notice--err { border-color: #b3261e; background: rgba(179, 38, 30, .06); }

.map { line-height: 0; }
.map iframe { width: 100%; height: min(70vh, 640px); border: 0; filter: grayscale(1) contrast(1.05) brightness(.98); transition: filter .6s; }
.map iframe:hover { filter: none; }

/* ---------- Generic content ---------- */
.prose { max-width: 760px; margin-inline: auto; font-size: 18px; }
.prose > * + * { margin-top: 1.2em; }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin-top: 1.8em; }
.prose h2 { font-size: 2.4rem; }
.prose h3 { font-size: 1.8rem; }
.prose a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.2em; }
.prose img { border-radius: 2px; }
.post-list li { border-top: 1px solid var(--line-l); }
.post-list a { display: grid; grid-template-columns: 160px 1fr auto; gap: 24px; align-items: baseline; padding-block: 28px; }
.post-list__title { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.1; }
.post-list a:hover .post-list__title { color: var(--teal-deep); font-style: italic; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 10px; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-l); border-radius: 999px; padding: 0 14px; }
.pagination .current { background: var(--ink); color: var(--ivory); }

/* ---------- YouTube background video ---------- */
.yt-bg { position: absolute; inset: 0; overflow: hidden; container-type: size; opacity: 0; transition: opacity 1.4s var(--ease); pointer-events: none; }
.yt-bg.is-playing { opacity: 1; }
.yt-bg iframe, .yt-bg__frame {
	position: absolute; top: 50%; left: 50%; border: 0;
	width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw);
	transform: translate(-50%, -50%) scale(1.14);
}
/* The film is 4:3 footage with black side bars inside a 16:9 frame: crop the bars away. */
.yt-bg--crop iframe, .yt-bg--crop .yt-bg__frame { width: max(126cqw, 178cqh); height: max(71cqw, 100cqh); transform: translate(-50%, -50%) scale(1.06); }
.hero__video { position: absolute; inset: 0; }

/* ---------- Film hero (home) ---------- */
.hero--film { justify-content: center; }
.hero--film .hero__shade {
	background:
		radial-gradient(70% 60% at 50% 48%, rgba(6, 18, 25, .55) 0%, rgba(6, 18, 25, .15) 70%),
		linear-gradient(180deg, rgba(6, 18, 25, .6) 0%, rgba(6, 18, 25, 0) 26%),
		linear-gradient(0deg, rgba(6, 18, 25, .85) 0%, rgba(6, 18, 25, 0) 34%);
}
.hero__center {
	display: grid; justify-items: center; text-align: center; gap: clamp(18px, 2.6vh, 30px);
	padding-top: calc(var(--header-h) + 4vh); padding-bottom: calc(110px + 6vh);
}
.hero--film .display--hero { font-size: clamp(4.3rem, 13.2vw, 15rem); line-height: .86; text-shadow: 0 2px 40px rgba(6, 18, 25, .25); }
.hero--film .display--hero .line:nth-child(2) { margin-top: -.02em; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 18px; margin: 0 !important; }
.hero__rule { width: clamp(24px, 4vw, 56px); height: 1px; background: rgba(242, 238, 230, .5); }
.hero--film .hero__text { max-width: 52ch; text-align: center; }
.hero--film .hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 34px; margin-top: 6px; }

.play-link { display: inline-flex; align-items: center; gap: 16px; min-height: 54px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.play-link__icon {
	width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(242, 238, 230, .5);
	display: grid; place-items: center; position: relative;
	transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.play-link__icon .icon { width: 16px; height: 16px; margin-left: 3px; }
.play-link__icon::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(242, 238, 230, .45); animation: pulse-ring 2.4s var(--ease) infinite; }
.play-link:hover .play-link__icon { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

.hero__strip {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
	border-top: 1px solid var(--line-d);
	background: rgba(6, 18, 25, .38);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hero__strip-inner { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); }
.hero__now, .hero__model { padding: 22px clamp(14px, 1.8vw, 28px); min-height: 96px; }
.hero__now { padding-left: 0; display: grid; align-content: center; gap: 4px; position: relative; }
.hero__now .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--teal) !important; }
.hero__now-title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.hero__progress { position: absolute; left: 0; right: clamp(14px, 1.8vw, 28px); bottom: -1px; height: 1px; background: transparent; }
.hero__progress span { display: block; height: 100%; background: var(--teal); transform-origin: left; transform: scaleX(0); }
.hero__model {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
	border-left: 1px solid var(--line-d);
	transition: background-color .4s var(--ease);
}
.hero__model:hover { background: rgba(242, 238, 230, .06); }
.hero__model-num { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--teal); align-self: start; }
.hero__model-text { display: grid; gap: 2px; }
.hero__model-text strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 1.6vw, 1.6rem); line-height: 1.1; }
.hero__model-text small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); }
.hero__model .icon { transition: transform .5s var(--ease); }
.hero__model:hover .icon { transform: rotate(45deg); color: var(--teal); }

.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.eq i { width: 2px; height: 100%; background: currentColor; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.35s; }
.eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

@media (max-width: 1000px) {
	.hero__strip-inner { grid-template-columns: 1fr 1fr; }
	.hero__model:nth-of-type(n+3) { display: none; }
}
@media (max-width: 640px) {
	.hero__strip-inner { grid-template-columns: 1fr; }
	.hero__model { display: none; }
	.hero__now { min-height: 76px; padding-block: 16px; }
	.hero__center { padding-bottom: calc(90px + 4vh); }
	.hero__eyebrow { font-size: 10.5px; letter-spacing: .16em; }
	.hero__rule { display: none; }
}

/* ---------- Film section (scroll-expanding) ---------- */
.film { position: relative; height: 260vh; background: var(--ink); }
.film__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.film__frame {
	--fx: 22vw; --fy: 18vh; --fr: 28px;
	position: absolute; inset: 0; overflow: hidden;
	clip-path: inset(var(--fy) var(--fx) round var(--fr));
	will-change: clip-path;
}
.film__frame > img, .film__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__shade { position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(6, 18, 25, .5), rgba(6, 18, 25, .2) 70%), linear-gradient(0deg, rgba(6, 18, 25, .6), transparent 40%); }
.film__content { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 28px; }
.film__content .display em { color: var(--teal); }
.film__play { display: grid; justify-items: center; gap: 16px; cursor: pointer; }
.film__play-circle {
	width: clamp(88px, 9vw, 128px); aspect-ratio: 1; border-radius: 50%;
	background: var(--ivory); color: var(--ink);
	display: grid; place-items: center; position: relative;
	transition: transform .6s var(--ease), background-color .4s var(--ease);
}
.film__play-circle .icon { width: 26%; height: 26%; margin-left: 6%; }
.film__play-circle::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(242, 238, 230, .4); animation: pulse-ring 2.6s var(--ease) infinite; }
.film__play:hover .film__play-circle, .film-block__btn:hover .film__play-circle { transform: scale(1.08); background: var(--teal); }
.film__play-label { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.film__play-label small { font-family: var(--serif); font-size: 1rem; letter-spacing: 0; color: var(--muted-d); margin-left: 6px; }
@media (max-width: 900px) {
	.film { height: auto; }
	.film__sticky { position: relative; height: 88svh; }
	.film__frame { clip-path: none !important; }
}

/* ---------- Film block (gallery, model pages) ---------- */
.section--flush { padding-top: 0; padding-bottom: clamp(48px, 6vw, 96px); }
.film-block { aspect-ratio: 21 / 9; margin-bottom: clamp(48px, 6vw, 96px); background: var(--ink-3); position: relative; }
.film-block__btn { position: absolute; inset: 0; width: 100%; display: block; cursor: pointer; color: var(--ivory); text-align: left; overflow: hidden; }
.film-block__btn > img, .film-block__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-block__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 18, 25, .75), rgba(6, 18, 25, .1) 55%); }
.film-block__meta { position: absolute; left: clamp(20px, 3vw, 48px); bottom: clamp(20px, 3vw, 44px); display: grid; gap: 8px; }
.film-block__meta .eyebrow { color: var(--teal) !important; }
.film-block__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3.6vw, 3.6rem); line-height: 1; }
.film-block__circle { position: absolute; top: 50%; left: 50%; margin: calc(clamp(88px, 9vw, 128px) / -2) 0 0 calc(clamp(88px, 9vw, 128px) / -2); }
@media (max-width: 700px) { .film-block { aspect-ratio: 4 / 3; } }

/* ---------- Film modal ---------- */
.film-modal { position: fixed; inset: 0; z-index: var(--z-lightbox); background: rgba(3, 9, 12, .96); display: grid; place-items: center; opacity: 0; transition: opacity .45s var(--ease); }
.film-modal[hidden] { display: none; }
.film-modal.is-open { opacity: 1; }
.film-modal__frame { width: min(92vw, calc(84vh * 16 / 9)); aspect-ratio: 16 / 9; background: #000; transform: scale(.96); transition: transform .6s var(--ease); }
.film-modal.is-open .film-modal__frame { transform: none; }
.film-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal, .js .reveal-lines .line__inner, .js .clip-reveal img, .js .masonry__item img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	.hero__media img, .boat-hero__media img { transform: none !important; }
	.marquee__track { animation: none; }
	.yt-bg { display: none; }
	.play-link__icon::after, .film__play-circle::after, .eq i { animation: none; }
	.statement .w { opacity: 1 !important; }
}
