/*
 * Runasoma — opening-soon page.
 *
 * Tokens are the bible's palette (part 02). Text on night uses linen or the muted linen below, both
 * well past AA; amber is used for large display type and for the one button, never for small text on
 * a light ground. Nothing here depends on JavaScript to be readable: `.js` is added by a one-line
 * script in the head, and only then do the reveal animations hide anything.
 */

@font-face {
	font-family: "Runasoma Carved";
	src: url("../fonts/RunasomaCarved-Regular.ttf") format("truetype");
	font-display: swap;
}
@font-face {
	font-family: "Runasoma Text";
	src: url("../fonts/RunasomaText-Regular.ttf") format("truetype");
	font-display: swap;
}

:root {
	--night: #1b2430;
	--night-deep: #121820;
	--bark: #4a3728;
	--moss: #3e5f3a;
	--orchard: #7a9a5b;
	--amber: #c8892b;
	--amber-hi: #e3a24c;
	--linen: #ede4d3;
	--muted: #bdb4a1;
	--iron: #3a3f44;
	--ember: #8a2e1f;

	--display: "Runasoma Carved", "Palatino Linotype", Palatino, Georgia, serif;
	--label: "Runasoma Text", "Palatino Linotype", Palatino, Georgia, serif;
	--body: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

	--gutter: clamp(1rem, 4vw, 2.5rem);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
	color-scheme: dark;
	background: var(--night-deep);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--night);
	color: var(--linen);
	font-family: var(--body);
	font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.2rem);
	line-height: 1.7;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

/* film grain over everything: dry, never glossy */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 60;
	pointer-events: none;
	opacity: 0.07;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .95  0 0 0 0 .85  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }

.sr-only {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
	position: fixed; left: 1rem; top: -4rem; z-index: 200;
	background: var(--amber); color: var(--night); padding: 0.7rem 1rem; border-radius: 8px;
	font-family: var(--label); text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--amber-hi); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2 * var(--gutter)); }
section { position: relative; scroll-margin-top: 4rem; }

/* ——— type ——— */
.eyebrow {
	font-family: var(--label);
	font-size: 0.95rem;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--amber-hi);
	margin: 0 0 1.4rem;
}
.display {
	font-family: var(--display);
	font-size: clamp(2.3rem, 6.4vw, 5rem);
	line-height: 1.04;
	letter-spacing: 0.005em;
}
.amber { color: var(--amber-hi); }
.lead { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.35rem); color: var(--muted); max-width: 46rem; }
.small { font-size: 0.98rem; color: var(--muted); }

/* ——— buttons ——— */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
	/* bold serif, not the thin brand label face: hairline strokes lose their contrast on a filled button */
	font-family: var(--body); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.14em; text-transform: uppercase;
	background: var(--amber); color: var(--night);
	border: 1px solid var(--amber); border-radius: 999px;
	padding: 0.95rem 1.9rem; text-decoration: none; cursor: pointer;
	transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s;
	min-height: 48px;
}
.btn:hover { background: var(--amber-hi); transform: translateY(-2px); box-shadow: 0 10px 34px rgba(227, 162, 76, 0.28); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--linen); border-color: rgba(237, 228, 211, 0.4); }
.btn.ghost:hover { background: rgba(237, 228, 211, 0.1); box-shadow: none; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }

/* ——— header ——— */
.bar {
	position: fixed; z-index: 90; inset: 0 0 auto 0;
	display: flex; align-items: center; justify-content: space-between;
	padding: 0.9rem var(--gutter);
	padding-top: max(0.9rem, env(safe-area-inset-top));
	transition: background 0.35s, backdrop-filter 0.35s;
}
.bar.solid { background: rgba(18, 24, 32, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mark { font-family: var(--display); font-size: 1.7rem; text-decoration: none; letter-spacing: 0.02em; line-height: 1; }
.bar-cta {
	font-family: var(--label); font-size: 0.92rem; letter-spacing: 0.2em; text-transform: uppercase;
	text-decoration: none; padding: 0.55rem 1rem; border: 1px solid rgba(237, 228, 211, 0.35); border-radius: 999px;
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.bar-cta:hover { background: var(--amber); border-color: var(--amber); color: var(--night); }
.progress { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: 2px; }
.progress i { display: block; height: 100%; background: var(--amber-hi); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ————————————————————————— hero ————————————————————————— */
.hero {
	min-height: 100vh; min-height: 100svh;
	display: grid; align-items: end;
	overflow: hidden; isolation: isolate;
	padding: 7rem var(--gutter) clamp(4.5rem, 10vh, 7rem);
}
.hero-bg { position: absolute; inset: -9% 0; z-index: -4; will-change: transform; }
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-bg img {
	width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%;
	animation: breathe 38s ease-in-out infinite alternate;
}
@keyframes breathe { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero-light {
	position: absolute; inset: 0; z-index: -3; pointer-events: none; mix-blend-mode: screen;
	background: radial-gradient(560px circle at var(--lx, 68%) var(--ly, 32%), rgba(255, 186, 92, 0.3), rgba(255, 150, 60, 0.08) 45%, transparent 68%);
	transition: background-position 0.2s;
}
.hero-fade {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(14, 19, 26, 0.86) 0%, rgba(14, 19, 26, 0.5) 42%, rgba(14, 19, 26, 0.05) 78%),
		linear-gradient(180deg, rgba(14, 19, 26, 0.5) 0%, transparent 22%, transparent 52%, var(--night) 100%);
}
.hero-copy { width: min(1180px, 100%); margin-inline: auto; }
.hero h1 {
	font-family: var(--display);
	font-size: clamp(3.4rem, 12.5vw, 10rem);
	line-height: 0.94;
	letter-spacing: 0.005em;
	text-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
	margin-bottom: 1.6rem;
}
.hero .lede { max-width: 38rem; font-size: clamp(1.1rem, 1rem + 0.55vw, 1.4rem); color: var(--linen); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
.hero .lede strong { font-weight: 400; color: var(--amber-hi); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.rise { opacity: 0; transform: translateY(26px); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

.scroll-cue {
	position: absolute; left: 50%; bottom: 1.4rem; width: 28px; height: 46px; margin-left: -14px;
	border: 1.5px solid rgba(237, 228, 211, 0.55); border-radius: 16px; opacity: 0.8;
}
.scroll-cue span {
	position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--linen);
	animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ————————————————————————— reveal ————————————————————————— */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ————————————————————————— the name ————————————————————————— */
.name { padding: clamp(5.5rem, 14vw, 10rem) 0; background: var(--night-deep); text-align: center; overflow: hidden; }
.well { position: absolute; inset: 0; opacity: 0.34; pointer-events: none;
	-webkit-mask-image: radial-gradient(ellipse at 50% 55%, #000 15%, transparent 72%);
	mask-image: radial-gradient(ellipse at 50% 55%, #000 15%, transparent 72%); }
.well img { width: 100%; height: 100%; object-fit: cover; }
.name .wrap { position: relative; }
.etymology { display: flex; align-items: flex-start; justify-content: center; gap: clamp(1rem, 4vw, 3rem); margin: 1.6rem 0 3.4rem; }
.et { flex: 1 1 0; max-width: 20rem; }
.et .word { display: block; font-family: var(--display); font-size: clamp(3rem, 9vw, 6.4rem); line-height: 1; color: var(--amber-hi); margin-bottom: 0.9rem; }
.et .def { display: block; font-size: 1rem; line-height: 1.6; color: var(--muted); }
.plus { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.4rem); color: var(--muted); padding-top: clamp(0.7rem, 2vw, 1.4rem); }
.thesis { font-family: var(--display); font-size: clamp(1.5rem, 3.6vw, 2.5rem); line-height: 1.38; margin: 0; }
.thesis em { font-style: normal; color: var(--amber-hi); }

/* ————————————————————————— three ————————————————————————— */
.three { padding: clamp(5rem, 12vw, 9rem) 0; background: linear-gradient(180deg, var(--night-deep), var(--night) 18%); }
.three .display { margin-bottom: clamp(2.4rem, 6vw, 4rem); }
.pillars { display: grid; gap: clamp(1.2rem, 2.4vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
	background: rgba(237, 228, 211, 0.04); border: 1px solid rgba(237, 228, 211, 0.12); border-radius: 16px; overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s;
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(227, 162, 76, 0.5); background: rgba(237, 228, 211, 0.06); }
.pillar-img { aspect-ratio: 3 / 2; overflow: hidden; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pillar:hover .pillar-img img { transform: scale(1.06); }
.pillar .num { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--amber); margin: 1.4rem 1.6rem 0; }
.pillar h3 { font-family: var(--display); font-size: 2.1rem; line-height: 1.1; margin: 0.3rem 1.6rem 0; }
.pillar .tag { font-style: italic; color: var(--amber-hi); margin: 0.5rem 1.6rem 1rem; }
.pillar p:not(.num):not(.tag) { margin: 0 1.6rem 1rem; color: var(--muted); font-size: 1.02rem; }
.pillar p:last-child { margin-bottom: 1.8rem; }

/* ————————————————————————— the presences ————————————————————————— */
.gods { padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem); background: var(--night-deep); overflow: hidden; }
.gods .display { margin-bottom: 1.4rem; }
.gods .lead { margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.gods q { color: var(--linen); font-style: italic; quotes: "“" "”"; }

.rail-wrap { position: relative; }
.rail {
	display: flex; gap: clamp(0.9rem, 2vw, 1.4rem);
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
	padding: 0.4rem var(--gutter) 1.6rem;
	scroll-padding-inline: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.god {
	position: relative; flex: 0 0 min(78vw, 330px); aspect-ratio: 3 / 4; scroll-snap-align: start;
	border-radius: 16px; overflow: hidden; background: var(--iron);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
	transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.god:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(227, 162, 76, 0.5); }
.god img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.god:hover img { transform: scale(1.07); }
.god-cap {
	position: absolute; inset: auto 0 0 0; padding: 4.5rem 1.2rem 1.2rem;
	background: linear-gradient(180deg, transparent, rgba(10, 14, 19, 0.92) 62%);
}
.god-name { font-family: var(--display); font-size: 1.9rem; line-height: 1.05; margin: 0; }
.god-epi { font-family: var(--label); font-size: 0.84rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-hi); margin: 0.35rem 0 0.5rem; }
.god-line { font-size: 0.98rem; line-height: 1.45; margin: 0; color: #d6cdbb; }
.god-note { font-size: 0.8rem; line-height: 1.4; margin: 0.45rem 0 0; color: #bdb4a1; }

.rail-btn {
	display: none; position: absolute; top: 42%; z-index: 5; width: 54px; height: 54px; border-radius: 50%;
	background: rgba(18, 24, 32, 0.85); color: var(--linen); border: 1px solid rgba(237, 228, 211, 0.4);
	font-size: 1.4rem; cursor: pointer; transition: background 0.25s, color 0.25s, opacity 0.25s;
	backdrop-filter: blur(6px);
}
.rail-btn:hover:not([disabled]) { background: var(--amber); color: var(--night); border-color: var(--amber); }
.rail-btn[disabled] { opacity: 0.25; cursor: default; }
.rail-btn.prev { left: clamp(0.5rem, 2vw, 1.6rem); }
.rail-btn.next { right: clamp(0.5rem, 2vw, 1.6rem); }
@media (min-width: 900px) { .rail-btn { display: block; } }

.sealed { margin-top: clamp(1.4rem, 3vw, 2.4rem); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.sealed-track { display: flex; gap: 1rem; width: max-content; animation: marquee 80s linear infinite; }
.seal { position: relative; flex: none; }
.seal img { height: clamp(150px, 20vw, 210px); width: auto; aspect-ratio: 3 / 4; border-radius: 12px; }
.seal::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; border-radius: 50%;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle at 35% 30%, #c44f38, var(--ember) 58%, #5a1c12);
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.6), inset 0 -2px 4px rgba(0, 0, 0, 0.35);
}
@keyframes marquee { to { transform: translateX(calc(-50% - 0.5rem)); } }
.sealed-note { text-align: center; margin: 2.2rem 0 0; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); color: var(--muted); }
.sealed-note strong { font-weight: 400; color: var(--linen); font-family: var(--display); font-size: 1.35em; }

/* ————————————————————————— the oath ————————————————————————— */
.oath { padding: clamp(5rem, 12vw, 9rem) 0; text-align: center; background: linear-gradient(180deg, var(--night-deep), #17202b); }
.oath .display { margin-bottom: clamp(2rem, 5vw, 3rem); }
.never { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem 1.7rem; margin: 0 0 clamp(2.4rem, 6vw, 4rem); }
.never li { font-family: var(--display); font-size: clamp(1.4rem, 3.4vw, 2.1rem); color: var(--muted); }
.never s {
	text-decoration: none; padding: 0 0.1em;
	/* the bible's ember is too dark to read as a stroke on night, so the strike uses its lit form */
	background: linear-gradient(#d9604a, #d9604a) 0 56% / 0% 3px no-repeat;
	transition: background-size 0.9s var(--ease) 0.5s;
}
.never li.in s, html:not(.js) .never s { background-size: 100% 3px; }
.creed { font-family: var(--display); font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.12; color: var(--amber-hi); margin-bottom: 1.4rem; }

/* ————————————————————————— the door ————————————————————————— */
.door { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--night); overflow: hidden; }
/* the Keeper's Door image: the door itself is in the left third of the picture, so on wide screens the card
   moves to the right and leaves it in view; on a phone the card sits over the whole image */
.orchard { position: absolute; inset: 0; opacity: 0.92; pointer-events: none;
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); }
.orchard img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.orchard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 30%, rgba(14, 19, 26, 0.7) 78%); }
@media (max-width: 1199px) { .orchard { opacity: 0.5; } .orchard::after { background: none; } }
.door .wrap { position: relative; }
@media (min-width: 1200px) { .door-card { margin-left: auto; max-width: 600px; } }
.door-card {
	background: rgba(14, 19, 26, 0.82); border: 1px solid rgba(227, 162, 76, 0.4); border-radius: 22px;
	padding: clamp(1.6rem, 5vw, 3rem); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.door-card .display { font-size: clamp(2rem, 5.4vw, 3.6rem); margin-bottom: 1rem; }
.door-card .lead { margin-bottom: 1.6rem; }


.field { margin-bottom: 1.2rem; }
.field label, .interest legend { display: block; font-family: var(--label); font-size: 0.92rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; padding: 0; }
.field input {
	width: 100%; font: inherit; font-size: 1.05rem; color: var(--linen);
	background: rgba(237, 228, 211, 0.07); border: 1px solid rgba(237, 228, 211, 0.32); border-radius: 12px;
	padding: 0.95rem 1.05rem; min-height: 52px; transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder { color: rgba(189, 180, 161, 0.7); }
.field input:focus { outline: none; border-color: var(--amber-hi); background: rgba(237, 228, 211, 0.1); box-shadow: 0 0 0 3px rgba(227, 162, 76, 0.25); }
.field input[aria-invalid="true"] { border-color: #e0725c; }

.interest { border: 0; padding: 0; margin: 0 0 1.3rem; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span {
	display: inline-block; font-size: 0.98rem; padding: 0.55rem 1.05rem; border-radius: 999px;
	border: 1px solid rgba(237, 228, 211, 0.35); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chips label:hover span { border-color: var(--amber-hi); }
.chips input:checked + span { background: var(--amber); border-color: var(--amber); color: var(--night); }
.chips input:focus-visible + span { outline: 2px solid var(--amber-hi); outline-offset: 3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.98rem; line-height: 1.5; color: var(--muted); margin: 0 0 1.4rem; cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 0.15rem 0 0; accent-color: var(--amber); }
.consent a { color: var(--linen); }

.status { min-height: 1.6em; margin: 0.9rem 0 0; font-size: 1rem; color: var(--muted); }
.status.err { color: #f0907c; }
.door-card.joined .door-intro, .door-card.joined .door-done { text-align: center; padding: 1rem 0 0.4rem; }
.door-done:focus { outline: none; }
.done-title { font-family: var(--display); font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.1; color: var(--amber-hi); margin-bottom: 0.8rem; }

/* ————————————————————————— footer ————————————————————————— */
.foot { background: var(--night-deep); padding: 3rem 0 max(2.4rem, env(safe-area-inset-bottom)); border-top: 1px solid rgba(237, 228, 211, 0.1); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.6rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; font-family: var(--label); font-size: 0.95rem; letter-spacing: 0.1em; }
.foot-links a { color: var(--muted); text-decoration: none; padding: 0.3rem 0; }
.foot-links a:hover { color: var(--amber-hi); }
.legal { font-size: 0.9rem; color: #a49b88; max-width: 52rem; margin: 0; line-height: 1.6; }

/* ————————————————————————— live: the front door, in the store's look ————————————————————————— */
/* The shop's own button: runestone red with linen type (4.79 : 1, SPECS 4.2), never red text on night. */
:root { --runestone: #b03a22; --runestone-hi: #c2442a; }
.live .btn, .live .bar-cta { border-radius: 2px; }
.btn.shop, .bar-cta.shop { background: var(--runestone); border-color: var(--runestone); color: var(--linen); }
.btn.shop:hover, .bar-cta.shop:hover { background: var(--runestone-hi); border-color: var(--runestone-hi); color: var(--linen); box-shadow: 0 10px 34px rgba(176, 58, 34, 0.3); }
.bar-nav { display: flex; align-items: center; gap: 1.2rem; }
.bar-link {
	font-family: var(--label); font-size: 0.92rem; letter-spacing: 0.2em; text-transform: uppercase;
	text-decoration: none; color: var(--linen); opacity: 0.85;
}
.bar-link:hover { opacity: 1; color: var(--amber-hi); }
.pillar-when { font-family: var(--label); font-size: 0.86rem !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-hi) !important; }
.pillar-when a { color: var(--amber-hi); text-decoration: none; }
.pillar-when a:hover { text-decoration: underline; }
.live .god { border-radius: 2px; }
.god-link { position: absolute; inset: 0; display: block; color: inherit; text-decoration: none; }
.god-shelf { margin: 0.7rem 0 0; font-family: var(--label); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-hi); }
.gods .small a { color: var(--amber-hi); }

/* The house band: linen ground, bark type (8.91 : 1); the eyebrow in moss (5.73 : 1), never amber on linen. */
.house { background: var(--linen); color: var(--bark); padding: clamp(4.5rem, 10vw, 8rem) 0; }
.house-wrap { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .house-wrap { grid-template-columns: 1fr 1.1fr; gap: 4.5rem; } }
.house-img img { width: 100%; border-radius: 2px; box-shadow: 0 24px 60px rgba(74, 55, 40, 0.28); }
.house .eyebrow { color: var(--moss); }
.house .display { color: var(--bark); font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.house .lead, .house p { color: var(--bark); }
.house .btn.ghost { color: var(--bark); border-color: rgba(74, 55, 40, 0.45); }
.house .btn.ghost:hover { background: rgba(74, 55, 40, 0.08); }

/* ————————————————————————— the site's own pages: the Hearth Table, About, the disclosure ————————————————————————— */
/* Reading happens on linen with bark type (8.91 : 1), as in the house band; the eyebrows there are moss. */
.page .bar { position: sticky; top: 0; }
.page main { display: block; }
.page-hero { position: relative; padding: clamp(4rem, 10vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem); background: var(--night-deep); overflow: hidden; }
.page-hero.short { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.page-hero-bg { position: absolute; inset: 0; opacity: 0.35; pointer-events: none; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night-deep) 20%, rgba(18, 24, 32, 0.4)); }
.page-hero .wrap { position: relative; }
.page-hero .display { margin-bottom: 1.4rem; }
.page-hero .small { margin-top: 1rem; }

.linen-band { background: var(--linen); color: var(--bark); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.linen-band .eyebrow { color: var(--moss); }
.linen-band .display { color: var(--bark); font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.linen-band a { color: var(--moss); }
.linen-band .small { color: #6b5a4a; }
.linen-band .btn.ghost { color: var(--bark); border-color: rgba(74, 55, 40, 0.45); }

.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem 2.4rem; }
@media (min-width: 800px) { .how { grid-template-columns: 1fr 1fr; } }
.how li { position: relative; padding-left: 3.2rem; line-height: 1.6; }
.how strong { font-family: var(--display); font-weight: 400; font-size: 1.3rem; display: block; margin-bottom: 0.2rem; }
.how-n { position: absolute; left: 0; top: 0.1rem; font-family: var(--display); font-size: 1.8rem; color: var(--moss); line-height: 1; }

.tables, .hearth-band { padding: clamp(4rem, 10vw, 7rem) 0; background: var(--night); }
.hearth-band { background: linear-gradient(180deg, var(--night), var(--night-deep)); }
.tables .display, .hearth-band .display { margin-bottom: 1.4rem; }
.hearth-band .lead { margin-bottom: clamp(2rem, 5vw, 3rem); }
.table-cards { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: 1fr; margin-top: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 2rem; }
@media (min-width: 640px) { .table-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .table-cards { grid-template-columns: repeat(4, 1fr); } }
.table-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: rgba(237, 228, 211, 0.04); border: 1px solid rgba(237, 228, 211, 0.14); border-radius: 2px; overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.4s; }
.table-card a:hover { transform: translateY(-6px); border-color: rgba(227, 162, 76, 0.5); }
.table-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.table-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1.2s var(--ease); }
.table-card a:hover .table-card-img img { transform: scale(1.06); }
.table-card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.table-meal { font-family: var(--label); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-hi); margin: 0 0 0.5rem; }
.table-card h3 { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; margin: 0 0 0.5rem; }
.table-title { color: var(--linen); font-size: 1rem; line-height: 1.45; margin: 0 0 0.7rem; }
.table-keeper { color: var(--muted); font-size: 0.92rem; line-height: 1.45; margin: 0 0 0.9rem; }
.table-go { margin: auto 0 0; font-family: var(--label); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-hi); }

.defer { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--night-deep); text-align: center; }
.defer blockquote { margin: 0 0 1.6rem; }
.defer blockquote p { font-family: var(--display); font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.3; margin-bottom: 0.6rem; }
.defer blockquote footer, .voice footer { font-family: var(--label); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-hi); }
.defer .hero-actions { justify-content: center; }
.defer .lead { margin-inline: auto; }

/* one table */
.recipe-head { background: var(--night-deep); padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.recipe-head-wrap { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .recipe-head-wrap { grid-template-columns: minmax(0, 0.8fr) 1.4fr; gap: 3.5rem; } }
.recipe-portrait img { width: 100%; max-width: 420px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55); }
@media (max-width: 859px) { .recipe-portrait img { max-width: 260px; aspect-ratio: 1; object-position: 50% 20%; } }
.crumb { font-family: var(--label); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.crumb a { color: var(--amber-hi); text-decoration: none; }
.recipe-head .display { font-size: clamp(2.2rem, 5.4vw, 4rem); margin-bottom: 0.6rem; }
.recipe-title { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--linen); margin-bottom: 1.6rem; }
.voice { margin: 0 0 1.1rem; padding-left: 1.1rem; border-left: 2px solid rgba(227, 162, 76, 0.55); }
.voice p { font-style: italic; color: var(--linen); margin: 0 0 0.3rem; }

.recipe-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 960px) { .recipe-grid { grid-template-columns: minmax(0, 0.9fr) 1.6fr; } }
.keeper-card { background: #f6f0e4; border: 1px solid rgba(74, 55, 40, 0.18); border-radius: 2px; padding: 1.6rem 1.6rem 1.2rem; }
@media (min-width: 960px) { .keeper-card { position: sticky; top: 5.5rem; } }
.keeper-card dl { margin: 0 0 1.6rem; display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; }
.keeper-card dt { font-family: var(--label); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--moss); padding-top: 0.2rem; }
.keeper-card dd { margin: 0; font-size: 1rem; line-height: 1.5; }
.changed-eyebrow { margin-bottom: 0.8rem !important; }
.changed { list-style: none; padding: 0; margin: 0; }
.changed li { position: relative; padding-left: 1.3rem; margin-bottom: 0.8rem; font-size: 0.98rem; line-height: 1.55; }
.changed li::before { content: ""; position: absolute; left: 0.1rem; top: 0.6em; width: 7px; height: 7px; background: var(--runestone); transform: rotate(45deg); }

.facts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1rem; }
.facts li { background: #f6f0e4; border: 1px solid rgba(74, 55, 40, 0.18); border-radius: 2px; padding: 0.55rem 0.9rem; font-size: 0.98rem; line-height: 1.3; }
.facts span { display: block; font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--moss); margin-bottom: 0.15rem; }
.contains { font-size: 0.98rem; margin-bottom: 2rem; }
.list { border-top: 2px solid var(--bark); padding-top: 1.2rem; margin-bottom: 2.4rem; }
.list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; margin-bottom: 0.6rem; }
.list h2, .method-title { font-family: var(--display); font-size: 2rem; color: var(--bark); }
.print-list { min-height: 40px; padding: 0.55rem 1.1rem; font-size: 0.82rem; }
.paid-line { font-size: 0.95rem; background: #f6f0e4; border-left: 3px solid var(--moss); padding: 0.7rem 1rem; margin-bottom: 1rem; }
.ingredients { margin: 0; }
.ingredients li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.3rem 1rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(74, 55, 40, 0.16); }
.ingredients .ing { flex: 1 1 16rem; }
.walmart { font-family: var(--label); font-size: 0.84rem; letter-spacing: 0.08em; white-space: nowrap; color: var(--moss) !important; }
.paid-tag { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #6b5a4a; margin-left: 0.4rem; }
.method-title { margin-bottom: 1rem; }
.method { margin: 0 0 2rem; padding-left: 1.4rem; }
.method li { margin-bottom: 0.9rem; padding-left: 0.3rem; line-height: 1.65; }
.method li::marker { font-family: var(--display); color: var(--moss); }

.prose h2 { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--bark); margin: 2.2rem 0 0.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin: 0 0 1.4rem; }
.prose li { margin-bottom: 0.6rem; }
.prose address { font-style: normal; line-height: 1.7; margin: 0 0 1.2rem; padding: 1rem 1.2rem; background: #f6f0e4; border-left: 3px solid var(--moss); }

@media (max-width: 640px) {
	.keeper-card dl { grid-template-columns: 1fr; gap: 0.1rem; }
	.keeper-card dd { margin-bottom: 0.5rem; }
}

/* Print a table: the whole recipe, or (Print the list) the ingredients alone, as a shopping list. */
@media print {
	body { background: #fff; color: #000; }
	body::after, .bar, .skip, .progress, .foot, .defer, .page-hero-bg, .recipe-portrait, .print-list, .walmart, .paid-line { display: none !important; }
	.recipe-head, .linen-band { background: #fff; color: #000; padding: 0.5rem 0; }
	.recipe-head .display, .recipe-title, .voice p, .list h2, .method-title { color: #000; }
	.keeper-card { position: static; }
	.rise, .js .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
	body[data-print="list"] main > :not(.recipe-body), body[data-print="list"] .keeper-card, body[data-print="list"] .facts,
	body[data-print="list"] .contains, body[data-print="list"] .method-title, body[data-print="list"] .method, body[data-print="list"] .numbers-note { display: none !important; }
}

/* ————————————————————————— small screens ————————————————————————— */
@media (max-width: 640px) {
	.etymology { flex-direction: column; align-items: center; text-align: center; }
	.plus { padding: 0; }
	.bar-cta { padding: 0.5rem 0.8rem; font-size: 0.82rem; letter-spacing: 0.14em; }
	.bar-link { display: none; }
	.mark { font-size: 1.5rem; }
	.hero-copy { padding-bottom: 1.5rem; }
	.hero-fade { background: linear-gradient(90deg, rgba(14, 19, 26, 0.7), rgba(14, 19, 26, 0.35)), linear-gradient(180deg, rgba(14, 19, 26, 0.5) 0%, transparent 25%, rgba(18, 24, 32, 0.4) 55%, var(--night) 100%); }
	.scroll-cue { display: none; }
	.hero-bg img { object-position: 50% 20%; }
}

/* ————————————————————————— stillness ————————————————————————— */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
	.rise { opacity: 1; transform: none; }
	.js .reveal { opacity: 1; transform: none; }
	.never s { background-size: 100% 3px; }
	.sealed-track { animation: none; }
	.embers, .hero-light { display: none; }
}
