/* SOLVEMII — The Unfolding Facade
   Clay white + burnt ochre. Signature: fold lines, tab dots, week ruler, arches. */

:root {
	--bg: #F1E8DC;
	--surface: #FBF7F1;
	--clay: #E4D5C2;
	--ink: #2A1A12;
	--ink2: #56402F;
	--muted: #6B5444;
	--line: #CDB9A3;
	--accent: #B8561C;
	--accent-deep: #8F3E0F;
	--accent-hi: #F0955A;
	--dark: #241710;
	--on-dark: #F1E8DC;
	--on-dark2: #CDB9A3;
	--ok: #3E6A37;
	--err: #A3261A;
	--f-display: 'Quicksand', 'Rubik', ui-rounded, 'Avenir Next', system-ui, sans-serif;
	--f-text: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--rail: 0px;
	--top: 56px;
	--dock: 64px;
	--g: clamp(16px, 4.2vw, 64px);
	--ease: cubic-bezier(.22, .8, .2, 1);
	--arch: 999px 999px 0 0;
	--lw: 1.5px;
}
@media (min-width: 1000px) {
	:root { --rail: 84px; --top: 0px; --dock: 0px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 72px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.6 var(--f-text);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.visually-hidden, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--surface); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

.h2 { font-size: clamp(30px, 4.2vw, 58px); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); }

.kicker {
	display: inline-flex; align-items: center; gap: .6em;
	font: 500 .74rem/1.2 var(--f-text); letter-spacing: .14em; text-transform: uppercase;
	color: var(--accent-deep); margin: 0 0 1.1em;
}
.kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; box-shadow: inset 0 0 0 2px var(--bg); background: currentColor; }
.kicker--light { color: var(--surface); }
.kicker--light::before { box-shadow: inset 0 0 0 2px var(--accent); }
.kicker--dark { color: var(--accent-hi); }
.kicker--dark::before { box-shadow: inset 0 0 0 2px var(--dark); }

/* ------------------------------------------------------------------ buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .7em;
	min-height: 50px; padding: 0 26px 0 20px; border-radius: 999px; border: 0;
	background: var(--accent-deep); color: var(--surface);
	font: 500 1rem/1 var(--f-text); text-decoration: none; letter-spacing: .01em;
	transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--surface); }
.btn:active { transform: translateY(1px); }
.btn__tab { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; transition: background .25s var(--ease); flex: none; }
.btn:hover .btn__tab, .btn:focus-visible .btn__tab { background: currentColor; }
.btn--light { background: var(--surface); color: var(--ink); }
.btn--light:hover { background: var(--dark); color: var(--surface); }
.btn--small { min-height: 38px; padding: 0 18px; font-size: .9rem; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 var(--lw) var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--surface); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; text-decoration: none; border-bottom: var(--lw) solid currentColor; padding-bottom: 2px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--surface); }
.link-arrow--light:hover { color: var(--dark); }

/* ------------------------------------------------------------------ signature bits */
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--accent)); box-shadow: 0 0 0 1.5px var(--surface), 0 0 0 2.5px rgba(42, 26, 18, .25); flex: none; }
.dot--lg { width: 18px; height: 18px; }
.swatch { display: inline-block; width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }

.fold { height: 34px; color: var(--accent); overflow: hidden; }
.fold svg { width: 100%; height: 100%; }
.fold path { fill: none; stroke: currentColor; stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.fold svg { transform: scaleY(.15); transform-origin: 50% 50%; transition: transform 1.1s var(--ease); }
.fold.is-in svg, .no-js .fold svg { transform: scaleY(1); }
.fold--ochre { background: var(--accent); color: var(--bg); height: 40px; }
.fold--footer { color: var(--accent-hi); background: var(--dark); height: 30px; }

.range { display: grid; gap: 6px; margin: 10px 0 0; }
.range__track { position: relative; height: 8px; border-radius: 99px; background: repeating-linear-gradient(90deg, var(--line) 0 1.5px, transparent 1.5px 12.5%); box-shadow: inset 0 -1.5px 0 var(--line); }
.range__fill { position: absolute; top: 1px; bottom: 1px; border-radius: 99px; background: var(--accent); }
.range__birth { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); border-radius: 2px; }
.range__label { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }

.arch { display: block; border-radius: var(--arch); overflow: hidden; background: var(--clay); margin: 0; }
.arch img, .arch video { width: 100%; height: 100%; object-fit: cover; }
.arch--wide { border-radius: 320px 320px 0 0 / 180px 180px 0 0; }

/* ------------------------------------------------------------------ rail / topbar / dock */
.rail { display: none; }
.topbar {
	position: sticky; top: 0; z-index: 40; height: var(--top);
	display: flex; align-items: center; justify-content: space-between; padding: 0 var(--g);
	background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px);
	border-bottom: var(--lw) solid var(--line);
}
.topbar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.topbar__tools { display: flex; gap: 6px; }
.topbar__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; text-decoration: none; position: relative; }
.topbar__btn .icon { width: 22px; height: 22px; }
.locale-code { font-size: .78rem; font-weight: 500; letter-spacing: .04em; }
.mark { width: 44px; height: 44px; color: var(--ink); }
.mark--sm { width: 30px; height: 30px; }
.wordmark { font: 700 1.14rem/1 var(--f-display); letter-spacing: .2em; }
.cart-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--accent-deep); color: var(--surface); font-size: .68rem; font-weight: 600; display: inline-grid; place-items: center; line-height: 1; }
.cart-count[data-count="0"] { display: none; }
.topbar__btn .cart-count { position: absolute; top: 2px; right: 0; }

.dock {
	position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
	height: calc(var(--dock) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
	display: grid; grid-template-columns: repeat(5, 1fr);
	background: var(--dark); color: var(--on-dark);
	border-top: 3px solid var(--accent);
}
.dock__item { display: grid; place-items: center; align-content: center; gap: 3px; border: 0; background: none; color: var(--on-dark2); text-decoration: none; font-size: .68rem; letter-spacing: .03em; position: relative; }
.dock__item .icon { width: 22px; height: 22px; }
.dock__item[aria-current="page"] { color: var(--on-dark); }
.dock__item[aria-current="page"]::before { content: ""; position: absolute; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-hi); }
.dock__item:hover { color: var(--on-dark); }
body { padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom)); }

@media (min-width: 1000px) {
	.topbar, .dock { display: none; }
	body { padding-bottom: 0; }
	.main, .footer { margin-left: var(--rail); }
	.rail {
		position: fixed; z-index: 50; left: 0; top: 0; bottom: 0; width: var(--rail);
		display: flex; flex-direction: column; align-items: center; padding: 18px 0;
		background: var(--dark); color: var(--on-dark2);
		border-right: 3px solid var(--accent);
	}
	.rail__brand { color: var(--on-dark); margin-bottom: 22px; display: block; }
	.rail__brand .mark { color: var(--on-dark); width: 46px; height: 46px; }
	.rail__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
	.rail__li--menu { display: none; }
	.rail__item {
		position: relative; display: grid; place-items: center; width: 54px; height: 50px;
		border: 0; background: none; color: inherit; border-radius: 14px; text-decoration: none;
		transition: background .2s var(--ease), color .2s var(--ease);
	}
	.rail__item .icon { width: 24px; height: 24px; }
	.rail__item:hover, .rail__item:focus-visible { background: rgba(240, 149, 90, .14); color: var(--on-dark); }
	.rail__item[aria-current="page"] { color: var(--on-dark); background: rgba(240, 149, 90, .18); }
	.rail__item[aria-current="page"]::after { content: ""; position: absolute; right: -15px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--accent-hi); box-shadow: 0 0 0 3px var(--dark); }
	.rail__tip {
		position: absolute; left: calc(100% + 18px); top: 50%; transform: translate(-6px, -50%);
		white-space: nowrap; background: var(--accent-deep); color: var(--surface);
		padding: 7px 12px; border-radius: 999px; font-size: .82rem; font-weight: 500;
		opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s var(--ease);
	}
	.rail__item:hover .rail__tip, .rail__item:focus-visible .rail__tip { opacity: 1; transform: translate(0, -50%); }
	.rail__word { margin: auto 0; writing-mode: vertical-rl; transform: rotate(180deg); font: 700 .8rem/1 var(--f-display); letter-spacing: .5em; color: var(--accent-hi); opacity: .9; }
	.rail__list--tools { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(205, 185, 163, .25); }
	.rail__code { position: absolute; bottom: -2px; font-size: .56rem; line-height: 1.05; font-weight: 600; letter-spacing: .04em; text-align: center; display: none; }
	.rail__item .cart-count { position: absolute; top: 4px; right: 4px; }
}

/* ------------------------------------------------------------------ dialogs */
.sheet {
	border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: 100%; max-height: 88dvh;
	background: var(--surface); color: var(--ink); border-radius: 26px 26px 0 0;
	box-shadow: 0 -20px 60px rgba(36, 23, 16, .25);
}
.sheet::backdrop { background: rgba(36, 23, 16, .55); backdrop-filter: blur(2px); }
.sheet[open] { animation: sheet-up .35s var(--ease); }
@keyframes sheet-up { from { transform: translateY(24px); opacity: 0; } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 20px var(--g) 8px; position: sticky; top: 0; background: var(--surface); z-index: 1; }
.sheet__title { font-size: 1.3rem; margin: 0; }
.sheet__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--clay); display: grid; place-items: center; }
.sheet > :not(.sheet__head) { padding-inline: var(--g); }
.sheet > :last-child { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
@media (min-width: 1000px) {
	.sheet { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(460px, 92vw); border-radius: 26px 0 0 26px; }
	.sheet[open] { animation: sheet-in .35s var(--ease); }
	@keyframes sheet-in { from { transform: translateX(30px); opacity: 0; } }
}
.searchform { display: grid; gap: 12px; padding-top: 8px; }
.searchform input[type="search"] { height: 56px; border-radius: 999px; padding: 0 22px; border: var(--lw) solid var(--line); background: var(--bg); font-size: 1.05rem; }
.locale { display: grid; gap: 20px; padding-top: 8px; }
.locale__title { font-size: .78rem; font-family: var(--f-text); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.locale__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.locale__list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; text-decoration: none; border: var(--lw) solid var(--line); background: var(--bg); }
.locale__list a[aria-current="true"] { border-color: var(--accent-deep); background: #fff; box-shadow: inset 4px 0 0 var(--accent); }
.locale__code { font: 700 .82rem/1 var(--f-display); min-width: 34px; color: var(--accent-deep); }
.locale__note { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.menu-list { list-style: none; margin: 0; display: grid; gap: 2px; }
.menu-list a { display: flex; align-items: center; gap: 14px; padding: 12px 0; font: 600 1.25rem/1.2 var(--f-display); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-list .icon { color: var(--accent-deep); }
.menu-kicker { margin-top: 20px; }
.menu-cats { list-style: none; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.menu-cats a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: var(--lw) solid var(--line); text-decoration: none; font-size: .92rem; }

/* ------------------------------------------------------------------ hero: the week timeline */
.hero {
	position: relative; isolation: isolate;
	display: grid; grid-template-columns: 1fr; gap: 18px;
	padding: 18px var(--g) 28px;
	background: radial-gradient(46% 60% at 80% 34%, #C5642B 0%, rgba(173, 79, 24, 0) 100%), #AD4F18;
	color: var(--surface);
	overflow: hidden;
}
.hero::before { /* faint elevation grid, like drafting paper */
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
	background-image: linear-gradient(rgba(251, 247, 241, .55) 1px, transparent 1px), linear-gradient(90deg, rgba(251, 247, 241, .55) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero__copy { order: 3; }
.hero__visual { order: 1; position: relative; margin: 0; display: grid; justify-items: center; }
.hero__ruler { order: 2; }
.hero__title { font-size: clamp(30px, 8.4vw, 44px); margin: 0 0 .3em; color: var(--surface); max-width: 13ch; }
.hero__week { display: flex; align-items: flex-end; gap: 12px; margin: 0; line-height: .8; font-family: var(--f-display); font-variant-numeric: tabular-nums; }
.hero__wk { font-size: .9rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); padding-bottom: 6px; color: var(--clay); }
.hero__num { font-size: clamp(110px, 32vw, 150px); font-weight: 700; letter-spacing: -.04em; color: var(--surface); min-width: 2.1ch; }
.hero__stage { font-size: 1.05rem; max-width: 36ch; margin: 14px 0 12px; min-height: 3.2em; font-weight: 500; }
.hero__stats { display: flex; gap: 28px; margin: 0 0 22px; }
.hero__stats div { border-top: var(--lw) solid rgba(251, 247, 241, .6); padding-top: 8px; min-width: 110px; }
.hero__stats dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.hero__stats dd { margin: 2px 0 0; font: 700 1.5rem/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero__arch {
	position: relative; width: min(100%, 460px); aspect-ratio: 3 / 4; max-height: 62svh;
	border-radius: var(--arch); overflow: hidden; background: var(--clay);
	outline: var(--lw) solid rgba(251, 247, 241, .7); outline-offset: 8px;
}
.hero__frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s var(--ease); }
.hero__frame.is-on { opacity: 1; }
.hero__badge { display: none; }
.plan { display: none; }
.hero__cap { margin-top: 16px; font-size: .86rem; opacity: .95; }
.hero__cap a { color: var(--surface); font-weight: 500; }

.hero__ruler-label { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 6px; opacity: .92; }

.ruler { position: relative; height: 64px; }
.ruler::before { /* zig-zag fold track */
	content: ""; position: absolute; left: 14px; right: 14px; top: 10px; height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M0 13 L8 3 L16 13' fill='none' stroke='%23FBF7F1' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-x left center / 16px 16px;
	opacity: .75;
}
.ruler__input { -webkit-appearance: none; appearance: none; position: relative; z-index: 2; width: 100%; height: 36px; margin: 0; background: transparent; cursor: grab; touch-action: pan-y; }
.ruler__input:active { cursor: grabbing; }
.ruler__input::-webkit-slider-runnable-track { height: 36px; background: transparent; }
.ruler__input::-moz-range-track { height: 36px; background: transparent; }
.ruler__input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: 3px; border-radius: 50%; background: var(--surface); border: 7px solid var(--accent-deep); box-shadow: 0 0 0 3px var(--surface), 0 6px 16px rgba(36, 23, 16, .35); }
.ruler__input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 7px solid var(--accent-deep); box-shadow: 0 0 0 3px var(--surface), 0 6px 16px rgba(36, 23, 16, .35); }
.ruler__input:focus-visible { outline: none; }
.ruler__input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--dark); }
.ruler__ticks { list-style: none; margin: 0; padding: 0; position: absolute; left: 15px; right: 15px; top: 34px; height: 26px; }
.ruler__ticks li { position: absolute; left: var(--at); transform: translateX(-50%); }
.ruler__ticks li::before { content: ""; position: absolute; left: 50%; top: -8px; width: 1.5px; height: 8px; background: var(--surface); opacity: .8; }
.ruler__ticks button { border: 0; background: none; color: var(--surface); font: 600 .78rem/1 var(--f-display); padding: 6px 4px; font-variant-numeric: tabular-nums; }
.ruler__ticks li:nth-child(even) button { font-weight: 500; font-size: .72rem; }
@media (max-width: 520px) { .ruler__ticks li:nth-child(even):not(:last-child) button { visibility: hidden; } }

@media (max-width: 999px) {
	.hero__badge {
		display: flex; align-items: baseline; gap: 4px; position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
		background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 14px;
		font: 700 1rem/1 var(--f-display); letter-spacing: .06em; box-shadow: 0 6px 18px rgba(36, 23, 16, .2);
	}
	.hero__badge b { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
}
@media (min-width: 1000px) {
	.hero {
		grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); grid-template-rows: 1fr auto;
		min-height: 100svh; padding: 40px var(--g) 28px calc(var(--g) + 8px); gap: 10px 4vw;
	}
	.hero__copy { order: 0; grid-column: 1; grid-row: 1; align-self: center; }
	.hero__visual { order: 0; grid-column: 2; grid-row: 1; align-self: end; justify-items: end; }
	.hero__ruler { order: 0; grid-column: 1 / -1; grid-row: 2; padding: 10px 0 0; }
	.hero__title { font-size: clamp(34px, 3.3vw, 52px); max-width: 15ch; }
	.hero__num { font-size: clamp(170px, 17vw, 270px); }
	.hero__arch { width: min(34vw, 520px); max-height: 74vh; }
	.plan {
		display: block; position: absolute; left: -2vw; bottom: 34px; width: clamp(130px, 11vw, 170px);
		padding: 10px 8px 6px; border-radius: 16px; background: rgba(36, 23, 16, .82); color: var(--surface);
		backdrop-filter: blur(4px); overflow: visible;
	}
	.plan__cap { font: 600 8px/1 var(--f-text); letter-spacing: .18em; fill: var(--accent-hi); }
	.plan path, .plan line, .plan polyline { fill: none; stroke: var(--surface); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
	.plan__body { stroke-width: 2 !important; }
	.plan__placket { stroke-dasharray: 3 4; opacity: .75; }
	.plan__fold { stroke: var(--accent-hi) !important; }
	.plan circle { stroke-width: 1.6; }
	.plan__dim line { stroke: var(--accent-hi) !important; marker-start: none; }
	.plan__dim text { font: 700 13px/1 var(--f-display); fill: var(--accent-hi); }
	.hero__cap { justify-self: end; }
}

/* ------------------------------------------------------------------ anatomy */
.anatomy { display: grid; gap: 34px; padding: clamp(56px, 9vw, 130px) var(--g); }
.anatomy__media { position: relative; }
.anatomy__film { aspect-ratio: 16 / 10; }
.anatomy__plan { position: relative; width: 46%; margin: -18% 0 0 auto; border: 8px solid var(--bg); border-radius: 24px; overflow: hidden; transform: rotate(2deg); box-shadow: 0 20px 50px rgba(36, 23, 16, .16); }
.anatomy__plan img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.parts { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 22px; counter-reset: p; }
.parts li { display: grid; grid-template-columns: 58px 1fr; column-gap: 16px; padding-top: 18px; border-top: var(--lw) dashed var(--line); }
.parts__no { grid-row: span 2; font: 700 2.3rem/1 var(--f-display); color: var(--accent); }
.parts h3 { font-size: 1.3rem; margin: 0 0 4px; }
.parts p { margin: 0; color: var(--ink2); }
@media (min-width: 900px) {
	.anatomy { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
	.anatomy__media { grid-column: 1 / 8; }
	.anatomy__text { grid-column: 8 / 13; margin-top: 14vh; }
}

/* ------------------------------------------------------------------ building section preview */
.bldg {
	position: relative; padding: clamp(56px, 8vw, 110px) var(--g);
	background-color: var(--surface);
	background-image: linear-gradient(var(--clay) 1px, transparent 1px), linear-gradient(90deg, var(--clay) 1px, transparent 1px);
	background-size: 32px 32px;
	border-block: var(--lw) solid var(--line);
}
.bldg__head { max-width: 760px; margin-bottom: 36px; }
.bldg__lede { color: var(--ink2); max-width: 52ch; }
.lv { display: grid; gap: 14px; padding: 22px 0 0; }
.lv__tag { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; text-decoration: none; }
.lv__no { grid-row: span 2; font: 700 clamp(46px, 6vw, 84px)/.9 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--ink); letter-spacing: -.02em; transition: color .3s var(--ease); }
.lv__tag:hover .lv__no { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.lv__name { font: 700 1.4rem/1.1 var(--f-display); }
.lv__weeks { font-size: .86rem; color: var(--muted); }
.lv__items { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lv__items a { display: grid; gap: 6px; text-decoration: none; }
.lv__img { display: block; aspect-ratio: 3 / 4; border-radius: var(--arch); overflow: hidden; background: var(--clay); }
.lv__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.lv__items a:hover .lv__img img { transform: scale(1.04); }
.lv__pname { font: 600 .92rem/1.2 var(--f-display); }
.lv__price { font-size: .82rem; color: var(--muted); }
.lv__slab { grid-column: 1 / -1; height: 16px; margin-top: 10px; border-block: var(--lw) solid var(--ink); background: repeating-linear-gradient(-45deg, var(--ink) 0 1.2px, transparent 1.2px 8px); }
.lv--base .lv__slab { height: 30px; background: repeating-linear-gradient(-45deg, var(--ink) 0 1.2px, transparent 1.2px 6px), var(--clay); }
.bldg__cta { margin-top: 36px; }
@media (max-width: 699px) {
	.lv__items { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 38vw; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-right: calc(var(--g) * -1); padding-right: var(--g); }
	.lv__items li { scroll-snap-align: start; }
}
@media (min-width: 900px) {
	.lv { grid-template-columns: 280px 1fr; column-gap: 40px; align-items: end; }
	.lv:nth-child(odd of .lv) .lv__items { transform: translateX(3vw); }
}

/* ------------------------------------------------------------------ wardrobes */
.wardrobes { background: var(--dark); color: var(--on-dark); padding: clamp(56px, 8vw, 110px) var(--g); }
.wardrobes__head { max-width: 820px; }
.wardrobes__head p:not(.kicker) { color: var(--on-dark2); max-width: 56ch; }
.wtabs { display: flex; gap: 8px; overflow-x: auto; margin: 26px calc(var(--g) * -1) 26px 0; padding: 4px var(--g) 8px 2px; scrollbar-width: none; }
.wtab { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: var(--lw) solid rgba(205, 185, 163, .4); background: transparent; color: var(--on-dark); font-weight: 500; }
.wtab__lv { font: 700 .8rem/1 var(--f-display); color: var(--accent-hi); }
.wtab[aria-selected="true"] { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.wtab[aria-selected="true"] .wtab__lv { color: var(--accent-deep); }
.wtab .dot { box-shadow: 0 0 0 1.5px var(--dark), 0 0 0 2.5px rgba(241, 232, 220, .5); }
.js .wpanel:not(.is-active) { display: none; }
.wpanel.is-active { animation: fade-up .45s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }

.wardrobe { display: grid; gap: 26px; margin: 0; }
.wardrobe__look { position: relative; }
.wardrobe__arch { display: block; aspect-ratio: 3 / 4; border-radius: var(--arch); overflow: hidden; background: #3a2a20; max-width: 520px; }
.wardrobe__arch img { width: 100%; height: 100%; object-fit: cover; }
.wardrobe__story { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 .9rem/1 var(--f-display); }
.wardrobe__title { font-size: clamp(26px, 3vw, 40px); }
.wardrobe__items { list-style: none; padding: 0; margin: 0 0 18px; border-top: var(--lw) solid currentColor; }
.compartment { display: grid; grid-template-columns: 28px 56px 1fr; grid-template-areas: "pick thumb text" "pick thumb opts"; gap: 4px 14px; align-items: center; padding: 12px 0; border-bottom: var(--lw) dashed rgba(205, 185, 163, .4); }
.compartment__pick { grid-area: pick; }
.compartment__pick input { width: 20px; height: 20px; accent-color: var(--accent); }
.compartment__thumb { grid-area: thumb; display: block; width: 56px; aspect-ratio: 3 / 4; border-radius: 28px 28px 4px 4px; overflow: hidden; background: #3a2a20; }
.compartment__thumb img { width: 100%; height: 100%; object-fit: cover; }
.compartment__text { grid-area: text; display: grid; }
.compartment__role { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.compartment__name { font: 600 1.02rem/1.25 var(--f-display); text-decoration: none; }
.compartment__price { font-size: .88rem; }
.compartment__opts { grid-area: opts; }
.mini-select select { height: 38px; padding: 0 30px 0 12px; border-radius: 999px; border: var(--lw) solid currentColor; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B8561C' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font-size: .88rem; }
.wardrobe--dark .mini-select select option { color: var(--ink); }
.wardrobe__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .95rem; margin-bottom: 14px; }
.wardrobe__total strong { font: 700 1.6rem/1 var(--f-display); }
.wardrobe__note { font-size: .82rem; margin-top: 12px; }
.wardrobe--dark .btn { background: var(--accent-hi); color: var(--dark); }
.wardrobe--dark .btn:hover { background: var(--on-dark); }
.wardrobe--dark .compartment__name:hover { color: var(--accent-hi); }
.wardrobe--light { background: var(--surface); color: var(--ink); border-radius: 28px; padding: clamp(18px, 3vw, 36px); border: var(--lw) solid var(--line); }
.wardrobe--light .compartment { border-bottom-color: var(--line); }
.wardrobe--light .wardrobe__arch { background: var(--clay); }
@media (min-width: 900px) {
	.wardrobe { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5vw; align-items: center; }
	.compartment { grid-template-columns: 28px 64px 1fr auto; grid-template-areas: "pick thumb text opts"; }
	.compartment__thumb { width: 64px; }
}

/* ------------------------------------------------------------------ category arches */
.arches { padding: clamp(56px, 8vw, 110px) var(--g); }
.arches__row { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: 62vw; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--g) * -1); padding-right: var(--g); }
.arches__item { scroll-snap-align: start; }
.arches__item a { display: grid; gap: 8px; text-decoration: none; }
.arches__item .arch { aspect-ratio: 3 / 4; }
.arches__item img { transition: transform .7s var(--ease); }
.arches__item a:hover img { transform: scale(1.05); }
.arches__name { font: 700 1.2rem/1.15 var(--f-display); }
.arches__from { font-size: .86rem; color: var(--muted); }
@media (min-width: 900px) {
	.arches__row { grid-auto-flow: row; grid-template-columns: 1.3fr 1fr 1.1fr .9fr 1fr; overflow: visible; margin-right: 0; padding-right: 0; align-items: end; gap: 22px; }
	.arches__item--0 .arch { aspect-ratio: 3 / 4.6; }
	.arches__item--1 .arch { aspect-ratio: 3 / 3.6; }
	.arches__item--2 .arch { aspect-ratio: 3 / 4.2; }
	.arches__item--3 .arch { aspect-ratio: 3 / 3.4; }
	.arches__item--4 .arch { aspect-ratio: 3 / 3.9; }
	.arches__item--1, .arches__item--3 { margin-bottom: 60px; }
}

/* ------------------------------------------------------------------ sizing + help */
.sizing { display: grid; gap: 30px; padding: clamp(40px, 6vw, 90px) var(--g); background: var(--clay); }
.sizing__table { overflow-x: auto; }
.sizing table, .prose table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sizing th, .sizing td, .prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: var(--lw) solid var(--line); vertical-align: top; }
.sizing th, .sizing td { white-space: nowrap; }
.prose tbody th { width: 34%; font-weight: 500; color: var(--muted); }
.prose .table-wrap table:has(thead) { min-width: 540px; }
.sizing thead th, .prose thead th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.sizing tbody th { font: 700 1.1rem/1 var(--f-display); color: var(--accent-deep); }
@media (min-width: 900px) { .sizing { grid-template-columns: 5fr 7fr; gap: 5vw; align-items: center; } }
.help { display: grid; gap: 0; padding: 0 var(--g); background: var(--bg); }
.help__item { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 22px 0; text-decoration: none; border-bottom: var(--lw) dashed var(--line); }
.help__item .icon { grid-row: span 2; color: var(--accent-deep); width: 28px; height: 28px; }
.help__item strong { font: 700 1.05rem/1.2 var(--f-display); }
.help__item span { font-size: .9rem; color: var(--muted); }
@media (min-width: 900px) {
	.help { grid-template-columns: repeat(3, 1fr); }
	.help__item { border-bottom: 0; border-right: var(--lw) dashed var(--line); padding: 34px 28px; }
	.help__item:first-child { padding-left: 0; }
	.help__item:last-child { border-right: 0; }
}

/* ------------------------------------------------------------------ footer */
.footer { background: var(--dark); color: var(--on-dark); }
.footer a { color: var(--on-dark); }
.footer a:hover { color: var(--accent-hi); }
.footer__inner { display: grid; gap: 28px; padding: 40px var(--g) 20px; }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 12px; }
.footer__brand .mark { color: var(--on-dark); }
.footer__intro p { color: var(--on-dark2); max-width: 34ch; }
.drawers { display: grid; border-top: var(--lw) solid rgba(205, 185, 163, .35); }
.drawer { border-bottom: var(--lw) solid rgba(205, 185, 163, .35); }
.drawer__head { list-style: none; display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; min-height: 60px; cursor: pointer; }
.drawer__head::-webkit-details-marker { display: none; }
.drawer__no { font: 700 .86rem/1 var(--f-display); color: var(--accent-hi); }
.drawer__title { font: 700 1.2rem/1 var(--f-display); }
.drawer__pleat { width: 24px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Cpath d='M1 10 5 2 9 10 13 2 17 10 21 2 23 6' fill='none' stroke='%23F0955A' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; transition: transform .35s var(--ease); transform: scaleX(.55); }
.drawer[open] .drawer__pleat { transform: scaleX(1); }
.drawer__body { list-style: none; margin: 0; padding: 0 0 18px 44px; display: grid; gap: 8px; }
.drawer__body a { text-decoration: none; color: var(--on-dark2); }
.drawer__body a:hover { color: var(--accent-hi); }
.drawer__body--contact p { margin: 0; }
.drawer__body--contact a { display: inline-flex; gap: 8px; align-items: center; color: var(--on-dark); }
.drawer__body--contact .icon { width: 18px; height: 18px; color: var(--accent-hi); }
.drawer__small { font-size: .84rem; color: var(--on-dark2); }
.footer__strip { display: grid; gap: 14px; padding: 22px var(--g) 30px; border-top: var(--lw) solid rgba(205, 185, 163, .25); font-size: .84rem; }
.withdraw-btn { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 10px 16px; border-radius: 999px; border: var(--lw) solid var(--accent-hi); text-decoration: none; font-weight: 500; }
.withdraw-btn .icon { width: 18px; height: 18px; }
.footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal a { color: var(--on-dark2); }
.footer__secure { display: flex; align-items: center; gap: 8px; color: var(--on-dark2); margin: 0; }
.footer__secure .icon { width: 16px; height: 16px; }
.footer__owner { color: var(--on-dark2); margin: 0; max-width: 90ch; }
.paymarks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.paymarks li { padding: 4px 10px; border-radius: 6px; background: var(--surface); color: var(--ink); font-size: .74rem; font-weight: 600; }
@media (min-width: 900px) {
	.footer__inner { grid-template-columns: 1fr 3fr; gap: 5vw; padding-top: 56px; }
	.drawers { grid-template-columns: repeat(4, 1fr); border-top: 0; gap: 0 26px; }
	.drawer { border-bottom: 0; border-top: var(--lw) solid rgba(205, 185, 163, .35); }
	.drawer__body { padding-left: 0; }
}

/* ------------------------------------------------------------------ cookie notice */
.cookie { position: fixed; z-index: 60; left: 12px; right: 12px; top: calc(var(--top) + 10px); display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 16px 40px rgba(36, 23, 16, .25); border: var(--lw) solid var(--line); font-size: .8rem; line-height: 1.45; }
.cookie p { margin: 0; }
@media (min-width: 1000px) { .cookie { left: auto; right: 20px; top: auto; bottom: 20px; max-width: 400px; } }

/* ------------------------------------------------------------------ shop: section drawing */
.shop { padding: 30px var(--g) 60px; }
.shop__head { max-width: 980px; margin-bottom: 20px; }
.page-head__title { font-size: clamp(38px, 6vw, 82px); letter-spacing: -.02em; }
.shop__lede, .page-head__lede { font-size: 1.08rem; color: var(--ink2); max-width: 62ch; }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 18px calc(var(--g) * -1) 0 0; padding-right: var(--g); }
.pill { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; text-decoration: none; border: var(--lw) solid var(--line); background: var(--surface); font-size: .92rem; font-weight: 500; }
.pill[aria-current="page"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.pill__n { font-size: .76rem; font-weight: 400; }
.levelnav { position: sticky; top: var(--top); z-index: 20; margin: 0 calc(var(--g) * -1); padding: 10px var(--g); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); border-bottom: var(--lw) solid var(--line); }
.levelnav ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.levelnav a { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.levelnav a:hover, .levelnav a.is-here { background: var(--accent); color: var(--surface); }
.levelnav__no { font: 700 .86rem/1 var(--f-display); }
.levelnav__name { font-size: .88rem; }
.section-drawing { position: relative; margin-top: 10px; }
.level { position: relative; padding: 46px 0 0; }
.level__head { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: end; margin-bottom: 26px; }
.level__no { font: 700 clamp(64px, 11vw, 150px)/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1.6px var(--ink); letter-spacing: -.03em; }
.level__name { font-size: clamp(26px, 3.2vw, 44px); margin: 0 0 4px; }
.level__weeks { margin: 0; color: var(--muted); font-size: .92rem; }
.level__banner { grid-column: 1 / -1; margin: 10px 0 0; aspect-ratio: 21 / 9; border-radius: 300px 300px 0 0 / 120px 120px 0 0; overflow: hidden; background: var(--clay); }
.level__banner img, .level__banner video { width: 100%; height: 100%; object-fit: cover; display: block; }
.level__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; padding-bottom: 36px; }
.card--down { margin-top: 36px; }
.level__slab { display: flex; justify-content: flex-end; align-items: center; height: 22px; border-block: var(--lw) solid var(--ink); background: repeating-linear-gradient(-45deg, var(--ink) 0 1.2px, transparent 1.2px 8px); }
.level__slab span { background: var(--bg); padding: 0 10px; font: 600 .74rem/1 var(--f-display); letter-spacing: .08em; margin-right: 16px; }
.level--all .level__slab { height: 40px; background: repeating-linear-gradient(-45deg, var(--ink) 0 1.2px, transparent 1.2px 6px), var(--clay); }
.level--all { background: linear-gradient(180deg, transparent 0 60px, var(--clay) 60px); margin: 0 calc(var(--g) * -1); padding-inline: var(--g); }
.level--all .level__slab span { background: var(--clay); }
@media (min-width: 700px) {
	.level__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 22px; }
	.card--down { margin-top: 60px; }
}
@media (min-width: 1100px) {
	.level__head { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.5fr); }
	.level__banner { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
	.level__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 46px 26px; }
	.card--down { margin-top: 80px; }
	.level:nth-child(even) .level__grid { padding-left: 4vw; }
}

.card { position: relative; }
.card__link { display: grid; gap: 6px; text-decoration: none; }
.card__frame { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--arch); overflow: hidden; background: var(--surface); }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.card__img--worn { opacity: 0; }
.card__link:hover .card__img--worn, .card__link:focus-visible .card__img--worn { opacity: 1; }
.card__link:hover .card__img { transform: scale(1.03); }
.card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.card__sku { font-size: .7rem; letter-spacing: .12em; color: var(--muted); }
.card__dots { display: inline-flex; gap: 6px; }
.card__dots .dot { width: 10px; height: 10px; }
.card__name { font: 700 1.05rem/1.2 var(--f-display); margin: 0; }
.card__price { font-weight: 500; }
.card__pack { font-size: .8rem; color: var(--muted); }
.card .range { margin-top: 2px; }
.price .sm-cur, .sm-cur { font-size: .72em; font-weight: 500; letter-spacing: .04em; }
.empty { padding: 40px 0; }

/* ------------------------------------------------------------------ product page */
.pdp { padding: 20px var(--g) 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.pdp__grid { display: grid; gap: 26px; }
.pdp__grid > * { min-width: 0; }
.steps { list-style: none; padding: 0; margin: 0 calc(var(--g) * -1) 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: 68vw; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: var(--g); padding-top: 42px; position: relative; scrollbar-width: none; }
.steps { background: linear-gradient(rgba(42, 26, 18, .45), rgba(42, 26, 18, .45)) 0 16px / 100% 1.5px no-repeat local, repeating-linear-gradient(90deg, rgba(42, 26, 18, .45) 0 1.5px, transparent 1.5px 20px) 0 16px / 100% 10px no-repeat local; }
.step { position: relative; scroll-snap-align: start; display: grid; gap: 12px; align-content: start; }
.step__node { position: absolute; top: -40px; left: 0; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--accent-deep); color: var(--surface); font: 700 .82rem/1 var(--f-display); }
.step__node::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 3.5px var(--accent-deep); }
.step__no { font-size: .72rem; }
.step__wk .icon { width: 14px; height: 14px; }
.step__fig { margin: 0; aspect-ratio: 3 / 4; max-height: 50svh; border-radius: var(--arch); overflow: hidden; background: var(--surface); }
@media (min-width: 1000px) { .step__fig { max-height: none; } }
.step__fig img { width: 100%; height: 100%; object-fit: cover; }
.step__title { font-size: 1.2rem; margin: 0 0 4px; }
.step__text p { margin: 0; color: var(--ink2); font-size: .95rem; }
.pdp__sku { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.pdp__title { font-size: clamp(34px, 4vw, 56px); margin: 0 0 10px; }
.pdp__price { font: 700 1.5rem/1.2 var(--f-display); margin: 0; }
.pdp__line { margin: 16px 0; color: var(--ink2); }
.pdp__facts { display: grid; margin: 0 0 18px; border-top: var(--lw) solid var(--line); }
.pdp__facts div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 9px 0; border-bottom: var(--lw) dashed var(--line); font-size: .92rem; }
.pdp__facts dt { color: var(--muted); }
.pdp__facts dd { margin: 0; font-weight: 500; }
.pdp__size { font-size: .88rem; color: var(--muted); margin: 12px 0; }
.pdp__notes { list-style: none; padding: 16px 0 0; margin: 16px 0 0; display: grid; gap: 8px; border-top: var(--lw) solid var(--line); font-size: .9rem; }
.pdp__notes li { display: flex; gap: 10px; align-items: center; }
.pdp__notes .icon { width: 20px; height: 20px; color: var(--accent-deep); flex: none; }
@media (min-width: 1000px) {
	.pdp__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 5vw; align-items: start; }
	.pdp__sticky { position: sticky; top: 24px; }
	.steps { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0 0 0 96px; gap: 56px; }
	.steps { background: none; }
	.steps::before { content: ""; position: absolute; opacity: .45; left: 34px; right: auto; top: 0; bottom: 0; width: 10px; height: auto; min-width: 0; border-top: 0; border-left: var(--lw) solid var(--ink); background: repeating-linear-gradient(180deg, var(--ink) 0 1.5px, transparent 1.5px 22px); }
	.step__node { top: 10px; left: -96px; flex-direction: column; gap: 4px; width: 70px; padding: 12px 0; border-radius: 999px; text-align: center; }
	.step__node::before { position: absolute; right: -16px; top: 50%; margin-top: -7px; }
	.step { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: end; }
	.step__fig { max-height: 620px; }
	.step:nth-child(even) .step__fig { order: 2; }
	.step:nth-child(even) .step__text { text-align: right; }
	.step__text { padding-bottom: 12px; border-bottom: var(--lw) dashed var(--line); }
	.step--alt .step__fig { max-height: 420px; }
	.step__fig--main { box-shadow: 0 30px 60px rgba(36, 23, 16, .12); }
	.step__title { font-size: 1.5rem; }
}

/* variation form */
.variations_form, form.cart { margin: 0; }
table.variations { border: 0; margin: 0 0 12px; width: 100%; border-collapse: collapse; }
table.variations tr { display: grid; gap: 8px; margin-bottom: 14px; }
table.variations th, table.variations td { padding: 0; text-align: left; }
table.variations label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
table.variations select, .woocommerce form .form-row select, select.orderby { width: 100%; height: 48px; border-radius: 14px; border: var(--lw) solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238F3E0F' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; padding: 0 40px 0 14px; -webkit-appearance: none; appearance: none; }
.js table.variations select.is-enhanced { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.sw { display: flex; flex-wrap: wrap; gap: 8px; }
.sw__btn { min-width: 48px; height: 44px; padding: 0 14px; border-radius: 999px; border: var(--lw) solid var(--line); background: var(--surface); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.sw__btn[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--surface); }
.sw__btn[aria-pressed="true"] .dot { box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 2.5px var(--surface); }
.sw__btn:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.single_variation_wrap .woocommerce-variation-price { font: 700 1.2rem/1.2 var(--f-display); margin-bottom: 8px; }
.woocommerce-variation-availability p { margin: 0 0 8px; font-size: .88rem; }
.woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.quantity { display: inline-flex; align-items: center; height: 50px; border-radius: 999px; border: var(--lw) solid var(--line); background: var(--surface); }
.quantity .qty { width: 42px; border: 0; background: none; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty-btn { width: 40px; height: 48px; border: 0; background: none; display: grid; place-items: center; }
.qty-btn .icon { width: 16px; height: 16px; }
.single_add_to_cart_button, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .wc-block-components-button, #place_order, .checkout-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0;
	background: var(--accent-deep); color: var(--surface); font: 500 1rem/1 var(--f-text); text-decoration: none; cursor: pointer; transition: background .25s var(--ease);
}
.single_add_to_cart_button { flex: 1; min-width: 200px; }
.single_add_to_cart_button::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; }
.single_add_to_cart_button:hover, .woocommerce .button:hover, #place_order:hover, .checkout-button:hover { background: var(--ink); color: var(--surface); }
.single_add_to_cart_button.disabled, .single_add_to_cart_button:disabled { background: var(--clay); color: var(--ink2); cursor: not-allowed; }

.specs { max-width: 860px; margin: clamp(50px, 7vw, 100px) 0 0; }
.spec { border-top: var(--lw) solid var(--line); }
.spec:last-child { border-bottom: var(--lw) solid var(--line); }
.spec summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 700 1.15rem/1.2 var(--f-display); }
.spec summary::-webkit-details-marker { display: none; }
.spec summary::after { content: ""; width: 26px; height: 12px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Cpath d='M1 10 5 2 9 10 13 2 17 10 21 2 23 6' fill='none' stroke='%23B8561C' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; transform: scaleX(.5); transition: transform .35s var(--ease); }
.spec[open] summary::after { transform: scaleX(1); }
.spec__body { padding: 0 0 18px; color: var(--ink2); }
.pdp__wardrobe { margin-top: clamp(50px, 7vw, 100px); }

/* ------------------------------------------------------------------ pages / prose */
.main > .page, .main > .contact, .main > .wr-page, .main > .about { padding: 30px var(--g) 60px; }
.page-head { max-width: 980px; margin-bottom: 26px; }
.page__banner { aspect-ratio: 21 / 8; margin: 0 0 30px; }
.page__layout { display: grid; gap: 30px; }
@media (min-width: 1000px) { .page--toc .page__layout { grid-template-columns: 260px minmax(0, 1fr); gap: 5vw; } }
.toc { align-self: start; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; counter-reset: t; border-left: var(--lw) solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; text-decoration: none; font-size: .9rem; color: var(--ink2); border-left: 3px solid transparent; margin-left: -2px; }
.toc a:hover { color: var(--accent-deep); border-left-color: var(--accent); }
@media (min-width: 1000px) { .toc { position: sticky; top: 24px; } }
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 1.8em 0 .6em; padding-top: .6em; border-top: var(--lw) dashed var(--line); }
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent-deep); }
.prose .note, .prose .box { background: var(--surface); border: var(--lw) solid var(--line); border-radius: 18px; padding: 16px 20px; margin: 1.2em 0; }
.prose blockquote { margin: 1.2em 0; padding: 16px 20px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 18px 18px 0; }
.prose .table-wrap { overflow-x: auto; }
.page__updated { margin-top: 3em; font-size: .84rem; color: var(--muted); }
.prose--wc { max-width: none; }

/* forms */
.sm-form { display: grid; gap: 14px; max-width: 620px; }
.sm-field { margin: 0; display: grid; gap: 6px; }
.sm-field label { font-size: .86rem; font-weight: 500; }
.sm-optional { color: var(--muted); font-weight: 400; }
.sm-field input, .sm-field textarea, .woocommerce form .input-text, .woocommerce-input-wrapper input, .woocommerce-input-wrapper textarea, .woocommerce form .form-row input.input-text {
	width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: var(--lw) solid var(--line); background: var(--surface);
}
.sm-field textarea { min-height: 150px; }
.sm-field input:focus, .sm-field textarea:focus, .woocommerce form .input-text:focus { outline: 2px solid var(--accent-deep); outline-offset: 1px; border-color: transparent; }
.sm-hp { position: absolute !important; left: -9999px; }
.sm-form__legal { font-size: .84rem; color: var(--muted); }
.sm-form__row { display: flex; flex-wrap: wrap; gap: 10px; }
.sm-notice { padding: 14px 18px; border-radius: 16px; background: var(--surface); border: var(--lw) solid var(--line); }
.sm-notice--ok { border-color: var(--ok); color: var(--ok); }
.sm-notice--err { border-color: var(--err); color: var(--err); }
.sm-done h2 { color: var(--ok); }
.sm-steps { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0 0 8px; }
.sm-steps li { padding: 6px 14px; border-radius: 999px; border: var(--lw) solid var(--line); font-size: .86rem; }
.sm-steps .is-current { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.sm-summary dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; }
.sm-summary dt { color: var(--muted); }
.sm-summary dd { margin: 0; }

/* contact / about / wardrobes */
.contact__grid { display: grid; gap: 40px; }
.contact__big { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: var(--lw) dashed var(--line); text-decoration: none; font: 700 clamp(20px, 2.6vw, 32px)/1.15 var(--f-display); word-break: break-word; }
.contact__big small { display: block; font: 500 .74rem/1.3 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__big .icon { width: 30px; height: 30px; color: var(--accent-deep); flex: none; }
.contact__direct .prose { margin-top: 20px; }
.contact__img { aspect-ratio: 3 / 4; max-width: 340px; margin-top: 26px; }
.contact__form { background: var(--surface); border-radius: 28px; padding: clamp(20px, 3vw, 40px); border: var(--lw) solid var(--line); align-self: start; }
.contact__withdraw { margin-top: 22px; font-size: .9rem; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 5fr 6fr; gap: 5vw; } }
.about__head { max-width: 900px; }
.about__title { font-size: clamp(40px, 6.4vw, 96px); letter-spacing: -.02em; }
.about__film { aspect-ratio: 16 / 8; margin: 20px 0 40px; }
.about__body { display: grid; gap: 30px; }
.prose--about p:first-of-type { font-size: 1.2rem; color: var(--ink); }
.about__side { display: grid; gap: 20px; }
.about__side .arch { aspect-ratio: 3 / 4; }
.about__arch2 { width: 70%; justify-self: end; margin-top: -20% !important; border: 8px solid var(--bg); }
@media (min-width: 900px) { .about__body { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 5vw; } }
.stories { display: grid; gap: 22px; margin: 60px 0; padding: 30px; border-radius: 30px; background: var(--dark); color: var(--on-dark); }
.stories .kicker { color: var(--accent-hi); }
.stories__img { margin: 0; border-radius: 20px; overflow: hidden; }
.stories__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 22px; }
.stories__list li { display: inline-flex; align-items: center; gap: 10px; font: 600 1rem/1 var(--f-display); }
@media (min-width: 900px) { .stories { grid-template-columns: 1fr 1fr; align-items: center; padding: 50px; } .stories__list { grid-column: 1 / -1; } }
.about__cta { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.wr-page__list { display: grid; gap: 34px; }
@media (min-width: 900px) { .wr-page__item:nth-child(even) .wardrobe__look { order: 2; } .wr-page__item:nth-child(even) .wardrobe { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.notfound { display: grid; gap: 30px; padding: 30px var(--g) 60px; align-items: center; }
.notfound__img { aspect-ratio: 3 / 4; max-width: 420px; }
.notfound__cta { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; }
@media (min-width: 900px) { .notfound { grid-template-columns: 1fr 1.2fr; } }

/* ------------------------------------------------------------------ WooCommerce: notices, cart, checkout, account */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 22px; padding: 14px 18px; border-radius: 16px; background: var(--surface); border: var(--lw) solid var(--line);
	display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between;
}
.woocommerce-message { border-color: var(--ok); }
.woocommerce-error { border-color: var(--err); color: var(--err); display: block; }
.woocommerce-error li { margin: 2px 0; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 40px; padding: 0 18px; order: 2; }
.woocommerce-cart-form { overflow-x: auto; }
table.shop_table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 22px; overflow: hidden; border: var(--lw) solid var(--line); }
table.shop_table th, table.shop_table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.shop_table thead th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
table.shop_table .product-thumbnail img { width: 70px; border-radius: 35px 35px 6px 6px; }
table.shop_table .product-name a { font: 700 1rem/1.2 var(--f-display); text-decoration: none; }
table.shop_table .product-remove a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--clay); text-decoration: none; font-size: 1.2rem; line-height: 1; }
dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; margin: 6px 0 0; font-size: .84rem; color: var(--muted); }
dl.variation dt, dl.variation dd, dl.variation p { margin: 0; }
td.actions { text-align: right; }
td.actions .coupon { display: none; }
.cart-collaterals { margin-top: 30px; display: grid; justify-items: end; }
.cart_totals { width: min(100%, 480px); }
.cart_totals h2 { font-size: 1.5rem; }
.wc-proceed-to-checkout { margin-top: 16px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; }
.cart-notes { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .88rem; }
.cart-notes li { display: flex; gap: 10px; align-items: center; }
.cart-notes .icon { width: 18px; height: 18px; color: var(--accent-deep); }
.woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; }
.cart-empty { font: 700 1.4rem/1.3 var(--f-display); }
.return-to-shop { margin-top: 16px; }
@media (max-width: 699px) {
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); }
	table.shop_table_responsive td { display: flex; justify-content: space-between; gap: 10px; border: 0; padding: 6px 14px; grid-column: 1 / -1; }
	table.shop_table_responsive td::before { content: attr(data-title); font-size: .78rem; color: var(--muted); }
	table.shop_table_responsive td.product-thumbnail::before, table.shop_table_responsive td.product-remove::before, table.shop_table_responsive td.actions::before { content: none; }
	table.shop_table_responsive td.product-remove { justify-content: flex-end; }
}
.woocommerce form .form-row { margin: 0 0 14px; display: grid; gap: 6px; }
.woocommerce form .form-row label { font-size: .86rem; font-weight: 500; }
.woocommerce form .form-row .required { color: var(--err); text-decoration: none; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; }
@media (min-width: 700px) {
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 8px); display: inline-grid; vertical-align: top; }
	.woocommerce form .form-row-first { margin-right: 12px; }
}
.select2-container .select2-selection--single { height: 50px !important; border-radius: 14px !important; border: var(--lw) solid var(--line) !important; background: var(--surface) !important; display: flex !important; align-items: center; }
.select2-container .select2-selection__arrow { top: 12px !important; right: 10px !important; }
form.checkout { display: grid; gap: 30px; }
@media (min-width: 1000px) {
	form.checkout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px 5vw; align-items: start; }
	form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
	form.checkout #order_review_heading, form.checkout #order_review { grid-column: 2; }
	form.checkout #order_review { position: sticky; top: 24px; }
}
#customer_details .col-1, #customer_details .col-2 { width: 100%; }
#order_review_heading { font-size: 1.5rem; margin: 0; }
#order_review { background: var(--surface); border-radius: 26px; padding: clamp(16px, 2.4vw, 30px); border: var(--lw) solid var(--line); }
#order_review table.shop_table { border: 0; border-radius: 0; background: none; }
#payment { margin-top: 18px; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
#payment ul.payment_methods li { padding: 12px 14px; border-radius: 14px; border: var(--lw) solid var(--line); background: var(--bg); }
#payment .payment_box { font-size: .88rem; color: var(--ink2); padding-top: 8px; }
#place_order { width: 100%; min-height: 56px; font-size: 1.05rem; }
.pay-note { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--ink2); background: var(--bg); padding: 12px 14px; border-radius: 14px; margin: 14px 0; }
.pay-note .icon { width: 18px; height: 18px; color: var(--accent-deep); flex: none; margin-top: 2px; }
.woocommerce-terms-and-conditions-wrapper { font-size: .88rem; margin-bottom: 14px; }
.woocommerce-terms-and-conditions-wrapper .form-row { display: block !important; }
.woocommerce-form__label-for-checkbox { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.woocommerce-form__input-checkbox { width: 20px; height: 20px; accent-color: var(--accent-deep); flex: none; margin-top: 2px; }
.woocommerce-privacy-policy-text { font-size: .84rem; color: var(--muted); }
.woocommerce-account .woocommerce { display: grid; gap: 30px; }
@media (min-width: 900px) { .woocommerce-account .woocommerce { grid-template-columns: 240px 1fr; } }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--surface); }
.woocommerce-form-login, .woocommerce-form-register { background: var(--surface); padding: 24px; border-radius: 22px; border: var(--lw) solid var(--line); }
.u-columns { display: grid; gap: 24px; }
@media (min-width: 900px) { .u-columns { grid-template-columns: 1fr 1fr; } }
.woocommerce-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 30px; }
.blockUI.blockOverlay { background: rgba(241, 232, 220, .6) !important; }

/* ------------------------------------------------------------------ motion preferences */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.fold svg { transform: none; }
}
.sm-form > .btn, .sm-form__row .btn { justify-self: start; }
.page__layout > *, .contact__grid > *, .about__body > * { min-width: 0; }
[hidden] { display: none !important; }

.wardrobe--dark .kicker { color: var(--accent-hi); }
.wardrobe--dark .kicker::before { box-shadow: inset 0 0 0 2px var(--dark); }
.wardrobe--dark .compartment__role { opacity: 1; color: var(--on-dark2); }
