/* ==========================================================================
   BACK MONDAY — home. Five moments: dusk, uniform, off, otium, reply.
   ========================================================================== */

.bm-home section { position: relative; overflow-x: clip; }

/* ---------- 1. Dusk ---------- */
.bm-home .dusk {
	height: 100svh;
	min-height: 560px;
	background: linear-gradient(180deg, #0D0C0B 0%, #15120F 55%, #1E1814 66%, #0A0908 66.1%, #0A0908 100%);
	color: var(--paper);
	overflow: clip;
	isolation: isolate;
}
.bm-home .dusk-sun {
	position: absolute;
	left: 50%;
	top: 66%;
	width: min(46vmin, 420px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--sun);
	transform: translate(-50%, -50%);
	box-shadow: 0 0 120px 10px rgba(232, 105, 43, .22);
	z-index: 1;
}
.bm-home .dusk-sea {
	position: absolute;
	inset: 66% 0 0;
	background: #0A0908;
	z-index: 2;
	display: grid;
	align-content: start;
	justify-items: center;
	gap: 14px;
	padding-top: 18px;
}
.bm-home .dusk-sea span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: var(--sun);
	opacity: .55;
	animation: bmShimmer 5s ease-in-out infinite;
}
.bm-home .dusk-sea span:nth-child(1) { width: min(30vmin, 280px); }
.bm-home .dusk-sea span:nth-child(2) { width: min(22vmin, 200px); opacity: .4; animation-delay: -1s; }
.bm-home .dusk-sea span:nth-child(3) { width: min(15vmin, 140px); opacity: .3; animation-delay: -2s; }
.bm-home .dusk-sea span:nth-child(4) { width: min(9vmin, 80px); opacity: .2; animation-delay: -3s; }
.bm-home .dusk-sea span:nth-child(5) { width: min(4vmin, 36px); opacity: .12; animation-delay: -4s; }
@keyframes bmShimmer { 50% { transform: scaleX(.82); } }

.bm-home .dusk-time {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 34%;
	margin: 0;
	z-index: 3;
	text-align: center;
	font-family: var(--f-mono);
	font-weight: 500;
	font-size: clamp(88px, 24vw, 400px);
	line-height: .74;
	letter-spacing: -.07em;
	color: var(--paper);
	text-wrap: nowrap;
	opacity: 0;
	animation: bmRise 1.6s .2s var(--ease-out) forwards;
}
@keyframes bmRise { from { opacity: 0; translate: 0 6%; } to { opacity: 1; translate: 0 0; } }

.bm-home .dusk-foot {
	position: absolute;
	left: 0;
	right: 0;
	bottom: max(28px, 7svh);
	z-index: 3;
	display: grid;
	justify-items: center;
	gap: 18px;
	opacity: 0;
	animation: bmRise 1.2s 1.1s var(--ease-out) forwards;
}
.bm-home .dusk-line { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(18px, 1.8vw, 24px); color: rgba(243, 238, 227, .62); }
.bm-home .dusk-cta {
	font-family: var(--f-mono);
	font-size: 12px;
	letter-spacing: .24em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--paper);
	padding: 10px 2px;
	border-bottom: 1px solid rgba(243, 238, 227, .5);
	transition: border-color .3s, color .3s;
}
.bm-home .dusk-cta:hover { color: var(--sun); border-color: var(--sun); }

/* ---------- 2. Uniform (grid comes from shop.css) ---------- */
.bm-home .home-shop { position: relative; z-index: 2; background: var(--paper); padding: 0 var(--gutter) clamp(80px, 14vh, 160px); }
.bm-home #products { scroll-margin-top: var(--header-h); }

/* ---------- 3. Off ---------- */
.bm-home .off {
	min-height: 88svh;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 28px;
	padding: 80px var(--gutter);
	background: var(--ink);
	color: var(--paper);
	transition: background-color .9s var(--ease-out), color .9s;
}
.bm-home .off-label { margin: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .55; transition: opacity .6s; }
.bm-home .off-track {
	--x: 0px;
	--k: 0;
	position: relative;
	width: min(340px, 84vw);
	height: 68px;
	border-radius: 999px;
	background: rgba(243, 238, 227, .07);
	border: 1px solid rgba(243, 238, 227, .14);
	display: grid;
	place-items: center;
	transition: opacity .6s;
}
.bm-home .off-knob {
	position: absolute;
	left: 5px;
	top: 5px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	display: grid;
	place-items: center;
	background: var(--paper);
	color: var(--ink);
	cursor: grab;
	touch-action: none;
	transform: translateX(var(--x));
	z-index: 1;
}
.bm-home .off-knob:active { cursor: grabbing; }
.bm-home .off-track.is-spring .off-knob { transition: transform .45s var(--ease-out); }
.bm-home .off-knob svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.bm-home .off-hint {
	padding-left: 44px;
	font-family: var(--f-mono);
	font-size: 13px;
	letter-spacing: .08em;
	color: transparent;
	background: linear-gradient(90deg, rgba(243,238,227,.35) 0%, rgba(243,238,227,.35) 40%, rgba(243,238,227,.95) 50%, rgba(243,238,227,.35) 60%, rgba(243,238,227,.35) 100%) 0 0 / 300% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	animation: bmSheen 3.2s linear infinite;
	opacity: calc(1 - var(--k) * 1.6);
	user-select: none;
}
@keyframes bmSheen { from { background-position: 100% 0; } to { background-position: -50% 0; } }

.bm-home .off-after {
	margin: 0;
	display: grid;
	justify-items: center;
	gap: 10px;
	text-align: center;
	opacity: 0;
	height: 0;
	overflow: hidden;
}
.bm-home .off-good { font-family: var(--f-display); font-weight: 800; font-variation-settings: 'wdth' 75; font-size: clamp(72px, 15vw, 220px); line-height: .82; letter-spacing: -.03em; }
.bm-home .off-go { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); }

.bm-home .off.is-dark { background: #000; }
.bm-home .off.is-dark .off-label,
.bm-home .off.is-dark .off-track { opacity: 0; }
.bm-home .off.is-done { background: var(--sun); color: var(--ink); }
.bm-home .off.is-done .off-label,
.bm-home .off.is-done .off-track { display: none; }
.bm-home .off.is-done .off-after { opacity: 1; height: auto; overflow: visible; animation: bmRise 1s var(--ease-out); }

/* ---------- 4. Otium ---------- */
.bm-home .otium {
	min-height: 100svh;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 40px;
	padding: 12svh var(--gutter);
	overflow: clip;
}
.bm-home .otium-img { width: min(42vw, 600px); justify-self: center; mix-blend-mode: multiply; opacity: .92; }
.bm-home .otium-text { max-width: 30rem; }
.bm-home .otium-word { margin: 0 0 .1em; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(96px, 15vw, 240px); line-height: .8; letter-spacing: -.02em; font-variation-settings: normal; }
.bm-home .otium-def { margin: 0 0 40px; font-size: clamp(20px, 1.8vw, 26px); }
.bm-home .otium-pos { font-family: var(--f-serif); font-style: italic; color: var(--muted); margin-right: .3em; }
.bm-home .otium-note { margin: 0 0 28px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.bm-home .otium-note em { font-family: var(--f-serif); font-size: 15px; letter-spacing: 0; color: var(--ink); }
.bm-home .otium-link { font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.bm-home .otium-link:hover { color: var(--sun); }

/* ---------- 5. Automatic reply ---------- */
.bm-home .reply { padding: 16svh var(--gutter) 18svh; border-top: 1px solid var(--line); }
.bm-home .reply-inner { max-width: 760px; margin-inline: auto; }
.bm-home .reply-meta { margin: 0 0 28px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.bm-home .reply-title { margin: 0 0 40px; font-size: clamp(34px, 5.2vw, 68px); font-weight: 750; line-height: .98; }
.bm-home .reply-title span { display: block; margin-top: .25em; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: .6em; letter-spacing: 0; color: var(--muted); }
.bm-home .reply-sig { margin: 40px 0 0; font-family: var(--f-serif); font-style: italic; color: var(--muted); }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
	.bm-home .otium { grid-template-columns: 1fr; min-height: 0; padding-block: 14svh; }
	.bm-home .otium-img { position: absolute; right: -24vw; top: 8svh; width: 88vw; opacity: .16; z-index: -1; }
	.bm-home .dusk-time { bottom: 36%; }
}

/* ---------- reduced motion ---------- */
.reduce-motion .bm-home .dusk-time,
.reduce-motion .bm-home .dusk-foot { opacity: 1; animation: none; }
.reduce-motion .bm-home .dusk-sea span,
.reduce-motion .bm-home .off-hint { animation: none; }

/* ---------- Dusk v2: say what we sell, keep the mood, let the tees peek ---------- */
.bm-home .dusk {
	height: 78svh;
	min-height: 540px;
	background: linear-gradient(180deg, #0D0C0B 0%, #15120F 50%, #1E1814 62%, #0A0908 62.1%);
}
.bm-home .dusk-sun { top: 62%; width: min(40vmin, 380px); }
.bm-home .dusk-sea { inset: 62% 0 0; gap: 10px; padding-top: 16px; }
.bm-home .dusk-time { bottom: 38%; font-size: clamp(80px, 20vw, 330px); }
.bm-home .dusk-foot { gap: 10px; bottom: max(22px, 4svh); padding-inline: var(--gutter); text-align: center; }
.bm-home .dusk-what {
	margin: 0;
	font-family: var(--f-display);
	font-weight: 800;
	font-variation-settings: 'wdth' 75;
	font-size: clamp(26px, 4vw, 46px);
	line-height: .95;
	letter-spacing: -.01em;
	text-transform: uppercase;
	color: var(--paper);
}
.bm-home .dusk-line { font-size: clamp(17px, 1.6vw, 22px); }
.bm-home .dusk-cta { margin-top: 8px; }
@media (max-width: 760px) {
	.bm-home .dusk { height: 80svh; }
	.bm-home .dusk-time { bottom: 40%; }
}
@media (min-width: 761px) { .bm-home .dusk { height: 66svh; min-height: 480px; } .bm-home .dusk-time { font-size: clamp(80px, 17vw, 300px); } }
.bm-home .otium-img { width: min(38vw, 440px); }
@media (max-width: 760px) { .bm-home .otium-img { width: 80vw; } }
.bm-home .dusk-what { font-size: clamp(30px, 5.4vw, 72px); }
.bm-home .dusk-sun { width: min(46vmin, 440px); }

/* the sun is the mark: orange warped circle logo, turning slowly, setting into the sea */
.bm-home .dusk-sun--mark {
	background: none;
	box-shadow: none;
	border-radius: 0;
	width: min(44vmin, 420px);
	transform: translate(-50%, -84%);
}
.bm-home .dusk-sun--mark img {
	width: 100%;
	height: auto;
	display: block;
	filter: drop-shadow(0 0 48px rgba(232, 105, 43, .28));
	animation: bmSunSpin 36s linear infinite;
}
@keyframes bmSunSpin { to { rotate: 360deg; } }
.reduce-motion .bm-home .dusk-sun--mark img { animation: none; }
.bm-home .dusk-sun--mark { width: min(34vmin, 340px); transform: translate(-50%, -72%); }
@media (max-width: 760px) { .bm-home .dusk-sun--mark { width: 54vw; } }
/* dips ~15% below the horizon on load, sinks a little as you scroll */
.bm-home .dusk-sun--mark { width: min(30vmin, 300px); transform: translate(-50%, -75%); }
@media (max-width: 760px) { .bm-home .dusk-sun--mark { width: 54vw; transform: translate(-50%, -79%); } }
/* tagline only */
.bm-home .dusk-what { font-size: clamp(24px, 3.4vw, 46px); max-width: 22ch; margin-inline: auto; text-wrap: balance; line-height: 1; }
