/* IVERLO — Module 12
   Signature: asymmetric block corners + hard stacked shadow + module grid ticks. */

:root {
	--bg: #F2ECDF;
	--surface: #E8DFCC;
	--surface-2: #DDD2BA;
	--ink: #1F2A1A;
	--ink-2: #26331F;
	--moss: #3F5B34;
	--text: #1F2A1A;
	--text-2: #4E5845;
	--muted: #6F7564;
	--line: #CFC4AC;
	--accent: #C4613A;
	--accent-deep: #A0452A;
	--sage: #B7C197;
	--lichen: #D3DCA8;
	--on-dark: #F2ECDF;
	--on-dark-2: #C8CDB8;
	--ok: #2F6B3A;
	--err: #A3321F;

	--fam-fern: #3F5B34;
	--fam-ginkgo: #C4613A;
	--fam-oat: #EFE7D6;
	--fam-clover: #B7C197;

	--f-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
	--f-text: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--r-a: 26px 6px 26px 6px;
	--r-b: 6px 26px 6px 26px;
	--r-sa: 14px 4px 14px 4px;
	--r-sb: 4px 14px 4px 14px;
	--stack: 5px 5px 0 var(--ink);
	--stack-lg: 8px 8px 0 var(--ink);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--ease-pop: cubic-bezier(.3, 1.4, .4, 1);

	--rail: 84px;
	--maxw: 1360px;
	--gut: clamp(16px, 3.2vw, 44px);
	--sec: clamp(64px, 9vw, 132px);
	--cell: 48px;

	--h1: clamp(2.5rem, 1.1rem + 5.4vw, 6.6rem);
	--h2: clamp(1.75rem, 1rem + 2.6vw, 3.3rem);
	--h3: clamp(1.1rem, .95rem + .6vw, 1.45rem);
}

/* ------------------------------------------------------------ reset + base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font: 400 1.0625rem/1.6 var(--f-text); font-feature-settings: 'tnum' 0;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.04; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); letter-spacing: -.01em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; }
:focus-visible { outline: 2.5px solid var(--accent-deep); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lichen); color: var(--ink); }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: var(--r-sa); }
.skip:focus { top: 12px; }
.icon { width: 22px; height: 22px; flex: none; }

.main { margin-left: var(--rail); min-height: 60vh; outline: none; }
.wrap { width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; }

/* ------------------------------------------------------------ kicker / count / swatches */
.kicker {
	display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1.1rem;
	font: 700 .74rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
}
.kicker--on-dark { color: var(--on-dark-2); }
.count {
	display: inline-grid; place-items: center; min-width: 2.6em; height: 2.1em; padding: 0 .6em;
	font: 700 .8rem/1 var(--f-display); letter-spacing: 0; text-transform: none;
	background: var(--accent-deep); color: var(--on-dark); border-radius: var(--r-sa);
}
.sw {
	display: inline-block; width: 1.05em; height: 1.05em; border-radius: 3px 8px 3px 8px; flex: none;
	background-size: 128px; box-shadow: inset 0 0 0 1px rgba(31, 42, 26, .25); vertical-align: -.15em;
}
.sw--fern { background-color: var(--fam-fern); background-image: var(--print-fern); }
.sw--ginkgo { background-color: var(--fam-ginkgo); background-image: var(--print-ginkgo); }
.sw--oat { background-color: var(--fam-oat); background-image: var(--print-oat); }
.sw--clover { background-color: var(--fam-clover); background-image: var(--print-clover); }

/* ------------------------------------------------------------ buttons (block + stack shadow) */
.btn {
	--sh: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 52px; padding: .8em 1.5em; border: 2px solid var(--ink);
	background: var(--bg); color: var(--ink); border-radius: var(--r-sa);
	font: 700 .95rem/1.1 var(--f-text); letter-spacing: .01em; text-decoration: none; text-align: center;
	box-shadow: 4px 4px 0 var(--sh); transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sh); color: var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--sh); }
.btn--accent { background: var(--accent-deep); color: var(--on-dark); }
.btn--accent:hover { color: var(--on-dark); background: #8F3B22; }
.btn--ghost-dark { background: transparent; color: var(--on-dark); border-color: var(--on-dark); --sh: var(--accent); }
.btn--ghost-dark:hover { color: var(--on-dark); }
.btn--sm { min-height: 44px; padding: .6em 1.1em; font-size: .88rem; box-shadow: 3px 3px 0 var(--sh); }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }

/* ------------------------------------------------------------ icon rail (desktop) */
.rail {
	position: fixed; inset: 0 auto 0 0; width: var(--rail); z-index: 40;
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	padding: 14px 0 12px; background: var(--ink); color: var(--on-dark);
	border-right: 1px solid rgba(242, 236, 223, .08);
}
@media (max-height: 940px) and (min-width: 761px) { .rail__word { display: none; } .rail__brand { padding-bottom: 4px; } .rail__list li.is-sep { margin-top: 6px; padding-top: 6px; } .rail__region { min-height: 0; } }
@media (max-height: 700px) and (min-width: 761px) { .rail__brand .mark { width: 34px; } .rail__region .rail__code { display: none; } }
.rail__brand { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 8px 12px; text-decoration: none; color: var(--on-dark); }
.rail__brand .mark { width: 44px; height: auto; transition: transform .25s var(--ease-pop); }
.rail__brand:hover .mark { transform: translateY(-3px) rotate(-3deg); }
.rail__word { writing-mode: vertical-rl; transform: rotate(180deg); font: 800 .78rem/1 var(--f-display); letter-spacing: .32em; color: var(--on-dark-2); }
.rail__nav { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.rail__list { list-style: none; display: grid; gap: clamp(0px, .4vh, 4px); }
.rail__list li.is-sep { margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(242, 236, 223, .2); }
.rail__foot { display: grid; gap: clamp(0px, .4vh, 4px); }
.rail__item {
	position: relative; display: grid; place-items: center; width: 56px; height: clamp(32px, 5.2vh, 50px);
	background: none; border: 0; color: var(--on-dark-2); text-decoration: none; border-radius: var(--r-sa);
	transition: background .18s, color .18s;
}
.rail__item:hover, .rail__item:focus-visible, .rail__item[aria-expanded="true"] { background: rgba(242, 236, 223, .09); color: var(--on-dark); }
.rail__item[aria-current] { background: var(--accent-deep); color: var(--on-dark); box-shadow: 3px 3px 0 var(--lichen); }
.rail__item[aria-current] .icon { stroke-width: 1.9; }
.rail__label {
	position: absolute; left: calc(100% + 14px); top: 50%; translate: -6px -50%; white-space: nowrap; pointer-events: none;
	padding: .55em .9em; background: var(--bg); color: var(--ink); border-radius: var(--r-sb); box-shadow: var(--stack);
	font: 700 .82rem/1 var(--f-text); opacity: 0; transition: opacity .16s, translate .16s var(--ease);
}
.rail__item:hover .rail__label, .rail__item:focus-visible .rail__label { opacity: 1; translate: 0 -50%; }
.rail__region { height: auto; min-height: 58px; padding: 6px 0; gap: 3px; }
.rail__region .icon { width: 20px; height: 20px; }
.rail__code { font: 700 .6rem/1.15 var(--f-display); letter-spacing: .04em; color: var(--on-dark); text-align: center; }
.badge {
	position: absolute; top: 5px; right: 6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px 3px 10px 3px;
	background: var(--accent-deep); color: var(--on-dark); font: 800 .66rem/19px var(--f-display); text-align: center;
}
.badge.is-empty { display: none; }

.mbar, .dock { display: none; }

/* panels (region / search / menu) */
.panel {
	position: fixed; z-index: 80; left: calc(var(--rail) + 14px); bottom: 14px; width: min(420px, calc(100vw - var(--rail) - 28px));
	max-height: calc(100vh - 28px); overflow: auto; padding: 26px 24px 22px;
	background: var(--bg); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-a); box-shadow: var(--stack-lg);
	animation: drop .32s var(--ease-pop);
}
.panel--search { top: 14px; bottom: auto; }
.panel[hidden] { display: none; }
.panel__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; }
.panel__close:hover { background: var(--surface); }
.scrim { position: fixed; inset: 0; z-index: 75; background: rgba(31, 42, 26, .35); }
.scrim[hidden] { display: none; }
@keyframes drop { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }

.region__label { margin: 0 0 .7rem; font: 700 .72rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.region__langs, .region__curs { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 1.2rem; }
.region__curs { grid-template-columns: repeat(5, 1fr); }
.region__langs a, .region__curs a {
	display: flex; flex-direction: column; gap: 2px; padding: .6em .7em; min-height: 52px; justify-content: center;
	border: 1.5px solid var(--line); border-radius: var(--r-sa); text-decoration: none; background: var(--bg); color: var(--ink);
}
.region__curs a { align-items: center; padding: .55em .2em; }
.region__langs b, .region__curs b { font: 700 .82rem/1 var(--f-display); }
.region__langs span, .region__curs span { font-size: .78rem; color: var(--text-2); }
.region__langs a:hover, .region__curs a:hover { border-color: var(--ink); color: var(--ink); }
.region__langs a[aria-current], .region__curs a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.region__langs a[aria-current] span, .region__curs a[aria-current] span { color: var(--on-dark-2); }
.region__note { margin: 0; font-size: .82rem; color: var(--text-2); }

.searchform__row { display: flex; gap: 8px; }
.searchform input[type="search"] { flex: 1; min-width: 0; }

/* ------------------------------------------------------------ forms (shared) */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="password"], input[type="number"], input[type="date"], select, textarea {
	width: 100%; min-height: 50px; padding: .7em .9em; font: 500 1rem/1.3 var(--f-text); color: var(--ink);
	background: #FBF8F1; border: 1.5px solid #9E9580; border-radius: var(--r-sb); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 3px 3px 0 var(--lichen); }
label { font-weight: 600; font-size: .92rem; }

/* ------------------------------------------------------------ hero (stacking stage) */
.hero {
	position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px);
	align-items: center; min-height: min(100vh, 900px); padding: clamp(40px, 6vw, 88px) var(--gut) clamp(40px, 5vw, 72px);
	background: var(--ink); color: var(--on-dark); overflow: hidden;
	background-image: linear-gradient(rgba(242, 236, 223, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 236, 223, .045) 1px, transparent 1px);
	background-size: var(--cell) var(--cell);
}
.hero__title { font-size: clamp(2rem, calc((50vw - 130px) / (var(--hn, 13) * .7)), 5.4rem); font-weight: 800; line-height: .98; letter-spacing: -.04em; margin: 0 0 1.4rem; }
@media (min-width: 761px) { .hero__line { white-space: nowrap; } }
.hero__line { display: block; transition: color .45s, -webkit-text-stroke-color .45s, opacity .45s; color: transparent; -webkit-text-stroke: 1.5px rgba(242, 236, 223, .42); }
.hero__line.is-on { color: var(--on-dark); -webkit-text-stroke-color: transparent; }
.hero__line.is-on::after { content: ''; display: inline-block; width: .28em; height: .28em; margin-left: .12em; background: var(--accent); border-radius: 2px 6px 2px 6px; vertical-align: .08em; }
.hero__sub { max-width: 34em; font-size: clamp(1rem, .95rem + .3vw, 1.18rem); color: var(--on-dark-2); margin-bottom: 1.8rem; }
.hero__switch { display: flex; gap: 10px; margin-bottom: 1.8rem; flex-wrap: wrap; }
.hero__switch button {
	display: flex; align-items: center; gap: .55em; min-height: 56px; padding: .4em 1em .4em .5em;
	background: rgba(242, 236, 223, .06); color: var(--on-dark); border: 1.5px solid rgba(242, 236, 223, .28); border-radius: var(--r-sa);
	transition: background .2s, border-color .2s, transform .18s var(--ease);
}
.hero__switch b { display: grid; place-items: center; width: 40px; height: 40px; font: 800 1.3rem/1 var(--f-display); background: rgba(242, 236, 223, .1); border-radius: var(--r-sb); }
.hero__switch span { font-weight: 700; font-size: .92rem; }
.hero__switch button:hover { border-color: var(--on-dark); transform: translateY(-2px); }
.hero__switch button[aria-pressed="true"] { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); box-shadow: 4px 4px 0 var(--accent); }
.hero__switch button[aria-pressed="true"] b { background: var(--accent-deep); color: var(--on-dark); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stage { position: relative; }
.stage {
	position: relative; aspect-ratio: 1 / .92; max-height: 76vh; width: 100%;
	background: var(--ink-2); border-radius: var(--r-a); overflow: hidden; box-shadow: 10px 10px 0 var(--moss);
	isolation: isolate;
}
.stage__grid {
	position: absolute; inset: 0; z-index: -1;
	background-image:
		linear-gradient(rgba(211, 220, 168, .10) 1px, transparent 1px), linear-gradient(90deg, rgba(211, 220, 168, .10) 1px, transparent 1px),
		linear-gradient(rgba(211, 220, 168, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(211, 220, 168, .045) 1px, transparent 1px);
	background-size: calc(100% / 6) calc(100% / 6), calc(100% / 6) calc(100% / 6), calc(100% / 24) calc(100% / 24), calc(100% / 24) calc(100% / 24);
}
.stage__cols { position: absolute; top: 10px; left: 0; right: 0; display: grid; grid-template-columns: repeat(6, 1fr); font: 700 .66rem/1 var(--f-display); color: rgba(211, 220, 168, .55); pointer-events: none; }
.stage__cols span { padding-left: 8px; }
.stage__svg { position: absolute; inset: 0; }
.stage__svg svg { width: 100%; height: 100%; overflow: visible; }
.stage__dim {
	position: absolute; left: 16px; bottom: 16px; margin: 0; padding: .55em .9em; display: flex; gap: .4em; align-items: baseline;
	background: var(--on-dark); color: var(--ink); border-radius: var(--r-sb); box-shadow: 4px 4px 0 var(--accent);
	font: 600 .85rem/1 var(--f-text);
}
.stage__dim b { font: 800 1.35rem/1 var(--f-display); }
.stage__count { position: absolute; right: 16px; top: 30px; margin: 0; font: 800 clamp(2.2rem, 4vw, 3.6rem)/1 var(--f-display); color: var(--accent); letter-spacing: -.04em; }
.stage__count span { color: rgba(242, 236, 223, .35); }
.stage__still, .stage__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__still img, .stage__video { width: 100%; height: 100%; object-fit: cover; }
.js .stage__still, .stage__video { display: none; }
.no-js .stage__dim, .no-js .stage__count { display: none; }
.stage__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: .86rem; color: var(--on-dark-2); counter-reset: lg; }
.stage__legend li { display: flex; align-items: center; gap: .5em; transition: color .3s; }
.stage__legend li::before { counter-increment: lg; content: counter(lg); font: 700 .7rem/1 var(--f-display); color: rgba(242, 236, 223, .4); }
.stage__legend li.is-on { color: var(--on-dark); }
.stage__legend a { text-decoration: none; }
.stage__legend a:hover { color: var(--lichen); text-decoration: underline; }

/* block drawing (shared by stage + recipe figures) */
.blk { transform-box: fill-box; }
.blk__front { stroke: rgba(31, 42, 26, .55); stroke-width: 1.2; }
.blk__side { stroke: rgba(31, 42, 26, .35); stroke-width: .8; }
.blk__pipe { fill: none; stroke: rgba(31, 42, 26, .3); stroke-width: 1; stroke-dasharray: 3 3; }
.dimline { stroke: var(--lichen); stroke-width: 1.2; fill: none; }
.dimline-t { fill: var(--lichen); font: 700 12px var(--f-display); }
.recipe .dimline, .height .dimline, .plate .dimline { stroke: var(--accent-deep); }
.recipe .dimline-t, .height .dimline-t, .plate .dimline-t { fill: var(--accent-deep); }

/* ------------------------------------------------------------ module ruler band */
.ruler { background: var(--accent-deep); color: var(--on-dark); overflow: hidden; }
.ruler__band {
	display: flex; justify-content: space-between; padding: 12px var(--gut) 0; height: 48px;
	background-image: repeating-linear-gradient(90deg, var(--on-dark) 0 1.5px, transparent 1.5px calc(100% / 60));
	background-size: 100% 12px; background-repeat: no-repeat; background-position: 0 100%;
	font: 700 .7rem/1 var(--f-display);
}
.ruler__band span { position: relative; }
.ruler__band span::after { content: ''; position: absolute; left: 0; top: 14px; width: 2px; height: 22px; background: var(--on-dark); }
.ruler__text { margin: 0; padding: 14px var(--gut) 18px; font: 700 clamp(1rem, .9rem + .6vw, 1.4rem)/1.2 var(--f-display); letter-spacing: -.01em; }
.ruler__text a { font-family: var(--f-text); font-size: .9rem; font-weight: 700; margin-left: .6em; white-space: nowrap; }
.ruler__text a { color: var(--on-dark); }
.ruler__text a:hover { color: var(--lichen); }

/* ------------------------------------------------------------ section heads */
.sec-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head__sub { font-size: 1.06rem; color: var(--text-2); margin: 0; }
.sec-head--on-dark h2 { color: var(--on-dark); }
.sec-head--on-dark .sec-head__sub { color: var(--on-dark-2); }

/* ------------------------------------------------------------ print families (staggered plates) */
.fams { padding-block: var(--sec); }
.fams__plates { align-items: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px) clamp(20px, 3.4vw, 48px); }
.plate { position: relative; background: var(--surface); border-radius: var(--r-a); box-shadow: var(--stack-lg); display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.plate:nth-child(2n) { margin-top: clamp(0px, 7vw, 110px); border-radius: var(--r-b); }
.plate:nth-child(3) { margin-top: calc(-1 * clamp(0px, 4vw, 60px)); }
.plate::before { content: attr(data-coord); position: absolute; top: 14px; right: 16px; z-index: 2; font: 700 .7rem/1 var(--f-display); padding: .45em .6em; background: var(--bg); border-radius: var(--r-sb); }
.plate__swatch { height: clamp(120px, 14vw, 190px); background-size: 440px; }
.plate--fern .plate__swatch { background-color: var(--fam-fern); background-image: var(--print-fern); }
.plate--ginkgo .plate__swatch { background-color: var(--fam-ginkgo); background-image: var(--print-ginkgo); }
.plate--oat .plate__swatch { background-color: var(--fam-oat); background-image: var(--print-oat); }
.plate--clover .plate__swatch { background-color: var(--fam-clover); background-image: var(--print-clover); }
.plate__body { padding: 0 clamp(18px, 2.4vw, 32px) clamp(20px, 2.4vw, 30px); }
.plate__name {
	display: inline-block; margin: -1.1em 0 .5rem; padding: .35em .6em .3em; position: relative;
	font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.4rem); background: var(--bg); border-radius: var(--r-sa); box-shadow: 5px 5px 0 var(--ink);
}
.plate__line { color: var(--text-2); margin-bottom: .6rem; }
.plate__link { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.plate__link .icon { width: 18px; height: 18px; transition: transform .18s var(--ease); }
.plate__link:hover .icon { transform: translateX(4px); }

/* ------------------------------------------------------------ stack figures */
.stackfig { margin: 0; position: relative; }
.stackfig__svg { width: 100%; }
.stackfig__svg svg { width: 100%; height: auto; overflow: visible; }
.stackfig--row { margin: 8px 0 18px; }
.stackfig--row .stackfig__svg { height: 96px; }
.stackfig--small .stackfig__svg { height: 150px; }

/* ------------------------------------------------------------ recipes board */
.board { background: var(--ink); color: var(--on-dark); padding-block: var(--sec); background-image: linear-gradient(rgba(242, 236, 223, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 236, 223, .04) 1px, transparent 1px); background-size: var(--cell) var(--cell); }
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tabs__list [role="tab"] {
	display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: .5em 1.1em;
	background: transparent; color: var(--on-dark); border: 1.5px solid rgba(242, 236, 223, .3); border-radius: var(--r-sa);
	font-weight: 700; font-size: .95rem;
}
.tabs__list [role="tab"]:hover { border-color: var(--on-dark); }
.tabs__list [role="tab"][aria-selected="true"] { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); box-shadow: 4px 4px 0 var(--accent); }
.board__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.board__grid > :nth-child(2) { margin-top: clamp(0px, 3vw, 44px); }
.board__grid > :nth-child(3) { margin-top: clamp(0px, 1.4vw, 20px); }
.recipe {
	--fc: var(--fam-fern);
	position: relative; display: flex; flex-direction: column; background: var(--bg); color: var(--ink);
	border-radius: var(--r-a); box-shadow: 8px 8px 0 var(--fc); padding: 22px 22px 20px;
}
.recipe:nth-child(2) { border-radius: var(--r-b); }
.recipe[data-fam="ginkgo"] { --fc: var(--fam-ginkgo); }
.recipe[data-fam="oat"] { --fc: #D9CDB2; }
.recipe[data-fam="clover"] { --fc: var(--fam-clover); }
.recipe__head { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.recipe__head .count { grid-row: span 2; height: 56px; min-width: 64px; font-size: 1.4rem; border-radius: var(--r-sb); }
.recipe__title { margin: 0; font-size: 1.2rem; }
.recipe__measure { margin: 2px 0 0; font-size: .86rem; color: var(--text-2); }
.recipe .stackfig { margin: 16px -6px 12px; padding: 10px 8px 4px; border-radius: var(--r-sb); background: var(--surface); background-image: linear-gradient(rgba(31, 42, 26, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 42, 26, .06) 1px, transparent 1px); background-size: 16px 16px; }
.recipe .stackfig__svg { height: 190px; }
.recipe__blocks { list-style: none; display: grid; gap: 2px; margin-bottom: 14px; font-size: .92rem; }
.recipe__blocks li { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.recipe__n { font: 700 .72rem/1 var(--f-display); color: var(--text-2); }
.recipe__blocks a { text-decoration: none; font-weight: 600; }
.recipe__blocks a:hover { text-decoration: underline; }
.recipe__p { font-weight: 600; white-space: nowrap; font-size: .86rem; }
.recipe__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.recipe__total { margin: 0; display: flex; flex-direction: column; }
.recipe__total span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.recipe__total b { font: 700 1.3rem/1.1 var(--f-display); }
.iv-cur { font-size: .72em; font-weight: 700; letter-spacing: .02em; }

/* ------------------------------------------------------------ film */
.film { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 60px); align-items: center; padding-block: var(--sec); }
.film__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-b); overflow: hidden; background: var(--surface); box-shadow: 12px 12px 0 var(--accent); }
.film__frame::before { content: attr(data-coord); position: absolute; left: 14px; top: 14px; z-index: 2; font: 700 .7rem/1 var(--f-display); padding: .45em .6em; background: var(--bg); border-radius: var(--r-sb); }
.film__frame video, .film__frame img { width: 100%; height: 100%; object-fit: cover; }
.film__toggle { position: absolute; right: 14px; bottom: 14px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--bg); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-sa); box-shadow: 3px 3px 0 var(--ink); }
.film__copy h2 { font-size: clamp(1.6rem, 1rem + 1.8vw, 2.6rem); }
.film__copy p { color: var(--text-2); }

/* ------------------------------------------------------------ categories module grid */
.cats { padding-bottom: var(--sec); }
.cats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 17vw, 250px); gap: 14px; grid-template-areas: 'head head cush cush' 'mats mats cush cush' 'bags bask rec rec' 'bags cov rec rec'; }
.cats__head { grid-area: head; align-self: end; padding: 0 0 12px; }
.cats__head h2 { margin: 0; }
.cat { position: relative; display: block; overflow: hidden; border-radius: var(--r-sa); background: var(--surface); text-decoration: none; color: var(--ink); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat:hover img { transform: scale(1.04); }
.cat--cushions { grid-area: cush; border-radius: var(--r-a); }
.cat--mats { grid-area: mats; }
.cat--bags { grid-area: bags; border-radius: var(--r-b); }
.cat--baskets { grid-area: bask; }
.cat--covers { grid-area: cov; }
.cat--recipes { grid-area: rec; border-radius: var(--r-b); }
.cat__label {
	position: absolute; left: 12px; bottom: 12px; right: auto; max-width: calc(100% - 24px); display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center;
	padding: .7em .9em; background: var(--bg); border-radius: var(--r-sb); box-shadow: var(--stack); transition: transform .18s var(--ease), box-shadow .18s;
}
.cat__label .icon { grid-row: span 2; }
.cat__label b { font: 700 1rem/1.15 var(--f-display); }
.cat__meta { font-size: .8rem; color: var(--text-2); }
.cat:hover .cat__label { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }

/* ------------------------------------------------------------ fills */
.fills { background: var(--surface); padding-block: var(--sec); }
.fills__row { display: grid; grid-template-columns: 1.15fr 1fr .95fr; gap: clamp(18px, 3vw, 40px); align-items: start; }
.fill:nth-child(2) { margin-top: clamp(0px, 5vw, 70px); }
.fill:nth-child(3) { margin-top: clamp(0px, 2vw, 28px); }
.fill__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-a); box-shadow: var(--stack-lg); margin-bottom: 20px; background: var(--surface-2); }
.fill:nth-child(2) .fill__img { border-radius: var(--r-b); }
.fill__img img { width: 100%; height: 100%; object-fit: cover; }
.fill h3 { margin-bottom: .3em; }
.fill__used { font-size: .82rem; font-weight: 700; color: var(--accent-deep); }
.fill__care { font-size: .9rem; color: var(--text-2); border-left: 3px solid var(--sage); padding-left: .8em; }
.fills__note { margin: clamp(26px, 4vw, 48px) 0 0; font-weight: 600; }

/* ------------------------------------------------------------ height guide */
.heights { padding-block: var(--sec); }
.heights__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.height { border-top: 3px solid var(--ink); padding-top: 18px; }
.height .stackfig { margin-bottom: 14px; background: var(--surface); border-radius: var(--r-sb); padding: 12px; }
.height h3 { display: flex; align-items: center; gap: .6em; margin-bottom: .2em; }
.height__n { font: 700 .7rem/1 var(--f-display); padding: .45em .55em; border: 1.5px solid var(--ink); border-radius: var(--r-sb); }
.height__cm { font: 800 1.8rem/1.1 var(--f-display); color: var(--accent-deep); margin: 0 0 .3em; }
.heights__more { margin-top: 28px; }
.heights__more a { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; }

/* ------------------------------------------------------------ facts */
.facts { background: var(--sage); }
.facts__row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts__row li { display: flex; gap: 14px; padding: 26px 18px; border-left: 1.5px solid rgba(31, 42, 26, .25); }
.facts__row li:first-child { border-left: 0; padding-left: 0; }
.facts__row b { display: block; font-size: .98rem; }
.facts__row a, .facts__row span { font-size: .88rem; color: var(--ink); }

/* ------------------------------------------------------------ footer: coordinate map */
.foot { margin-left: var(--rail); background: var(--ink); color: var(--on-dark); }
.foot a { color: var(--on-dark); text-decoration: none; }
.foot a:hover { color: var(--lichen); text-decoration: underline; }
.foot__map {
	position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
	padding: 64px var(--gut) 24px 70px;
	background-image: linear-gradient(rgba(211, 220, 168, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(211, 220, 168, .1) 1px, transparent 1px);
	background-size: 25% 50%; background-position: 70px 64px; background-origin: content-box;
}
.foot__ticks { position: absolute; font: 600 .62rem/1 var(--f-display); color: rgba(211, 220, 168, .55); pointer-events: none; }
.foot__ticks--top { top: 24px; left: 70px; right: var(--gut); display: flex; justify-content: space-between; }
.foot__ticks--side { top: 64px; bottom: 24px; left: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.foot__ticks--side span { writing-mode: vertical-rl; transform: rotate(180deg); }
.foot__cell { position: relative; padding: 36px 24px 34px 22px; min-width: 0; }
.foot__cell::before { content: attr(data-coord); position: absolute; top: 10px; left: 10px; font: 700 .64rem/1 var(--f-display); color: var(--accent); }
.foot__cell h3 { font-size: .98rem; margin-bottom: .9em; color: var(--lichen); letter-spacing: 0; }
.foot__cell ul { list-style: none; display: grid; gap: .45em; font-size: .94rem; }
.foot__cell p { font-size: .92rem; color: var(--on-dark-2); }
.foot__cell p a { display: inline-flex; gap: .5em; align-items: center; color: var(--on-dark); }
.foot__cell .icon { width: 18px; height: 18px; }
.foot__brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; font: 800 1.35rem/1 var(--f-display); letter-spacing: .12em; }
.foot__brand .mark { width: 42px; }
.foot__withdraw { font-weight: 700; color: var(--lichen) !important; }
.foot__small { font-size: .8rem !important; color: rgba(200, 205, 184, .85) !important; }
.foot__cell--pin { background: rgba(196, 97, 58, .12); border-radius: var(--r-sa); }
.foot__pin { position: absolute; right: 18px; top: 22px; color: var(--accent); }
.foot__pin .icon { width: 30px; height: 30px; }
.foot__latlng { font: 700 .82rem/1.3 var(--f-display) !important; color: var(--on-dark) !important; }
.foot__cell--region { grid-column: span 2; }
.foot__cell--region .region__label { color: var(--on-dark-2); }
.foot__cell--region .region__langs, .foot__cell--region .region__curs { grid-template-columns: repeat(6, 1fr); }
.foot__cell--region .region__curs { grid-template-columns: repeat(5, 1fr); }
.foot__cell--region .region__langs a, .foot__cell--region .region__curs a { background: transparent; border-color: rgba(242, 236, 223, .22); color: var(--on-dark); min-height: 48px; }
.foot__cell--region .region__langs a span, .foot__cell--region .region__curs a span { color: var(--on-dark-2); font-size: .7rem; }
.foot__cell--region .region__langs a[aria-current], .foot__cell--region .region__curs a[aria-current] { background: var(--on-dark); color: var(--ink); }
.foot__cell--region .region__langs a[aria-current] span, .foot__cell--region .region__curs a[aria-current] span { color: var(--text-2); }
.foot__cell--region .region__note { color: var(--on-dark-2); }
.foot__legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 18px var(--gut) 26px 70px; border-top: 1px solid rgba(242, 236, 223, .12); font-size: .82rem; color: var(--on-dark-2); }
.foot__legend p { margin: 0; }
.foot__scale { display: flex; align-items: center; gap: 8px; font: 700 .7rem/1 var(--f-display); }
.foot__scale span { display: block; width: 48px; height: 8px; border: 1.5px solid var(--on-dark-2); border-top: 0; }
.paymarks { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.paymarks li { padding: .35em .6em; border: 1px solid rgba(242, 236, 223, .3); border-radius: var(--r-sb); font-size: .72rem; font-weight: 700; color: var(--on-dark); }

.cookie {
	position: fixed; z-index: 70; right: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); display: flex; gap: 14px; align-items: center;
	padding: 16px 18px; background: var(--bg); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-a); box-shadow: var(--stack-lg); font-size: .88rem;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }

/* ------------------------------------------------------------ shop */
.shop-head { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 36px); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: var(--cell) var(--cell); background-position: -1px -1px; border-bottom: 2px solid var(--ink); }
.shop-head__in { position: relative; }
.shop-head__title { font-size: clamp(2.2rem, 1.2rem + 4vw, 5rem); font-weight: 800; letter-spacing: -.04em; margin: 0 0 .4em; }
.shop-head__desc { max-width: 44rem; font-size: 1.05rem; color: var(--text-2); background: var(--bg); display: inline-block; padding: .2em .4em .2em 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 14px; }
.chip {
	display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .45em 1em .45em .8em;
	background: var(--bg); border: 1.5px solid var(--ink); border-radius: var(--r-sa); font-weight: 700; font-size: .9rem; text-decoration: none;
	transition: transform .15s var(--ease), box-shadow .15s;
}
.chip .icon { width: 20px; height: 20px; }
.chip:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.chip[aria-current] { background: var(--ink); color: var(--on-dark); box-shadow: 4px 4px 0 var(--accent); }
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .9rem; }
.swatches__label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.swatch-link { display: inline-flex; align-items: center; gap: .45em; min-height: 40px; padding: .3em .7em; text-decoration: none; font-weight: 600; border-radius: var(--r-sb); background: var(--bg); }
.swatch-link .sw { width: 22px; height: 22px; }
.swatch-link[aria-current] { background: var(--ink); color: var(--on-dark); }
.swatches--dark .swatch-link { background: rgba(242, 236, 223, .08); color: var(--on-dark); }
.swatches--dark .swatch-link:hover { background: var(--on-dark); color: var(--ink); }

.shop { padding-block: clamp(30px, 4vw, 56px) var(--sec); }
.fplate { margin-bottom: clamp(44px, 6vw, 80px); }
.fplate__head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.fplate__head h2 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); margin: 0; }
.fplate__head p { margin: 2px 0 0; color: var(--text-2); font-size: .94rem; }
.fplate__swatch { width: clamp(56px, 6vw, 84px); aspect-ratio: 1; border-radius: var(--r-sa); box-shadow: var(--stack); background-size: 220px; }
.fplate--fern .fplate__swatch, .recipes__fam--fern .fplate__swatch { background-color: var(--fam-fern); background-image: var(--print-fern); }
.fplate--ginkgo .fplate__swatch, .recipes__fam--ginkgo .fplate__swatch { background-color: var(--fam-ginkgo); background-image: var(--print-ginkgo); }
.fplate--oat .fplate__swatch, .recipes__fam--oat .fplate__swatch { background-color: var(--fam-oat); background-image: var(--print-oat); }
.fplate--clover .fplate__swatch, .recipes__fam--clover .fplate__swatch { background-color: var(--fam-clover); background-image: var(--print-clover); }
.fplate__rec { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .88rem; text-decoration: none; padding: .55em .9em; border: 1.5px solid var(--ink); border-radius: var(--r-sb); }
.fplate__rec:hover { background: var(--ink); color: var(--on-dark); }

.fplate__grid { container-type: inline-size; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: calc((100cqw - 3 * 14px) / 4); grid-auto-flow: dense; gap: 14px; }
.tile { position: relative; min-width: 0; }
.tile--fill { border-radius: var(--r-sa); background-size: 280px; opacity: .9; display: none; }
.tile--fill:nth-child(2n) { border-radius: var(--r-sb); }
.fplate--fern .tile--fill { background-color: var(--fam-fern); background-image: var(--print-fern); }
.fplate--ginkgo .tile--fill { background-color: var(--fam-ginkgo); background-image: var(--print-ginkgo); }
.fplate--oat .tile--fill { background-color: var(--fam-oat); background-image: var(--print-oat); }
.fplate--clover .tile--fill { background-color: var(--fam-clover); background-image: var(--print-clover); }
@media (min-width: 961px) { .tile--fill.f4 { display: block; } }
@media (min-width: 761px) and (max-width: 960px) { .tile--fill.f3 { display: block; } }
@media (max-width: 760px) { .tile--fill.f2 { display: block; } }
.tile--w { grid-column: span 2; }
.tile--t { grid-row: span 2; }
.tile--l { grid-column: span 2; grid-row: span 2; }
.tile__link { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: var(--r-sa); background: var(--surface); text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.tile--l .tile__link, .tile--t .tile__link { border-radius: var(--r-a); }
.tile:nth-child(3n+2) .tile__link { border-radius: var(--r-sb); }
.tile__link:hover { color: var(--ink); transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.tile__img { position: absolute; inset: 0; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile__coord { position: absolute; top: 10px; left: 10px; font: 700 .64rem/1 var(--f-display); padding: .4em .5em; background: rgba(242, 236, 223, .9); border-radius: 3px 8px 3px 8px; }
.tile__info {
	position: absolute; left: 8px; bottom: 8px; right: 8px; display: grid; gap: 1px;
	padding: .6em .75em .55em; background: rgba(242, 236, 223, .95); border-radius: var(--r-sb); box-shadow: 3px 3px 0 var(--ink);
	backdrop-filter: blur(4px);
}
.tile--w .tile__info, .tile--l .tile__info { right: auto; max-width: 70%; }
.tile__name { font: 700 .92rem/1.2 var(--f-text); }
.tile__dims { font-size: .76rem; color: var(--text-2); }
.tile__price { font: 700 .9rem/1.3 var(--f-display); }
.tile__price .iv-cur { font-family: var(--f-text); }
.tile__recs, .tile__fits { position: absolute; top: 8px; right: 8px; margin: 0; display: flex; gap: 4px; z-index: 2; }
.tile__recs a { display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 6px; font: 800 .72rem/1 var(--f-display); text-decoration: none; background: var(--accent-deep); color: var(--on-dark); border-radius: 3px 9px 3px 9px; }
.tile__recs a:hover { background: var(--ink); color: var(--on-dark); }
.tile__fits { padding: .35em .6em; font-size: .72rem; font-weight: 700; background: var(--ink); color: var(--on-dark); border-radius: 3px 9px 3px 9px; max-width: calc(100% - 60px); }
.shop__note { font-weight: 600; }
.empty { padding: 60px 0; text-align: center; }

/* ------------------------------------------------------------ product page */
.crumbs { display: flex; flex-wrap: wrap; gap: .5em; padding: 22px 0 0; font-size: .86rem; color: var(--text-2); }
.crumbs a { text-decoration: none; font-weight: 600; }
.pdp__top { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 64px); padding: 18px 0 clamp(40px, 5vw, 72px); align-items: start; }
.gallery { position: sticky; top: 18px; }
.gallery__main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-a); box-shadow: 10px 10px 0 var(--ink); background: var(--surface); scrollbar-width: none; }
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 1; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { list-style: none; display: flex; gap: 10px; margin-top: 22px; }
.gallery__thumbs a { display: block; width: 76px; aspect-ratio: 1; border-radius: var(--r-sb); overflow: hidden; border: 2px solid transparent; opacity: .72; transition: opacity .15s, border-color .15s; }
.gallery__thumbs a[aria-current] { border-color: var(--ink); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buy { position: sticky; top: 18px; }
.famchip { display: inline-flex; align-items: center; gap: .55em; padding: .45em .8em; font-weight: 700; font-size: .84rem; text-decoration: none; border: 1.5px solid var(--ink); border-radius: var(--r-sb); }
.famchip .sw { width: 20px; height: 20px; }
.buy__title { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; margin: 18px 0 .3em; }
.buy__price { font: 700 1.7rem/1.2 var(--f-display); margin-bottom: .7em; }
.dims { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.dims li { display: flex; align-items: baseline; gap: .4em; padding: .5em .8em; background: var(--surface); border-radius: var(--r-sa); font-size: .88rem; }
.dims span { font: 700 .66rem/1 var(--f-display); color: var(--text-2); }
.dims b { font: 700 1.05rem/1 var(--f-display); }
.buy__story { font-size: 1.06rem; }
.buy__feat { list-style: none; display: grid; gap: 6px; margin-bottom: 22px; font-size: .95rem; }
.buy__feat li { display: flex; gap: .6em; align-items: flex-start; }
.buy__feat .icon { width: 18px; height: 18px; color: var(--moss); margin-top: 3px; stroke-width: 2.2; }
.buy__cart form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-bottom: 20px; }
.buy__cart .stock { margin: 0 0 10px; font-weight: 700; font-size: .9rem; color: var(--ok); }
.buy__cart .out-of-stock { color: var(--err); }
.buy__cart .single_add_to_cart_button { flex: 1; min-width: 200px; }
.quantity { display: inline-flex; align-items: stretch; border: 2px solid var(--ink); border-radius: var(--r-sa); overflow: hidden; background: var(--bg); }
.quantity input.qty { width: 54px; min-height: 48px; border: 0; border-radius: 0; text-align: center; font: 700 1rem var(--f-display); background: transparent; -moz-appearance: textfield; }
.quantity input.qty::-webkit-inner-spin-button, .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; }
.quantity input.qty:focus { box-shadow: none; }
.qty-btn { width: 44px; display: grid; place-items: center; background: none; border: 0; }
.qty-btn:hover { background: var(--surface); }
.qty-btn .icon { width: 18px; height: 18px; }
.buy__lines { list-style: none; display: grid; gap: 10px; padding: 16px 0; border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); font-size: .9rem; }
.buy__lines li { display: flex; gap: .7em; align-items: flex-start; }
.buy__lines .icon { width: 20px; height: 20px; color: var(--moss); }
.buy__lines a { font-weight: 700; }
.buy__sku { margin-top: 12px; font-size: .78rem; color: var(--text-2); }

/* open the lid */
.lid { padding-bottom: clamp(40px, 5vw, 72px); }
.lid__box { position: relative; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-a); box-shadow: var(--stack-lg); overflow: hidden; }
.lid__top {
	position: relative; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px clamp(18px, 3vw, 34px);
	background: var(--accent-deep); border: 0; border-bottom: 2px solid var(--ink); text-align: left; color: var(--on-dark); overflow: hidden;
}
.lid__top .icon { width: 44px; height: 44px; stroke-width: 1.4; flex: none; transition: transform .6s var(--ease-pop); }
.lid__flap {
	position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(242, 236, 223, .12) 0 2px, transparent 2px 14px);
	transform-origin: 50% 0; transition: transform .7s var(--ease-pop), opacity .5s;
}
.lid__label { position: relative; display: grid; gap: 4px; }
.lid__label .kicker { margin: 0; color: var(--on-dark); }
.lid__label .count { background: var(--ink); color: var(--on-dark); }
.lid__title { font: 800 clamp(1.4rem, 1rem + 1.6vw, 2.3rem)/1.05 var(--f-display); letter-spacing: -.03em; }
.lid__in { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease); }
.lid__in > * { min-height: 0; }
.lid.is-closed .lid__in { grid-template-rows: 0fr; }
.lid.is-closed .lid__flap { transform: none; }
.lid:not(.is-closed) .lid__flap { transform: perspective(600px) rotateX(-70deg); opacity: 0; }
.lid:not(.is-closed) .lid__top .icon { transform: rotate(-8deg) translateY(-3px); }
.lid__items { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; padding: clamp(18px, 3vw, 30px) clamp(18px, 3vw, 34px) 8px; }
.lid__items li {
	display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 14px; background: var(--bg); border-radius: var(--r-sb); box-shadow: 3px 3px 0 var(--ink);
	transition: opacity .4s, transform .5s var(--ease-pop); transition-delay: calc(var(--i) * 70ms + 200ms);
}
.lid.is-closed .lid__items li { opacity: 0; transform: translateY(-16px); transition-delay: 0s; }
.lid__n { font: 800 1.9rem/1 var(--f-display); color: var(--accent-deep); min-width: 1.4em; letter-spacing: -.03em; }
.lid__items span { font-size: .92rem; font-weight: 600; }
.lid__not { margin: 0; padding: 10px clamp(18px, 3vw, 34px) 24px; font-size: .9rem; color: var(--text-2); }
.lid__not > * { vertical-align: baseline; }

.specs { padding-bottom: clamp(40px, 5vw, 80px); }
.specs__title { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.2rem); }
.specs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); margin: 0; }
.spec { padding: 18px 0; border-top: 1.5px solid var(--ink); display: grid; grid-template-columns: 9rem 1fr; gap: 16px; }
.spec dt { font: 700 .74rem/1.4 var(--f-display); text-transform: uppercase; letter-spacing: .06em; }
.spec dd { margin: 0; font-size: .95rem; }
.spec--safety { grid-column: 1 / -1; }
.pdp-recs { background: var(--ink); color: var(--on-dark); padding-block: var(--sec); }
.pdp-recs .board__grid > :nth-child(n) { margin-top: 0; }
.same { padding-bottom: var(--sec); }
.fplate__grid--mini { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: calc((100cqw - 5 * 14px) / 6); }

/* ------------------------------------------------------------ documents */
.doc__head { padding: clamp(44px, 6vw, 88px) 0 clamp(28px, 4vw, 48px); border-bottom: 2px solid var(--ink); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: var(--cell) var(--cell); background-position: -1px -1px; }
.doc__head--dark { background-color: var(--ink); color: var(--on-dark); border-bottom: 0; background-image: linear-gradient(rgba(242, 236, 223, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 236, 223, .05) 1px, transparent 1px); }
.doc__title { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4.6rem); font-weight: 800; letter-spacing: -.04em; margin: 0 0 .3em; max-width: 18ch; }
.doc__date, .doc__lead { background: var(--bg); display: inline-block; padding-right: .4em; color: var(--text-2); margin: 0; }
.doc__lead { font-size: 1.1rem; max-width: 40rem; }
.doc__body { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding-block: clamp(36px, 5vw, 64px) var(--sec); }
.doc__toc { position: sticky; top: 20px; align-self: start; }
.doc__toc[hidden] { display: block; visibility: hidden; }
.doc__toc-h { font: 700 .72rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.doc__toc ol { list-style: none; display: grid; gap: 2px; counter-reset: t; }
.doc__toc li { counter-increment: t; }
.doc__toc a { display: grid; grid-template-columns: 2.2em 1fr; padding: .45em .5em; font-size: .88rem; text-decoration: none; border-radius: var(--r-sb); line-height: 1.3; }
.doc__toc a::before { content: counter(t, decimal-leading-zero); font: 700 .7rem/1.6 var(--f-display); color: var(--accent-deep); }
.doc__toc a:hover, .doc__toc a.is-on { background: var(--surface); color: var(--ink); }
.prose { max-width: 46rem; min-width: 0; overflow-wrap: break-word; }
.doc__body > *, .about__body > *, .contact__grid > *, .pdp__top > * { min-width: 0; }
.prose td, .prose th { overflow-wrap: anywhere; }
.prose h2 { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); margin: 2em 0 .6em; padding-top: .8em; border-top: 1.5px solid var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .7em .8em; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 700 .72rem/1.3 var(--f-display); text-transform: uppercase; letter-spacing: .04em; background: var(--surface); }
.prose blockquote { margin: 0 0 1.2em; padding: 1em 1.2em; background: var(--surface); border-radius: var(--r-sb); border-left: 4px solid var(--accent); }
.prose .box, .prose .notice { padding: 1.2em 1.3em; background: var(--surface); border-radius: var(--r-sa); margin-bottom: 1.4em; }
.prose dl { display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr; gap: .6em 1.2em; margin: 0 0 1.4em; }
.prose dt { font-weight: 700; }
.prose dd { margin: 0; }
.prose details { border-top: 1.5px solid var(--ink); padding: .8em 0; }
.prose details:last-of-type { border-bottom: 1.5px solid var(--ink); }
.prose summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.prose summary::after { content: '+'; font: 700 1.2rem/1 var(--f-display); color: var(--accent-deep); }
.prose details[open] summary::after { content: '–'; }
.prose details > :not(summary) { margin-top: .7em; }

/* ------------------------------------------------------------ recipes page */
.doc__head--dark .doc__title { color: var(--on-dark); }
.rec-intro { max-width: 44rem; color: var(--on-dark-2); font-size: 1.06rem; }
.rec-keys { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 22px; max-width: 56rem; }
.rec-keys li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 14px; border: 1.5px solid rgba(242, 236, 223, .25); border-radius: var(--r-sa); }
.rec-keys b { grid-row: span 2; font: 800 1.8rem/1 var(--f-display); color: var(--accent); }
.rec-keys span { font-weight: 700; }
.rec-keys small { color: var(--on-dark-2); font-size: .82rem; }
.recipes__fam { padding-block: clamp(44px, 6vw, 84px); }
.recipes__fam:nth-child(2n) { background: var(--surface); }
.board__grid--light .recipe { box-shadow: 8px 8px 0 var(--ink); }
.recipe__photo { margin: 14px -6px 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sb); background: var(--surface); }
.recipe__photo img { width: 100%; height: 100%; object-fit: cover; }
.recipes__fam .fplate__head { grid-template-columns: auto 1fr auto; }
.recipes__note { font-size: .88rem; color: var(--text-2); padding-bottom: var(--sec); }

/* ------------------------------------------------------------ about */
.about__head { background: var(--ink); color: var(--on-dark); padding: clamp(44px, 6vw, 88px) 0; background-image: linear-gradient(rgba(242, 236, 223, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 236, 223, .05) 1px, transparent 1px); background-size: var(--cell) var(--cell); }
.about__head-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.about__head .doc__title { color: var(--on-dark); }
.about__lead { font-size: 1.14rem; color: var(--on-dark-2); max-width: 36rem; }
.about__fig { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-b); overflow: hidden; box-shadow: 12px 12px 0 var(--accent); }
.about__fig img { width: 100%; height: 100%; object-fit: cover; }
.about__prints { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: calc(-1 * clamp(20px, 3vw, 44px)); position: relative; }
.print-card { display: grid; gap: 4px; padding: 0 0 16px; background: var(--bg); border: 2px solid var(--ink); border-radius: var(--r-sa); overflow: hidden; text-decoration: none; box-shadow: var(--stack); transition: transform .2s var(--ease), box-shadow .2s; }
.print-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); color: var(--ink); }
.print-card__sw { height: 110px; background-size: 320px; margin-bottom: 10px; }
.print-card--fern .print-card__sw { background-color: var(--fam-fern); background-image: var(--print-fern); }
.print-card--ginkgo .print-card__sw { background-color: var(--fam-ginkgo); background-image: var(--print-ginkgo); }
.print-card--oat .print-card__sw { background-color: var(--fam-oat); background-image: var(--print-oat); }
.print-card--clover .print-card__sw { background-color: var(--fam-clover); background-image: var(--print-clover); }
.print-card b { padding: 0 14px; font: 700 1.1rem/1.1 var(--f-display); }
.print-card span:last-child { padding: 0 14px; font-size: .84rem; color: var(--text-2); }
.about__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 80px); padding-block: var(--sec); align-items: start; }
.about__stack { position: sticky; top: 20px; display: grid; gap: 18px; }
.about__img { margin: 0; overflow: hidden; border-radius: var(--r-a); box-shadow: var(--stack-lg); aspect-ratio: 4 / 5; }
.about__img--1 { width: 78%; margin-left: auto; border-radius: var(--r-b); margin-top: -12%; }
.about__img--2 { width: 70%; margin-top: -18%; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------ contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding-block: clamp(36px, 5vw, 64px) var(--sec); align-items: start; }
.contact__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ccard { position: relative; display: grid; gap: 6px; align-content: start; padding: 34px 18px 18px; background: var(--surface); border-radius: var(--r-sa); text-decoration: none; min-width: 0; }
.ccard:nth-child(2n) { border-radius: var(--r-sb); }
.ccard::before { content: attr(data-coord); position: absolute; top: 10px; right: 12px; font: 700 .64rem/1 var(--f-display); color: var(--accent-deep); }
a.ccard { background: var(--ink); color: var(--on-dark); box-shadow: 5px 5px 0 var(--accent); transition: transform .18s var(--ease), box-shadow .18s; }
a.ccard:hover { color: var(--on-dark); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--accent); }
a.ccard::before { color: var(--lichen); }
.ccard b { font: 700 1rem/1.25 var(--f-display); overflow-wrap: anywhere; }
.ccard span:last-child { font-size: .84rem; opacity: .85; }
.ccard__k { font-size: .72rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.ccard p { margin: 0; font-size: .9rem; }
.ccard .btn { justify-self: start; margin-top: 8px; }
.contact__form { background: var(--bg); border: 2px solid var(--ink); border-radius: var(--r-a); padding: clamp(20px, 3vw, 36px); box-shadow: var(--stack-lg); }
.contact__form h2 { font-size: 1.6rem; }

/* ------------------------------------------------------------ plugin forms (contact, withdrawal) */
.iv-form { display: grid; gap: 14px; }
.iv-field { margin: 0; display: grid; gap: 6px; }
.iv-optional { font-weight: 500; color: var(--text-2); font-size: .82rem; }
.iv-hp { position: absolute !important; left: -9999px; }
.iv-form__legal { font-size: .84rem; color: var(--text-2); margin: 0; }
.iv-form__row { display: flex; flex-wrap: wrap; gap: 12px; }
.iv-notice { padding: 14px 16px; border-radius: var(--r-sb); font-weight: 600; margin-bottom: 16px; }
.iv-notice--ok { background: #DDE6CF; color: var(--ok); border-left: 4px solid var(--ok); }
.iv-notice--err { background: #F3DCD2; color: var(--err); border-left: 4px solid var(--err); }
.iv-steps { list-style: none; display: flex; gap: 8px; margin-bottom: 8px; counter-reset: s; }
.iv-steps li { counter-increment: s; display: flex; align-items: center; gap: .5em; padding: .4em .8em; border-radius: var(--r-sb); background: var(--surface); font-size: .86rem; font-weight: 700; color: var(--text-2); }
.iv-steps li::before { content: counter(s); font: 800 .8rem/1 var(--f-display); }
.iv-steps li.is-current { background: var(--ink); color: var(--on-dark); }
.iv-summary dl { display: grid; grid-template-columns: 10rem 1fr; gap: .5em 1em; margin: 0 0 1em; }
.iv-summary dt { font-weight: 700; }
.iv-summary dd { margin: 0; }

/* ------------------------------------------------------------ 404 */
.nf { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: var(--sec); }
.nf__fig { border-radius: var(--r-a); overflow: hidden; box-shadow: 10px 10px 0 var(--accent); aspect-ratio: 1; background: var(--surface); }
.nf__fig img { width: 100%; height: 100%; object-fit: cover; }
.nf__links { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------ WooCommerce pages */
.wcpage { padding-block: clamp(36px, 5vw, 64px) var(--sec); }
.wcpage__head { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.wcpage__title { font-size: clamp(2rem, 1.2rem + 3vw, 4rem); font-weight: 800; letter-spacing: -.04em; margin: 0; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	margin: 0 0 20px; padding: 14px 18px; background: var(--surface); border-left: 4px solid var(--moss); border-radius: var(--r-sb); font-weight: 600;
}
.woocommerce-error { border-left-color: var(--err); background: #F3DCD2; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }
.pdp + .woocommerce-notices-wrapper, .woocommerce-notices-wrapper { width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; }
.wcpage .woocommerce-notices-wrapper { width: auto; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, button.single_add_to_cart_button, .checkout-button, #place_order, .woocommerce-Button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: .75em 1.4em;
	border: 2px solid var(--ink); border-radius: var(--r-sa); background: var(--bg); color: var(--ink); font: 700 .95rem/1.1 var(--f-text); text-decoration: none;
	box-shadow: 4px 4px 0 var(--ink); transition: transform .18s var(--ease), box-shadow .18s var(--ease); cursor: pointer;
}
.woocommerce .button:hover, button.single_add_to_cart_button:hover, .checkout-button:hover, #place_order:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
button.single_add_to_cart_button, .checkout-button, #place_order, .woocommerce .button.alt { background: var(--accent-deep); color: var(--on-dark); }
button.single_add_to_cart_button:hover, .checkout-button:hover, #place_order:hover, .woocommerce .button.alt:hover { color: var(--on-dark); background: #8F3B22; }
.woocommerce .button:disabled, .woocommerce .button.disabled { opacity: .5; }

/* cart */
.woocommerce-cart-form { margin-bottom: 30px; }
table.shop_table { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.shop_table th { text-align: left; font: 700 .72rem/1.3 var(--f-display); text-transform: uppercase; letter-spacing: .05em; padding: .8em .6em; border-bottom: 2px solid var(--ink); }
table.shop_table td { padding: 1em .6em; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.shop_table .product-thumbnail img { width: 88px; border-radius: var(--r-sb); }
table.shop_table .product-name a { font-weight: 700; text-decoration: none; }
table.shop_table .product-remove a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; text-decoration: none; font-size: 1.4rem; line-height: 1; color: var(--err); }
table.shop_table .product-remove a:hover { background: #F3DCD2; }
table.shop_table dl.variation { margin: 4px 0 0; font-size: .82rem; color: var(--text-2); display: flex; gap: .3em; }
table.shop_table dl.variation dd, table.shop_table dl.variation p { margin: 0; }
.actions { text-align: right; }
.actions .coupon { display: none; }
.cart-collaterals { display: grid; justify-content: end; }
.cart_totals { width: min(460px, 100%); padding: 24px; background: var(--surface); border-radius: var(--r-a); box-shadow: var(--stack-lg); }
.cart_totals h2 { font-size: 1.3rem; }
.cart_totals table { width: 100%; margin-bottom: 18px; }
.cart_totals th, .cart_totals td { padding: .7em 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cart_totals td { text-align: right; }
.cart_totals .order-total td, .cart_totals .order-total th { font: 700 1.1rem var(--f-display); border-bottom: 0; }
.woocommerce-shipping-methods { list-style: none; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: .82rem; color: var(--text-2); }
.shipping-calculator-form { display: grid; gap: 8px; margin-top: 8px; text-align: left; }
.wc-proceed-to-checkout .checkout-button { width: 100%; }
.cart-notes { list-style: none; display: grid; gap: 4px; margin-top: 16px; font-size: .86rem; }
.cart-empty.woocommerce-info { font-size: 1.1rem; }
.return-to-shop { margin-top: 20px; }

/* checkout */
form.checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 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 { grid-row: 1; margin: 0; font-size: 1.4rem; }
form.checkout #order_review { grid-row: 1; margin-top: 3rem; padding: 24px; background: var(--surface); border-radius: var(--r-a); box-shadow: var(--stack-lg); position: sticky; top: 16px; }
form.checkout #customer_details { grid-row: 1 / span 2; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 { font-size: 1.25rem; }
.form-row { margin: 0 0 14px; display: grid; gap: 6px; }
.form-row-first, .form-row-last { display: inline-grid; width: calc(50% - 7px); }
.form-row-first { margin-right: 10px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: flex; flex-wrap: wrap; column-gap: 14px; }
.woocommerce-billing-fields__field-wrapper > .form-row, .woocommerce-shipping-fields__field-wrapper > .form-row { flex: 1 1 100%; }
.woocommerce-billing-fields__field-wrapper > .form-row-first, .woocommerce-billing-fields__field-wrapper > .form-row-last,
.woocommerce-shipping-fields__field-wrapper > .form-row-first, .woocommerce-shipping-fields__field-wrapper > .form-row-last { flex: 1 1 calc(50% - 7px); width: auto; margin-right: 0; }
.required { color: var(--err); text-decoration: none; }
.optional { font-weight: 500; color: var(--text-2); }
.woocommerce-checkout-review-order-table { margin-bottom: 18px; }
.woocommerce-checkout-review-order-table td, .woocommerce-checkout-review-order-table th { padding: .6em .2em; }
.woocommerce-checkout-review-order-table tfoot th { text-align: left; }
.woocommerce-checkout-review-order-table tfoot td { text-align: right; }
#payment ul.payment_methods { list-style: none; display: grid; gap: 8px; margin-bottom: 16px; }
#payment ul.payment_methods li { padding: 12px 14px; background: var(--bg); border-radius: var(--r-sb); }
#payment .payment_box { font-size: .88rem; color: var(--text-2); margin-top: 8px; }
.woocommerce-terms-and-conditions-wrapper { font-size: .88rem; margin-bottom: 16px; }
.woocommerce-form__label-for-checkbox { display: flex; gap: .6em; align-items: flex-start; font-weight: 600; }
.woocommerce-form__label-for-checkbox input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--moss); }
#place_order { width: 100%; font-size: 1.05rem; min-height: 58px; }
.pay-note { display: flex; gap: .6em; font-size: .82rem; color: var(--text-2); }
.pay-note .icon { width: 18px; height: 18px; color: var(--moss); flex: none; margin-top: 2px; }
.select2-container .select2-selection--single { height: 50px !important; border: 1.5px solid #9E9580 !important; border-radius: var(--r-sb) !important; background: #FBF8F1 !important; }
.select2-container .select2-selection__rendered { line-height: 48px !important; padding-left: .9em !important; }
.select2-container .select2-selection__arrow { height: 48px !important; }

/* account */
.woocommerce-account .wcpage__body .woocommerce { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); }
.woocommerce-MyAccount-navigation ul { list-style: none; display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: .6em .8em; border-radius: var(--r-sb); text-decoration: none; font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--on-dark); }
.u-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.woocommerce-account:not(.logged-in) .wcpage__body .woocommerce { display: block; }
.woocommerce-form-login, .woocommerce-form-register { padding: 24px; background: var(--surface); border-radius: var(--r-a); }
.woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 18px; background: var(--surface); border-radius: var(--r-sa); margin-bottom: 24px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
	.hero { grid-template-columns: 1fr; min-height: 0; }
	.hero__title { font-size: clamp(2rem, calc((100vw - 2 * var(--gut) - 100px) / (var(--hn, 13) * .7)), 5.4rem); }
	.hero__stage { max-width: 760px; }
	.board__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.board__grid > :nth-child(n) { margin-top: 0; }
	.foot__map { grid-template-columns: repeat(2, minmax(0, 1fr)); background-size: 50% 25%; }
	.foot__cell--region { grid-column: span 2; }
	.facts__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.facts__row li:nth-child(3) { border-left: 0; padding-left: 0; }
	.fplate__grid--mini { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: calc((100cqw - 3 * 14px) / 4); }
}
@media (max-width: 960px) {
	.pdp__top, .about__head-in, .about__body, .contact__grid, .nf, .film { grid-template-columns: 1fr; }
	.gallery, .buy, .about__stack { position: static; }
	.fplate__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: calc((100cqw - 2 * 14px) / 3); }
	.fills__row { grid-template-columns: 1fr 1fr; }
	.fill:nth-child(n) { margin-top: 0; }
	.cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 34vw, 280px); grid-template-areas: 'head head' 'cush cush' 'cush cush' 'mats mats' 'bags bask' 'bags cov' 'rec rec' 'rec rec'; }
	.doc__body { grid-template-columns: 1fr; }
	.doc__toc { display: none !important; }
	form.checkout { grid-template-columns: 1fr; }
	form.checkout #order_review_heading, form.checkout #order_review, form.checkout #customer_details { grid-column: 1; grid-row: auto; }
	form.checkout #order_review { position: static; margin-top: 0; }
	.about__prints { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.about__stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.about__img--1, .about__img--2 { width: auto; margin: 0; }
	.woocommerce-account .wcpage__body .woocommerce { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	:root { --rail: 0px; --cell: 36px; }
	.foot { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
	body.woocommerce-checkout .main, body.woocommerce-cart .main { padding-bottom: 20px; }
	.rail { display: none; }
	.mbar {
		position: sticky; top: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px;
		height: 58px; padding: 0 var(--gut); background: var(--ink); color: var(--on-dark);
	}
	.mbar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.05rem/1 var(--f-display); letter-spacing: .14em; color: var(--on-dark); }
	.mbar__brand .mark { width: 34px; }
	.mbar__btn { min-height: 40px; padding: 0 .9em; background: rgba(242, 236, 223, .1); border: 1.5px solid rgba(242, 236, 223, .3); border-radius: var(--r-sb); color: var(--on-dark); font: 700 .72rem/1 var(--f-display); }
	.dock {
		position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr);
		background: var(--ink); border-radius: 20px 6px 20px 6px; box-shadow: 4px 4px 0 var(--accent); padding: 4px;
	}
	.dock a, .dock button { position: relative; display: grid; justify-items: center; gap: 2px; padding: 7px 2px 6px; min-height: 52px; background: none; border: 0; border-radius: 14px 4px 14px 4px; color: var(--on-dark-2); text-decoration: none; font-size: .64rem; font-weight: 700; }
	.dock [aria-current], .dock [aria-expanded="true"] { background: var(--accent-deep); color: var(--on-dark); }
	.dock .badge { top: 3px; right: calc(50% - 22px); }
	.panel { left: 8px; right: 8px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); top: auto; max-height: calc(100vh - 160px); }
	.panel--search { top: 66px; bottom: auto; }
	.menu-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0 14px; }
	.menu-grid a { position: relative; display: grid; justify-items: center; gap: 6px; padding: 20px 6px 12px; background: var(--surface); border-radius: var(--r-sa); text-decoration: none; font-size: .8rem; font-weight: 700; text-align: center; }
	.menu-grid a[aria-current] { background: var(--ink); color: var(--on-dark); }
	.menu-grid__c { position: absolute; top: 6px; left: 8px; font: 700 .56rem/1 var(--f-display); color: var(--accent-deep); }
	.menu-contact { display: grid; gap: 8px; margin: 14px 0 0; font-size: .88rem; }
	.menu-contact a { display: flex; gap: .6em; align-items: center; font-weight: 600; }
	.main, .foot { margin-left: 0; }

	.hero { padding-top: 24px; gap: 26px; }
	.hero__stage { order: -1; margin-inline: calc(-1 * var(--gut)); }
	.stage { aspect-ratio: 3 / 4; max-height: none; border-radius: 0; box-shadow: none; }
	.js .stage__still { display: block; }
	.stage__video { display: block; }
	.stage__svg, .stage__cols, .stage__count, .stage__dim { display: none; }
	.stage__legend { padding: 0 var(--gut); }
	.hero__title { font-size: clamp(2.3rem, 11vw, 3.4rem); }
	.hero__switch { display: grid; grid-template-columns: repeat(3, 1fr); }
	.hero__switch button { flex-direction: column; padding: .5em .3em; gap: .3em; min-height: 76px; }
	.hero__switch span { font-size: .78rem; }
	.hero__ctas .btn { flex: 1 1 100%; }
	.ruler__band { gap: 0; }
	.ruler__band span:nth-child(2n) { visibility: hidden; }

	.fams__plates, .board__grid, .heights__list, .fills__row, .contact__cards, .rec-keys, .specs__grid, .u-columns { grid-template-columns: 1fr; }
	.plate:nth-child(n) { margin-top: 0; }
	.fplate__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: calc((100cqw - 10px) / 2); gap: 10px; }
	.fplate__grid--mini { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: calc((100cqw - 10px) / 2); }
	.tile--t .tile__info, .tile--s .tile__info { left: 6px; right: 6px; bottom: 6px; padding: .5em .55em; }
	.tile__name { font-size: .82rem; }
	.tile__dims { display: none; }
	.tile__coord { display: none; }
	.tile__recs a { min-width: 28px; height: 26px; font-size: .64rem; }
	.fplate__head { grid-template-columns: auto 1fr; }
	.fplate__rec { grid-column: 1 / -1; justify-self: start; }
	.cats__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; gap: 10px; }
	.cat__label { left: 8px; bottom: 8px; padding: .55em .65em; grid-template-columns: 1fr; }
	.cat__label .icon { display: none; }
	.cat__label b { font-size: .88rem; }
	.facts__row { grid-template-columns: 1fr; }
	.facts__row li { border-left: 0; padding: 16px 0; border-top: 1.5px solid rgba(31, 42, 26, .2); }
	.facts__row li:first-child { border-top: 0; }
	.foot__map { grid-template-columns: 1fr; padding: 48px var(--gut) 20px 44px; background-size: 100% 12.5%; background-position: 44px 48px; }
	.foot__cell--region { grid-column: auto; }
	.foot__cell--region .region__langs { grid-template-columns: repeat(3, 1fr); }
	.foot__ticks--top { left: 44px; }
	.foot__ticks--top span:nth-child(2n) { display: none; }
	.foot__legend { padding-left: var(--gut); }
	.spec { grid-template-columns: 1fr; gap: 6px; }
	.gallery__main { box-shadow: 6px 6px 0 var(--ink); }
	.gallery__thumbs a { width: 60px; }
	.lid__items { grid-template-columns: 1fr 1fr; }
	.lid__items li { grid-template-columns: 1fr; gap: 4px; }
	.cookie { bottom: calc(84px + env(safe-area-inset-bottom)); right: 8px; width: calc(100vw - 16px); }
	.about__stack { grid-template-columns: 1fr 1fr; }
	.about__img--2 { display: none; }
	.recipe .stackfig__svg { height: 170px; }
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: grid; grid-template-columns: 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
	table.shop_table_responsive td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: .35em 0; text-align: right; }
	table.shop_table_responsive td::before { content: attr(data-title); font-weight: 700; text-align: left; }
	table.shop_table_responsive td.product-thumbnail::before, table.shop_table_responsive td.product-remove::before, table.shop_table_responsive td.actions::before { content: none; }
	table.shop_table_responsive td.product-thumbnail { justify-content: flex-start; }
	.woocommerce-billing-fields__field-wrapper > .form-row-first, .woocommerce-billing-fields__field-wrapper > .form-row-last,
	.woocommerce-shipping-fields__field-wrapper > .form-row-first, .woocommerce-shipping-fields__field-wrapper > .form-row-last { flex-basis: 100%; }
	.prose dl, .iv-summary dl { grid-template-columns: 1fr; }
	.region__langs { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.stage__video { display: none !important; }
	.js .stage__still { display: block; }
	.stage__svg { display: none; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 761px) {
	.js .stage__still { display: none; }
	.stage__svg { display: block; }
}
