/* ==========================================================================
   BACK MONDAY — base
   ========================================================================== */
:root {
	--paper: #F3EEE3;
	--paper-2: #EAE3D2;
	--ink: #121110;
	--ink-2: #2A2724;
	--sun: #E8692B;
	--olive: #2F4A2E;
	--sea: #2E6A85;
	--lemon: #F2C94C;
	--muted: #6B655C;
	--line: rgba(18, 17, 16, .16);
	--gutter: clamp(16px, 4vw, 56px);
	--f-display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
	--f-serif: 'Instrument Serif', 'Times New Roman', serif;
	--f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
	--ease: cubic-bezier(.2, .7, .1, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--header-h: 72px;
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.07 0 0 0 0 0.06 0 0 0 0 0.05 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-display);
	font-size: 17px;
	line-height: 1.5;
	font-variation-settings: 'wdth' 100;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
body::after { /* paper grain over everything, very quiet */
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image: var(--grain);
	opacity: .09;
	mix-blend-mode: multiply;
	z-index: 90;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--sun); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 750; font-variation-settings: 'wdth' 78; line-height: .92; letter-spacing: -.02em; margin: 0 0 .4em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--sun); color: var(--paper); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

/* ---------- utilities ---------- */
.bm-wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1em; }
.serif-i { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.mono { font-family: var(--f-mono); }
.bm-muted { color: var(--muted); }
.screen-reader-text, .bm-memo__hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bm-skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; font-family: var(--f-mono); font-size: 13px; }
.bm-skip:focus { top: 8px; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 48px; padding: 0 1.5em;
	border-radius: 999px; border: 1.5px solid var(--ink);
	font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
	text-decoration: none; cursor: pointer;
	background: transparent; color: var(--ink);
	transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper:hover { background: var(--sun); border-color: var(--sun); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- wordmark: BACK is mirrored. Hover un-mirrors it. ---------- */
.bm-wordmark {
	display: inline-flex; align-items: baseline; gap: .08em;
	font-family: var(--f-display); font-weight: 800; font-variation-settings: 'wdth' 75;
	line-height: .85; letter-spacing: -.03em; white-space: nowrap; text-transform: uppercase;
}
.bm-wordmark .bm-back { display: inline-block; transform: scaleX(-1); transition: transform .6s var(--ease-out); }
a:hover .bm-wordmark .bm-back, .bm-wordmark:hover .bm-back { transform: scaleX(1); }
.bm-wordmark--sm { font-size: 22px; }
.bm-wordmark--xl { font-size: clamp(64px, 17.5vw, 290px); letter-spacing: -.045em; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.reduce-motion [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- header ---------- */
.bm-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
	padding-inline: var(--gutter);
	color: #F3EEE3; mix-blend-mode: difference;
	transition: transform .5s var(--ease-out);
}
.bm-header.is-hidden { transform: translateY(-110%); }
.bm-header a { text-decoration: none; }
.bm-header__clock { justify-self: center; margin: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.bm-header__nav { display: flex; align-items: center; gap: 28px; }
.bm-nav { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.bm-nav a, .bm-header__bag { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; position: relative; }
.bm-nav a::after, .bm-header__bag::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.bm-nav a:hover::after, .bm-header__bag:hover::after { transform: scaleX(1); transform-origin: left; }
.bm-burger { display: none; background: none; border: 0; padding: 10px 0; font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; color: inherit; }

.bm-menu { position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--paper); display: grid; place-items: end start; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; }
.bm-menu[hidden] { display: none; }
.bm-menu__list { list-style: none; margin: 0 0 32px; padding: 0; }
.bm-menu__list a, .bm-menu__bag { display: block; text-decoration: none; font-weight: 800; font-variation-settings: 'wdth' 75; font-size: clamp(56px, 16vw, 120px); line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.bm-menu__list a:hover, .bm-menu__bag:hover { color: var(--sun); }
.bm-menu__bag { font-size: clamp(28px, 8vw, 48px); margin-bottom: 24px; }
.bm-menu__foot { font-size: 22px; opacity: .7; margin: 0; }
.bm-menu .eyebrow { color: var(--sun); }
body.menu-open { overflow: hidden; }

@media (max-width: 860px) {
	.bm-header { grid-template-columns: auto 1fr auto; gap: 12px; }
	.bm-header__nav { display: none; }
	.bm-burger { display: block; }
	.bm-header__clock { font-size: 10px; justify-self: end; }
}
@media (max-width: 420px) { .bm-header__clock { display: none; } .bm-header { grid-template-columns: 1fr auto; } }

/* ---------- cursor (fine pointers only) ---------- */
.bm-cursor { display: none; }
@media (pointer: fine) {
	.js .bm-cursor { display: block; position: fixed; left: 0; top: 0; z-index: 150; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--sun); pointer-events: none; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s; opacity: 0; }
	.js .bm-cursor.is-on { opacity: 1; }
	.js .bm-cursor.is-link { width: 56px; height: 56px; margin: -28px 0 0 -28px; mix-blend-mode: multiply; opacity: .85; }
}
.reduce-motion .bm-cursor { display: none !important; }

/* ---------- waitlist form ---------- */
.bm-memo { max-width: 920px; }
.bm-memo__row { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 12px; align-items: end; }
.bm-memo__field { display: grid; gap: 6px; }
.bm-memo__field .eyebrow { margin: 0; }
.bm-memo__field em { text-transform: none; letter-spacing: 0; font-style: normal; opacity: .6; }
.bm-memo input[type=email], .bm-memo input[type=tel] {
	width: 100%; min-height: 52px; padding: 0 18px;
	border: 1.5px solid currentColor; border-radius: 999px; background: transparent; color: inherit;
	font-family: var(--f-mono); font-size: 15px;
}
.bm-memo input::placeholder { color: inherit; opacity: .45; }
.bm-memo input:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(232, 105, 43, .25); }
.bm-memo .btn { min-height: 52px; }
.bm-memo__msg { margin: 14px 0 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; opacity: .75; }
.bm-memo__msg.is-ok { color: var(--olive); opacity: 1; }
.bm-memo__msg.is-bad { color: #B3261E; opacity: 1; }
@media (max-width: 760px) { .bm-memo__row { grid-template-columns: 1fr; } }

/* ---------- prose ---------- */
.bm-prose { font-family: var(--f-serif); font-size: clamp(20px, 1.6vw, 24px); line-height: 1.45; max-width: 34em; }
.bm-prose > * + * { margin-top: .9em; }
.bm-prose p { margin: 0; }
.bm-prose h2, .bm-prose h3 { font-family: var(--f-display); margin-top: 1.6em; }
.bm-prose a { text-decoration-color: var(--sun); }
.bm-prose ul, .bm-prose ol { padding-left: 1.2em; }
.bm-prose li + li { margin-top: .35em; }
.bm-prose blockquote { margin: 1.4em 0; padding-left: 1em; border-left: 3px solid var(--sun); font-size: 1.15em; }

/* ---------- footer ---------- */
.bm-footer { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 120px) 0 28px; overflow: hidden; position: relative; z-index: 1; }
.bm-footer .eyebrow { color: var(--sun); }
.bm-footer a { text-decoration: none; }
.bm-footer a:hover { color: var(--sun); }
.bm-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.bm-footer__line { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; max-width: 16em; }
.bm-footer__menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 18px; }
.bm-footer .bm-muted { color: rgba(243, 238, 227, .55); }
.bm-footer__mark { margin: clamp(48px, 7vw, 96px) 0 12px; color: var(--paper); }
.bm-footer__mark .bm-wordmark { display: flex; justify-content: center; gap: .14em; width: 100%; }
.bm-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid rgba(243, 238, 227, .18); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
@media (max-width: 760px) { .bm-footer__top { grid-template-columns: 1fr; gap: 28px; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Header v2 (shop-first): announcement bar + solid header, logo centred.
   ========================================================================== */
:root { --announce-h: 32px; --bar-h: 64px; --header-h: 96px; --bm-sticky-top: 96px; }
.bm-top { position: fixed; inset: 0 0 auto; z-index: 100; }
.bm-announce {
	position: relative; height: var(--announce-h); overflow: hidden;
	background: var(--ink); color: var(--paper);
	font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.bm-announce__msg {
	position: absolute; inset: 0; margin: 0; display: grid; place-items: center; text-align: center; padding-inline: 12px;
	opacity: 0; translate: 0 8px; transition: opacity .5s var(--ease-out), translate .5s var(--ease-out);
}
.bm-announce__msg.is-on { opacity: 1; translate: 0 0; }
.bm-top .bm-header {
	position: relative; inset: auto; height: var(--bar-h);
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
	background: rgba(243, 238, 227, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
	color: var(--ink); mix-blend-mode: normal;
}
.bm-header__left { display: flex; align-items: center; gap: 20px; }
.bm-header__right { display: flex; justify-content: flex-end; }
.bm-header__logo { justify-self: center; }
.bm-header__logo .bm-wordmark--sm { font-size: 26px; }
.bm-top .bm-burger { display: none; }
@media (max-width: 860px) {
	.bm-top .bm-header__nav { display: none; }
	.bm-top .bm-burger { display: block; }
	.bm-header__logo .bm-wordmark--sm { font-size: 22px; }
}
.bm-menu { padding-top: calc(var(--header-h) + 24px); }
html { scroll-behavior: smooth; }
.reduce-motion { scroll-behavior: auto; }

/* ==========================================================================
   Minimal pass: header dissolves into the dusk; footer is one quiet row.
   ========================================================================== */
.has-dusk .bm-top:not(.is-solid) .bm-header { background: transparent; border-bottom-color: transparent; color: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
.bm-top .bm-header { transition: background-color .4s, color .4s, border-color .4s; }
.bm-announce { letter-spacing: .2em; }

.bm-footer { padding: clamp(56px, 8vw, 110px) 0 24px; }
.bm-footer__mark { margin: 0 0 20px; }
.bm-footer__base { align-items: center; }
.bm-footer__nav .bm-footer__menu { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 11px; }
.bm-footer__nav a { text-decoration: none; }
@media (max-width: 760px) { .bm-footer__base { justify-content: center; text-align: center; } .bm-footer__nav .bm-footer__menu { justify-content: center; } }
