/* Your Decorum Home — theme styles.
   Layout: a walk through a house. Full-bleed "your wall" opener with shoppable hotspots, a centered statement,
   one chapter per room (sticky room label + three pieces), morning-to-night light, a shelf workbench,
   and a postcard sign-up. Checkout and generic pages share the same tokens. */

:root {
	--wall: #ECE7DE; --paper: #F6F6F2; --card: #FFFFFF; --ink: #22302A; --ink-2: #33463D; --muted: #67716B; --line: #E2E3DB;
	--brass: #A97E3F; --sage: #7F9474; --clay: #B98463; --red: #B24A35;
	--shadow: 0 18px 40px -22px rgba(34, 48, 42, .35);
	--f-display: "DM Serif Display", Georgia, "Times New Roman", serif;
	--f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
	--r: 16px;
	--adminbar: 0px;
	color-scheme: light;
}
.admin-bar { --adminbar: 32px; }
@media (max-width: 782px) { .admin-bar { --adminbar: 46px; } }
@media (max-width: 600px) { .admin-bar { --adminbar: 0px; } }

/* ─── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--adminbar) + 130px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
h1 em, h2 em { color: var(--brass); }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { max-width: 1220px; margin-inline: auto; padding-inline: 16px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mono.ink { color: var(--ink); }
.muted { color: var(--muted); }

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 14px 26px; background: var(--ink); color: #fff; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; transition: transform .15s, background .2s, opacity .2s; }
.btn:hover { transform: translateY(-2px); background: var(--ink-2); }
.btn:disabled, .btn.is-off { opacity: .45; cursor: not-allowed; transform: none; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: #F2EFE8; }
.btn--block { width: 100%; }
.price { font-family: var(--f-mono); font-size: 15px; font-variant-numeric: tabular-nums; }
.add { border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.add:hover { background: var(--ink); color: #fff; }
.add.done { background: var(--sage); border-color: var(--sage); color: #fff; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--ink); font-weight: 600; font-size: 14px; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn .muted { font-weight: 400; }

/* ─── Header: centered wordmark, links split either side ───────────────────── */
.promo { background: var(--ink); color: #EDE7DA; font-size: 13px; text-align: center; padding: 8px 16px; }
.site-header { position: sticky; top: var(--adminbar); z-index: 50; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 14px; }
.site-header nav { display: flex; gap: 24px; }
.site-header a:not(.logo) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .2s; }
.site-header a:not(.logo):hover { color: var(--brass); }
.logo { text-decoration: none; color: var(--ink); font-family: var(--f-display); font-size: 24px; line-height: 1; white-space: nowrap; text-align: center; }
.logo i { color: var(--brass); }
.site-header__r { display: flex; justify-content: flex-end; gap: 20px; align-items: center; }
.cart-btn { display: flex; align-items: center; gap: 8px; border: 0; background: none; font-weight: 600; font-size: 15px; padding: 6px 0; }
.cart-count { min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink); color: #fff; font-family: var(--f-mono); font-size: 12px; display: grid; place-items: center; padding-inline: 5px; }
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.35); } }
@media (max-width: 860px) {
	.site-header nav, .site-header .hide-sm { display: none; }
	.site-header .wrap { grid-template-columns: auto 1fr; }
	.logo { text-align: left; }
}

/* ─── Opener: one full-bleed wall ──────────────────────────────────────────── */
.opener { position: relative; background: var(--wall); transition: background .5s ease; overflow: hidden; }
.opener::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% -10%, rgba(255, 255, 255, .45), transparent 60%); pointer-events: none; }
.opener .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding-block: 40px 0; }
.opener h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; max-width: 16ch; }
.opener .lede { font-size: 19px; max-width: 52ch; opacity: .82; }
.opener > .wrap > .mono { color: inherit; opacity: .7; }
.opener .cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.scene { position: relative; width: min(1160px, 100%); aspect-ratio: 1.9; margin-top: 10px; }
.scene .frame { position: absolute; background: #FBF8F1; border: 6px solid #2F2A24; box-shadow: 0 14px 24px -14px rgba(0, 0, 0, .4); padding: 10px; }
.scene .frame .art { position: relative; width: 100%; height: 100%; overflow: hidden; background: #EFE6D6; }
.scene .frame .art i { position: absolute; display: block; }
.console { position: absolute; left: 6%; right: 6%; top: 66%; bottom: 2%; }
.console__top { position: absolute; left: 0; right: 0; top: 0; height: 7%; background: linear-gradient(#D3A86C, #AE7F48); border-radius: 3px; box-shadow: 0 16px 22px -12px rgba(0, 0, 0, .35); }
.console .leg { position: absolute; top: 6%; bottom: 0; width: 2.2%; background: linear-gradient(90deg, #9C6E3C, #B8894F); }
.console .rail { position: absolute; left: 2%; right: 2%; top: 64%; height: 4%; background: linear-gradient(#C69A60, #A47645); border-radius: 2px; }
.floor { position: absolute; left: -10%; right: -10%; bottom: 0; height: 3%; background: linear-gradient(transparent, rgba(0, 0, 0, .08)); }
.scene .thing { position: absolute; bottom: var(--b); transform: translateX(-50%); width: var(--w); }
.scene .thing img { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .06)); }
.scene .hang { position: absolute; top: 0; }
.scene .hang img { width: 100%; display: block; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .14)); }
.spot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(0, 0, 0, .2); display: grid; place-items: center; font-size: 18px; line-height: 1; font-weight: 600; z-index: 2; }
.spot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); animation: ping 2.2s ease-out infinite; }
@keyframes ping { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .spot::before { animation: none; } }
.pop { position: absolute; z-index: 3; background: var(--card); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 12px; display: grid; grid-template-columns: auto auto; gap: 4px 14px; align-items: center; text-align: left; min-width: 200px; transform: translate(-50%, calc(-100% - 22px)); }
.pop b { font-family: var(--f-display); font-weight: 400; font-size: 19px; grid-column: 1 / -1; }
.pop .add { padding: 5px 12px; font-size: 13px; }
.paint { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); border-radius: 999px; padding: 8px 10px 8px 18px; margin: 0 auto 28px; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .4); width: max-content; max-width: calc(100% - 32px); }
.paint .mono { color: var(--ink); }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.sw { width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px var(--line); transition: transform .15s; }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); transform: scale(1.08); }
.picker { position: relative; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: conic-gradient(#E8B4A0, #F1E3B8, #C9D2C1, #B8C8DA, #D7C3E0, #E8B4A0); }
.picker input { position: absolute; inset: -6px; opacity: 0; cursor: pointer; width: calc(100% + 12px); height: calc(100% + 12px); }
.wall-name { font-size: 14px; font-weight: 600; padding-right: 8px; }
@media (max-width: 640px) {
	.scene { aspect-ratio: 1.2; }
	.scene .frame { border-width: 3px; }
	.scene .thing { width: calc(var(--w) * 1.12); }
	.spot { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 15px; }
	.paint { border-radius: 20px; }
}

/* ─── Statement ────────────────────────────────────────────────────────────── */
.statement .wrap { padding-block: 80px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.statement .big { font-family: var(--f-display); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.25; max-width: 30ch; }
.statement .big em { color: var(--brass); }
.pillars { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pillars span { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; }

/* ─── Room chapters ────────────────────────────────────────────────────────── */
.rooms-nav { position: sticky; top: calc(var(--adminbar) + var(--hdr, 61px)); z-index: 40; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.rooms-nav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.rooms-nav a { flex: none; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; padding: 7px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.rooms-nav a.on { background: var(--ink); color: #fff; }
.chapter .wrap { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 2fr); gap: 40px; padding-block: 64px; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .chapter .wrap { grid-template-columns: 1fr; gap: 20px; padding-block: 44px; } }
.ch-label { position: sticky; top: calc(var(--adminbar) + 140px); align-self: start; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 900px) { .ch-label { position: static; } }
.ch-label .num { font-family: var(--f-display); font-size: 64px; line-height: 1; color: var(--brass); }
.ch-label h2 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; }
.ch-label p { color: var(--muted); font-size: 16px; }
.ch-label .linkbtn { align-self: flex-start; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .trio { grid-template-columns: 1fr 1fr; } .trio .piece:first-child { grid-column: 1 / -1; } }
.piece { display: flex; flex-direction: column; gap: 10px; }
.piece .shot { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); background: linear-gradient(to bottom, var(--wall) 0 78%, color-mix(in srgb, var(--wall) 82%, #000) 78% 78.4%, color-mix(in srgb, var(--wall) 70%, #fff) 78.4%); transition: background .5s; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.piece .shot img { width: 94%; height: auto; margin-bottom: 9%; transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.piece:hover .shot img { transform: translateY(-6px); }
/* Refined fit for the two sculptural ceramics */
.piece[data-product="vase"] .shot img { width: 76%; max-height: 76%; object-fit: contain; margin-bottom: 10%; }
.piece[data-product="fruitbowl"] .shot img { width: 82%; max-height: 58%; object-fit: contain; margin-bottom: 13%; }
.piece h3 { font-size: 21px; line-height: 1.1; }
.piece .mat { font-size: 14px; color: var(--muted); line-height: 1.4; }
.piece .dims { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-top: 4px; }
.piece .row { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* ─── Morning to night ─────────────────────────────────────────────────────── */
.daynight .wrap { padding-block: 84px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 920px) { .daynight .wrap { grid-template-columns: 1fr; } }
.room { position: relative; aspect-ratio: 1.45; border-radius: 6px; background: var(--wall); transition: background .5s; overflow: hidden; }
.room .plank { position: absolute; left: 4%; right: 4%; top: 76%; height: 3.4%; background: linear-gradient(#D6AC72, #B88A52); border-radius: 2px; box-shadow: 0 16px 20px -12px rgba(0, 0, 0, .35); z-index: 1; }
.room .obj { position: absolute; bottom: 24%; z-index: 2; }
.room .obj img { display: block; width: 100%; height: auto; }
.sunpatch { position: absolute; top: -10%; width: 34%; height: 120%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, var(--sun) 40%, var(--sun) 60%, transparent); mix-blend-mode: soft-light; pointer-events: none; z-index: 3; transition: left .2s, opacity .2s; }
.dusk { position: absolute; inset: 0; background: #26304F; pointer-events: none; z-index: 4; mix-blend-mode: multiply; transition: opacity .2s; }
.glow { position: absolute; pointer-events: none; z-index: 5; border-radius: 50%; mix-blend-mode: screen; transition: opacity .5s; background: radial-gradient(circle, rgba(255, 196, 110, .95) 0, rgba(255, 160, 70, .45) 28%, rgba(255, 140, 50, .12) 48%, transparent 64%); }
.flame { position: absolute; width: 3.2%; aspect-ratio: .55; transform: translate(-50%, -92%); z-index: 6; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: radial-gradient(ellipse at 50% 72%, #fff 0 18%, #FFE08A 34%, #FF9C2E 62%, transparent 70%); filter: drop-shadow(0 0 6px #FFB347); transition: opacity .4s; animation: flicker 1.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes flicker { 0% { transform: translate(-50%, -92%) scale(1, 1) rotate(-2deg); } 50% { transform: translate(-50%, -92%) scale(.92, 1.08) rotate(2deg); } 100% { transform: translate(-50%, -92%) scale(1.04, .95) rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) { .flame { animation: none; } }
.clock { position: absolute; top: 14px; left: 14px; z-index: 7; background: rgba(255, 255, 255, .88); border-radius: 999px; padding: 6px 14px; font-family: var(--f-mono); font-size: 13px; font-weight: 500; }
.dn-copy { display: flex; flex-direction: column; gap: 16px; }
.dn-copy h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.05; }
.dn-copy > p:not(.mono) { color: var(--muted); }
.slider { display: flex; flex-direction: column; gap: 6px; }
.slider input { width: 100%; accent-color: var(--brass); }
.slider .ticks { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.toggles { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.toggles label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.toggles input { width: 18px; height: 18px; accent-color: var(--brass); }
.eveset { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--card); }
.eveset ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.eveset li { display: flex; justify-content: space-between; gap: 10px; }
.eveset .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 10px; }
.eveset .row b { font-family: var(--f-display); font-weight: 400; font-size: 26px; }
.eveset .row s { font-family: var(--f-mono); font-size: 13px; color: var(--muted); margin-right: 6px; }

/* ─── Shelf workbench (stage on top, controls in a row) ────────────────────── */
.bench { background: var(--card); border-block: 1px solid var(--line); }
.bench .wrap { padding-block: 80px; display: flex; flex-direction: column; gap: 22px; }
.bench-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bench-head h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.05; }
.bench-head p:not(.mono) { color: var(--muted); max-width: 52ch; }
.stage { position: relative; aspect-ratio: 2.6; border-radius: 6px; background: var(--wall); transition: background .5s; overflow: hidden; box-shadow: inset 0 -60px 80px -60px rgba(0, 0, 0, .12); }
@media (max-width: 640px) { .stage { aspect-ratio: 1.5; } }
.stage .plank { position: absolute; top: 74%; height: 3.6%; background: linear-gradient(#D6AC72, #B88A52); border-radius: 2px; box-shadow: 0 16px 20px -12px rgba(0, 0, 0, .35); transition: left .4s, right .4s; }
.stage .row { position: absolute; bottom: 26%; left: 0; right: 0; display: flex; align-items: flex-end; justify-content: center; gap: 1.2%; margin-inline: auto; transition: width .4s; }
.stage .row button { border: 0; background: none; padding: 0; position: relative; display: flex; align-items: flex-end; justify-content: center; animation: drop .4s cubic-bezier(.3, 1.5, .5, 1); }
.stage .row button img { width: 100%; height: auto; display: block; }
.stage .row button::after { content: "×"; position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; line-height: 22px; opacity: 0; transition: opacity .2s; }
.stage .row button:hover::after, .stage .row button:focus-visible::after { opacity: 1; }
@keyframes drop { from { transform: translateY(-30px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stage .row button { animation: none; } }
.stage .ruler { position: absolute; left: 0; right: 0; top: 80%; text-align: center; font-family: var(--f-mono); font-size: 12px; color: color-mix(in srgb, var(--ink) 60%, transparent); }
.empty-msg { position: absolute; left: 0; right: 0; bottom: 36%; text-align: center; color: var(--muted); font-size: 15px; }
.controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; }
@media (max-width: 900px) { .controls { grid-template-columns: 1fr; } }
.controls__mid { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--paper); }
.seg button { border: 0; background: none; border-radius: 999px; padding: 7px 14px; font-family: var(--f-mono); font-size: 13px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.pick { flex: none; width: 88px; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 6px 6px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; line-height: 1.2; text-align: center; }
.pick img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pick small { font-family: var(--f-mono); font-weight: 400; color: var(--muted); font-size: 10px; }
.pick[aria-pressed="true"] { border-color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--ink); }
.fit { display: flex; flex-direction: column; gap: 6px; }
.fit-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; position: relative; }
.fit-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--sage); transition: width .3s, background .3s; }
.fit-bar i.over { background: #C4553F; }
.fit-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.warn { color: var(--red); }
.buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.buy__sum { text-align: right; }
.buy .big { font-family: var(--f-display); font-size: 32px; line-height: 1; }
.buy s { font-family: var(--f-mono); font-size: 13px; color: var(--muted); display: block; }

/* ─── Postcard sign-up ─────────────────────────────────────────────────────── */
.postcard-wrap { background: radial-gradient(ellipse at 50% 0, color-mix(in srgb, var(--wall) 70%, var(--paper)), var(--paper) 70%); transition: background .5s; }
.postcard-wrap .wrap { padding-block: 96px; }
.postcard { --edge: 8px; max-width: 900px; margin-inline: auto; background: #FFFDF8; border-radius: 8px; box-shadow: 0 30px 60px -30px rgba(34, 48, 42, .45), 0 2px 6px rgba(34, 48, 42, .06); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); position: relative; transform: rotate(-.8deg); transition: transform .5s cubic-bezier(.3, 1.3, .5, 1), box-shadow .5s; }
.postcard:hover, .postcard:focus-within { transform: rotate(0); box-shadow: 0 40px 70px -32px rgba(34, 48, 42, .5), 0 2px 6px rgba(34, 48, 42, .06); }
@media (prefers-reduced-motion: reduce) { .postcard { transition: none; } }
/* Air-mail edge */
.postcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: var(--edge); pointer-events: none;
	background: repeating-linear-gradient(-45deg, var(--clay) 0 12px, transparent 12px 24px, var(--sage) 24px 36px, transparent 36px 48px);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: .85; }
.pc-left { padding: calc(var(--edge) + 36px) 40px calc(var(--edge) + 36px) calc(var(--edge) + 36px); border-right: 1.5px dashed #D9D2C2; display: flex; flex-direction: column; gap: 14px; }
.pc-left h2 { font-size: clamp(34px, 4vw, 50px); line-height: 1; }
.pc-left > p:not(.mono):not(.sign) { color: var(--muted); max-width: 36ch; }
.perks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: color-mix(in srgb, var(--sage) 18%, #fff); color: var(--sage); }
.sign { margin-top: auto; padding-top: 10px; font-family: var(--f-display); font-style: italic; font-size: 19px; color: var(--brass); }
.pc-right { position: relative; padding: calc(var(--edge) + 128px) calc(var(--edge) + 32px) calc(var(--edge) + 32px) 34px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.pc-to { color: var(--ink); }
/* Perforated stamp + postmark */
.stamp { position: absolute; top: calc(var(--edge) + 20px); right: calc(var(--edge) + 22px); width: 78px; height: 92px; padding: 5px; transform: rotate(4deg);
	background: radial-gradient(circle at center, transparent 2.6px, #EBD9B6 3px) -5px -5px / 10px 10px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .08)); }
.stamp span { display: grid; place-content: center; height: 100%; text-align: center; background: #FBF4E6; border: 1.5px solid var(--brass); font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); line-height: 1.3; }
.stamp b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 26px; letter-spacing: 0; line-height: 1; margin-bottom: 2px; }
.postmark { position: absolute; top: calc(var(--edge) + 34px); right: calc(var(--edge) + 62px); width: 150px; color: var(--ink); opacity: .32; transform: rotate(-8deg); pointer-events: none; font-family: var(--f-mono); }
@media (max-width: 760px) {
	.postcard { grid-template-columns: 1fr; transform: none; }
	.postcard:hover, .postcard:focus-within { transform: none; }
	.pc-left { border-right: 0; border-bottom: 1.5px dashed #D9D2C2; padding: calc(var(--edge) + 28px) calc(var(--edge) + 24px) 28px; }
	.pc-right { padding: 120px calc(var(--edge) + 24px) calc(var(--edge) + 28px); }
	.sign { margin-top: 4px; }
}

/* Contact Form 7 inside the postcard */
.cf7 .wpcf7, .cf7 .wpcf7 form, .cf7 .wpcf7 p { margin: 0; }
.cf7 .wpcf7 br { display: none; }
.cf7 .wpcf7-spinner { display: none !important; }
.cf7 .form-fields p, .cf7 .wpcf7 form > p:first-of-type { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.cf7 .wpcf7-form-control-wrap { display: block; min-width: 0; }
.cf7 input[type="email"], .cf7 input[type="text"] { width: 100%; height: 50px; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent; padding: 0 2px; font: inherit; font-size: 18px; color: var(--ink); outline: none; transition: border-color .2s; background-image: linear-gradient(var(--line), var(--line)); background-size: 100% 1px; background-position: 0 calc(100% - 8px); background-repeat: no-repeat; }
.cf7 input[type="email"]:focus, .cf7 input[type="text"]:focus { border-bottom-color: var(--brass); }
.cf7 input::placeholder { color: #A3A9A4; }
.cf7 input[type="submit"] { align-self: flex-start; height: 50px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; transition: background .2s, transform .15s; }
.cf7 input[type="submit"]:hover { background: var(--ink-2); transform: translateY(-2px); }
.cf7 input[type="submit"]:disabled { opacity: .6; cursor: wait; transform: none; }
.cf7 .wpcf7-not-valid-tip { font-size: 13px; font-weight: 600; margin-top: 6px; color: var(--red); }
.cf7 .form-privacy { margin-top: 16px; }
.cf7 .wpcf7-list-item { margin: 0; }
.cf7 .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.cf7 .wpcf7-acceptance input { accent-color: var(--ink); width: 16px; height: 16px; margin: 1px 0 0; flex: none; }
.cf7 .wpcf7-acceptance a { color: var(--ink); }
.cf7 .wpcf7-acceptance.wpcf7-not-valid .wpcf7-list-item-label { color: var(--red); }
.cf7 .wpcf7-response-output { margin: 14px 0 0 !important; padding: 10px 14px !important; border: 0 !important; border-radius: 10px; font-size: 14px; font-weight: 600; background: var(--paper); }
.cf7 .wpcf7 form.sent .wpcf7-response-output { background: color-mix(in srgb, var(--sage) 18%, #fff); color: #43573A; }
.cf7 .wpcf7 form.invalid .wpcf7-response-output, .cf7 .wpcf7 form.unaccepted .wpcf7-response-output, .cf7 .wpcf7 form.failed .wpcf7-response-output { background: #FBEDE8; color: var(--red); }

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #DCD7CB; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 48px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > :first-child { grid-column: 1 / -1; } }
.site-footer .logo { display: inline-block; color: #fff; text-align: left; font-size: 26px; }
.site-footer__blurb { margin-top: 10px; font-size: 15px; max-width: 30ch; }
.site-footer h4 { margin: 0 0 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #A8B0A9; font-weight: 400; }
.site-footer a:not(.logo), .site-footer p:not(.site-footer__blurb) { display: block; color: #DCD7CB; text-decoration: none; font-size: 15px; margin-bottom: 6px; }
.site-footer a:not(.logo):hover { color: #fff; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; font-size: 13px; color: #A8B0A9; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ─── Cart drawer (bottom sheet on phones, side drawer on desktop) ─────────── */
.scrim { position: fixed; inset: 0; background: rgba(34, 48, 42, .3); z-index: 99990; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); z-index: 99995; background: var(--paper); box-shadow: -20px 0 50px -20px rgba(34, 48, 42, .35); display: flex; flex-direction: column; transform: translateX(105%); visibility: hidden; transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s; padding: 20px; }
.drawer.open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
@media (max-width: 560px) { .drawer { top: auto; left: 0; width: 100%; max-height: 82%; border-radius: 22px 22px 0 0; transform: translateY(105%); } }
.dr-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dr-head h2 { font-size: 30px; }
.x { border: 1px solid var(--line); background: var(--card); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; padding: 0; }
.ship { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 8px; }
.ship-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.ship-bar i { display: block; height: 100%; width: 0; background: var(--brass); transition: width .4s; }
.items { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-direction: column; gap: 12px; overflow: auto; flex: 1; }
.item { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.item img { width: 60px; height: 60px; object-fit: contain; background: var(--wall); border-radius: 10px; }
.item .t { font-weight: 600; font-size: 15px; }
.item .s { font-size: 13px; color: var(--muted); }
.qty { display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.qty button { border: 1px solid var(--line); background: var(--card); width: 28px; height: 28px; border-radius: 50%; line-height: 1; padding: 0; }
.empty { color: var(--muted); text-align: center; padding: 36px 0; }
.total { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 12px; }
.total span:last-child { font-family: var(--f-mono); }
.checkout { width: 100%; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, calc(100% + 60px)); z-index: 99999; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }

/* ─── Checkout page ────────────────────────────────────────────────────────── */
.co { padding-block: 56px 96px; min-height: 70vh; }
.co__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.co__head h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.04; }
.co__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .co__grid { grid-template-columns: 1fr; gap: 24px; } .co__sum { order: -1; } }
.co__form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 560px) { .co__form { padding: 20px; } }
.fs { border: 0; margin: 0; padding: 0; min-width: 0; }
.fs legend { padding: 0; margin-bottom: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.f2, .f3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.f3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.f2 .w, .f3 .w { grid-column: 1 / -1; }
@media (max-width: 560px) { .f2, .f3 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 22%, transparent); }
.field.bad input, .field.bad textarea { border-color: var(--red); background: #FDF6F3; }
.form-error { background: #FBEDE8; color: var(--red); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.co__memo { font-size: 14px; color: var(--muted); text-align: center; margin-top: -8px; }
.co__sum { position: sticky; top: calc(var(--adminbar) + var(--hdr, 61px) + 20px); background: var(--wall); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: background .5s; }
.co__sum-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.co__sum-head h2 { font-size: 26px; }
.co__lines { list-style: none; margin: 0 0 6px; padding: 0 0 14px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); display: flex; flex-direction: column; gap: 12px; }
.co__lines li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.co__lines b { display: block; font-weight: 600; font-size: 15px; }
.co__lines small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.co__th { position: relative; width: 56px; height: 56px; border-radius: 10px; background: color-mix(in srgb, var(--wall) 60%, #fff); display: grid; place-items: center; }
.co__th img { width: 48px; height: 48px; object-fit: contain; }
.co__th em { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: #fff; font-style: normal; font-family: var(--f-mono); font-size: 11px; display: grid; place-items: center; padding-inline: 5px; }
.tl { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.tl span:last-child { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.tl--total { font-weight: 700; font-size: 19px; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); padding-top: 12px; margin-top: 4px; }
.co__state { max-width: 560px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 48px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.co__state > p:not(.mono) { color: var(--muted); }
.co__done:focus { outline: none; }
.co__done h2 { font-size: clamp(32px, 4vw, 44px); }
.co__done > p:not(.mono):not(.muted) { color: var(--ink); }
.co__done > p.muted { font-size: 14px; }
.co__check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--sage) 18%, #fff); color: var(--sage); }

/* ─── Generic pages ────────────────────────────────────────────────────────── */
.wrap--text { max-width: 780px; }
.entry { padding: 72px 0 100px; }
.entry__head { margin-bottom: 36px; }
.entry__title { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; margin-top: 8px; }
.entry__lead { color: var(--muted); font-size: 19px; margin-top: 14px; }
.prose { font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 30px; margin-top: 1.8em; }
.prose h3 { font-size: 23px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a { color: var(--brass); }
.prose img { height: auto; border-radius: var(--r); }
.prose blockquote { margin-inline: 0; border-left: 3px solid var(--brass); padding-left: 18px; color: var(--muted); }
.list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.list a { font-weight: 600; text-decoration: none; }
.list a:hover { color: var(--brass); }
.nf { background: var(--wall); }
.nf .wrap { padding-block: 120px 140px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.nf h1 { font-size: clamp(44px, 7vw, 84px); line-height: 1.02; }
.nf p:not(.mono) { color: var(--muted); max-width: 46ch; font-size: 18px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
