/* cubby placeholder page — "workshop shelf" direction.
   warm paper + walnut ink + rust accent; Fraunces display, Figtree body.
   hand-authored, no framework, no images: every visual is CSS or inline SVG. */

:root {
	--paper: #f6f1e7;
	--card: #fdfaf3;
	--ink: #241c11;
	--ink-soft: #5c4f3d;
	--line: #d9cfbc;
	--line-strong: #241c11;
	--accent: #b4511a;
	--accent-deep: #8f3c0e;
	--live: #3e7d4f;
	--shadow: 0 2px 0 rgba(36, 28, 17, 0.9);
	--display: "Fraunces", georgia, serif;
	--body: "Figtree", system-ui, sans-serif;
	--mono: ui-monospace, "SF Mono", menlo, consolas, monospace;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #1d1712;
		--card: #262018;
		--ink: #f0e7d6;
		--ink-soft: #beae94;
		--line: #453a2c;
		--line-strong: #f0e7d6;
		--accent: #e0874c;
		--accent-deep: #d97a3d;
		--live: #7fc290;
		--shadow: 0 2px 0 rgba(240, 231, 214, 0.85);
	}
}

* {
	box-sizing: border-box;
	margin: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--paper);
	background-image: radial-gradient(rgba(36, 28, 17, 0.045) 1px, transparent 1px);
	background-size: 22px 22px;
	color: var(--ink);
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.6;
	max-width: 68rem;
	margin: 0 auto;
	padding: 0 1.25rem 3rem;
}

/* ---------- header ---------- */

.top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 1.5rem 0 0.75rem;
}

.wordmark {
	font-family: var(--display);
	font-weight: 640;
	font-size: 1.75rem;
	color: var(--ink);
	text-decoration: none;
	letter-spacing: -0.02em;
}

.top-link {
	font-family: var(--mono);
	font-size: 0.85rem;
	color: var(--accent-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* ---------- status band ---------- */

.status-band {
	font-family: var(--mono);
	font-size: 0.82rem;
	color: var(--ink-soft);
	border-block: 1px solid var(--line);
	padding: 0.55rem 0.1rem;
	margin-bottom: clamp(2.5rem, 7vw, 4.5rem);
}

.status-dot {
	display: inline-block;
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	background: var(--live);
	margin-right: 0.4em;
	animation: pulse 2.4s ease-in-out infinite;
}

.placeholder {
	background: var(--card);
	border: 1px dashed var(--accent);
	color: var(--accent-deep);
	padding: 0.05rem 0.35rem;
	border-radius: 0.25rem;
	white-space: nowrap;
}

/* ---------- hero ---------- */

.hero {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	margin-bottom: clamp(4rem, 10vw, 7rem);
}

h1 {
	font-family: var(--display);
	font-weight: 560;
	font-size: clamp(2.1rem, 5.2vw, 3.6rem);
	line-height: 1.08;
	letter-spacing: -0.015em;
	text-wrap: balance;
	margin-bottom: 1.1rem;
}

.subhead {
	font-family: var(--display);
	font-weight: 470;
	font-size: clamp(1.15rem, 2.4vw, 1.45rem);
	color: var(--ink);
	margin-bottom: 1.2rem;
}

.disambiguation {
	font-family: var(--mono);
	font-size: 0.88rem;
	color: var(--ink-soft);
	border-left: 3px solid var(--accent);
	padding-left: 0.8rem;
	margin-bottom: 1.4rem;
	max-width: 34rem;
}

.hero-body {
	color: var(--ink-soft);
	max-width: 33rem;
	margin-bottom: 1.8rem;
}

.hero-cta {
	display: inline-block;
	font-family: var(--body);
	font-weight: 600;
	color: var(--paper);
	background: var(--accent-deep);
	border: 2px solid var(--line-strong);
	box-shadow: var(--shadow);
	border-radius: 0.6rem;
	padding: 0.65rem 1.3rem;
	text-decoration: none;
	transition:
		transform 120ms ease,
		box-shadow 120ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 4px 0 rgba(36, 28, 17, 0.9);
}

@media (prefers-color-scheme: dark) {
	.hero-cta {
		color: #1d1712;
	}

	.hero-cta:hover,
	.hero-cta:focus-visible {
		box-shadow: 0 4px 0 rgba(240, 231, 214, 0.85);
	}
}

/* ---------- the shelf ---------- */

.shelf {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
	padding: 0.9rem;
	background: var(--card);
	border: 2px solid var(--line-strong);
	border-radius: 0.9rem;
	box-shadow: var(--shadow);
	transform: rotate(1.2deg);
}

.cell {
	aspect-ratio: 1;
	border: 1.5px solid var(--line);
	border-radius: 0.45rem;
	display: grid;
	place-items: center;
	color: var(--ink-soft);
}

.cell svg {
	width: 45%;
	height: 45%;
}

.cell-empty {
	background: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(92, 79, 61, 0.07) 6px 7px);
}

.cell-live {
	border-color: var(--live);
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	align-items: center;
	justify-content: center;
}

.live-dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--live);
	animation: pulse 1.8s ease-in-out infinite;
}

.live-label {
	font-family: var(--mono);
	font-size: 0.7rem;
	color: var(--live);
}

@keyframes pulse {
	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.35;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.status-dot,
	.live-dot {
		animation: none;
	}

	.hero-cta {
		transition: none;
	}
}

/* ---------- doors ---------- */

h2 {
	font-family: var(--display);
	font-weight: 560;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	letter-spacing: -0.01em;
	margin-bottom: 1.4rem;
}

.doors {
	margin-bottom: clamp(4rem, 10vw, 7rem);
}

.door-grid {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: 1.4rem;
	align-items: start;
}

.door {
	background: var(--card);
	border: 2px solid var(--line-strong);
	border-radius: 0.9rem;
	padding: 1.5rem 1.6rem 1.7rem;
	box-shadow: var(--shadow);
}

.door-business {
	border-left: 6px solid var(--accent);
}

.door-consumer {
	color: var(--ink-soft);
	transform: translateY(0.9rem) rotate(-0.4deg);
	border-style: dashed;
	border-width: 2px;
	box-shadow: none;
}

.door-tag {
	font-family: var(--mono);
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--accent-deep);
	margin-bottom: 0.5rem;
}

.door-consumer .door-tag {
	color: var(--ink-soft);
}

.door h3 {
	font-family: var(--display);
	font-weight: 560;
	font-size: 1.45rem;
	margin-bottom: 0.6rem;
}

.door p:last-child {
	color: var(--ink-soft);
}

/* ---------- waitlist ---------- */

.waitlist {
	background: var(--card);
	border: 2px solid var(--line-strong);
	border-radius: 1rem;
	box-shadow: var(--shadow);
	padding: clamp(1.5rem, 4vw, 2.6rem);
	margin-bottom: 3.5rem;
	max-width: 42rem;
}

.waitlist-lede {
	color: var(--ink-soft);
	margin-bottom: 1.5rem;
}

.field {
	margin-bottom: 1.2rem;
	border: 0;
	padding: 0;
}

.field label,
.field legend {
	display: block;
	font-family: var(--mono);
	font-size: 0.82rem;
	color: var(--ink-soft);
	margin-bottom: 0.45rem;
}

input[type="email"] {
	width: 100%;
	max-width: 26rem;
	font: inherit;
	color: var(--ink);
	background: var(--paper);
	border: 2px solid var(--line-strong);
	border-radius: 0.5rem;
	padding: 0.6rem 0.8rem;
}

input[type="email"]:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 1px;
}

.choices {
	display: flex;
	gap: 0.8rem;
	flex-wrap: wrap;
}

.choice {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	border: 1.5px solid var(--line);
	border-radius: 2rem;
	padding: 0.35rem 0.9rem;
	cursor: pointer;
}

.choice:has(input:checked) {
	border-color: var(--accent-deep);
	background: var(--paper);
}

.choice input {
	accent-color: var(--accent-deep);
}

.cf-turnstile {
	margin-bottom: 1.2rem;
	min-height: 65px;
}

.submit {
	font: inherit;
	font-weight: 600;
	color: var(--paper);
	background: var(--accent-deep);
	border: 2px solid var(--line-strong);
	border-radius: 0.6rem;
	box-shadow: var(--shadow);
	padding: 0.65rem 1.4rem;
	cursor: pointer;
	transition: transform 120ms ease;
}

.submit:hover:not(:disabled),
.submit:focus-visible {
	transform: translateY(-2px);
}

.submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

@media (prefers-color-scheme: dark) {
	.submit {
		color: #1d1712;
	}
}

.form-status {
	font-family: var(--mono);
	font-size: 0.88rem;
	color: var(--ink-soft);
	margin-top: 0.9rem;
	min-height: 1.4em;
}

/* ---------- footer ---------- */

.foot {
	border-top: 1px solid var(--line);
	padding-top: 1.2rem;
	font-family: var(--mono);
	font-size: 0.82rem;
	color: var(--ink-soft);
}

.foot-fine {
	margin-top: 0.4rem;
	font-size: 0.75rem;
}

/* ---------- small screens ---------- */

@media (max-width: 44rem) {
	.hero,
	.door-grid {
		grid-template-columns: 1fr;
	}

	.shelf {
		max-width: 20rem;
		transform: rotate(0.6deg);
	}

	.door-consumer {
		transform: none;
	}

	.status-band .placeholder {
		white-space: normal;
	}
}
