/* ==========================================================================
   ICE Studio — main stylesheet
   ========================================================================== */

:root {
	--paper: #ecebe6;
	--paper-2: #e3e2dc;
	--card: #f6f5f1;
	--ink: #151515;
	--ink-2: #5f5d58;
	--ink-3: #6b6862;
	--line: rgba(21, 21, 21, .14);
	--accent: #2b8fe6;
	--dark: #121212;
	--dark-2: #1b1b1a;
	--on-dark: #efeee9;
	--on-dark-2: #8f8d88;

	--serif: "Instrument Serif", "Times New Roman", Georgia, serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--g: clamp(16px, 3.5vw, 50px);
	--maxw: 1440px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-in-out: cubic-bezier(.76, 0, .24, 1);
	--header-h: 76px;
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 15px/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	overflow-x: clip;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { 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; }
h1, h2, h3, h4, p, figure, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; }
.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 8px; }

/* ---------------------------------------------------------------- type */
.mono {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 400;
}
.display {
	font-family: var(--serif);
	font-weight: 400;
	letter-spacing: -.02em;
	line-height: .98;
}
.display .l1, .display .l2 { display: block; }
.it { font-style: italic; color: var(--ink-2); }
.label { color: var(--ink-2); margin-bottom: 22px; }
.lede { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: #3c3b38; max-width: 56ch; }
.small { font-size: 10px; }
h2.display, .sec-head .display { font-size: clamp(42px, 5.4vw, 84px); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--g); }
.wrap-narrow { width: 100%; max-width: 760px; margin-inline: auto; padding-inline: var(--g); }
.rule { width: 34px; height: 1px; background: var(--ink-2); border: 0; margin: 26px 0 22px; opacity: .6; }

/* links & buttons */
.ulink {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 14px; padding-bottom: 4px;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	transition: background-size .5s var(--ease);
}
.ulink:hover { background-size: 0 1px; background-position: 100% 100%; }
.ulink .ico { width: 12px; height: 12px; transition: transform .4s var(--ease); }
.ulink:hover .ico { transform: translate(2px, -2px); }

.btn {
	display: inline-flex; align-items: center; gap: 12px;
	height: 46px; padding: 0 22px; border-radius: 99px;
	font-size: 14px; font-weight: 500; white-space: nowrap;
	border: 1px solid var(--ink); transition: background .3s, color .3s, transform .3s var(--ease);
}
.btn .ico { width: 13px; height: 13px; transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #000; }
.btn-light { background: transparent; color: var(--ink); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13px; }
.btn-roll { position: relative; display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.btn-roll > span { display: block; transition: transform .5s var(--ease); }
.btn-roll::after {
	content: attr(data-text);
	position: absolute; left: 0; top: 100%;
	transition: transform .5s var(--ease);
}
a:hover > .btn-roll > span, button:hover > .btn-roll > span, a:hover > .btn-roll::after, button:hover > .btn-roll::after { transform: translateY(-100%); }
.row-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 30px; }
.row-btns.center { justify-content: center; }
.circle {
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--line); display: grid; place-items: center;
	transition: background .3s, color .3s, border-color .3s;
}
.circle:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.circle .ico { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- loader */
.loader {
	position: fixed; inset: 0; z-index: 200;
	background: var(--dark); color: var(--on-dark);
	display: grid; place-items: center; align-content: center; gap: 18px;
	animation: loaderOut .8s var(--ease-in-out) 1.25s forwards;
}
.loader-logo { width: min(64vw, 420px); }
.loader-logo img {
	width: 100%; height: auto;
	clip-path: inset(0 100% 0 0);
	transform: translateX(-14px);
	animation: logoIn .85s var(--ease-in-out) .05s forwards;
}
@keyframes logoIn { to { clip-path: inset(0 0 0 0); transform: none; } }
.loader-line { display: flex; gap: 22px; color: var(--on-dark-2); opacity: 0; animation: fade .5s ease .5s forwards; margin-top: 10px; }
html.no-loader .loader, html:not(.js) .loader { display: none; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes loaderOut { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------------------------------------------------------------- header */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	padding-inline: var(--g);
	transition: color .4s, background .4s, transform .5s var(--ease);
}
.site-header.is-scrolled { background: rgba(236, 235, 230, .72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { position: relative; justify-self: start; display: block; width: 82px; }
.brand img { width: 100%; height: auto; transition: opacity .35s; }
.brand .logo-light { position: absolute; inset: 0; opacity: 0; }
.nav-main .menu { display: flex; gap: 40px; }
.nav-main a { font-size: 14px; color: #4a4946; position: relative; padding: 6px 0; transition: color .3s; }
.nav-main a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-main a:hover { color: var(--ink); }
.nav-main a:hover::after, .nav-main .current-menu-item a::after { transform: scaleX(1); transform-origin: left; }
.header-end { justify-self: end; display: flex; align-items: center; gap: 14px; }
.quote-pill { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; }
.quote-pill .ring { width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s; }
.quote-pill .ring .ico { width: 11px; height: 11px; }
.quote-pill:hover .ring { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.menu-toggle { display: none; align-items: center; gap: 10px; height: 36px; position: relative; padding-right: 26px; }
.menu-toggle i { position: absolute; right: 0; width: 18px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.menu-toggle i:nth-of-type(1) { top: 14px; }
.menu-toggle i:nth-of-type(2) { top: 21px; }
.menu-open .menu-toggle i:nth-of-type(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle i:nth-of-type(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* header over dark sections */
.site-header.on-dark { color: var(--on-dark); }
.site-header.on-dark .nav-main a { color: rgba(239, 238, 233, .75); }
.site-header.on-dark .nav-main a:hover { color: #fff; }
.site-header.on-dark .logo-light { opacity: 1; }
.site-header.on-dark .logo-dark { opacity: 0; }
.site-header.on-dark.is-scrolled { background: rgba(18, 18, 18, .35); }
.site-header.on-dark .quote-pill:hover .ring { background: var(--on-dark); color: var(--ink); }

/* overlay menu (mobile) */
.menu-overlay {
	position: fixed; inset: 0; z-index: 90; background: var(--paper);
	display: flex; flex-direction: column; justify-content: space-between;
	padding: calc(var(--header-h) + 30px) var(--g) 30px;
	clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-in-out);
}
.menu-overlay[hidden] { display: flex; visibility: hidden; }
.menu-open .menu-overlay { clip-path: inset(0); visibility: visible; }
.nav-overlay .menu li { overflow: hidden; padding: 6px 16px 14px; margin: -6px -16px -14px; }
.nav-overlay a {
	display: block; font: 400 clamp(48px, 13vw, 92px)/1.02 var(--serif); letter-spacing: -.02em;
	transform: translateY(105%); transition: transform .8s var(--ease);
}
.nav-overlay li:nth-child(even) a { font-style: italic; color: var(--ink-2); }
.menu-open .nav-overlay a { transform: none; }
.menu-open .nav-overlay li:nth-child(2) a { transition-delay: .05s; }
.menu-open .nav-overlay li:nth-child(3) a { transition-delay: .1s; }
.menu-open .nav-overlay li:nth-child(4) a { transition-delay: .15s; }
.menu-open .nav-overlay li:nth-child(5) a { transition-delay: .2s; }
.menu-foot { display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- hero rail */
.hero {
	position: relative; min-height: max(680px, 100svh);
	display: grid; grid-template-columns: 1fr minmax(320px, 400px); gap: 40px;
	padding: calc(var(--header-h) + 20px) var(--g) 110px calc(var(--g) + 50px);
	max-width: 1600px; margin-inline: auto;
	align-items: center;
	isolation: isolate;
	overflow-x: clip;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(900px 600px at 35% 45%, rgba(255, 255, 255, .5), transparent 70%); }
.hero-progress {
	position: absolute; left: var(--g); top: 50%; transform: translateY(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--ink-2); font-size: 10px;
}
.hero-progress i { display: block; width: 1px; height: 110px; background: var(--line); position: relative; }
.hero-progress b { position: absolute; left: -.5px; top: 0; width: 2px; height: 100%; background: var(--ink); transform-origin: top; transform: scaleY(.125); transition: transform .8s var(--ease); }

.rail-stage { position: relative; height: min(66vh, 640px); }
.rail-card {
	position: absolute; left: 0; top: 50%;
	width: min(56vh, 500px, 54%); aspect-ratio: 1;
	background: #fff; border-radius: 3px;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .25), 0 2px 6px rgba(0, 0, 0, .04);
	display: grid; place-items: center; overflow: hidden;
	transform-origin: 50% 0;
	transition: transform 1.1s var(--ease), opacity .8s var(--ease), filter .8s;
	will-change: transform;
}
.rail-card img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform 1.2s var(--ease); }
.rail-card[data-pos="0"] { z-index: 20; transform: translate(0, -50%) rotate(0); }
.rail-card[data-pos="0"]:hover img { transform: scale(1.04); }
.rail-card[data-pos="1"] { z-index: 19; transform: translate(46%, -60%) scale(.6) rotate(2deg); }
.rail-card[data-pos="2"] { z-index: 18; transform: translate(70%, -63%) scale(.52) rotate(3deg); }
.rail-card[data-pos="3"] { z-index: 17; transform: translate(88%, -65%) scale(.46) rotate(4deg); }
.rail-card[data-pos="4"] { z-index: 16; transform: translate(102%, -66.5%) scale(.41) rotate(5deg); }
.rail-card[data-pos="5"] { z-index: 15; transform: translate(113%, -67.5%) scale(.37) rotate(6deg); opacity: .85; }
.rail-card[data-pos="6"] { z-index: 14; transform: translate(122%, -68%) scale(.34) rotate(7deg); opacity: .6; }
.rail-card[data-pos="far"] { z-index: 1; transform: translate(128%, -68%) scale(.32) rotate(8deg); opacity: 0; }
.rail-card[data-pos="gone"] { z-index: 25; transform: translate(-70%, -40%) rotate(-12deg) scale(.9); opacity: 0; pointer-events: none; }
.rail-card[data-pos]:not([data-pos="0"]) img { filter: saturate(.9); }
.rail-card { cursor: pointer; }

/* cut-out products: no card, garments hang one behind the other like on a rail */
.rail-card.has-cut { background: none; box-shadow: none; border-radius: 0; overflow: visible; width: min(64vh, 580px, 60%); }
.rail-card.has-cut img { width: 100%; height: 100%; mix-blend-mode: normal; filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .13)) drop-shadow(0 2px 3px rgba(0, 0, 0, .06)); }
.rail-card.has-cut[data-pos="0"] { transform: translate(0, -50%); }
.rail-card.has-cut[data-pos="1"] { transform: translate(30%, -52%) scale(.8); }
.rail-card.has-cut[data-pos="2"] { transform: translate(46%, -53.5%) scale(.71); }
.rail-card.has-cut[data-pos="3"] { transform: translate(59%, -55%) scale(.64); }
.rail-card.has-cut[data-pos="4"] { transform: translate(69%, -56%) scale(.58); }
.rail-card.has-cut[data-pos="5"] { transform: translate(77%, -57%) scale(.53); opacity: .9; }
.rail-card.has-cut[data-pos="6"] { transform: translate(83%, -58%) scale(.49); opacity: .65; }
.rail-card.has-cut[data-pos="far"] { transform: translate(88%, -58%) scale(.46); opacity: 0; }
.rail-card.has-cut[data-pos="gone"] { transform: translate(-55%, -46%) rotate(-8deg) scale(.92); opacity: 0; }
.rail-card.has-cut[data-pos]:not([data-pos="0"]) img { filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .12)) saturate(.95); }

/* cut-outs everywhere else: no blending needed */
img.is-cut, .sport-img.has-cut { mix-blend-mode: normal !important; }
.sport-img.has-cut.is-active { filter: drop-shadow(0 30px 26px rgba(0, 0, 0, .14)); }
.pcard-img img.is-cut { width: 92%; height: 92%; transition: transform .9s var(--ease), filter .9s var(--ease); }
.pcard:hover .pcard-img img.is-cut { filter: drop-shadow(0 22px 18px rgba(0, 0, 0, .14)); }
.swing-img img.is-cut { width: 100%; height: 100%; filter: drop-shadow(0 12px 10px rgba(0, 0, 0, .1)); }
.pg-img.is-cut { filter: drop-shadow(0 34px 28px rgba(0, 0, 0, .13)); }

.rail-info { position: relative; z-index: 30; align-self: center; display: grid; }
.rail-panel { grid-area: 1 / 1; }
.rail-panel:not(.is-active) { visibility: hidden; pointer-events: none; }
.rail-panel .count { color: var(--ink-2); margin-bottom: 18px; font-size: 11px; }
.rail-title { font-size: clamp(46px, 5vw, 76px); }
.rail-desc { color: #3c3b38; max-width: 40ch; font-size: 15px; }
.specs { margin: 24px 0 30px; display: grid; gap: 9px; }
.specs > div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; font-size: 13.5px; align-items: baseline; }
.specs dt { color: var(--ink-2); font-size: 10px; }
.rail-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-foot { position: absolute; left: var(--g); bottom: 46px; display: flex; gap: 26px; color: var(--ink-2); }
.hero-foot b { color: var(--ink); font-weight: 500; }
.rail-nav { position: absolute; right: var(--g); bottom: 34px; display: flex; align-items: center; gap: 18px; }
.rail-nav .mono { min-width: 70px; text-align: center; }

/* ---------------------------------------------------------------- marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 48s linear infinite; will-change: transform; }
.marquee-track .it { font: italic 400 clamp(28px, 3vw, 44px)/1 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.marquee-track .star { font-size: 14px; color: var(--accent); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- statement */
.statement { padding-block: clamp(90px, 14vw, 190px) clamp(70px, 10vw, 140px); }
.statement-text {
	font: 400 clamp(30px, 3.9vw, 58px)/1.08 var(--serif); letter-spacing: -.015em;
	max-width: 1180px;
}
.statement-foot { display: grid; grid-template-columns: minmax(0, 520px) auto; justify-content: space-between; align-items: end; gap: 30px; margin-top: 60px; color: #3c3b38; }

/* ---------------------------------------------------------------- categories */
.cats { padding-bottom: clamp(90px, 12vw, 170px); }
.sec-head { display: flex; flex-direction: column; margin-bottom: clamp(40px, 6vw, 80px); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 32px); }
.cat { display: flex; flex-direction: column; gap: 14px; }
.cat-img { display: block; aspect-ratio: 303 / 400; overflow: hidden; background: var(--paper-2); border-radius: 2px; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease), filter .6s; filter: grayscale(.15); }
.cat:hover .cat-img img { transform: scale(1.08); filter: none; }
.cat-meta { display: flex; align-items: baseline; gap: 14px; margin-top: 6px; }
.cat-meta .mono { color: var(--ink-3); font-size: 10px; }
.cat-name { font: 400 clamp(28px, 2.6vw, 40px)/1 var(--serif); letter-spacing: -.015em; }
.cat-count { margin-left: auto; color: var(--ink-2); }
.cat-desc { color: #4a4946; font-size: 14px; max-width: 38ch; }
.cat-go { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; opacity: .8; transition: opacity .3s, gap .4s var(--ease); }
.cat-go .ico { width: 11px; height: 11px; }
.cat:hover .cat-go { opacity: 1; gap: 12px; }

/* ---------------------------------------------------------------- sport (sticky) */
.sport { position: relative; height: calc(var(--n) * 62vh + 100vh); }
.sport-pin {
	position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--paper);
	display: grid; grid-template-columns: 1fr minmax(300px, 520px) 1fr;
	padding: calc(var(--header-h) + 40px) var(--g) 50px;
	max-width: 1600px; margin-inline: auto;
}
.sport-intro { grid-column: 1; grid-row: 1; align-self: start; position: relative; z-index: 3; }
.sport-intro .display { font-size: clamp(42px, 4.6vw, 74px); }
.sport-lede { margin-top: 26px; max-width: 36ch; color: #3c3b38; font-size: 15px; }
.sport-stage { grid-column: 1 / -1; grid-row: 1; position: relative; }
.sport-img {
	position: absolute; left: 50%; top: 50%;
	width: min(68vh, 560px); aspect-ratio: 1; object-fit: contain;
	mix-blend-mode: multiply;
	transform: translate(-50%, -50%) translateX(55%) scale(.55); opacity: 0;
	transition: transform 1.1s var(--ease), opacity .9s var(--ease), filter .9s;
}
.sport-img.is-prev { transform: translate(-50%, -50%) translateX(-95%) translateY(-18%) scale(.5); opacity: .13; filter: blur(1px) grayscale(.4); }
.sport-img.is-active { transform: translate(-50%, -50%); opacity: 1; }
.sport-img.is-next { transform: translate(-50%, -50%) translateX(74%) translateY(-22%) scale(.42); opacity: .16; filter: grayscale(.3); }
.sport-list { grid-column: 3; grid-row: 1; align-self: center; justify-self: end; display: grid; gap: 4px; position: relative; z-index: 3; text-align: right; }
.sport-list button { display: inline-flex; gap: 12px; align-items: baseline; justify-content: flex-end; font-size: 14px; color: var(--ink-3); padding: 3px 0; transition: color .35s, transform .5s var(--ease); }
.sport-list .mono { font-size: 10px; }
.sport-list li.is-active button { color: var(--ink); transform: translateX(-8px); }
.sport-now { grid-column: 1; grid-row: 1; align-self: end; position: relative; z-index: 3; min-height: 170px; }
.sport-card { position: absolute; left: 0; bottom: 0; visibility: hidden; }
.sport-card.is-active { visibility: visible; }
.sport-card .count { color: var(--ink-2); margin-bottom: 12px; }
.sport-name { font-size: clamp(36px, 3.4vw, 52px); }
.sport-name .l1, .sport-name .l2 { display: block; }
.sport-actions { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.sport-actions .mono { color: var(--ink-2); }

/* ---------------------------------------------------------------- teams (dark) */
.duo {
	position: relative; background: var(--dark); color: var(--on-dark); overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 70px); align-items: center;
	padding: clamp(110px, 14vw, 200px) var(--g);
}
.duo-img { overflow: hidden; border-radius: 2px; transform: translateY(var(--drift, 0)); will-change: transform; }
.duo-img img { width: 100%; aspect-ratio: 430 / 542; object-fit: cover; }
.duo-a { margin-top: -8vh; }
.duo-b { margin-top: 14vh; }
.duo-copy { text-align: center; display: grid; justify-items: center; }
.duo-copy .label { color: var(--on-dark-2); }
.duo-copy .display { font-size: clamp(42px, 5.2vw, 88px); }
.duo-copy .it, .on-dark .it { color: rgba(239, 238, 233, .62); }
.duo-copy p:not(.label) { margin-top: 26px; color: rgba(239, 238, 233, .78); max-width: 42ch; }
.tag-pill {
	margin-top: 34px;
	display: inline-flex; align-items: center; gap: 14px;
	background: var(--paper); color: var(--ink); border-radius: 99px; padding: 10px 18px; font-size: 13px;
	transition: transform .4s var(--ease);
}
.tag-pill:hover { transform: translateY(-3px); }
.tag-pill .mono { color: var(--ink-2); font-size: 10px; }
.tag-pill u { text-underline-offset: 3px; }

/* ---------------------------------------------------------------- giant word */
.wordmark { text-align: center; padding-block: clamp(90px, 12vw, 170px); }
.wm-top, .wm-bottom { font-size: clamp(32px, 3.6vw, 56px); }
.giant {
	/* the real ICE logo letters, filled with a photo */
	width: min(86vw, 1080px);
	aspect-ratio: 615 / 260;
	margin: clamp(20px, 3vw, 40px) auto clamp(24px, 3vw, 44px);
	background-image: var(--img);
	background-size: cover;
	background-position: 50% var(--bgy, 50%);
	-webkit-mask: url(../img/logo-mark.svg) center / contain no-repeat;
	mask: url(../img/logo-mark.svg) center / contain no-repeat;
	user-select: none;
}

/* ---------------------------------------------------------------- factory */
.factory { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 110px); padding-bottom: clamp(90px, 12vw, 170px); }
.factory-head { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.factory-head .display { font-size: clamp(40px, 4.2vw, 66px); }
.factory-lede { margin-top: 26px; color: #3c3b38; max-width: 46ch; }
.factory-photo { margin-top: 40px; max-width: 440px; }
.factory-photo img { width: 100%; border-radius: 2px; }
.factory-photo figcaption { margin-top: 10px; color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(20px, 3vw, 50px); }
.stat { border-top: 1px solid var(--ink); padding: 18px 0 46px; display: grid; gap: 6px; }
.stat .mono { color: var(--ink-3); font-size: 10px; }
.stat strong { font-size: clamp(64px, 7vw, 116px); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-label { color: #3c3b38; font-size: 14px; max-width: 26ch; }

/* ---------------------------------------------------------------- horizontal gallery */
.hgal { position: relative; height: 320vh; }
.hgal-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.hgal-track { display: flex; align-items: center; gap: clamp(24px, 3vw, 46px); padding-inline: var(--g); will-change: transform; }
.hgal-intro { flex: 0 0 auto; width: min(460px, 80vw); padding-right: 40px; }
.hgal-intro .display { font-size: clamp(46px, 5.6vw, 92px); }
.hgal-item { flex: 0 0 auto; width: clamp(260px, 30vw, 440px); }
.hgal-item.is-low { margin-top: 14vh; }
.hgal-img { overflow: hidden; aspect-ratio: 4 / 3.3; border-radius: 2px; background: var(--paper-2); }
.hgal-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12) translateX(var(--px, 0)); transition: transform .2s linear; }
.hgal-item figcaption { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.hgal-item figcaption .mono { font-size: 10px; color: var(--ink-3); }
.hgal-item em { font: italic 400 22px/1.1 var(--serif); }
.hgal-item small { flex-basis: 100%; padding-left: 30px; color: var(--ink-2); font-size: 12.5px; }

/* ---------------------------------------------------------------- process */
.process { padding-block: clamp(90px, 12vw, 170px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 40px); }
.step { border-top: 1px solid var(--ink); padding-top: 18px; display: grid; gap: 14px; align-content: start; }
.step .mono { color: var(--ink-3); font-size: 10px; }
.step h3 { font-size: clamp(28px, 2.4vw, 38px); }
.step p { color: #4a4946; font-size: 14.5px; max-width: 30ch; }
.step-big { font: 400 clamp(22px, 1.9vw, 30px)/1.15 var(--serif) !important; color: var(--ink) !important; max-width: 20ch !important; }
.process-note { margin-top: 50px; color: var(--ink-2); max-width: 60ch; }

/* ---------------------------------------------------------------- strip (whole range) */
.strip { padding-block: clamp(60px, 9vw, 130px) clamp(20px, 3vw, 40px); border-top: 1px solid var(--line); }
.strip-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.strip-title { font-size: clamp(30px, 3.4vw, 52px); }
.strip-title .l1, .strip-title .l2 { display: inline; }
.strip-head > .mono { color: var(--ink-2); }
.strip-track {
	display: flex; gap: 6px; overflow-x: auto; padding: 30px var(--g) 30px;
	scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab;
	-webkit-overflow-scrolling: touch;
}
.strip-track::-webkit-scrollbar { display: none; }
.strip-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip-track.is-dragging a { pointer-events: none; }
.swing {
	flex: 0 0 auto; width: clamp(170px, 16vw, 230px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
	scroll-snap-align: start; transform-origin: 50% 0;
	position: relative;
}
.swing-hook { width: 1px; height: 26px; background: var(--ink-3); position: relative; }
.swing-hook::before { content: ""; position: absolute; top: -5px; left: -4px; width: 9px; height: 9px; border: 1px solid var(--ink-3); border-radius: 50%; background: var(--paper); }
.swing-img { width: 100%; aspect-ratio: 1; display: grid; place-items: center; background: var(--paper); }
.swing-img img { width: 92%; height: 92%; object-fit: contain; mix-blend-mode: multiply; }
.swing-name { font: 400 19px/1.1 var(--serif); margin-top: 6px; }
.swing .mono { color: var(--ink-3); font-size: 10px; }
.swing:hover, .swing.is-swinging { animation: swing 1.4s var(--ease) both; }
@keyframes swing {
	0% { transform: rotate(0); }
	18% { transform: rotate(5deg); }
	40% { transform: rotate(-3.2deg); }
	60% { transform: rotate(1.8deg); }
	80% { transform: rotate(-.8deg); }
	100% { transform: rotate(0); }
}
.swing-all { justify-content: center; gap: 16px; border: 1px solid var(--line); border-radius: 50%; aspect-ratio: 1; align-self: center; width: clamp(150px, 13vw, 190px); margin-inline: 30px; transition: background .4s, color .4s; }
.swing-all .display { font-size: 30px; }
.swing-all:hover { background: var(--ink); color: var(--paper); animation: none; }
.swing-all:hover .it { color: var(--ink-3); }

/* ---------------------------------------------------------------- CTA */
.cta { text-align: center; padding-block: clamp(100px, 13vw, 190px); }
.cta .display { font-size: clamp(44px, 6vw, 96px); }
.cta-sub { margin: 26px auto 0; color: #3c3b38; max-width: 52ch; }
.cta-form {
	margin: 40px auto 0; max-width: 480px;
	display: flex; align-items: center; gap: 8px;
	background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 6px 6px 6px 22px;
	transition: border-color .3s, box-shadow .3s;
}
.cta-form:focus-within { border-color: var(--ink); box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); }
.cta-form input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font-size: 15px; height: 44px; }
.cta-form .btn { height: 44px; }
.cta-alt { margin-top: 24px; color: var(--ink-2); }
.cta-alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 6px 2px; }
.cta-slim { padding-block: clamp(80px, 10vw, 140px); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--dark); color: var(--on-dark); padding: clamp(60px, 7vw, 100px) var(--g) 26px; overflow: hidden; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: var(--maxw); margin-inline: auto; }
.flabel { color: var(--on-dark-2); margin-bottom: 20px; font-size: 10px; }
.flist { display: grid; gap: 4px; }
.flist a, .faddr { font-size: 14px; color: rgba(239, 238, 233, .86); font-style: normal; }
.flist a { display: inline-flex; gap: 6px; align-items: center; min-height: 28px; transition: color .3s; }
.flist a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.flist .ico { width: 10px; height: 10px; }
.faddr { display: block; margin-bottom: 14px; line-height: 1.6; }
.giant-footer { margin: clamp(50px, 8vw, 110px) auto clamp(30px, 4vw, 50px); width: min(80vw, 980px); filter: saturate(.9) brightness(.95); }
.footer-bar {
	max-width: var(--maxw); margin-inline: auto; border-top: 1px solid rgba(239, 238, 233, .14);
	padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; color: var(--on-dark-2); font-size: 10px; flex-wrap: wrap;
}
.to-top { display: inline-flex; gap: 8px; align-items: center; color: var(--on-dark); padding: 8px 0; margin: -8px 0; }
.to-top .ico { width: 11px; height: 11px; }

.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 80;
	width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
	background: var(--ink); color: var(--paper);
	box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .16);
	transition: transform .4s var(--ease), background .3s;
}
.wa-float:hover { transform: scale(1.08); background: #1fa855; }
.js .is-home .wa-float { opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .4s, transform .5s var(--ease), background .3s; }
.js .is-home.show-wa .wa-float { opacity: 1; transform: none; pointer-events: auto; }

/* ---------------------------------------------------------------- inner pages */
.page-hero { padding-top: calc(var(--header-h) + clamp(60px, 9vw, 130px)); padding-bottom: clamp(40px, 6vw, 70px); }
.page-hero .display { font-size: clamp(50px, 7.4vw, 120px); }
.page-hero .lede { margin-top: 26px; }
.page-hero .label a { text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 5px 0; }
.prose { padding-bottom: clamp(80px, 10vw, 140px); font-size: 16.5px; line-height: 1.7; color: #2c2b29; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.05; margin-top: 1.6em; color: var(--ink); }
.prose h2 { font-size: clamp(32px, 3vw, 44px); }
.prose h3 { font-size: clamp(24px, 2.2vw, 32px); }
.prose a { 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; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.prose input:not([type=checkbox]):not([type=radio]), .prose select, .prose textarea { border: 1px solid var(--line); background: var(--card); border-radius: 6px; padding: 10px 12px; }
.prose button, .prose .button, .prose input[type=submit] { background: var(--ink); color: var(--paper); border-radius: 99px; padding: 10px 20px; border: 0; }
.empty { padding: 40px 0 100px; color: var(--ink-2); font-size: 17px; }
.post-list { padding-bottom: 120px; }
.post-row { border-top: 1px solid var(--line); padding: 26px 0; display: grid; grid-template-columns: 180px 1fr; gap: 6px 30px; }
.post-row .mono { color: var(--ink-2); padding-top: 8px; }
.post-row h2 { font-size: clamp(30px, 3vw, 44px); }
.post-row p { grid-column: 2; color: #4a4946; max-width: 64ch; }
.post-cover { margin-bottom: 60px; }
.post-cover img { width: 100%; }
.pager { margin-top: 50px; }
.pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 99px; padding: 0 12px; }
.pager .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nf { min-height: 80vh; }

/* about */
.about-hero { padding-top: calc(var(--header-h) + clamp(60px, 9vw, 130px)); padding-bottom: clamp(50px, 7vw, 90px); }
.about-hero .xl { font-size: clamp(56px, 9vw, 150px); }
.about-hero-row { display: grid; grid-template-columns: minmax(0, 640px) auto; justify-content: space-between; align-items: end; gap: 40px; margin-top: clamp(30px, 4vw, 50px); }
.about-facts { display: grid; gap: 8px; color: var(--ink-2); text-align: right; }
.about-facts b { color: var(--ink); font-weight: 500; }
.about-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: start; padding-bottom: clamp(40px, 6vw, 80px); }
.about-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--paper-2); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photos figcaption { margin-top: 12px; color: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 110px); padding-block: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.split .display { font-size: clamp(40px, 4.4vw, 70px); }
.prose-plain { display: grid; gap: 18px; align-content: start; font-size: 17px; color: #2c2b29; max-width: 58ch; }
.prose-plain .ulink { justify-self: start; margin-top: 10px; }
.split-photo { margin-top: 36px; max-width: 420px; }
.split-photo img { width: 100%; border-radius: 2px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 20px; margin-top: 24px; }
.mini-stats > div { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 4px; }
.mini-stats strong { font-size: clamp(38px, 3.4vw, 54px); line-height: 1; }
.mini-stats span { font-size: 13px; color: var(--ink-2); }
.who { padding-block: clamp(60px, 8vw, 120px); border-top: 1px solid var(--line); }
.who-list { display: flex; flex-wrap: wrap; gap: 0 .4em; font-size: clamp(40px, 6vw, 96px); line-height: 1.05; margin-bottom: 30px; }
.who-list li { font-size: inherit; }
.who-list li:nth-child(even) { font-style: italic; color: var(--ink-2); }
.who-list li:not(:last-child)::after { content: ","; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 110px); padding-top: calc(var(--header-h) + clamp(50px, 8vw, 110px)); padding-bottom: clamp(70px, 9vw, 120px); }
.contact-info .display { font-size: clamp(46px, 5.6vw, 88px); }
.contact-info .lede { margin-top: 24px; }
.contact-list { margin-top: 44px; display: grid; }
.contact-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; border-top: 1px solid var(--line); padding: 14px 0; }
.contact-list dt { color: var(--ink-2); font-size: 10px; padding-top: 4px; }
.contact-list dd a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: text-decoration-color .3s; display: inline-flex; gap: 6px; align-items: center; }
.contact-list dd a:hover { text-decoration-color: currentColor; }
.contact-list .ico { width: 11px; height: 11px; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 3vw, 44px); align-self: start; scroll-margin-top: calc(var(--header-h) + 20px); }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.field { display: grid; gap: 6px; padding: 12px 0 0; }
.field.full { grid-column: 1 / -1; }
.field .mono { color: var(--ink-2); font-size: 10px; }
.field input, .field textarea {
	width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 8px 0 10px; outline: 0; font-size: 15px; border-radius: 0;
	transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.qsubmit { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.qsubmit .small { color: var(--ink-3); }
.form-note { border-radius: 6px; padding: 14px 16px; margin-bottom: 18px; font-size: 14px; }
.form-note.is-ok { background: #e1efe3; color: #1e5a2b; }
.form-note.is-err { background: #f6e3df; color: #7d2a1d; }
.cf7-wrap input:not([type=submit]), .cf7-wrap textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 0; }
.cf7-wrap input[type=submit] { background: var(--ink); color: var(--paper); border: 0; border-radius: 99px; height: 46px; padding: 0 24px; cursor: pointer; margin-top: 16px; }
.map { padding-bottom: clamp(70px, 9vw, 120px); }
.map iframe { width: 100%; height: 420px; border: 0; border-radius: 4px; filter: grayscale(1) contrast(.95); }

/* shop / catalogue */
.shop-hero .display { font-size: clamp(50px, 7vw, 112px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { display: inline-flex; align-items: baseline; gap: 4px; height: 36px; align-items: center; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; transition: background .3s, color .3s, border-color .3s; }
.chip sup { font-family: var(--mono); font-size: 9px; color: var(--ink-3); }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip.is-on sup { color: #c9c7c1; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px clamp(14px, 2vw, 30px); padding-bottom: 40px; }
.pgrid-cell.is-hidden { display: none; }
.pcard { display: flex; flex-direction: column; gap: 10px; }
.pcard-img { display: grid; place-items: center; aspect-ratio: 1; position: relative; background: var(--paper); isolation: isolate; }
.pcard-img::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.7), transparent); opacity: 0; transform: scale(.7); transition: opacity .6s, transform .9s var(--ease); }
.pcard-img img { position: relative; width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.05) translateY(-2%); }
.pcard:hover .pcard-img::before { opacity: 1; transform: none; }
.pcard-meta { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.pcard-meta .mono { color: var(--ink-3); font-size: 10px; grid-column: 1; }
.pcard-meta h2, .pcard-meta h3 { font: 400 22px/1.1 var(--serif); grid-column: 1; }
.pcard-quote { grid-column: 2; grid-row: 1 / 3; align-self: center; display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; transition: background .3s, color .3s, border-color .3s; }
.pcard-quote .ico { width: 10px; height: 10px; }
.pcard-quote:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* single product */
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 90px); padding-top: calc(var(--header-h) + 30px); padding-bottom: clamp(60px, 8vw, 110px); }
.product-gallery { position: sticky; top: calc(var(--header-h) + 10px); align-self: start; display: flex; gap: 16px; }
.pg-main { position: relative; flex: 1; aspect-ratio: 1; max-height: calc(100svh - var(--header-h) - 40px); background: var(--paper); isolation: isolate; }
.pg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; opacity: 0; transform: scale(.97); transition: opacity .6s, transform .9s var(--ease); }
.pg-img.is-active { opacity: 1; transform: none; }
.pg-thumbs { order: -1; display: grid; gap: 8px; align-content: start; }
.pg-thumbs button { width: 64px; height: 64px; border: 1px solid transparent; border-radius: 4px; display: grid; place-items: center; transition: border-color .3s; }
.pg-thumbs button.is-on { border-color: var(--ink); }
.pg-thumbs button { background: var(--paper); }
.pg-thumbs img { mix-blend-mode: multiply; width: 90%; }
.product-info { padding-top: clamp(20px, 8vh, 90px); }
.product-info .display { font-size: clamp(50px, 5.4vw, 86px); }
.product-desc { color: #3c3b38; display: grid; gap: 12px; max-width: 52ch; }
.mini-steps { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 46px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 10px; }
.mini-steps span { color: var(--ink-3); margin-right: 4px; }
.related { border-top: 0; padding-top: 0; }

/* ---------------------------------------------------------------- animations */
/* split text: words rise from a mask */
.js [data-split] .w, .js [data-split-now] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .14em .16em .14em; margin: -.08em -.14em -.16em -.14em; }
.js [data-split] .wi, .js [data-split-now] .wi { display: inline-block; transform: translateY(135%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi, 0) * 45ms + var(--d, 0ms)); }
.js [data-split].in .wi, .js [data-split-now].in .wi { transform: none; }
.js .rail-panel:not(.in) .wi { transition-duration: .01s; transition-delay: 0s; }

/* scrubbed paragraph: words light up as you scroll */
.js [data-scrub] .sw { opacity: var(--o, .24); transition: opacity .25s linear; }

/* generic reveal */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="img"] { overflow: hidden; opacity: 1; transform: none; }
.js [data-reveal="img"] img { clip-path: inset(100% 0 0 0); transform: scale(1.25); transition: clip-path 1.4s var(--ease-in-out), transform 1.8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="img"].in img { clip-path: inset(0); transform: none; }

/* hero rail panel swap */
.rail-panel .rule, .rail-panel .rail-desc, .rail-panel .specs, .rail-panel .rail-links, .rail-panel .count { transition: opacity .8s var(--ease), transform 1s var(--ease); }
.js .rail-panel:not(.in) .rule, .js .rail-panel:not(.in) .rail-desc, .js .rail-panel:not(.in) .specs, .js .rail-panel:not(.in) .rail-links, .js .rail-panel:not(.in) .count { opacity: 0; transform: translateY(16px); transition-duration: .01s; }
.rail-panel.in .rail-desc { transition-delay: .25s; }
.rail-panel.in .specs { transition-delay: .33s; }
.rail-panel.in .rail-links { transition-delay: .41s; }
.rail-panel .rule { transform-origin: left; }
.js .rail-panel:not(.in) .rule { transform: scaleX(0); }
.rail-panel.in .rule { transition-delay: .18s; }

/* sport card text */
.sport-card .l1, .sport-card .l2, .sport-card .count, .sport-card .sport-actions { transition: transform .9s var(--ease), opacity .6s; }
.sport-card:not(.is-active) .l1, .sport-card:not(.is-active) .l2, .sport-card:not(.is-active) .count, .sport-card:not(.is-active) .sport-actions { transform: translateY(30px); opacity: 0; transition-duration: .3s; }
.sport-card.is-active .l2 { transition-delay: .06s; }
.sport-card.is-active .sport-actions { transition-delay: .12s; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
	.nav-main { display: none; }
	.menu-toggle { display: inline-flex; }
	.site-header { grid-template-columns: 1fr auto; }
	.quote-pill .btn-roll { display: none; }
	.hero { grid-template-columns: minmax(0, 1fr) minmax(280px, 330px); padding-left: var(--g); gap: 28px; }
	.hero-progress { display: none; }
	.rail-title { font-size: clamp(40px, 4.6vw, 52px); }
	.pgrid { grid-template-columns: repeat(3, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.footer-cols { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
	.sport-pin { grid-template-columns: 1fr auto; }
	.sport-list { grid-column: 2; }
	.sport-intro .sport-lede { display: none; }
}
@media (max-width: 900px) {
	.hero { grid-template-columns: 1fr; padding: calc(var(--header-h) + 10px) var(--g) 120px; gap: 10px; align-items: start; }
	.rail-stage { height: min(58vw, 460px); }
	.rail-card { width: min(56vw, 420px); }
	.rail-info { padding-top: 10px; }
}
/* short laptop screens: keep the whole hero above the fold */
@media (min-width: 901px) and (max-height: 820px) {
	.hero { padding-bottom: 96px; }
	.rail-title { font-size: clamp(40px, 7.4vh, 64px); }
	.rail-panel .count { margin-bottom: 10px; }
	.rule { margin: 18px 0 14px; }
	.rail-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.specs { margin: 16px 0 20px; gap: 5px; }
	.rail-stage { height: min(62vh, 560px); }
	.rail-card.has-cut { width: min(58vh, 540px, 60%); }
}
@media (max-width: 860px) {
	:root { --header-h: 64px; }
	.brand { width: 62px; }
	.cat-grid { grid-template-columns: 1fr; gap: 50px; }
	.cat-img { aspect-ratio: 4 / 4.4; }
	.statement-foot { grid-template-columns: 1fr; }
	.factory, .split, .contact, .product { grid-template-columns: 1fr; }
	.factory-head, .product-gallery { position: static; }
	.stats { grid-template-columns: 1fr 1fr; }
	.about-hero-row { grid-template-columns: 1fr; }
	.about-facts { text-align: left; grid-auto-flow: column; justify-content: start; gap: 22px; }
	.pgrid { grid-template-columns: repeat(2, 1fr); gap: 34px 14px; }
	.product-gallery { flex-direction: column; }
	.pg-thumbs { order: 1; grid-auto-flow: column; justify-content: start; }
	.product-info { padding-top: 0; }
	.hide-sm { display: none; }
	.duo { grid-template-columns: 1fr 1fr; }
	.duo-copy { grid-column: 1 / -1; grid-row: 1; margin-bottom: 30px; }
	.duo-a, .duo-b { margin-top: 0; }
	.duo-b { margin-top: 10vh; }
	/* phones: swipe through the three photos, same size each */
	.about-photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; }
	.about-photos::-webkit-scrollbar { display: none; }
	.about-photos figure { flex: 0 0 72%; scroll-snap-align: start; }
	.post-row { grid-template-columns: 1fr; }
	.post-row p { grid-column: 1; }
	/* horizontal gallery becomes a native swipe row */
	.hgal { height: auto; padding-block: 70px; }
	.hgal-pin { position: static; height: auto; display: block; }
	.hgal-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transform: none !important; align-items: flex-start; flex-wrap: nowrap; }
	.hgal-track::-webkit-scrollbar { display: none; }
	.hgal-intro { width: 100%; flex: 0 0 82vw; }
	.hgal-item { width: 74vw; scroll-snap-align: center; }
	.hgal-item.is-low { margin-top: 0; }
	/* sport section: shorter, stacked */
	.sport { height: calc(var(--n) * 50vh + 100vh); }
	.sport-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding-top: calc(var(--header-h) + 18px); }
	.sport-intro { grid-row: 1; }
	.sport-intro .display { font-size: 40px; }
	.sport-stage { grid-row: 2; grid-column: 1; }
	.sport-img { width: min(76vw, 46vh); }
	.sport-list { display: none; }
	.sport-now { grid-row: 3; min-height: 150px; }
	.sport-img.is-next { transform: translate(-50%, -50%) translateX(70%) scale(.4); }
	.sport-img.is-prev { transform: translate(-50%, -50%) translateX(-70%) scale(.4); }
}
@media (max-width: 560px) {
	.rail-stage { height: 76vw; }
	.rail-card { width: 64vw; }
	.rail-card[data-pos="1"] { transform: translate(44%, -54%) scale(.6) rotate(2deg); }
	.rail-card[data-pos="2"] { transform: translate(64%, -57%) scale(.5) rotate(3deg); }
	.rail-card[data-pos="3"] { transform: translate(76%, -59%) scale(.44) rotate(4deg); opacity: .8; }
	.rail-card[data-pos="4"], .rail-card[data-pos="5"], .rail-card[data-pos="6"] { opacity: 0; transform: translate(80%, -60%) scale(.4); }
	.rail-card.has-cut { width: 72vw; }
	.rail-card.has-cut[data-pos="1"] { transform: translate(30%, -52%) scale(.74); }
	.rail-card.has-cut[data-pos="2"] { transform: translate(48%, -54%) scale(.62); opacity: .85; }
	.rail-card.has-cut[data-pos="3"], .rail-card.has-cut[data-pos="4"], .rail-card.has-cut[data-pos="5"], .rail-card.has-cut[data-pos="6"] { transform: translate(56%, -55%) scale(.55); opacity: 0; }
	.hero-foot { bottom: 42px; gap: 14px; }
	.rail-nav { bottom: 30px; gap: 8px; }
	.rail-nav .mono { min-width: 56px; }
	.hero-foot span:first-child { display: none; }
	.specs > div { grid-template-columns: 80px 1fr; }
	.stats { grid-template-columns: 1fr; }
	.stat { padding-bottom: 30px; }
	.steps { grid-template-columns: 1fr; }
	.qgrid { grid-template-columns: 1fr; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
	.mini-stats { grid-template-columns: repeat(2, 1fr); }
	.contact-list > div { grid-template-columns: 90px 1fr; }
	.cta-form { flex-direction: column; border-radius: 22px; padding: 8px; }
	.cta-form input { width: 100%; flex: none; height: 46px; padding: 0 12px; text-align: center; }
	.pcard-meta { grid-template-columns: 1fr; }
	.pcard-meta h2, .pcard-meta h3 { font-size: 19px; }
	.pcard-quote { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; padding: 8px 12px; }
	.cta-form .btn { width: 100%; justify-content: center; }
	.footer-bar .fb-mid { display: none; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.loader { display: none; }
	.marquee-track { animation: none; }
	.js [data-scrub] .sw { opacity: 1; }
}

/* ---------------------------------------------------------------- empty page notice */
.page-pending { border: 1px solid var(--line); border-radius: 6px; background: var(--card); padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; }
.page-pending p { margin: 0; }
.page-pending .row-btns { margin-top: 6px; }

/* comfortable tap targets for small links inside labels (breadcrumbs) */
.label a { display: inline-block; padding: 6px 0; margin: -6px 0; }
