/* RALVEXO — "the piped threshold". Midnight street, ivory bedroom, one red cord between them. */

:root {
	--night: #0B1433;
	--night2: #121E47;
	--night3: #1B2A5C;
	--paper: #EFE8DA;
	--paper2: #E3DAC8;
	--ink: #0B1433;
	--ivory: #F3EDE1;
	--mist: #B3BBD6;
	--muted: #4B5274;
	--line: #2C3A6E;
	--red: #C8281E;
	--red-hi: #FF7A66;
	--ok: #276B40;
	--err: #B42318;
	--serif: "Instrument Serif", "Times New Roman", Georgia, serif;
	--sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bar: 64px;
	--nav: 0px;
	--top: calc(var(--bar) + var(--nav));
	--pipe-h: linear-gradient(180deg, #E85446 0 28%, #C8281E 28% 74%, #93190F 74% 100%);
	--pipe-v: linear-gradient(90deg, #E85446 0 28%, #C8281E 28% 74%, #93190F 74% 100%);
	--ease: cubic-bezier(.22, .8, .18, 1);
	--gut: clamp(16px, 4vw, 56px);
	/* tone defaults (night) */
	--bg: var(--night);
	--fg: var(--ivory);
	--fg2: var(--mist);
	--accent-text: var(--red-hi);
}

.post-type-archive-product, .tax-product_cat, .search-results, .search-no-results { --nav: 48px; }

@property --split { syntax: '<percentage>'; inherits: true; initial-value: 50%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--top); }
body {
	margin: 0; padding-top: var(--bar);
	background: var(--night); color: var(--ivory);
	font: 400 16px/1.6 var(--sans);
	-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: .2em; }
a:hover { color: var(--accent-text); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 300; background: var(--ivory); color: var(--ink); padding: 10px 16px; transform: translateY(-200%); }
.skip:focus { transform: none; }
[hidden] { display: none !important; }

/* tones */
.t-paper, .screen--paper, .season__swatch, .home-routine, .prop, .pbody, .crumbs, .pdp, .contact, .lost {
	--bg: var(--paper); --fg: var(--ink); --fg2: var(--muted); --accent-text: var(--red);
}

/* type */
.display { font: italic 400 clamp(52px, 7.4vw, 124px)/.92 var(--serif); letter-spacing: -.012em; margin: 0; }
.kicker { font: 600 11.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; color: var(--fg2); }
.lede { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--fg2); max-width: 44ch; }
.muted { color: var(--fg2); }
.stamp { font: italic 400 1.6em/1 var(--serif); margin-right: .4em; }
.num { font-family: var(--serif); font-style: italic; }

/* signature: the piping line */
.pipe-line { display: block; height: 8px; width: 160px; border-radius: 8px; background: var(--pipe-h); box-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
.pip { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25); vertical-align: middle; }
/* piped corners on images: two rounded cord elbows */
.piped { position: relative; }
.piped::before, .piped::after {
	content: ""; position: absolute; width: 46px; height: 46px; pointer-events: none; z-index: 2;
	border: 5px solid var(--red); border-radius: 20px 0 0 0; border-right: 0; border-bottom: 0;
	filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .25));
}
.piped::before { top: -9px; left: -9px; }
.piped::after { bottom: -9px; right: -9px; transform: rotate(180deg); }

/* buttons: a piped ring that tightens on hover */
.btn, .button, button.button, .woocommerce a.button, .woocommerce button.button, .wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 14px 26px; border: 0; border-radius: 0;
	background: var(--fg); color: var(--bg);
	font: 600 12.5px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; text-decoration: none;
	box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--red);
	transition: box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover, .button:hover { color: var(--bg); box-shadow: 0 0 0 0 var(--bg), 0 0 0 3px var(--red); }
.btn--red, .single_add_to_cart_button, #place_order, .checkout-button {
	background: var(--red) !important; color: var(--ivory) !important;
}
.btn--red:hover, .single_add_to_cart_button:hover, #place_order:hover, .checkout-button:hover { background: #A81F16 !important; color: var(--ivory) !important; }
.btn--accent { background: var(--red) !important; color: var(--ivory) !important; }
.btn--small { min-height: 38px; padding: 10px 16px; }
.btn .ico { width: 18px; height: 18px; }
.btn[disabled], .button.disabled, .button:disabled { opacity: .5; cursor: not-allowed; }
.link { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; text-decoration: none; padding: 12px 0; border-bottom: 1px solid currentColor; }
.link .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover .ico { transform: translateX(4px); }
.round { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: transparent; border: 1px solid currentColor; color: inherit; }
.round:hover { border-color: var(--red-hi); color: var(--red-hi); }
.round .ico { width: 18px; height: 18px; }

.swatch { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--red); vertical-align: -3px; }
.swatch--midnight { background: #111C3F; }
.swatch--ivory { background: #EFE8DA; }
.swatch--stripe { background: repeating-linear-gradient(90deg, #EFE8DA 0 2px, #111C3F 2px 4px); }
.swatch--pinstripe { background: repeating-linear-gradient(90deg, #111C3F 0 3px, #EFE8DA 3px 4px); }
.swatch--lacquer { background: #C8281E; border-color: #111C3F; }

.price { font-family: var(--sans); font-weight: 500; }
.price del { opacity: .6; }
.price ins { text-decoration: none; }
.rx-cur { font-size: .72em; letter-spacing: .1em; opacity: .75; margin-left: .15em; }

/* ------------------------------------------------------------------ header bar */
.bar {
	position: fixed; inset: 0 0 auto; z-index: 60; height: var(--bar);
	display: flex; align-items: center; gap: 24px; padding: 0 var(--gut);
	background: rgba(11, 20, 51, .96); color: var(--ivory);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(8px);
}
.bar__logo { display: block; width: 150px; color: var(--ivory); }
.bar__logo:hover { color: var(--ivory); }
.bar__logo svg { width: 100%; height: auto; }
.bar__season { margin: 0 auto; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); display: flex; gap: 10px; align-items: center; }
.bar__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bar__locale, .post__locale {
	background: transparent; border: 1px solid var(--line); color: var(--mist);
	font: 600 11px/1 var(--sans); letter-spacing: .14em; padding: 10px 12px; min-height: 40px;
}
.bar__locale:hover, .post__locale:hover { color: var(--ivory); border-color: var(--mist); }
.bar__bag { display: flex; align-items: center; gap: 8px; padding: 8px 10px; min-height: 44px; text-decoration: none; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.bar__bag .ico { width: 22px; height: 22px; }
.bar__count { min-width: 22px; height: 22px; border-radius: 11px; display: inline-grid; place-items: center; background: var(--red); color: var(--ivory); font-size: 11px; letter-spacing: 0; padding: 0 6px; }
.bar__menu { display: flex; align-items: center; gap: 10px; background: transparent; border: 0; min-height: 44px; padding: 8px 0 8px 10px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.bar__menu-lines { display: grid; gap: 6px; width: 26px; }
.bar__menu-lines i { display: block; height: 3px; border-radius: 3px; background: var(--ivory); }
.bar__menu-lines i:last-child { width: 70%; margin-left: auto; background: var(--red); }
.bar__menu:hover .bar__menu-lines i:last-child { width: 100%; }

/* ------------------------------------------------------------------ takeover menu (two doors) */
.takeover { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-columns: 1fr 1fr; }
.takeover__door { padding: calc(var(--bar) + 24px) clamp(24px, 5vw, 80px) 48px; overflow-y: auto; transition: transform .7s var(--ease); }
.takeover__door--bed { background: var(--paper); color: var(--ink); --fg2: var(--muted); --bg: var(--paper); --fg: var(--ink); transform: translateX(-100%); }
.takeover__door--street { background: var(--night); color: var(--ivory); transform: translateX(100%); position: relative; }
.takeover.is-open .takeover__door { transform: none; }
.takeover__seam { position: absolute; left: 50%; top: 0; bottom: 0; width: 8px; margin-left: -4px; background: var(--pipe-v); opacity: 0; transition: opacity .3s .5s; }
.takeover.is-open .takeover__seam { opacity: 1; }
.takeover__cats { list-style: none; margin: 0; padding: 0; }
.takeover__cats a { display: grid; grid-template-columns: 2.2em 1fr auto; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(11, 20, 51, .15); text-decoration: none; }
.takeover__cats .num { color: var(--red); font-size: 22px; }
.takeover__cats .name { font: italic 400 clamp(34px, 4.2vw, 64px)/1 var(--serif); }
.takeover__cats .count { font-size: 12px; color: var(--muted); }
.takeover__cats a:hover .name { color: var(--red); }
.takeover__close { position: absolute; right: clamp(20px, 3vw, 48px); top: 14px; display: flex; gap: 8px; align-items: center; background: transparent; border: 0; min-height: 44px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.takeover__pages { list-style: none; margin: 0 0 32px; padding: 0; }
.takeover__pages a { display: block; font: italic 400 clamp(26px, 2.6vw, 40px)/1.25 var(--serif); text-decoration: none; padding: 4px 0; }
.takeover__search { display: flex; border-bottom: 1px solid var(--mist); margin-bottom: 36px; max-width: 520px; }
.takeover__search input { flex: 1; background: transparent; border: 0; padding: 14px 0; font-size: 17px; }
.takeover__search input::placeholder { color: var(--mist); opacity: .8; }
.takeover__search button { background: transparent; border: 0; min-width: 44px; }
.takeover__locale { display: grid; gap: 22px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chips a { display: inline-flex; gap: 6px; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.chips a span { color: var(--mist); font-size: 12px; }
.chips a[aria-current] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------------ scroll-snap (signature interaction) */
.snap { scroll-snap-align: start; scroll-snap-stop: normal; }
@media (min-width: 900px) and (min-height: 620px) {
	html:has(body.rx-snap) { scroll-snap-type: y mandatory; }
	.rx-snap .post { scroll-snap-align: end; }
}
@media (max-width: 899px) {
	html:has(body.rx-snap) { scroll-snap-type: y proximity; }
}

/* ------------------------------------------------------------------ door hero */
.door { position: relative; height: calc(100svh - var(--bar)); min-height: 560px; overflow: hidden; background: var(--night); isolation: isolate; }
.door__stage { position: absolute; inset: 0; --split: 50%; touch-action: pan-y; }
.door__pair { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); pointer-events: none; }
.door__pair:not(.is-seen) { display: none; }
.door__pair.is-on { opacity: 1; pointer-events: auto; }
.door__side { position: absolute; top: 0; bottom: 0; margin: 0; overflow: hidden; background: var(--night2); }
.door__side img { width: 100%; height: 100%; object-fit: cover; }
.door__side--bed { left: 0; width: var(--split); }
.door__side--bed img { object-position: 50% 30%; }
.door__side--street { left: var(--split); right: 0; }
.door__side--street img { object-position: 50% 30%; }
.door__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 20, 51, .45), transparent 26%, transparent 58%, rgba(11, 20, 51, .78)); }
.door__side figcaption { position: absolute; top: 22px; z-index: 2; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: baseline; }
.door__side--bed figcaption { left: var(--gut); }
.door__side--street figcaption { right: var(--gut); }
.door__side .stamp { font-size: 30px; letter-spacing: 0; text-transform: none; }
.door__jamb { position: absolute; z-index: 5; top: 0; bottom: 0; left: var(--split); width: 44px; margin-left: -22px; cursor: ew-resize; touch-action: none; }
.door__jamb::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 8px; border-radius: 8px; background: var(--pipe-v); box-shadow: 0 0 24px rgba(0, 0, 0, .35); }
.door__knob { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 0 5px var(--red), 0 8px 20px rgba(0, 0, 0, .35); }
.door__knob::before, .door__knob::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.door__knob::before { left: 6px; border-right-color: var(--ink); }
.door__knob::after { right: 6px; border-left-color: var(--ink); }
.door__title { position: absolute; z-index: 4; left: 0; right: 0; top: 38%; display: grid; grid-template-columns: 1fr 1fr; pointer-events: none; font: italic 400 clamp(64px, 9.6vw, 172px)/.86 var(--serif); letter-spacing: -.02em; margin: 0; text-shadow: 0 4px 40px rgba(11, 20, 51, .45); }
.door__title .l1 { text-align: right; padding-right: clamp(20px, 2.4vw, 44px); }
.door__title .l2 { padding-left: clamp(20px, 2.4vw, 44px); margin-top: .5em; }
.door__card { position: absolute; z-index: 3; right: var(--gut); bottom: 118px; text-align: right; max-width: 340px; }
.door__card .kicker { color: var(--mist); margin-bottom: 6px; }
.door__name { font: italic 400 clamp(26px, 2.4vw, 38px)/1.05 var(--serif); margin: 0 0 6px; }
.door__name a { text-decoration: none; }
.door__card .price { margin: 0; font-size: 15px; }
.door__foot { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: 22px var(--gut) 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.door__sub { margin: 0; max-width: 42ch; color: var(--ivory); font-size: 15px; }
.door__ctrl { display: flex; align-items: center; gap: 14px; }
.door__count { margin: 0; font: italic 400 22px/1 var(--serif); min-width: 64px; text-align: center; }
.door__count b { font-weight: 400; color: var(--red-hi); }
.scroll-cue { position: absolute; z-index: 4; left: 50%; bottom: 26px; margin-left: -22px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ivory); }
.scroll-cue .ico { width: 22px; height: 22px; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 50% { transform: translateY(6px); } }

@media (max-width: 899px) {
	.door { height: calc(100svh - var(--bar)); min-height: 600px; }
	.door__side--bed { left: 0; right: 0; width: auto; top: 0; bottom: 50%; }
	.door__side--street { left: 0; right: 0; top: 50%; bottom: 0; }
	.door__side::after { background: linear-gradient(180deg, rgba(11, 20, 51, .35), transparent 40%, rgba(11, 20, 51, .55)); }
	.door__side figcaption { top: 14px; }
	.door__side--street figcaption { top: auto; bottom: 120px; right: auto; left: var(--gut); }
	.door__side .stamp { font-size: 24px; }
	.door__jamb { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 8px; margin: -4px 0 0; cursor: default; pointer-events: none; }
	.door__jamb::before { left: 0; right: 0; top: 0; bottom: 0; width: auto; height: 8px; background: var(--pipe-h); }
	.door__knob { display: none; }
	.door__title { top: 50%; transform: translateY(-50%); grid-template-columns: 1fr; font-size: clamp(50px, 14vw, 96px); }
	.door__title .l1 { text-align: left; padding: 0 var(--gut); margin-bottom: .3em; }
	.door__title .l2 { margin-top: 0; padding: 0 var(--gut); text-align: right; }
	.door__card { display: none; }
	.door__sub { display: none; }
	.door__foot { padding-bottom: 18px; }
	.door__ctrl { width: 100%; justify-content: space-between; gap: 8px; }
	.door__ctrl .btn { padding: 12px 14px; letter-spacing: .1em; }
	.scroll-cue { display: none; }
}

/* ------------------------------------------------------------------ season */
.season { min-height: calc(100svh - var(--bar)); display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: center; padding: 64px var(--gut) 72px; background: var(--night); position: relative; overflow: hidden; }
.season__text { grid-column: 1 / 6; grid-row: 1; position: relative; z-index: 2; }
.season__text .display { font-size: clamp(48px, 5.6vw, 96px); }
.season__text .lede { margin: 22px 0 28px; }
.season__bodies { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.season__bodies li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.season__media { grid-column: 6 / 13; grid-row: 1; margin: 0; aspect-ratio: 16 / 10; }
.season__media img, .season__media video { width: 100%; height: 100%; object-fit: cover; }
.season__swatch { grid-column: 5 / 8; grid-row: 1; align-self: end; margin: 0 0 -32px; width: 78%; justify-self: end; z-index: 3; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); transform: rotate(-3deg); background: var(--paper); padding: 10px 10px 34px; }
.season__swatch img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
@media (max-width: 899px) {
	.season { display: block; padding: 48px var(--gut) 56px; }
	.season__media { margin: 36px 0 0; }
	.season__swatch { width: 46%; margin: -60px 0 0 auto; }
}

/* ------------------------------------------------------------------ one product per screen */
.screen { position: relative; display: grid; grid-template-columns: 56fr 44fr; height: calc(100svh - var(--top)); min-height: 560px; background: var(--bg); color: var(--fg); overflow: hidden; }
.screen--paper { grid-template-columns: 44fr 56fr; }
.screen--paper .screen__scene { order: 2; }
.screen__scene { display: block; height: 100%; overflow: hidden; background: var(--night2); }
.screen__scene img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform 1.2s var(--ease); }
.screen__scene:hover img { transform: scale(1.03); }
.screen__info { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(28px, 4.4vw, 76px); min-width: 0; }
.screen__count { display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px; }
.screen__count .num { font-size: clamp(52px, 5vw, 84px); line-height: .8; color: var(--red); }
.screen--night .screen__count .num { color: var(--red-hi); }
.screen__count .of { font: italic 400 22px/1 var(--serif); color: var(--fg2); }
.screen__count .cat { margin-left: auto; font: 600 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--fg2); text-align: right; }
.screen__name { font: italic 400 clamp(40px, 4.6vw, 82px)/.95 var(--serif); margin: 0 0 16px; letter-spacing: -.01em; }
.screen__name a { text-decoration: none; }
.screen__story { margin: 0 0 16px; color: var(--fg2); max-width: 40ch; }
.screen__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; margin: 0 0 14px; }
.screen__meta .dot { color: var(--fg2); }
.screen__price { font-size: 22px; margin: 0 0 18px; }
.screen__flat { position: absolute; bottom: 28px; width: clamp(96px, 9vw, 150px); z-index: 3; background: var(--paper2); }
.screen--night .screen__flat { left: -48px; }
.screen--paper .screen__flat { right: -48px; }
.screen__flat img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.screen.is-in .screen__name { animation: rise .8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sizes { border: 0; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sizes span { display: grid; place-items: center; min-width: 44px; min-height: 40px; padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--fg) 35%, transparent); font-size: 13px; }
.sizes input:checked + span { border-color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.sizes input:focus-visible + span { outline: 2px solid var(--red-hi); outline-offset: 2px; }
.quick__msg { width: 100%; margin: 0; min-height: 1.4em; font-size: 13.5px; color: var(--accent-text); }
.quick__msg a { font-weight: 600; }

@media (max-width: 899px) {
	.screen, .screen--paper { display: flex; flex-direction: column; height: auto; min-height: calc(100svh - var(--top)); }
	.screen--paper .screen__scene { order: 0; }
	.screen__scene { height: 52svh; flex: none; }
	.screen__info { padding: 20px var(--gut) 28px; justify-content: flex-start; }
	.screen__count { margin-bottom: 8px; }
	.screen__count .num { font-size: 44px; }
	.screen__name { font-size: clamp(34px, 10vw, 48px); margin-bottom: 10px; }
	.screen__story { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; font-size: 14.5px; }
	.screen__price { font-size: 19px; margin-bottom: 12px; }
	.screen__flat { display: none; }
}

/* progress rail */
.rail { position: fixed; z-index: 40; right: 18px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.rail.is-on { opacity: 1; }
.rail__line { display: block; width: 8px; height: 34vh; border-radius: 8px; background: rgba(179, 187, 214, .25); overflow: hidden; position: relative; }
.rail__line i { position: absolute; left: 0; right: 0; top: 0; height: var(--p, 0%); border-radius: 8px; background: var(--pipe-v); transition: height .4s var(--ease); }
.rail__n { writing-mode: vertical-rl; font: italic 400 18px/1 var(--serif); color: var(--ivory); background: var(--night); padding: 8px 4px; }
@media (max-width: 899px) {
	.rail { top: auto; bottom: 12px; right: 12px; transform: none; }
	.rail__line { display: none; }
	.rail__n { writing-mode: horizontal-tb; padding: 8px 12px; font-size: 16px; box-shadow: 0 0 0 2px var(--red); }
}

/* shop nav + intro + index */
.shopnav { position: sticky; top: var(--bar); z-index: 50; height: 48px; display: flex; align-items: center; gap: 16px; padding: 0 var(--gut); background: var(--night2); border-bottom: 1px solid var(--line); }
.shopnav__cats { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; flex: 1; }
.shopnav__cats::-webkit-scrollbar { display: none; }
.shopnav__cats a { display: inline-flex; align-items: center; white-space: nowrap; min-height: 40px; padding: 0 12px; text-decoration: none; font-size: 13.5px; color: var(--mist); }
.shopnav__cats a sup { font-size: 10px; margin-left: 3px; }
.shopnav__cats a[aria-current] { color: var(--ivory); box-shadow: inset 0 -3px 0 var(--red); }
.shopnav__index { display: flex; gap: 8px; align-items: center; background: transparent; border: 1px solid var(--line); min-height: 36px; padding: 0 12px; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); }
.shopnav__index .ico { width: 18px; height: 18px; }
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; height: calc(100svh - var(--top)); min-height: 540px; padding: 40px var(--gut); background: var(--night); }
.intro .lede { margin: 20px 0 30px; }
.intro__img { margin: 0; justify-self: end; width: min(100%, 440px); }
.intro__img img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
@media (max-width: 899px) {
	.intro { grid-template-columns: 1fr; height: auto; min-height: 0; gap: 28px; padding: 36px var(--gut) 44px; }
	.intro__img { width: 64%; justify-self: start; margin-left: 9px; }
}
.index { position: fixed; inset: 0; z-index: 110; background: rgba(11, 20, 51, .97); overflow-y: auto; }
.index__inner { max-width: 1100px; margin: 0 auto; padding: 72px var(--gut) 60px; position: relative; }
.index__close { position: absolute; right: var(--gut); top: 18px; display: flex; gap: 8px; align-items: center; background: transparent; border: 0; min-height: 44px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.index ol { list-style: none; margin: 0; padding: 0; columns: 2 320px; column-gap: 48px; }
.index li { break-inside: avoid; }
.index a { display: grid; grid-template-columns: 2.4em 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.index .num { color: var(--red-hi); }
.index .name { font: italic 400 22px/1.15 var(--serif); }
.index .price { font-size: 13px; color: var(--mist); }

/* ------------------------------------------------------------------ night routine */
.home-routine { background: var(--paper); color: var(--ink); min-height: calc(100svh - var(--bar)); display: flex; align-items: center; padding: 48px var(--gut); }
.home-routine__img { display: none; }
.routine { width: 100%; }
.routine__head { display: grid; grid-template-columns: auto 1fr; gap: 0 48px; align-items: end; margin-bottom: 36px; }
.routine__head .kicker { grid-column: 1 / -1; }
.routine__head .display { font-size: clamp(48px, 6vw, 104px); }
.routine__head .lede { margin: 0; justify-self: end; }
.routine__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.routine__steps::before { content: ""; position: absolute; left: 0; right: 0; top: 44px; height: 8px; border-radius: 8px; background: var(--pipe-h); }
.routine__step { position: relative; display: flex; flex-direction: column; min-width: 0; }
.routine__time { font: italic 400 30px/1 var(--serif); margin: 0 0 10px; color: var(--red); }
.routine__knot { width: 22px; height: 22px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 5px var(--red); position: relative; z-index: 1; margin: -1px 0 20px 2px; }
.routine__step.is-base .routine__knot { background: var(--ink); }
.routine__img { display: block; width: 100%; max-width: 170px; background: var(--paper2); margin-bottom: 12px; }
.routine__img img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.routine__line { font: 600 11px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.routine__name { font: italic 400 22px/1.1 var(--serif); margin: 0 0 4px; }
.routine__name a { text-decoration: none; }
.routine__price { margin: 0 0 10px; font-size: 14.5px; }
.routine__pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; }
.routine .routine__pick select { width: auto; color: var(--ink); min-height: 40px; border: 1px solid rgba(11, 20, 51, .35); background: transparent; padding: 0 28px 0 10px; font-size: 13.5px; border-radius: 0; appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.routine__pick select.is-missing { border-color: var(--err); box-shadow: inset 0 0 0 1px var(--err); }
.tick { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; font-size: 13.5px; cursor: pointer; }
.tick input { width: 18px; height: 18px; accent-color: var(--red); }
.routine__step.is-off { opacity: .45; }
.routine__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(11, 20, 51, .18); }
.routine__total { margin: 0; font-size: 15px; display: flex; gap: 12px; align-items: baseline; }
.routine__total .kicker { margin: 0; }
.routine__total b { font: italic 400 34px/1 var(--serif); }
.routine__msg { margin: 0; flex-basis: 100%; min-height: 1.4em; color: var(--red); font-size: 14px; }
.routine__msg a { font-weight: 600; }
@media (max-width: 899px) {
	.home-routine { display: block; }
	.routine__head { display: block; margin-bottom: 26px; }
	.routine__head .lede { margin-top: 16px; }
	.routine__steps { grid-template-columns: 1fr; gap: 0; padding-left: 30px; }
	.routine__steps::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 8px; height: auto; background: var(--pipe-v); }
	.routine__step { display: grid; grid-template-columns: 84px 1fr; gap: 2px 16px; padding: 0 0 22px; }
	.routine__time { grid-column: 1 / -1; font-size: 24px; margin: 0 0 8px; }
	.routine__knot { position: absolute; left: -31px; top: 2px; margin: 0; }
	.routine__img { grid-row: 2 / 6; margin: 0; }
	.routine__pick { margin-top: 6px; }
}
.routine--compact .routine__steps { grid-template-columns: 1fr; gap: 0; padding-left: 30px; }
.routine--compact .routine__steps::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 8px; height: auto; background: var(--pipe-v); }
.routine--compact .routine__step { display: grid; grid-template-columns: 76px 1fr; gap: 2px 16px; padding: 0 0 20px; }
.routine--compact .routine__time { grid-column: 1 / -1; font-size: 22px; margin: 0 0 6px; }
.routine--compact .routine__knot { position: absolute; left: -31px; top: 0; margin: 0; }
.routine--compact .routine__img { grid-row: 2 / 6; margin: 0; }
.routine--compact .routine__name { font-size: 20px; }
.routine--compact .routine__pick { margin-top: 6px; }
.routine--compact .routine__foot { margin-top: 10px; }

/* ------------------------------------------------------------------ five doors */
.doors { background: var(--night); padding: 56px var(--gut) 64px; min-height: calc(100svh - var(--bar)); display: flex; flex-direction: column; }
.doors__title { font-size: clamp(48px, 6vw, 104px); margin-bottom: 32px; }
.doors__row { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; height: clamp(420px, 60vh, 720px); align-items: flex-end; }
.doors__door { flex: 1; height: 100%; transition: flex-grow .7s var(--ease); min-width: 0; }
.doors__door--1 { flex-grow: 1.7; }
.doors__door--2 { flex-grow: 1.1; height: 90%; }
.doors__door--3 { flex-grow: .85; height: 76%; }
.doors__door--4 { flex-grow: .95; height: 84%; }
.doors__door--5 { flex-grow: 1.05; height: 70%; }
.doors__row:hover .doors__door { flex-grow: .8; }
.doors__row .doors__door:hover { flex-grow: 2.1; }
.doors__door a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 999px 999px 0 0; text-decoration: none; background: var(--night2); box-shadow: inset 0 0 0 1px rgba(243, 237, 225, .18); }
.doors__door a::before { content: ""; position: absolute; inset: 10px 10px 0; border: 4px solid var(--red); border-bottom: 0; border-radius: 999px 999px 0 0; z-index: 2; opacity: 0; transition: opacity .3s; }
.doors__door a:hover::before, .doors__door a:focus-visible::before { opacity: 1; }
.doors__door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.doors__door a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11, 20, 51, .9)); }
.doors__num { position: absolute; z-index: 3; top: 18%; left: 50%; transform: translateX(-50%); font: italic 400 26px/1 var(--serif); color: var(--ivory); }
.doors__name { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 44px; font: italic 400 clamp(24px, 2.3vw, 40px)/1 var(--serif); color: var(--ivory); }
.doors__meta { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 18px; font-size: 12.5px; color: var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doors__meta .rx-cur { opacity: .7; }
@media (max-width: 899px) {
	.doors__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-height: 0; }
	.doors__door, .doors__door--2, .doors__door--3, .doors__door--4, .doors__door--5 { height: 58vw; }
	.doors__door--1 { grid-column: 1 / -1; height: 78vw; }
	.doors__door--4 { margin-top: -10vw; }
	.doors__name { font-size: 24px; bottom: 38px; left: 14px; right: 14px; }
	.doors__meta { left: 14px; font-size: 11.5px; }
}

/* ------------------------------------------------------------------ proportion */
.prop { background: var(--paper); color: var(--ink); min-height: calc(100svh - var(--bar)); display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: center; padding: 56px var(--gut); overflow: hidden; }
.prop__collar { grid-column: 1 / 5; margin: 0; }
.prop__collar img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.prop__text { grid-column: 5 / 10; padding: 0 clamp(0px, 2vw, 32px); position: relative; z-index: 2; }
.prop__text .display { font-size: clamp(46px, 5.2vw, 90px); margin-bottom: 26px; }
.prop__list { margin: 0 0 26px; padding: 0; list-style: none; counter-reset: p; }
.prop__list li { counter-increment: p; position: relative; padding: 0 0 18px 64px; color: var(--muted); }
.prop__list li::before { content: "0" counter(p); position: absolute; left: 0; top: -8px; font: italic 400 44px/1 var(--serif); color: var(--red); }
.prop__list b { display: block; font: italic 400 26px/1.15 var(--serif); color: var(--ink); margin-bottom: 4px; }
.prop__back { grid-column: 10 / 13; margin: 18vh 0 0 -60px; }
.prop__back img { aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (max-width: 899px) {
	.prop { display: block; padding: 48px var(--gut); }
	.prop__collar { width: 62%; }
	.prop__text { margin-top: -40px; padding: 24px 0 0; background: var(--paper); }
	.prop__back { width: 52%; margin: 0 0 0 auto; }
}

/* ------------------------------------------------------------------ bedroom → street strip */
.strip { background: var(--night); padding: 56px 0 64px; min-height: calc(100svh - var(--bar)); display: flex; flex-direction: column; justify-content: center; }
.strip__title { padding: 0 var(--gut); font-size: clamp(44px, 5.4vw, 92px); margin-bottom: 30px; max-width: 14ch; }
.strip__row { list-style: none; margin: 0; padding: 0 var(--gut) 18px; scroll-padding-inline: var(--gut); display: flex; gap: 18px; overflow-x: auto; align-items: flex-start; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.strip__item { flex: none; width: clamp(220px, 21vw, 320px); scroll-snap-align: start; }
.strip__item--1 { margin-top: 64px; }
.strip__item--2 { width: clamp(260px, 26vw, 400px); margin-top: 20px; }
.strip__item--3 { margin-top: 96px; }
.strip__item figure { margin: 0; }
.strip__item img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.strip__item figcaption { display: flex; align-items: baseline; margin-top: 10px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.strip__item .stamp { color: var(--red-hi); font-size: 24px; letter-spacing: 0; text-transform: none; }

/* ------------------------------------------------------------------ postcard footer */
.post { background: var(--night); padding: 64px var(--gut) 28px; border-top: 1px solid var(--line); }
.post__card { --bg: var(--paper); --fg: var(--ink); --fg2: var(--muted); --accent-text: var(--red); max-width: 1240px; margin: 0 auto; background: var(--paper); color: var(--ink); display: grid; grid-template-columns: 1.15fr 1fr; position: relative; padding: clamp(28px, 4vw, 56px); box-shadow: 0 40px 80px rgba(0, 0, 0, .35); transform: rotate(-.6deg); }
.post__card::before { content: ""; position: absolute; inset: 12px; border: 5px solid var(--red); border-radius: 22px; pointer-events: none; }
.post__card::after { content: ""; position: absolute; top: 48px; bottom: 48px; left: 53.5%; width: 1px; background: rgba(11, 20, 51, .25); }
.post__msg { padding-right: clamp(20px, 3vw, 48px); position: relative; z-index: 1; }
.post__greet { font: italic 400 clamp(32px, 3.4vw, 52px)/1 var(--serif); margin: 0 0 14px; }
.post__note { margin: 0 0 28px; color: var(--muted); max-width: 46ch; }
.post__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post__links ul { list-style: none; margin: 0; padding: 0; }
.post__links li { margin: 0 0 6px; }
.post__links a { text-decoration: none; font-size: 14.5px; }
.post__links a:hover { text-decoration: underline; }
.post__withdraw { font-weight: 600; color: var(--red); }
.post__addr { padding-left: clamp(20px, 3vw, 48px); position: relative; z-index: 1; display: flex; flex-direction: column; }
.post__stamp { width: 100px; align-self: flex-end; padding: 5px; background: var(--ivory); border: 5px dotted var(--paper); box-shadow: 0 2px 6px rgba(0, 0, 0, .18); transform: rotate(4deg); }
.post__stamp svg { width: 100%; height: auto; }
.post__mark { position: absolute; right: 70px; top: 28px; width: 120px; height: 120px; border-radius: 50%; border: 2px solid rgba(11, 20, 51, .45); display: grid; place-content: center; text-align: center; transform: rotate(-14deg); color: rgba(11, 20, 51, .82); pointer-events: none; }
.post__mark::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(11, 20, 51, .4); }
.post__mark span { font: 600 9px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.post__mark b { font: italic 400 20px/1.1 var(--serif); }
.post__lines { list-style: none; margin: 30px 0 18px; padding: 0; }
.post__lines li { display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px dotted rgba(11, 20, 51, .4); font-size: 16px; }
.post__lines .kicker { margin: 0; width: 56px; flex: none; }
.post__lines a { text-decoration: none; font-weight: 500; }
.post__co { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: auto 0 0; }
.post__base { max-width: 1240px; margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: 12.5px; color: var(--mist); }
.post__base p { margin: 0; display: flex; gap: 10px; align-items: center; }
.post__base .ico { width: 16px; height: 16px; }
.cards { display: inline-flex; gap: 6px; }
.cards b { font: 700 10px/1 var(--sans); letter-spacing: .06em; padding: 5px 7px; border: 1px solid var(--line); color: var(--ivory); }
@media (max-width: 899px) {
	.post { padding-top: 44px; }
	.post__card { grid-template-columns: 1fr; transform: none; padding: 34px 26px; }
	.post__card::after { display: none; }
	.post__msg { padding: 0 0 26px; border-bottom: 1px solid rgba(11, 20, 51, .2); }
	.post__links { grid-template-columns: 1fr 1fr; }
	.post__links > div:last-child { grid-column: 1 / -1; }
	.post__addr { padding: 24px 0 0; }
	.post__stamp { width: 76px; }
	.post__mark { right: 60px; top: 30px; width: 96px; height: 96px; }
	.post__base { flex-direction: column; align-items: flex-start; }
}

/* cookie note */
.cookie { position: fixed; z-index: 90; left: 16px; bottom: 16px; max-width: 460px; display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: var(--night3); color: var(--ivory); box-shadow: -5px 0 0 var(--red), 0 20px 40px rgba(0, 0, 0, .35); font-size: 13.5px; --bg: var(--night3); --fg: var(--ivory); }
.cookie p { margin: 0; }
@media (max-width: 600px) { .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; flex-direction: column; align-items: flex-start; } }

/* ------------------------------------------------------------------ pages */
.phead { background: var(--night); padding: clamp(48px, 7vw, 104px) var(--gut) clamp(36px, 4vw, 56px); }
.phead .display { font-size: clamp(46px, 6.6vw, 112px); max-width: 16ch; }
.phead .pipe-line { margin-top: 26px; }
.phead__date { margin: 14px 0 0; color: var(--mist); font-size: 13.5px; }
.phead--woo { padding-bottom: 28px; }
.phead--woo .display { font-size: clamp(44px, 5vw, 80px); }
.pbody { background: var(--paper); color: var(--ink); padding: clamp(40px, 5vw, 80px) var(--gut) 96px; }
.pbody--toc { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 64px; justify-content: center; }
.pbody:not(.pbody--toc) .prose { max-width: 760px; margin: 0 auto; }
.toc { position: sticky; top: calc(var(--bar) + 28px); align-self: start; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: grid; grid-template-columns: 2em 1fr; padding: 6px 0; font-size: 14px; text-decoration: none; color: var(--muted); border-bottom: 1px solid rgba(11, 20, 51, .1); }
.toc a::before { content: counter(t, decimal-leading-zero); font: italic 400 16px/1.2 var(--serif); color: var(--red); }
.toc a:hover { color: var(--ink); }
.prose { font-size: 16.5px; line-height: 1.7; }
.prose h2 { font: italic 400 clamp(30px, 2.8vw, 42px)/1.1 var(--serif); margin: 2em 0 .5em; scroll-margin-top: calc(var(--bar) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 600 17px/1.35 var(--sans); margin: 1.6em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--red); font-weight: 500; }
.prose strong { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(11, 20, 51, .18); vertical-align: top; }
.prose thead th { font: 600 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.prose blockquote, .prose .box { margin: 0 0 1.4em; padding: 18px 22px; background: var(--paper2); border-left: 5px solid var(--red); }
.prose .form-box { padding: 22px 24px; border: 1px solid rgba(11, 20, 51, .3); background: #F6F1E6; font-size: 15px; }
.table-wrap { overflow-x: auto; }
@media (max-width: 899px) {
	.pbody--toc { display: block; }
	.toc { position: static; margin-bottom: 36px; padding: 18px; background: var(--paper2); }
}

/* forms */
.rx-form, .woocommerce form .form-row { max-width: 640px; }
.rx-field { margin: 0 0 18px; }
.rx-field label, .woocommerce form .form-row label { display: block; font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }
.rx-optional, .woocommerce form .form-row .optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.rx-field input, .rx-field textarea, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce-page select, .pbody input[type="text"], .pbody input[type="email"], .pbody input[type="tel"], .pbody input[type="password"], .pbody input[type="number"] {
	width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(11, 20, 51, .45); border-radius: 0; background: #FBF8F1; color: var(--ink); font-size: 16px;
}
.rx-field textarea, .woocommerce form .form-row textarea { min-height: 130px; }
.rx-field input:focus, .rx-field textarea:focus, .pbody input:focus, .pbody select:focus, .pbody textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200, 40, 30, .35); }
.rx-hp { position: absolute; left: -9999px; }
.rx-form__legal { font-size: 13.5px; color: var(--muted); }
.rx-form__row { display: flex; flex-wrap: wrap; gap: 14px; }
.rx-notice { padding: 16px 18px; margin: 0 0 22px; border-left: 5px solid var(--ok); background: #E4EEE4; color: #16361F; }
.rx-notice--err { border-color: var(--err); background: #F6E1DE; color: #5E120B; }
.rx-steps { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0 0 24px; counter-reset: s; }
.rx-steps li { counter-increment: s; display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); }
.rx-steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; font-size: 12px; }
.rx-steps li.is-current { color: var(--ink); font-weight: 600; }
.rx-steps li.is-current::before { background: var(--red); border-color: var(--red); color: var(--ivory); }
.rx-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.rx-summary dt { font-weight: 600; }
.rx-summary dd { margin: 0; }
.btn--ghost { background: transparent !important; color: var(--ink) !important; box-shadow: inset 0 0 0 1px var(--ink); }

/* about */
.ahero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--bar)); background: var(--night); }
.ahero__media { margin: 0; overflow: hidden; background: var(--night2); }
.ahero__media video, .ahero__media img { width: 100%; height: 100%; object-fit: cover; }
.ahero__text { padding: clamp(40px, 6vw, 96px) var(--gut); align-self: center; }
.ahero__text .display { font-size: clamp(48px, 6vw, 104px); }
.ahero__text .lede { margin-top: 24px; max-width: 48ch; }
.ahero__text .lede p { margin: 0 0 1em; }
.about { background: var(--paper); color: var(--ink); padding: clamp(48px, 6vw, 96px) var(--gut); --bg: var(--paper); --fg: var(--ink); --fg2: var(--muted); }
.about__row { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 88px); align-items: center; max-width: 1240px; margin: 0 auto clamp(56px, 7vw, 110px); }
.about__row--r { grid-template-columns: 6fr 5fr; }
.about__row--r .about__pic { order: 2; }
.about__pic { margin: 0; }
.about__pic img, .about__pic video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__num { display: block; font: italic 400 64px/1 var(--serif); color: var(--red); margin-bottom: 8px; }
.about__cta { text-align: center; margin: 0; }
@media (max-width: 899px) {
	.ahero { grid-template-columns: 1fr; }
	.ahero__media { height: 62svh; }
	.about__row, .about__row--r { grid-template-columns: 1fr; }
	.about__row--r .about__pic { order: 0; }
}

/* contact */
.contact { background: var(--paper); color: var(--ink); display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 80px); padding: clamp(40px, 5vw, 80px) var(--gut) 96px; max-width: 1340px; margin: 0 auto; }
.contact__card { background: #F6F1E6; padding: 26px; position: relative; box-shadow: inset 0 0 0 1px rgba(11, 20, 51, .15); align-self: start; }
.contact__img { margin: -26px -26px 22px; }
.contact__img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.contact__ways { list-style: none; margin: 0 0 22px; padding: 0; }
.contact__ways li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px dotted rgba(11, 20, 51, .4); }
.contact__ways .kicker { margin-bottom: 4px; }
.contact__ways a { font: italic 400 26px/1.1 var(--serif); text-decoration: none; word-break: break-word; }
.contact__ways p.muted { margin: 4px 0 0; font-size: 13.5px; }
.contact__co p { margin: 0 0 10px; font-size: 14.5px; }
.contact__co .muted { font-size: 13px; }
.contact__form { max-width: 640px; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }

/* 404 */
.lost { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 64px var(--gut); min-height: calc(100svh - var(--bar)); background: var(--paper); color: var(--ink); }
.lost__img { margin: 0; max-width: 520px; justify-self: end; }
.lost__img img { aspect-ratio: 1; object-fit: cover; }
.lost .lede { margin: 18px 0 28px; }
.lost__cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
@media (max-width: 899px) { .lost { grid-template-columns: 1fr; } .lost__img { justify-self: start; width: 80%; } }

/* ------------------------------------------------------------------ product page (two independent columns) */
.crumbs { display: flex; gap: 10px; align-items: center; height: 44px; padding: 0 var(--gut); background: var(--paper2); color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.crumbs a { text-decoration: none; }
.crumbs span[aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.pdp { display: grid; grid-template-columns: 58fr 42fr; height: calc(100svh - var(--bar) - 44px); min-height: 560px; background: var(--paper); color: var(--ink); }
.pdp__media, .pdp__info { overflow-y: auto; overscroll-behavior-y: auto; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.pdp__media { background: #E4DED3; }
.pdp__shot { margin: 0; position: relative; }
.pdp__shot img { width: 100%; }
.pdp__shot--scene, .pdp__shot--angle { background: var(--night2); }
.pdp__shot figcaption { position: absolute; left: 20px; bottom: 18px; display: flex; gap: 8px; align-items: baseline; padding: 8px 12px; background: var(--paper); color: var(--ink); font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.pdp__shot figcaption .num { font-size: 18px; color: var(--red); letter-spacing: 0; }
.pdp__dots { display: none; }
.pdp__info { padding: clamp(28px, 3.4vw, 56px) clamp(24px, 3.4vw, 60px) 64px; border-left: 1px solid rgba(11, 20, 51, .12); }
.pdp__code { display: flex; gap: 12px; align-items: center; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.pdp__name { font: italic 400 clamp(44px, 4.4vw, 76px)/.95 var(--serif); margin: 0 0 16px; letter-spacing: -.01em; }
.pdp__price { font-size: 24px; margin: 0 0 18px; }
.pdp__story { font-size: 17px; margin: 0 0 16px; max-width: 46ch; }
.pdp__meta { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.pdp__meta li { display: flex; gap: 10px; align-items: center; }
.pdp__fit { font-size: 14px; color: var(--muted); padding: 12px 14px; background: var(--paper2); border-left: 4px solid var(--red); margin: 0 0 22px; }
.pdp__buy form.cart { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin: 0; }
.pdp__buy .variations_form { display: block; }
.pdp__buy table.variations { width: 100%; border-collapse: collapse; margin: 0 0 14px; }
.pdp__buy table.variations th, .pdp__buy table.variations td { display: block; padding: 0; text-align: left; }
.pdp__buy table.variations th label { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 10px; }
.pdp__buy table.variations select.is-mirrored { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.size-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btns button { min-width: 52px; min-height: 46px; padding: 8px 12px; border: 1px solid rgba(11, 20, 51, .4); background: transparent; font-size: 14px; }
.size-btns button[aria-pressed="true"] { border-color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.size-btns button:hover { border-color: var(--ink); }
.pdp__buy .single_variation_wrap { display: flex; flex-direction: column; gap: 12px; }
.pdp__buy .woocommerce-variation-price { display: none; }
.pdp__buy .woocommerce-variation-add-to-cart, .pdp__buy form.cart:not(.variations_form) { display: flex; gap: 12px; align-items: stretch; }
.pdp__buy .single_add_to_cart_button { flex: 1; min-height: 52px; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid rgba(11, 20, 51, .4); height: 52px; }
.qty button { width: 42px; background: transparent; border: 0; display: grid; place-items: center; }
.qty button .ico { width: 16px; height: 16px; }
.qty input.qty, .qty input[type="number"] { width: 46px; border: 0; background: transparent; text-align: center; font-size: 16px; -moz-appearance: textfield; min-height: 0; padding: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.quantity { display: inline-flex; }
.pdp__final { font-size: 13px; color: var(--muted); margin: 14px 0 26px; }
.pdp__final a { color: var(--red); }
.pdp__acc details { border-top: 1px solid rgba(11, 20, 51, .18); }
.pdp__acc details:last-child { border-bottom: 1px solid rgba(11, 20, 51, .18); }
.pdp__acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 54px; font: italic 400 22px/1.2 var(--serif); }
.pdp__acc summary::-webkit-details-marker { display: none; }
.pdp__acc summary::after { content: ""; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .3s var(--ease); }
.pdp__acc details[open] summary::after { transform: rotate(45deg); }
.pdp__acc details > *:not(summary) { font-size: 14.5px; }
.pdp__acc details p { margin: 0 0 12px; }
.pdp__acc a { color: var(--red); }
.ticks { list-style: none; margin: 0 0 12px; padding: 0; }
.ticks li { position: relative; padding: 4px 0 4px 22px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .85em; width: 12px; height: 4px; border-radius: 4px; background: var(--red); }
.size-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 12px; }
.size-table th, .size-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid rgba(11, 20, 51, .15); white-space: nowrap; }
.size-table thead th { font: 600 10.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pdp__routine { margin-top: 40px; }
.pdp__h2 { font: italic 400 34px/1.05 var(--serif); margin: 0 0 6px; }
.pdp__routine > .muted { font-size: 14px; margin: 0 0 22px; }
.woocommerce-notices-wrapper:empty { display: none; }
.pdp .woocommerce-message, .woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 20px; padding: 14px 18px; background: #E4EEE4; border-left: 5px solid var(--ok); color: #16361F; font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.woocommerce-error { background: #F6E1DE; border-color: var(--err); color: #5E120B; }
.woocommerce-info { background: var(--paper2); border-color: var(--ink); color: var(--ink); }
.woocommerce-message .button, .woocommerce-info .button { min-height: 38px; padding: 10px 14px; order: 2; }
.notice-bar { background: var(--paper); padding: 16px var(--gut) 0; }
.notice-bar:empty { display: none; }
@media (max-width: 899px) {
	.pdp { display: block; height: auto; min-height: 0; }
	.pdp__media { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.pdp__media::-webkit-scrollbar { display: none; }
	.pdp__shot { flex: none; width: 100%; scroll-snap-align: start; }
	.pdp__shot img { aspect-ratio: 3 / 4; object-fit: cover; height: auto; }
	.pdp__dots { display: flex; justify-content: center; gap: 8px; padding: 12px 0 4px; background: var(--paper); }
	.pdp__dots i { width: 8px; height: 8px; border-radius: 8px; background: rgba(11, 20, 51, .25); transition: width .3s; }
	.pdp__dots i.is-on { width: 28px; background: var(--red); }
	.pdp__info { border: 0; padding: 22px var(--gut) 48px; }
	.pdp__name { font-size: clamp(40px, 11vw, 56px); }
}

/* ------------------------------------------------------------------ cart / checkout / account */
.rx-woo .pbody--woo { padding-top: 40px; }
.rx-woo .prose { max-width: 1240px !important; font-size: 15.5px; }
.rx-woo .prose a { font-weight: 500; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: 15px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 10px; border-bottom: 1px solid rgba(11, 20, 51, .15); text-align: left; vertical-align: middle; }
.woocommerce table.shop_table thead th { font: 600 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.woocommerce table.cart img { width: 76px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--paper2); }
.woocommerce table.cart .product-name a { font: italic 400 22px/1.1 var(--serif); text-decoration: none; color: var(--ink); }
.woocommerce table.cart .product-remove a { display: grid; place-items: center; width: 36px; height: 36px; font-size: 22px; text-decoration: none; color: var(--muted); border: 1px solid rgba(11, 20, 51, .2); }
.woocommerce table.cart td.actions { text-align: right; }
.woocommerce table.cart td.actions .coupon { display: none; }
.woocommerce .cart-collaterals { display: flex; justify-content: flex-end; }
.woocommerce .cart_totals { width: min(100%, 460px); background: #F6F1E6; padding: 24px; box-shadow: inset 0 0 0 1px rgba(11, 20, 51, .15); }
.woocommerce .cart_totals h2 { margin-top: 0; }
.woocommerce .cart_totals .shop_table { margin-bottom: 18px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; }
.cart-facts { list-style: none; padding: 0; margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.cart-facts li { margin-bottom: 6px; }
.empty-bag { padding: 32px 0 10px; }
.empty-bag h2 { margin-top: 0 !important; }
.return-to-shop .button { background: var(--red); color: var(--ivory); }
.woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; }
.woocommerce-checkout .col2-set, form.checkout { display: block; }
form.checkout.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 56px; align-items: start; }
form.checkout #customer_details { grid-column: 1; }
form.checkout #order_review_heading, form.checkout #order_review { grid-column: 2; }
form.checkout #order_review_heading { margin-top: 0 !important; grid-row: 1; }
form.checkout #order_review { grid-row: 2; position: sticky; top: calc(var(--bar) + 20px); background: #F6F1E6; padding: 22px; box-shadow: inset 0 0 0 1px rgba(11, 20, 51, .15); }
form.checkout #customer_details { grid-row: 1 / span 3; }
.woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { display: inline-block; width: calc(50% - 8px); vertical-align: top; }
.woocommerce form .form-row-first { margin-right: 12px; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 { font: italic 400 30px/1.1 var(--serif); margin: 0 0 18px; }
#ship-to-different-address label { font: 600 14px/1.4 var(--sans) !important; text-transform: none !important; letter-spacing: 0 !important; display: flex !important; gap: 10px; align-items: center; }
.wc_payment_methods { list-style: none; padding: 0; margin: 0 0 16px; }
.wc_payment_method { padding: 12px 0; border-bottom: 1px solid rgba(11, 20, 51, .15); }
.payment_box { font-size: 14px; color: var(--muted); padding: 8px 0 0; }
.woocommerce-terms-and-conditions-wrapper { font-size: 13.5px; margin: 14px 0; }
.woocommerce-terms-and-conditions-wrapper .form-row label { text-transform: none !important; letter-spacing: 0 !important; font: 400 14px/1.5 var(--sans) !important; display: flex !important; gap: 10px; align-items: flex-start; }
.woocommerce-form__input-checkbox { width: 18px; height: 18px; accent-color: var(--red); flex: none; margin-top: 2px; }
#place_order { width: 100%; min-height: 56px; font-size: 13px; }
.safe-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.safe-note .ico { width: 18px; height: 18px; flex: none; }
.woocommerce-privacy-policy-text p { font-size: 13px; color: var(--muted); }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(11, 20, 51, .15); text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { color: var(--red); font-weight: 600; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.u-columns.col2-set { display: grid !important; grid-template-columns: 1fr 1fr; gap: 48px; }
.woocommerce-form-login__rememberme { display: flex !important; gap: 8px; align-items: center; text-transform: none !important; }
@media (max-width: 899px) {
	form.checkout.woocommerce-checkout { display: block; }
	form.checkout #order_review { position: static; margin-top: 12px; }
	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce table.shop_table_responsive tr { display: grid; grid-template-columns: 80px 1fr auto; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid rgba(11, 20, 51, .15); }
	.woocommerce table.shop_table_responsive td { border: 0; padding: 2px 0; }
	.woocommerce table.cart .product-thumbnail { grid-row: 1 / 5; }
	.woocommerce table.cart .product-remove { grid-column: 3; grid-row: 1; }
	.woocommerce table.shop_table_responsive td[data-title]::before { content: attr(data-title) ": "; font-size: 12px; color: var(--muted); }
	.woocommerce table.cart .product-name::before, .woocommerce table.cart .product-remove::before, .woocommerce table.cart .product-thumbnail::before { display: none; }
	.woocommerce table.cart td.actions { grid-column: 1 / -1; }
	.woocommerce table.cart tr:last-child { display: block; }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; margin-right: 0; }
	.woocommerce-account .woocommerce, .u-columns.col2-set { grid-template-columns: 1fr; }
}

/* toast for add-to-bag */
.toast { position: fixed; z-index: 130; right: 16px; top: calc(var(--bar) + 12px); background: var(--ivory); color: var(--ink); padding: 14px 18px; display: flex; gap: 14px; align-items: center; box-shadow: 0 0 0 3px var(--night), 0 0 0 5px var(--red), 0 20px 40px rgba(0, 0, 0, .3); font-size: 14px; transform: translateY(-20px); opacity: 0; transition: .35s var(--ease); pointer-events: none; }
.toast.is-on { transform: none; opacity: 1; pointer-events: auto; }
.toast a { font-weight: 600; color: var(--red); }

/* ------------------------------------------------------------------ small screens: header */
@media (max-width: 899px) {
	:root { --bar: 58px; }
	.bar { gap: 10px; }
	.bar__logo { width: 116px; }
	.bar__season { display: none; }
	.bar__bag-label { display: none; }
	.bar__menu > span:last-child { display: none; }
	.bar__locale { padding: 8px; font-size: 10.5px; }
	.takeover { grid-template-columns: 1fr; grid-template-rows: auto auto; overflow-y: auto; }
	.takeover__door { overflow: visible; padding: 28px var(--gut); }
	.takeover__door--bed { order: 2; padding-bottom: 48px; }
	.takeover__door--street { order: 1; padding-top: 68px; }
	.takeover__seam { display: none; }
	.takeover__close { top: 12px; right: var(--gut); }
	.takeover__cats .name { font-size: 34px; }
	.takeover__pages a { font-size: 26px; }
}

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
	html:has(body.rx-snap) { scroll-snap-type: y proximity !important; }
	html { scroll-behavior: auto !important; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.screen__scene:hover img { transform: none; }
}

@media (max-width: 899px) {
	.prose table { display: block; overflow-x: auto; }
	.prose td, .prose th { word-break: break-word; min-width: 96px; }
}

/* Add to bag before a size is chosen: readable, clearly inactive */
.single_add_to_cart_button.disabled, .single_add_to_cart_button:disabled {
	opacity: 1; background: var(--paper2) !important; color: var(--muted) !important;
	box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgba(75, 82, 116, .45);
}
