/* ==========================================================================
   OWI Expedition – main stylesheet
   1. Tokens & base        6. Liberty Forge pages
   2. Layout helpers       7. Trips / posts / resources
   3. Buttons & bits       8. Social feed
   4. Header & drawer      9. Footer, lightbox
   5. Home sections       10. Motion & responsive
   ========================================================================== */

/* 1. Tokens & base ------------------------------------------------------- */
:root {
	--bg: #f4f1ea;
	--beige: #e7e3d8;
	--card: #ffffff;
	--ink: #1c1b18;
	--olive: #2f3529;
	--rust: #c0432a;
	--gold: #c8913f;
	--gold-2: #dba658;
	--muted: #8b877d;
	--line: rgba(28, 27, 24, .12);
	--line-light: rgba(255, 255, 255, .16);

	--f-head: "Special Gothic Condensed One", "Oswald", "Arial Narrow", Impact, sans-serif;
	--f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1360px;
	--gut: clamp(16px, 2.8vw, 40px);
	--sec: clamp(64px, 8vw, 120px);
	--r-lg: clamp(14px, 1.6vw, 22px);
	--r: 12px;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--ease-io: cubic-bezier(.65, 0, .35, 1);
	--bar-h: 96px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 150px; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
p { margin: 0 0 1.1em; }

h1, h2, h3, h4 {
	font-family: var(--f-head);
	font-weight: 400;
	line-height: .95;
	text-transform: uppercase;
	margin: 0 0 .45em;
}

::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; }
.skip-link:focus { top: 12px; }

.icon { width: 1em; height: 1em; flex: none; }

/* 2. Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.container--narrow { max-width: 860px; }

.section { padding: var(--sec) 0; position: relative; }
.block { padding: 0 var(--gut); margin: clamp(48px, 6vw, 96px) 0; }

.section-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	margin-bottom: clamp(28px, 4vw, 52px);
}
.section-head h2 { margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .muted { max-width: 560px; margin: 0; }
.section-head--sub { margin-top: clamp(56px, 7vw, 96px); }

.eyebrow {
	font-family: var(--f-head); font-size: 15px; text-transform: uppercase;
	color: var(--muted); margin: 0 0 10px; display: flex; align-items: center; gap: 12px;
}
.eyebrow--rust { color: var(--rust); }
.eyebrow--gold { color: var(--gold); }
.eyebrow--light { color: rgba(255,255,255,.75); }
.eyebrow .line { width: 40px; height: 1px; background: currentColor; }

.h-xl { font-size: clamp(40px, 5.6vw, 80px); }
.h-lg { font-size: clamp(30px, 3.6vw, 52px); }
.muted { color: var(--muted); }
.lead { font-size: 1.2em; line-height: 1.55; }

/* 3. Buttons & bits ------------------------------------------------------- */
.pill-btn, .btn {
	--b: var(--ink); --c: #fff;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 24px; border-radius: 99px; border: 1.5px solid var(--b);
	background: var(--b); color: var(--c);
	font-family: var(--f-body); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
	white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
	transition: color .35s var(--ease), border-color .35s, background .35s;
}
.pill-btn::after, .btn::after {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: var(--gold); transform: translateY(101%); transition: transform .45s var(--ease);
}
.pill-btn:hover::after, .btn:hover::after { transform: none; }
.pill-btn:hover, .btn:hover { border-color: var(--gold); color: #fff; }
.pill-btn .icon, .btn .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.pill-btn:hover .icon, .btn:hover .icon { transform: translateX(3px); }

.pill-btn--gold, .btn--gold { --b: var(--gold); }
.pill-btn--gold::after, .btn--gold::after { background: var(--ink); }
.pill-btn--gold:hover, .btn--gold:hover { border-color: var(--ink); }
.pill-btn--light { --b: #fff; --c: var(--ink); }
.pill-btn--outline, .btn--ghost { background: transparent; --c: var(--ink); border-color: rgba(28,27,24,.3); }
.pill-btn--outline-light { background: transparent; --c: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost.btn--dark { border-color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 12px; }
.btn--lg { padding: 16px 30px; font-size: 14px; }
.btn--block { width: 100%; }

/* ghost buttons sitting on dark backgrounds */
.lf-hero .btn--ghost, .lf-specs .btn--ghost, .lf-inquiry .btn--ghost, .model-hero .btn--ghost { --c: #fff; border-color: rgba(255,255,255,.5); }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px;
	letter-spacing: .08em; text-transform: uppercase; border-bottom: 1.5px solid currentColor; padding-bottom: 3px;
}
.link-arrow .icon { transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.round-btn {
	width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(28,27,24,.25); background: transparent;
	display: inline-grid; place-items: center; transition: all .3s;
}
.round-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.round-btn .icon { width: 18px; height: 18px; }

.tag, .pill {
	display: inline-block; padding: 5px 12px; border-radius: 99px; background: var(--rust); color: #fff;
	font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip-btn {
	padding: 9px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card);
	font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: all .3s var(--ease);
}
.chip-btn small { opacity: .5; margin-left: 4px; }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; transition: background .3s, color .3s; }
.social a:hover { background: var(--ink); color: #fff; }
.social .icon { width: 17px; height: 17px; }
.social--round a { border: 1.5px solid var(--line); width: 46px; height: 46px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--gold); width: 20px; height: 20px; margin-top: 2px; }
.check-list--sm { font-size: 14px; gap: 7px; }
.check-list--sm .icon { width: 17px; height: 17px; }

/* 4. Header & drawer ------------------------------------------------------ */
.announce {
	display: flex; align-items: center; justify-content: center; gap: 14px;
	max-width: 1600px; margin: 0 auto; padding: 9px 16px; border-radius: 10px;
	background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
}
.announce__tag { background: rgba(255,255,255,.14); padding: 3px 10px; border-radius: 4px; color: var(--gold-2); }
.announce .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.announce:hover .icon { transform: translateX(4px); }

/* link row: big condensed links split by thin dividers, line underneath */
.topbar { padding: 12px 0 0; }
.topbar .announce { margin: 0 var(--gut); }
@media (min-width: 1641px) { .topbar .announce { margin: 0 auto; } }
.quick-nav { margin-top: 8px; border-bottom: 1px solid var(--line); }
.quick-nav__list { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; max-width: 1400px; }
.quick-nav__list li { position: relative; }
.quick-nav__list li + li::before {
	content: ""; position: absolute; left: 0; top: 50%; height: 26px; margin-top: -13px; width: 1px; background: var(--line);
}
.quick-nav a {
	position: relative; display: block; padding: 16px clamp(24px, 3.6vw, 68px);
	font-family: var(--f-head); font-size: clamp(18px, 1.5vw, 24px); text-transform: uppercase; line-height: 1;
	transition: color .3s;
}
.quick-nav a::after {
	content: ""; position: absolute; left: clamp(24px, 3.6vw, 68px); right: clamp(24px, 3.6vw, 68px); bottom: -1px; height: 2px;
	background: var(--rust); transform: scaleX(0); transition: transform .4s var(--ease);
}
.quick-nav a:hover { color: var(--rust); }
.quick-nav a:hover::after, .quick-nav .current-menu-item > a::after { transform: scaleX(1); }

/* main bar: menu | hanging badge | icons + inquire */
.site-header {
	position: sticky; top: 0; z-index: 100; height: var(--bar-h);
	background: rgba(244, 241, 234, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	transition: box-shadow .3s, transform .45s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
	height: 100%; max-width: 1760px; margin: 0 auto; padding: 0 clamp(20px, 4.5vw, 90px);
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
}
.menu-btn {
	justify-self: start; display: inline-flex; align-items: center; gap: 16px; background: none; border: 0; padding: 10px 0;
	font-size: 15px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.menu-btn__lines { display: grid; gap: 7px; width: 28px; }
.menu-btn__lines i { height: 2px; border-radius: 2px; background: currentColor; transition: width .35s var(--ease); }
.menu-btn__lines i:last-child { width: 100%; }
.menu-btn:hover .menu-btn__lines i:first-child { width: 65%; }

/* the badge hangs below the bar, then tucks in once you scroll */
.brand { display: block; align-self: start; padding-top: 10px; transition: padding .35s var(--ease); }
.brand__img {
	height: 112px; width: auto; filter: drop-shadow(0 8px 14px rgba(0,0,0,.18));
	transition: height .35s var(--ease), transform .5s var(--ease);
}
.brand:hover .brand__img { transform: rotate(-4deg) scale(1.03); }
.is-scrolled .brand { padding-top: 8px; }
.is-scrolled .brand__img { height: 64px; filter: none; }

.site-header__tools { justify-self: end; display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.social--header { gap: clamp(6px, 1vw, 18px); }
.social--header a { width: 40px; height: 40px; }
.social--header .icon { width: 22px; height: 22px; }
.header-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: color .3s; }
.header-link .icon { width: 28px; height: 28px; transition: transform .4s var(--ease); }
.header-link:hover { color: var(--rust); }
.header-link:hover .icon { transform: translateX(3px); }

/* drawer menu – slides in from the left */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; transition: visibility 0s .6s; }
.menu-open .drawer { visibility: visible; pointer-events: auto; transition: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(20,19,16,.45); opacity: 0; transition: opacity .45s; }
.menu-open .drawer__scrim { opacity: 1; }
.drawer__panel {
	position: absolute; top: 10px; bottom: 10px; left: 10px; width: min(460px, calc(100% - 20px));
	background: var(--bg); border-radius: var(--r-lg); padding: 22px 28px 28px; overflow-y: auto;
	display: flex; flex-direction: column; gap: 26px;
	transform: translateX(-110%); transition: transform .6s var(--ease);
}
.menu-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__logo { height: 40px; width: auto; }
.drawer__close { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: none; display: grid; place-items: center; transition: all .35s var(--ease); }
.drawer__close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.drawer__close .icon { width: 20px; height: 20px; }
.drawer-nav { list-style: none; margin: 0; padding: 0; }
.drawer-nav li { border-bottom: 1px solid var(--line); overflow: hidden; }
.drawer-nav a {
	display: flex; justify-content: space-between; align-items: center; padding: 12px 0;
	font-family: var(--f-head); font-size: clamp(34px, 4.5vw, 46px); text-transform: uppercase; line-height: 1;
	transform: translateY(100%); opacity: 0; transition: transform .7s var(--ease), opacity .5s, color .3s;
}
.drawer-nav a::after { content: "\2192"; font-family: var(--f-body); font-size: 20px; opacity: 0; transform: translateX(-10px); transition: all .35s var(--ease); }
.drawer-nav a:hover { color: var(--rust); }
.drawer-nav a:hover::after { opacity: 1; transform: none; }
.menu-open .drawer-nav a { transform: none; opacity: 1; }
.menu-open .drawer-nav li:nth-child(1) a { transition-delay: .15s; }
.menu-open .drawer-nav li:nth-child(2) a { transition-delay: .2s; }
.menu-open .drawer-nav li:nth-child(3) a { transition-delay: .25s; }
.menu-open .drawer-nav li:nth-child(4) a { transition-delay: .3s; }
.menu-open .drawer-nav li:nth-child(5) a { transition-delay: .35s; }
.menu-open .drawer-nav li:nth-child(6) a { transition-delay: .4s; }
.drawer__models { display: grid; gap: 8px; }
.drawer-model { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: var(--r); background: var(--card); transition: transform .35s var(--ease); }
.drawer-model:hover { transform: translateX(4px); }
.drawer-model__img { background: var(--beige); border-radius: 8px; padding: 6px; }
.drawer-model__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }
.drawer-model strong { display: block; font-family: var(--f-head); font-weight: 400; font-size: 22px; text-transform: uppercase; }
.drawer-model small { color: var(--muted); }
.drawer__foot { margin-top: auto; }

/* 5. Home sections ---------------------------------------------------------- */
/* hero slider: dark text panel left, photo right */
.hero-wrap { padding: 6px var(--gut) 0; }
.hero {
	position: relative; max-width: 1600px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden;
	height: clamp(520px, 72vh, 740px); background: var(--olive);
}
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 36% 1fr; visibility: hidden; }
.slide.is-active { visibility: visible; z-index: 1; }
.slide.is-leaving { visibility: visible; z-index: 0; }
.slide__panel {
	position: relative; z-index: 2; background: var(--olive); color: #fff;
	padding: clamp(32px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center;
}
.slide__eyebrow { font-family: var(--f-head); text-transform: uppercase; font-size: 15px; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.slide__title { font-size: clamp(44px, 5vw, 84px); line-height: .92; color: #fff; margin-bottom: 22px; }
.slide__text { color: rgba(255,255,255,.72); max-width: 380px; margin-bottom: 30px; }
.slide__btn { align-self: flex-start; }
.slide__media { position: relative; overflow: hidden; clip-path: inset(0 0 0 100%); transition: clip-path 1.1s var(--ease-io); }
.slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.slide__media.is-contain { background: radial-gradient(circle at 55% 60%, #4b5242, var(--olive) 70%); }
.slide__media.is-contain img { object-fit: contain; padding: 6% 8% 14%; }
.slide.is-active .slide__media, .slide.is-leaving .slide__media { clip-path: inset(0 0 0 0); }
.slide.is-active .slide__media img { transform: scale(1); }

/* text rises in on each slide */
.slide__eyebrow, .slide__title, .slide__text, .slide__btn { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.slide.is-active .slide__eyebrow { opacity: 1; transform: none; transition-delay: .25s; }
.slide.is-active .slide__title { opacity: 1; transform: none; transition-delay: .35s; }
.slide.is-active .slide__text { opacity: 1; transform: none; transition-delay: .5s; }
.slide.is-active .slide__btn { opacity: 1; transform: none; transition-delay: .6s; }

.slider-ui {
	position: absolute; z-index: 5; right: 22px; bottom: 22px; display: flex; gap: 8px; align-items: stretch;
	padding: 8px; border-radius: 12px; background: rgba(20,20,18,.55); backdrop-filter: blur(10px);
}
.slider-ui__thumbs { display: flex; gap: 8px; }
.thumb { position: relative; width: 64px; height: 48px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #3a3f34; opacity: .55; transition: opacity .3s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb img.is-contain { object-fit: contain; padding: 4px; }
.thumb.is-active, .thumb:hover { opacity: 1; }
.thumb__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.thumb.is-active .thumb__bar { animation: thumbBar var(--slide-time, 6s) linear forwards; }
.is-paused .thumb.is-active .thumb__bar { animation-play-state: paused; }
@keyframes thumbBar { to { transform: scaleX(1); } }
.slider-ui__pause { width: 48px; border: 0; border-radius: 6px; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; }
.slider-ui__pause:hover { background: rgba(255,255,255,.18); }
.i-pause { display: flex; gap: 4px; }
.i-pause i { width: 3px; height: 14px; background: #fff; border-radius: 2px; }
.i-play { display: none; }
.i-play .icon { width: 18px; height: 18px; }
.is-paused .i-pause { display: none; }
.is-paused .i-play { display: block; }

/* category cards with a notched arrow corner */
.cats { padding: 22px var(--gut) 0; }
.cats__row { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-card { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; background: var(--beige); color: #fff; display: block; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cat-card img.is-contain { object-fit: contain; padding: 22% 8% 12%; background: radial-gradient(circle at 50% 65%, #f6f2e8, #d6cebd); }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 45%); pointer-events: none; }
.cat-card:hover img { transform: scale(1.07); }
.cat-card__label { position: absolute; z-index: 2; top: 12px; left: 14px; font-family: var(--f-head); font-size: clamp(18px, 1.6vw, 24px); text-transform: uppercase; line-height: 1; }
.cat-card__go {
	position: absolute; z-index: 2; right: -1px; bottom: -1px; width: 42px; height: 42px;
	border-radius: 14px 0 0 0; background: var(--bg); color: var(--ink); display: grid; place-items: center;
}
/* inverted corners so the notch blends into the card */
.cat-card__go::before, .cat-card__go::after { content: ""; position: absolute; width: 14px; height: 14px; background: radial-gradient(circle at 0 0, transparent 13.5px, var(--bg) 14px); }
.cat-card__go::before { right: 0; top: -14px; }
.cat-card__go::after { left: -14px; bottom: 0; }
.cat-card__go .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.cat-card:hover .cat-card__go { color: var(--rust); }
.cat-card:hover .cat-card__go .icon { transform: translateX(3px); }

/* photo cluster + big links */
.cluster {
	max-width: 1600px; margin: 0 auto; background: var(--beige); border-radius: var(--r-lg);
	padding: clamp(40px, 6vw, 90px) clamp(24px, 6vw, 100px);
	display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: center;
}
.cluster__stack { position: relative; aspect-ratio: 1 / 1.05; max-width: 440px; width: 100%; justify-self: center; }
.cluster__card {
	position: absolute; inset: 0; margin: 0; border-radius: 16px; overflow: hidden; background: var(--card);
	box-shadow: 0 20px 40px -18px rgba(0,0,0,.35); transition: transform .8s var(--ease);
}
.cluster__card img { width: 100%; height: 100%; object-fit: cover; }
.cluster__card:nth-child(1) { transform: rotate(-5deg) translate(-5%, 2%); }
.cluster__card:nth-child(2) { transform: rotate(4deg) translate(6%, -3%); }
.cluster__card:nth-child(3) { transform: rotate(-1.5deg) translate(1%, -6%); }
.cluster__card.is-active { z-index: 3; transform: rotate(0) translate(0, 0) scale(1.02); }
.cluster__links { list-style: none; margin: 0; padding: 0; }
.cluster__links li { border-bottom: 1px solid var(--line); }
.cluster__links li:last-child { border-bottom: 0; }
.cluster__link { display: block; padding: 18px 0; color: rgba(28,27,24,.3); transition: color .4s; }
.cluster__link small { display: block; font-family: var(--f-head); text-transform: uppercase; font-size: 14px; margin-bottom: 4px; transition: color .4s; }
.cluster__link span { display: flex; align-items: center; gap: 14px; font-family: var(--f-head); text-transform: uppercase; font-size: clamp(38px, 4.6vw, 64px); line-height: 1; }
.cluster__link .icon { width: .5em; height: .5em; opacity: 0; transform: translateX(-12px); transition: all .4s var(--ease); }
.cluster__link.is-active { color: var(--ink); }
.cluster__link.is-active small { color: var(--rust); }
.cluster__link.is-active .icon { opacity: 1; transform: none; }

/* Liberty Forge box (home) */
.lf-box {
	position: relative; max-width: 1600px; margin: 0 auto; background: var(--ink); color: #fff; border-radius: var(--r-lg);
	padding: clamp(36px, 5vw, 80px); overflow: hidden;
}
.lf-box::before { content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none; background: url("../img/rig-topo.webp") center / cover; }
.lf-box > * { position: relative; }
.lf-box h2, .lf-box h3 { color: #fff; }
.lf-box__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.lf-box__head h2 { max-width: 14ch; margin: 0; }
.lf-box__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.lf-box__badges span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line-light); border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.lf-box__badges .icon { color: var(--gold); }

.model-tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-light); }
.model-tabs button { background: none; border: 0; text-align: left; padding: 14px 0 18px; display: grid; gap: 2px; color: rgba(255,255,255,.45); transition: color .3s; }
.model-tabs button[aria-selected="true"], .model-tabs button:hover { color: #fff; }
.model-tabs__name { font-family: var(--f-head); font-size: clamp(24px, 2.4vw, 34px); text-transform: uppercase; }
.model-tabs__dim { font-size: 13px; color: var(--gold); }
.model-tabs__ink, .detail-tabs__ink { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--gold); transition: transform .55s var(--ease), width .55s var(--ease); }

.model-panel { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; align-items: center; padding-top: 40px; }
.model-panel[hidden] { display: none; }
.model-panel__stage { position: relative; padding-bottom: 30px; }
.model-panel__stage::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 30px; height: 26px; background: radial-gradient(ellipse, rgba(0,0,0,.7), transparent 70%); filter: blur(6px); }
.model-panel__img { position: relative; width: 100%; animation: driveIn 1s var(--ease) both; }
@keyframes driveIn { from { opacity: 0; transform: translateX(-10%); } to { opacity: 1; transform: none; } }
.model-panel__info { animation: fadeUp .8s var(--ease) .12s both; }
.model-panel__info p { color: rgba(255,255,255,.7); }
.dim--l { position: absolute; left: 18%; right: 4%; bottom: 0; display: flex; align-items: center; gap: 10px; color: var(--gold); font-family: var(--f-head); font-size: 20px; }
.dim--l::before, .dim--l::after { content: ""; flex: 1; height: 1px; background: rgba(200,145,63,.45); }
.mini-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 28px; padding: 18px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.mini-specs dt { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.mini-specs dd { margin: 4px 0 0; font-family: var(--f-head); font-size: 22px; }

/* trips rail */
.block.trips-rail { padding: 0; }
.rail-controls { display: flex; gap: 8px; align-items: center; }
.rail { overflow-x: auto; scrollbar-width: none; cursor: grab; scroll-snap-type: x mandatory; padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); scroll-padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
.rail__track { display: flex; gap: 16px; width: max-content; }
.rail .card { width: clamp(260px, 26vw, 360px); scroll-snap-align: start; }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 18px; }
.card__link { display: block; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--beige); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card__link:hover .card__media img { transform: scale(1.06); }
.card__tag { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.card__body { padding-top: 14px; }
.card__meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.card__meta .icon { color: var(--rust); }
.card__title { font-size: clamp(24px, 2.1vw, 30px); margin-bottom: 8px; transition: color .3s; }
.card__link:hover .card__title { color: var(--rust); }
.card__more { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.card__more .icon { transition: transform .35s var(--ease); }
.card__link:hover .card__more .icon { transform: translateX(4px); }

/* regions: names either side, photo in the middle */
.regions { text-align: center; }
.regions__eyebrow { justify-content: center; margin-bottom: 18px; }
.regions__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 2vw, 28px); align-items: center; max-width: 1000px; margin: 0 auto; }
.regions__list { list-style: none; margin: 0; padding: 0; text-align: left; }
.regions__list--left { text-align: right; }
.regions__list a { font-family: var(--f-head); font-size: clamp(32px, 4vw, 56px); text-transform: uppercase; line-height: 1.02; transition: color .3s, opacity .3s; }
.regions__grid:hover .regions__list a { opacity: .35; }
.regions__grid:hover .regions__list a:hover { opacity: 1; color: var(--rust); }
.regions__img { margin: 0; width: clamp(180px, 20vw, 260px); aspect-ratio: 1; border-radius: var(--r); overflow: hidden; }
.regions__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, transform .6s var(--ease); }
.regions__img img.is-swapping { opacity: 0; transform: scale(1.06); }

/* about banner */
.about-banner { position: relative; max-width: 1600px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; min-height: clamp(420px, 50vw, 600px); display: flex; align-items: flex-end; color: #fff; }
.about-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; transform: scale(1.1); transition: transform 1.6s var(--ease); }
.about-banner.is-in .about-banner__img { transform: scale(1); }
.about-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,15,13,.88) 0%, rgba(15,15,13,.45) 50%, rgba(15,15,13,.15) 100%); }
.about-banner__content { position: relative; z-index: 2; width: 100%; padding: clamp(28px, 4vw, 56px); }
.about-banner__content .eyebrow { padding-bottom: 16px; border-bottom: 1px solid var(--line-light); margin-bottom: 26px; }
.about-banner__row { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 40px; align-items: end; }
.about-banner h2 { color: #fff; margin: 0; max-width: 12ch; }
.about-banner p { margin: 0; color: rgba(255,255,255,.82); max-width: 400px; }

/* 6. Liberty Forge pages --------------------------------------------------- */
.lf-hero {
	position: relative; margin: 6px var(--gut) 0; border-radius: var(--r-lg); overflow: hidden;
	min-height: clamp(560px, 80vh, 820px); background: var(--ink); color: #fff;
	display: grid; grid-template-rows: 1fr auto;
}
.lf-hero__bg { position: absolute; inset: -10% 0 0; }
.lf-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; filter: blur(18px) brightness(.5) saturate(1.2); transform: scale(1.15); }
.lf-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,18,.9) 0%, rgba(20,20,18,.55) 50%, rgba(20,20,18,.2) 100%); }
.lf-hero__word { position: absolute; right: 2%; top: 8%; display: grid; text-align: right; pointer-events: none; font-family: var(--f-head); font-size: clamp(90px, 14vw, 230px); line-height: .82; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.12); }
.lf-hero__word .is-rust { -webkit-text-stroke-color: rgba(192,67,42,.45); }
.lf-hero__content { position: relative; z-index: 2; align-self: center; padding-top: 60px; padding-bottom: 40px; }
.hero__kicker { color: var(--gold-2); }
.hero__title { font-size: clamp(48px, 6.5vw, 104px); line-height: .9; color: #fff; max-width: 12ch; margin-bottom: 22px; }
.hero__text { max-width: 500px; color: rgba(255,255,255,.75); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lf-hero__trailer { position: absolute; z-index: 1; right: 3%; bottom: 100px; width: min(52vw, 900px); filter: drop-shadow(0 30px 30px rgba(0,0,0,.5)); opacity: 0; transform: translateX(25%); transition: transform 1.5s var(--ease) .3s, opacity 1s .3s; }
.loaded .lf-hero__trailer { opacity: 1; transform: none; }
.lf-hero__facts { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); background: rgba(20,20,18,.5); backdrop-filter: blur(8px); }
.lf-hero__facts li { padding: 18px clamp(20px, 3vw, 40px); border-right: 1px solid var(--line-light); display: flex; align-items: baseline; gap: 10px; }
.lf-hero__facts li:last-child { border-right: 0; }
.lf-hero__facts strong { font-family: var(--f-head); font-weight: 400; font-size: clamp(28px, 3vw, 42px); color: var(--gold); line-height: 1; }
.lf-hero__facts span { text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: rgba(255,255,255,.65); }

.subnav { position: sticky; top: var(--bar-h); z-index: 80; padding: 10px var(--gut); background: rgba(244,241,234,.92); backdrop-filter: blur(10px); transition: top .45s var(--ease); }
body:has(.site-header.is-hidden) .subnav { top: 0; }
.subnav__inner { display: flex; align-items: center; gap: 24px; padding: 6px 6px 6px 22px; background: var(--card); border-radius: 99px; max-width: var(--wrap); }
.subnav__title { font-family: var(--f-head); font-size: 20px; text-transform: uppercase; }
.subnav ul { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul a { display: block; padding: 8px 14px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; transition: all .3s; }
.subnav ul a:hover { background: var(--bg); }
.subnav ul a.is-active { background: var(--ink); color: #fff; }

.model-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model-card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-lg); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.model-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(0,0,0,.3); }
.model-card.is-featured { box-shadow: inset 0 0 0 2px var(--gold); }
.model-card__badge { position: absolute; top: 18px; right: 18px; z-index: 2; background: var(--rust); color: #fff; padding: 5px 12px; border-radius: 99px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.model-card__img { display: block; margin: 8px 8px 0; border-radius: 14px; background: radial-gradient(circle at 50% 62%, #f7f3ea, #ddd5c4); padding: 26px 18px 10px; overflow: hidden; }
.model-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; transition: transform .8s var(--ease); }
.model-card:hover .model-card__img img { transform: scale(1.05) translateX(-2%); }
.model-card__body { padding: 22px 24px 6px; flex: 1; }
.model-card__dims { color: var(--rust); font-family: var(--f-head); font-size: 16px; margin-bottom: 4px; }
.model-card h3 { font-size: 36px; margin-bottom: 8px; }
.model-card h3 a:hover { color: var(--rust); }
.model-card__body > p { color: var(--muted); font-size: 14px; }
.model-card__foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px 22px; border-top: 1px solid var(--line); margin-top: 14px; }
.model-card__price { font-family: var(--f-head); font-size: 20px; text-transform: uppercase; }

.compare { margin-top: 40px; overflow-x: auto; background: var(--card); border-radius: var(--r-lg); }
.compare table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare th, .compare td { padding: 15px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare thead th { font-family: var(--f-head); font-weight: 400; font-size: 24px; text-transform: uppercase; }
.compare tbody th { font-weight: 500; color: var(--muted); width: 26%; }
.compare tr:last-child > * { border-bottom: 0; }
.compare td .icon { display: inline-block; vertical-align: -3px; color: var(--gold); }

.lf-specs, .lf-inquiry { margin: 0 var(--gut); border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.lf-specs h2, .lf-inquiry h2 { color: #fff; }
.spec-block { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 6vw, 90px); }
.spec-block__aside { border-right: 1px solid var(--line-light); padding-right: 40px; }
.big-num { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; }
.big-num strong { font-family: var(--f-head); font-weight: 400; font-size: clamp(90px, 11vw, 160px); line-height: .8; color: var(--gold); }
.big-num span { font-family: var(--f-head); font-size: 30px; text-transform: uppercase; }
.spec-block__usa { width: 110px; margin-top: 26px; }
.model-detail .spec-block__aside { border-color: var(--line); }

.pill-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(255,255,255,.07); margin-bottom: 28px; }
.model-detail .pill-tabs { background: var(--card); }
.pill-tabs button { padding: 10px 20px; border: 0; border-radius: 99px; background: none; opacity: .6; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: all .3s var(--ease); }
.pill-tabs button:hover { opacity: 1; }
.pill-tabs button[aria-selected="true"] { background: var(--gold); color: #fff; opacity: 1; }
.spec-panel { animation: fadeUp .5s var(--ease) both; }
.spec-table { margin: 0; }
.spec-table > div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.model-detail .spec-table > div { border-color: var(--line); }
.spec-table dt { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--muted); font-weight: 600; }
.spec-table dd { margin: 0; }
.spec-panel .check-list { grid-template-columns: 1fr 1fr; }

.lf-story { background: var(--beige); margin: 0 var(--gut); border-radius: var(--r-lg); }

.addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.addon { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 22px; background: var(--card); border-radius: var(--r-lg); transition: transform .45s var(--ease), box-shadow .45s; }
.addon:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(0,0,0,.3); }
.addon.is-filtered { display: none; }
.addon__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--beige); color: var(--rust); display: grid; place-items: center; }
.addon__icon .icon { width: 24px; height: 24px; }
.addon__img { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; }
.addon__img img { width: 100%; height: 100%; object-fit: cover; }
.addon small { color: var(--rust); font-family: var(--f-head); text-transform: uppercase; font-size: 13px; }
.addon h3 { font-size: 24px; margin: 2px 0 6px; }
.addon p { font-size: 14px; color: var(--muted); margin: 0; }
.addon__price { position: absolute; top: 18px; right: 20px; font-family: var(--f-head); font-size: 20px; }

.lf-gallery { background: var(--beige); margin: 0 var(--gut); border-radius: var(--r-lg); }
.masonry { columns: 3 260px; column-gap: 12px; }
.masonry__item { display: block; margin-bottom: 12px; break-inside: avoid; overflow: hidden; border-radius: var(--r); position: relative; background: var(--ink); }
.masonry__item img { width: 100%; transition: transform .9s var(--ease); }
.masonry__item::after { content: "+"; position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 22px; opacity: 0; transform: scale(.6); transition: all .35s var(--ease); }
.masonry__item:hover img { transform: scale(1.05); }
.masonry__item:hover::after { opacity: 1; transform: none; }

.faq { display: grid; gap: 8px; }
.faq__item { background: var(--card); border-radius: var(--r); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--f-head); font-size: 22px; text-transform: uppercase; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; flex: none; transition: transform .4s var(--ease), background .3s, color .3s; }
.faq__item[open] summary i { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq__a { padding: 0 24px 6px; color: #55524b; }

.lf-inquiry__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(36px, 6vw, 90px); }
.lf-inquiry__intro p { color: rgba(255,255,255,.72); }
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: center; }
.steps b { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: var(--f-head); font-weight: 400; font-size: 20px; flex: none; }

.lf-form { background: var(--bg); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 40px); }
.lf-form fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.lf-form legend { font-family: var(--f-head); font-size: 20px; text-transform: uppercase; margin-bottom: 10px; }
.lf-form__models { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.lf-form__models legend { grid-column: 1 / -1; }
.model-pick input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.model-pick span { display: grid; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--card); cursor: pointer; transition: all .3s; }
.model-pick strong { font-family: var(--f-head); font-weight: 400; font-size: 22px; text-transform: uppercase; }
.model-pick small { color: var(--muted); }
.model-pick input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.model-pick input:focus-visible + span, .chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.lf-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; margin-bottom: 22px; }
.lf-form__grid .field--full { margin-bottom: 0; }
.field span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: #55524b; }
.field input, .field select, .field textarea, .search-form input {
	width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card);
	font: inherit; color: var(--ink); transition: border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus, .search-form input:focus { outline: 0; border-color: var(--ink); }
.field.is-invalid input { border-color: var(--rust); }
.lf-form__addons { display: flex; flex-wrap: wrap; gap: 6px; }
.lf-form__addons legend { width: 100%; }
.chip span { display: inline-block; padding: 7px 13px; border: 1.5px solid var(--line); border-radius: 99px; background: var(--card); font-size: 13px; cursor: pointer; transition: all .3s; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.lf-form .btn { width: 100%; }
.lf-form .btn.is-loading { pointer-events: none; opacity: .7; }
.lf-form__msg { margin: 12px 0 0; font-weight: 600; }
.lf-form__msg.is-ok, .lf-form__notice.is-ok { color: #4d6b2f; }
.lf-form__msg.is-err, .lf-form__notice.is-err { color: var(--rust); }
.lf-form__notice { padding: 12px 16px; border-radius: 10px; background: var(--card); }
.lf-form.is-done > *:not(.lf-form__msg) { display: none; }
.lf-form.is-done .lf-form__msg { font-family: var(--f-head); font-weight: 400; font-size: 30px; text-transform: uppercase; line-height: 1.05; padding: 40px 0; text-align: center; }
.hp { position: absolute; left: -9999px; }

/* single model */
.model-hero { position: relative; margin: 6px var(--gut) 0; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(circle at 70% 58%, #3a3a34, var(--ink) 65%); color: #fff; padding: clamp(60px, 7vw, 100px) 0; }
.model-hero__word { position: absolute; bottom: -1vw; left: 0; right: 0; text-align: center; white-space: nowrap; pointer-events: none; font-family: var(--f-head); text-transform: uppercase; font-size: clamp(110px, 19vw, 320px); line-height: .8; color: rgba(255,255,255,.04); }
.model-hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.model-hero .hero__title { font-size: clamp(50px, 6vw, 96px); }
.crumb { display: inline-block; margin-bottom: 24px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.crumb:hover { color: #fff; }
.model-hero__facts { display: flex; flex-wrap: wrap; gap: 28px; margin: 0 0 30px; }
.model-hero__facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.model-hero__facts dd { margin: 2px 0 0; font-family: var(--f-head); font-size: 26px; color: var(--gold); }
.model-hero__price { font-family: var(--f-head); font-size: 22px; text-transform: uppercase; }
.model-hero__stage { position: relative; }
.model-hero__img { position: relative; z-index: 1; width: 100%; opacity: 0; transform: translateX(22%); transition: transform 1.4s var(--ease) .2s, opacity .9s .2s; }
.loaded .model-hero__img { opacity: 1; transform: none; }
.model-hero__shadow { position: absolute; left: 12%; right: 6%; bottom: 4%; height: 36px; background: radial-gradient(ellipse, rgba(0,0,0,.85), transparent 70%); filter: blur(10px); }

.detail-tabs { position: relative; display: flex; gap: clamp(16px, 4vw, 48px); border-bottom: 1px solid var(--line); margin-bottom: 44px; overflow-x: auto; scrollbar-width: none; }
.detail-tabs button { background: none; border: 0; padding: 0 0 16px; color: var(--muted); white-space: nowrap; font-family: var(--f-head); font-size: clamp(24px, 2.5vw, 34px); text-transform: uppercase; display: flex; gap: 8px; align-items: baseline; transition: color .3s; }
.detail-tabs button span { font-family: var(--f-body); font-size: 12px; color: var(--rust); }
.detail-tabs button[aria-selected="true"], .detail-tabs button:hover { color: var(--ink); }
.detail-tabs__ink { background: var(--ink); }
.detail-panel { animation: fadeUp .5s var(--ease) both; }
.overview-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.feature-box { background: var(--ink); color: #fff; padding: 32px; border-radius: var(--r-lg); position: sticky; top: 150px; }
.feature-box h3 { color: #fff; font-size: 32px; }

.other-models { background: var(--beige); margin: 0 var(--gut); border-radius: var(--r-lg); }
.other-models__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.other-model { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 18px; align-items: center; padding: 16px 26px 16px 16px; background: var(--card); border-radius: var(--r-lg); transition: transform .45s var(--ease); }
.other-model:hover { transform: translateY(-4px); }
.other-model img { aspect-ratio: 16 / 10; object-fit: contain; }
.other-model small { color: var(--rust); }
.other-model strong { display: block; font-family: var(--f-head); font-weight: 400; font-size: 30px; text-transform: uppercase; line-height: 1; }
.other-model .icon { width: 24px; height: 24px; transition: transform .35s var(--ease); }
.other-model:hover .icon { transform: translateX(5px); }

/* 7. Inner pages ------------------------------------------------------------ */
.page-hero { position: relative; margin: 6px var(--gut) 0; border-radius: var(--r-lg); overflow: hidden; min-height: 48vh; display: flex; align-items: flex-end; color: #fff; background: var(--olive); }
.page-hero--lg { min-height: 66vh; }
.page-hero__bg { position: absolute; inset: -12% 0 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 2s var(--ease); }
.loaded .page-hero__bg img { transform: scale(1); }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,15,13,.85) 0%, rgba(15,15,13,.25) 60%, rgba(15,15,13,.35) 100%); }
.page-hero__content { position: relative; padding-top: 120px; padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero__title { color: #fff; font-size: clamp(48px, 7vw, 112px); line-height: .9; max-width: 16ch; margin-bottom: 16px; }
.page-hero .hero__text { margin: 0; }

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; }
.read-progress i { display: block; height: 100%; background: var(--rust); transform-origin: left; transform: scaleX(0); }

.trip-facts { margin: 10px var(--gut) 0; }
.trip-facts .container { padding: 0; max-width: none; }
.trip-facts dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: var(--card); border-radius: var(--r-lg); }
.trip-facts dl > div { padding: 22px 24px; border-right: 1px solid var(--line); }
.trip-facts dl > div:last-child { border-right: 0; }
.trip-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.trip-facts dd { margin: 4px 0 0; font-family: var(--f-head); font-size: 26px; text-transform: uppercase; }

.entry-content { font-size: 17px; }
.entry-content > * + h2 { margin-top: 1.5em; }
.entry-content h2 { font-size: clamp(34px, 3.6vw, 50px); }
.entry-content h3 { font-size: clamp(26px, 2.4vw, 34px); }
.entry-content a { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--r); }
.entry-content blockquote { margin: 2em 0; padding-left: 24px; border-left: 3px solid var(--rust); font-family: var(--f-head); font-size: 32px; text-transform: uppercase; line-height: 1.05; }
.entry-content .alignwide { margin-left: calc(-1 * min(12vw, 200px)); margin-right: calc(-1 * min(12vw, 200px)); }
.entry-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.entry-content .wp-block-gallery.is-masonry { display: block !important; columns: 3 220px; column-gap: 10px; }
.entry-content .wp-block-gallery.is-masonry figure { width: 100% !important; margin: 0 0 10px !important; break-inside: avoid; }
.entry-content .wp-block-gallery a, .entry-content .wp-block-image a { cursor: zoom-in; }
.callout { background: var(--beige); padding: 24px 28px !important; border-radius: var(--r-lg); margin: 2em 0; }
.callout > :last-child { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px dashed var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 16px; border: 1.5px solid var(--ink); border-radius: 4px; }

.trip-map { margin-top: 3em; }
.trip-map__frame { aspect-ratio: 16 / 10; background: var(--beige) url("../img/rig-topo.webp") center / cover; border-radius: var(--r-lg); display: grid; place-items: center; overflow: hidden; }
.trip-map__frame iframe { width: 100%; height: 100%; border: 0; }
.trip-gallery { margin-top: 64px; }

.share { display: flex; align-items: center; gap: 8px; padding: 24px 0; margin-top: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share > span { font-family: var(--f-head); font-size: 18px; text-transform: uppercase; margin-right: 8px; }
.share a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: all .3s; }
.share a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.share__copy { margin-left: auto; background: none; border: 0; text-decoration: underline; color: var(--muted); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.post-nav a { display: grid; gap: 2px; }
.post-nav small { text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-size: 11px; }
.post-nav span { font-family: var(--f-head); font-size: 24px; text-transform: uppercase; line-height: 1; }
.post-nav__next { text-align: right; grid-column: 2; }

.related { background: var(--beige); margin: 0 var(--gut); border-radius: var(--r-lg); }

.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.res-card__link { display: grid; gap: 10px; height: 100%; padding: 30px; background: var(--card); border-radius: var(--r-lg); transition: transform .45s var(--ease), box-shadow .45s; align-content: start; }
.res-card__link:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -26px rgba(0,0,0,.35); }
.res-card__type { color: var(--rust); font-family: var(--f-head); text-transform: uppercase; font-size: 15px; }
.res-card__title { font-size: 34px; margin: 0; }
.res-card p { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.res-card .link-arrow { justify-self: start; margin-top: auto; }

.nav-links { display: flex; justify-content: center; gap: 6px; margin-top: 56px; }
.page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 99px; font-weight: 600; padding: 0 10px; }
.page-numbers.current, .page-numbers:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-numbers .icon { width: 16px; height: 16px; }

.empty { text-align: center; padding: 30px 0; }
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 0 auto 26px; }
.search-form input { border-radius: 99px; }

/* 8. Social feed ------------------------------------------------------------ */
.social-feed { padding: 0; }
.social-feed h2 { text-transform: none; }
.social-feed .pill-btn .icon { width: 16px; height: 16px; }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ig-tile { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--beige); display: block; }
.ig-tile.is-skeleton { background: linear-gradient(100deg, #e7e3d8 30%, #f1eee6 50%, #e7e3d8 70%) 0 0 / 300% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ig-tile__over { position: absolute; inset: 0; background: rgba(28,27,24,.7); display: grid; place-content: center; justify-items: center; gap: 8px; padding: 18px; text-align: center; font-size: 13px; color: #fff; opacity: 0; transition: opacity .35s; }
.ig-tile__over .icon { width: 28px; height: 28px; }
.ig-tile:hover img { transform: scale(1.06); }
.ig-tile:hover .ig-tile__over { opacity: 1; }
.ig-grid.is-loaded .ig-tile, .yt-grid.is-loaded .yt-card { animation: fadeUp .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }

.yt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.yt-lite { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; overflow: hidden; border-radius: var(--r); }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.yt-lite:hover img { transform: scale(1.05); }
.yt-lite__play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .35s var(--ease); }
.yt-lite:hover .yt-lite__play { transform: scale(1.1); }
.yt-lite__play .icon { width: 26px; height: 26px; }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-card__title { font-size: 24px; margin: 14px 0 2px; }
.yt-card time { color: var(--muted); font-size: 13px; }

/* 9. Footer & lightbox ------------------------------------------------------ */
.site-footer { position: relative; margin-top: clamp(56px, 7vw, 100px); background: #1d1c19; color: rgba(255,255,255,.78); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; opacity: .05; background: url("../img/rig-topo.webp") center / cover; pointer-events: none; }
.site-footer > * { position: relative; }
.footer-grid { display: grid; grid-template-columns: 110px 1.6fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 56px; }
.footer-grid__badge img { width: 90px; }
.footer-title { color: #fff; font-size: 18px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line-light); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.footer-links a:hover { color: var(--gold-2); }
.news-form { display: flex; background: #fff; border-radius: 8px; overflow: hidden; max-width: 380px; }
.news-form input { flex: 1; border: 0; padding: 13px 16px; font: inherit; color: var(--ink); min-width: 0; }
.news-form input:focus { outline: 0; }
.news-form button { border: 0; background: none; color: var(--ink); padding: 0 16px; }
.news-form .icon { width: 18px; height: 18px; }
.footer-bottom { display: grid; grid-template-columns: 110px 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 28px; font-size: 13px; }
.footer-bottom::before { content: ""; }
.footer-social { list-style: none; margin: 0; padding: 18px 0 0; display: flex; gap: 22px; border-top: 1px solid var(--line-light); }
.footer-social a:hover { color: var(--gold-2); }
.footer-bottom > span { padding-top: 18px; border-top: 1px solid var(--line-light); }

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(20,19,16,.95); display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; display: grid; gap: 10px; justify-items: center; }
.lightbox__stage img { max-width: 90vw; max-height: 80vh; width: auto; object-fit: contain; border-radius: var(--r); animation: zoomIn .4s var(--ease); }
.lightbox figcaption { color: rgba(255,255,255,.7); font-size: 14px; }
@keyframes zoomIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); background: none; color: #fff; display: grid; place-items: center; transition: background .3s; }
.lightbox button:hover { background: rgba(255,255,255,.12); }
.lightbox button .icon { width: 24px; height: 24px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; margin-top: -26px; }
.lightbox__nav--next { right: 20px; top: 50%; margin-top: -26px; }

.comments-wrap textarea, .comments-wrap input[type="text"], .comments-wrap input[type="email"] { width: 100%; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: var(--card); }

/* 10. Motion ---------------------------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi) * 50ms); }
[data-split].is-in .w > span { transform: none; }

[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	html { scroll-behavior: auto; }
	.js .reveal, [data-split] .w > span { opacity: 1; transform: none; }
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1180px) {
	.quick-nav, .social--header { display: none; }
	.cats__row { grid-template-columns: repeat(3, 1fr); }
	.card-grid, .addon-grid, .res-grid { grid-template-columns: repeat(2, 1fr); }
	.slide { grid-template-columns: 44% 1fr; }
	.lf-hero__trailer { opacity: .45 !important; }
}

@media (max-width: 900px) {
	:root { --bar-h: 64px; }
	.menu-btn__label { display: none; }
	.announce { font-size: 11px; gap: 8px; }
	.announce__tag { display: none; }
	.brand__img { height: 76px; }
	.is-scrolled .brand__img { height: 50px; }
	.header-link span { display: none; }
	.site-header__inner { padding: 0 var(--gut); }

	.hero { height: auto; }
	.slide { position: relative; grid-template-columns: 1fr; grid-template-rows: 280px auto; display: none; }
	.slide.is-active { display: grid; }
	.slide.is-leaving { display: none; }
	.slide__media { grid-row: 1; }
	.slide__panel { grid-row: 2; padding: 30px 24px 100px; }
	.slider-ui { left: 12px; right: 12px; bottom: 12px; justify-content: space-between; }

	.cluster, .model-panel, .spec-block, .lf-inquiry__grid, .model-hero__grid, .overview-grid { grid-template-columns: 1fr; }
	.cluster__stack { max-width: 300px; }
	.about-banner__row { grid-template-columns: 1fr; gap: 18px; align-items: start; }
	.about-banner__row .pill-btn { justify-self: start; }
	.model-cards { grid-template-columns: 1fr; }
	.model-tabs { grid-template-columns: repeat(3, minmax(130px, 1fr)); overflow-x: auto; }
	.spec-block__aside { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line-light); padding-bottom: 26px; }
	.model-detail .spec-block__aside { border-color: var(--line); }
	.feature-box { position: static; }
	.lf-hero__trailer { position: relative; right: auto; bottom: auto; width: 100%; opacity: 1 !important; margin: 0 0 16px; }
	.lf-hero__word { display: none; }
	.lf-hero__facts { grid-template-columns: repeat(2, 1fr); }
	.lf-hero__facts li:nth-child(2) { border-right: 0; }
	.lf-hero__facts li:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
	.subnav__title { display: none; }
	.other-models__grid { grid-template-columns: 1fr; }
	.footer-grid, .footer-bottom { grid-template-columns: 1fr 1fr; }
	.footer-grid__badge, .footer-bottom::before { display: none; }
	.footer-grid__news { grid-column: 1 / -1; }
	.regions__grid { grid-template-columns: 1fr; }
	.regions__list, .regions__list--left { text-align: center; }
	.regions__img { justify-self: center; order: -1; }
}

@media (max-width: 640px) {
	.cats__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); }
	.cats__row::-webkit-scrollbar { display: none; }
	.cat-card { flex: 0 0 42%; scroll-snap-align: start; }
	.card-grid, .addon-grid, .res-grid, .yt-grid { grid-template-columns: 1fr; }
	.ig-grid { grid-template-columns: repeat(2, 1fr); }
	.thumb { width: 52px; height: 40px; }
	.lf-form__grid, .lf-form__models { grid-template-columns: 1fr; }
	.spec-table > div { grid-template-columns: 1fr; gap: 2px; }
	.spec-panel .check-list { grid-template-columns: 1fr; }
	.mini-specs { grid-template-columns: 1fr 1fr; }
	.other-model { grid-template-columns: 1fr auto; }
	.other-model img { grid-column: 1 / -1; }
	.subnav .btn { display: none; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__next { grid-column: 1; text-align: left; }
	.share__copy { display: none; }
	.hero__actions .btn { width: 100%; }
	.footer-grid, .footer-bottom { grid-template-columns: 1fr; gap: 26px; }
	.rail-controls .round-btn { display: none; }
}
