/* Wenlow: styles.
   BRAND SETTINGS: the colours and fonts below are the only things to change for a new look. */
:root {
  /* BRAND SETTINGS */
  --paper: #efe9df;        /* page background */
  --paper-2: #e5ddcd;      /* cards and tiles */
  --ink: #16130f;          /* text, dark sections */
  --ink-2: #2a241d;        /* dark section, lighter */
  --walnut: #3a2518;       /* the Details band */
  --brass: #c19a52;        /* small accents on dark */
  --signal: #c4451a;       /* buttons and highlights (paper text on it passes AA) */
  --signal-text: #a83a14;  /* accent text on paper */
  --font-display: 'Cormorant', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', ui-monospace, Menlo, Consolas, monospace;
  /* end of brand settings */

  --muted: #5b5247;
  --line: rgba(22, 19, 15, .16);
  --gut: clamp(20px, 4.2vw, 64px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 68px;
}

@font-face { font-family: 'Cormorant'; src: url(../fonts/cormorant-latin-300-normal.woff2) format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(../fonts/cormorant-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(../fonts/cormorant-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(../fonts/cormorant-latin-300-italic.woff2) format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(../fonts/cormorant-latin-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(../fonts/inter-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url(../fonts/space-mono-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url(../fonts/space-mono-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.plain, html.reduced { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 300; line-height: .98; letter-spacing: -.015em; }
em { font-style: italic; font-weight: 300; color: var(--signal-text); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 12px; }
.over { position: relative; z-index: 2; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

.eyebrow { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.eyebrow span + span::before { content: ''; display: inline-block; width: 18px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 14px; opacity: .6; }
.eyebrow span:first-child { color: var(--signal-text); }

/* ---- canvas and states ------------------------------------------------------------------ */
#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 1; pointer-events: none; display: none; }
html.live #stage { display: block; }
.still { width: 100%; height: 100%; object-fit: contain; }
html.live .still { opacity: 0; pointer-events: none; transition: opacity .6s; }
html.live:not(.ready) .still { opacity: 1; }
html.live.ready .hero .still { display: none; }

/* ---- header ------------------------------------------------------------------------------ */
.nav { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: var(--nav-h); padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink); transition: transform .5s var(--ease), color .4s, background-color .4s; }
.nav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--paper) 66%, transparent); opacity: 0; transition: opacity .4s; }
.nav.solid::before { opacity: .94; }
.nav.dark { color: var(--paper); }
.nav.dark::before { background: linear-gradient(#17130f 66%, transparent); }
.nav.away { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: 29px; letter-spacing: .01em; }
.links { display: flex; gap: clamp(16px, 2.4vw, 36px); font-size: 14px; }
.links a { text-decoration: none; position: relative; padding: 6px 0; opacity: .82; }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.links a:hover { opacity: 1; }
.links a:hover::after { transform: scaleX(1); }
.cart-btn { display: inline-flex; align-items: center; gap: 9px; border: 1px solid currentColor; background: transparent; padding: 9px 14px 9px 14px; border-radius: 999px; cursor: pointer; font-size: 14px; transition: background-color .25s, color .25s; }
.cart-btn:hover { background: var(--ink); color: var(--paper); }
.nav.dark .cart-btn:hover { background: var(--paper); color: var(--ink); }
.cart-btn .count { min-width: 22px; height: 22px; border-radius: 11px; background: var(--signal); color: #fff; font-family: var(--font-mono); font-size: 12px; display: inline-grid; place-items: center; padding: 0 6px; transition: transform .35s var(--ease); }
.cart-btn .count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.5); } 100% { transform: scale(1); } }

/* ---- buttons ----------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 500; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn.primary { background: var(--signal); color: #fff; }
.btn.primary:hover { background: var(--ink); }
.btn.primary.done { background: var(--ink); }
.btn.ghost { border-color: var(--line); background: transparent; }
.btn.ghost:hover { border-color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn.small { height: 44px; padding: 0 20px; font-size: 14px; }

/* ---- hero -------------------------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: clamp(20px, 3vw, 56px); padding: calc(var(--nav-h) + 28px) var(--gut) 40px; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; }
.hero-top { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: 26px; }
.hero-bottom { grid-column: 1; grid-row: 2; }
.hero-art { grid-column: 2; grid-row: 1 / 3; position: relative; min-height: min(80vh, 780px); cursor: grab; touch-action: pan-y; }
.hero-art.dragging { cursor: grabbing; }
.hero-art::before { content: ''; position: absolute; inset: 4% -6% 0; border-radius: 50%; background: radial-gradient(closest-side, #f9f5ee 0%, rgba(249, 245, 238, .6) 55%, rgba(249, 245, 238, 0) 100%); pointer-events: none; }
.hero-art::after { content: ''; position: absolute; left: 3%; right: 3%; top: 8%; bottom: 8%; border-radius: 50%; border: 1px solid rgba(22, 19, 15, .09); pointer-events: none; }
.hero h1 { font-size: clamp(46px, 5.8vw, 96px); line-height: .94; letter-spacing: -.025em; margin-top: 26px; }
.hero h1 .ln { display: block; white-space: nowrap; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .ln > span { display: block; }
html.live .hero h1 .ln > span { animation: rise 1.2s var(--ease) both; }
html.live .hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.lede { max-width: 31em; font-size: clamp(16px, 1.25vw, 19px); color: #3b342b; }
.buy { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 26px; }
.price { display: flex; align-items: center; gap: 12px; }
.price .num { font-family: var(--font-display); font-size: 54px; font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.price .per { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.spec-row { list-style: none; margin: 30px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.drag-hint { position: absolute; right: calc(var(--gut) + 6px); bottom: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: none; }
html.live .drag-hint { display: block; }
html.live .hero-top .eyebrow, html.live .hero-bottom > * { animation: fade 1.1s .35s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-art .still { position: absolute; inset: 0; }

/* ---- Inside: the pinned exploded view ---------------------------------------------------- */
.inside { position: relative; background: radial-gradient(70% 60% at 50% 52%, #30271e 0%, #1a1511 55%, #120f0c 100%); color: var(--paper); }
.stage { position: relative; z-index: 2; height: 100vh; height: 100svh; overflow: hidden; }
.stage-head { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--nav-h) - 8px); padding: 0 var(--gut); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.stage-head .eyebrow { color: #a89d8d; }
.stage-head .eyebrow span:first-child { color: var(--brass); }
.inside h2 { font-size: clamp(30px, 3.2vw, 50px); margin-top: 8px; }
.inside em { color: #e0a06a; }
.counter { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #a89d8d; text-align: right; white-space: nowrap; }
.counter b { font-size: 22px; color: var(--paper); font-weight: 700; }
.counter span { display: block; margin-top: 4px; color: var(--brass); }
.inside-art { position: absolute; left: 2vw; right: 2vw; top: 27%; bottom: 17%; }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.leaders line { stroke: rgba(239, 233, 223, .55); stroke-width: 1; }
.leaders circle { fill: #e8703a; }
.leaders circle.ring { fill: none; stroke: #e8703a; stroke-width: 1; opacity: .5; }
.callouts { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.callout { position: absolute; left: 0; top: 0; width: clamp(160px, 17vw, 252px); opacity: 0; text-shadow: 0 1px 10px rgba(10, 7, 4, .7); will-change: transform, opacity; }
.callout h3 { font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: .01em; line-height: 1.2; margin-top: 4px; }
.callout p { font-size: 12.5px; line-height: 1.45; color: #cfc6b6; margin-top: 5px; }
.callout .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--brass); }
.callout.row-top { transform-origin: 0 100%; }
.callout.active h3 { color: #fff; }
.caption { display: none; }
.scroll-cue { position: absolute; left: var(--gut); bottom: 26px; display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #a89d8d; z-index: 2; transition: opacity .4s; }
.scroll-cue i { width: 44px; height: 1px; background: currentColor; position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; inset: 0; background: var(--paper); transform: translateX(-100%); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { transform: translateX(100%); } }
.stage-end { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(22px, 5vh, 56px); display: flex; align-items: center; justify-content: center; gap: 18px 30px; flex-wrap: wrap; padding: 0 var(--gut); opacity: 0; visibility: hidden; text-align: left; }
.stage-end p { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.05; font-weight: 300; }
.stage-end p small { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #a89d8d; }
.stage-end .btn.ghost { border-color: rgba(239, 233, 223, .3); }
.stage-end .btn.ghost:hover { border-color: var(--paper); }
.parts-wrap { padding: 0 var(--gut); }
.parts-list { list-style: none; margin: 0; padding: 0; counter-reset: part; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 24px; }
.parts-list li { background: rgba(239, 233, 223, .04); border: 1px solid rgba(239, 233, 223, .14); border-radius: 14px; padding: 24px 22px 28px; counter-increment: part; }
.parts-list li::before { content: counter(part, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 52px; font-weight: 300; line-height: 1; color: var(--brass); margin-bottom: 14px; }
.parts-list h3 { font-family: var(--font-body); font-weight: 600; font-size: 17px; letter-spacing: 0; }
.parts-list p { margin-top: 8px; font-size: 15px; color: #cfc6b6; }
/* live: the list stays for screen readers only */
html.live .parts-wrap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* plain: no pin, no canvas, a stacked list under the heading */
html:not(.live) .stage { height: auto; padding: calc(var(--nav-h) + 40px) 0 10px; }
html:not(.live) .stage-head { position: static; }
html:not(.live) .stage-end, html:not(.live) .inside-art, html:not(.live) .leaders, html:not(.live) .callouts, html:not(.live) .scroll-cue, html:not(.live) .counter { display: none; }
html:not(.live) .parts-wrap { padding-bottom: 90px; }
html:not(.live) .parts-wrap .eyebrow { display: none; }

/* ---- sections ---------------------------------------------------------------------------- */
.sec-head { padding-top: clamp(80px, 11vw, 160px); max-width: 880px; }
.sec-head h2 { font-size: clamp(40px, 5.6vw, 88px); margin-top: 20px; }
.sec-lede { margin-top: 22px; max-width: 36em; font-size: 18px; color: #3b342b; }
.range { position: relative; }
.range .wrap { padding-bottom: clamp(70px, 9vw, 130px); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 32px); margin-top: clamp(36px, 5vw, 70px); }
.card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(22, 19, 15, .45); }
.card-art { position: relative; aspect-ratio: 5 / 4; min-height: 270px; background: radial-gradient(75% 70% at 50% 40%, #f4efe6 0%, #e4dbc9 100%); transition: background .5s; cursor: grab; touch-action: pan-y; }
.card-art .still { position: absolute; inset: 0; padding: 4%; }
html.live .card-art .still { display: none; }
.chip { position: absolute; z-index: 2; left: 18px; top: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.swatches { position: absolute; z-index: 2; left: 16px; bottom: 14px; display: flex; align-items: center; gap: 6px; }
.swatches .finish { margin-left: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
.swatch i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); transition: transform .3s var(--ease); }
.swatch:hover i { transform: scale(1.12); }
.swatch[aria-checked='true'] { box-shadow: 0 0 0 1.5px var(--ink) inset; }
.card-body { padding: 24px 26px 28px; display: grid; gap: 12px; flex: 1; }
.card-body h3 { font-size: clamp(32px, 3vw, 44px); font-weight: 400; }
.card-body .kind { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--signal-text); }
.card-body .blurb { color: #3b342b; font-size: 16px; max-width: 34em; }
.card-body ul { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.card-body li { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: #4b4338; }
.card-buy { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.card-buy .p { font-family: var(--font-display); font-size: 40px; font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.card-buy .p small { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* details */
.details { position: relative; background: var(--walnut); color: var(--paper); background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 7px), linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 30%); }
.details .eyebrow { color: #b8a995; }
.details .eyebrow span:first-child { color: var(--brass); }
.details em { color: #e8b27a; }
.details .wrap { padding-bottom: clamp(70px, 9vw, 130px); }
.facts { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 70px); border-top: 1px solid rgba(239, 233, 223, .22); border-left: 1px solid rgba(239, 233, 223, .22); }
.fact { border-right: 1px solid rgba(239, 233, 223, .22); border-bottom: 1px solid rgba(239, 233, 223, .22); padding: clamp(24px, 2.6vw, 38px); grid-column: span 4; display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.fact.big { grid-column: span 12; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px 40px; align-items: end; }
.fact .label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); grid-column: 1 / -1; }
.fact .figure { font-family: var(--font-display); font-weight: 300; font-size: clamp(40px, 4.4vw, 68px); line-height: 1; letter-spacing: -.02em; }
.fact.big .figure { font-size: clamp(44px, 6vw, 96px); }
.fact p:last-child { color: #d6cbb9; font-size: 16px; max-width: 30em; margin-top: auto; }
.fact.big p:last-child { margin-top: 0; }

/* reviews */
.reviews { position: relative; background: var(--paper); }
.reviews .wrap { padding-bottom: clamp(70px, 9vw, 130px); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); margin-top: clamp(36px, 5vw, 64px); align-items: start; }
.quote { margin: 0; padding: 26px 0 28px; border-top: 1px solid var(--ink); display: grid; gap: 22px; }
.quote:nth-child(2) { margin-top: 56px; }
.quote:nth-child(3) { margin-top: 112px; }
.stars { color: var(--signal-text); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--font-display); font-size: clamp(25px, 2.2vw, 33px); font-weight: 400; line-height: 1.16; letter-spacing: -.01em; }
.quote figcaption { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 14px; align-items: baseline; }
.quote figcaption b { color: var(--ink); font-weight: 600; margin-right: -10px; }
.quote figcaption span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* questions */
.questions { position: relative; background: var(--paper-2); }
.qwrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 110px); padding-bottom: clamp(70px, 9vw, 130px); }
.qwrap .sec-head { align-self: start; position: sticky; top: calc(var(--nav-h) + 10px); }
.qa { margin-top: clamp(80px, 11vw, 160px); border-top: 1px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font-family: var(--font-display); font-size: clamp(24px, 2.3vw, 34px); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 18px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa details[open] summary::after { transform: rotate(0); }
.qa summary:hover { color: var(--signal-text); }
.qa details > div { padding: 0 0 28px; max-width: 36em; color: #3b342b; }

/* footer */
.foot { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 30px 50px; padding-top: clamp(60px, 8vw, 110px); }
.foot-line { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; font-weight: 300; max-width: 15em; }
.foot-mail { margin-top: 18px; font-family: var(--font-mono); font-size: 14px; }
.foot nav { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.foot nav a { text-decoration: none; opacity: .8; } .foot nav a:hover { opacity: 1; text-decoration: underline; }
.foot-small { font-size: 13px; color: #a89d8d; max-width: 28em; align-self: start; }
.wordmark { font-family: var(--font-display); font-weight: 300; font-size: clamp(96px, 26vw, 400px); line-height: .8; letter-spacing: -.04em; margin: clamp(30px, 5vw, 70px) 0 -.06em; color: #2a241d; white-space: nowrap; user-select: none; }

/* ---- cart -------------------------------------------------------------------------------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(22, 19, 15, .5); opacity: 0; transition: opacity .35s; }
.scrim.open { opacity: 1; }
.cart { position: fixed; z-index: 100; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--paper); color: var(--ink); display: flex; flex-direction: column; transform: translateX(104%); transition: transform .5s var(--ease); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .4); }
.cart.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 36px; font-weight: 400; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--ink); }
.cart-body { flex: 1; overflow-y: auto; padding: 6px 24px; overscroll-behavior: contain; }
.empty { padding: 50px 0; text-align: center; color: var(--muted); }
.empty b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 400; color: var(--ink); margin-bottom: 8px; }
.line { display: grid; grid-template-columns: 54px 1fr auto; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line .dot { width: 54px; height: 54px; border-radius: 12px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.line h3 { font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.25; letter-spacing: 0; }
.line .meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.line .amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.line .ctl { grid-column: 2 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 36px; height: 36px; background: transparent; border: 0; cursor: pointer; font-size: 18px; line-height: 1; border-radius: 50%; }
.qty button:hover { background: rgba(22, 19, 15, .07); }
.qty output { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; font-size: 15px; }
.link-btn { background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }
.pay { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .25s; }
.pay:hover { background: var(--signal); }
.cart-foot { padding: 18px 24px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper-2); display: grid; gap: 10px; }
.cart-foot .row { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.cart-foot .row.total { font-size: 17px; font-weight: 600; }
.cart-foot .row.total span:last-child { font-family: var(--font-display); font-size: 34px; font-weight: 400; letter-spacing: -.01em; }
.cart-foot .ship { font-size: 13.5px; color: var(--muted); }
.cart-foot .ship b { color: var(--signal-text); font-weight: 600; }
.cart-foot .note { font-size: 13px; line-height: 1.45; color: #3b342b; padding: 10px 12px; border-radius: 10px; background: rgba(22, 19, 15, .05); }
.cart-foot .note.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 100% { background: rgba(22, 19, 15, .05); } 30% { background: rgba(196, 69, 26, .22); } }
.cart-foot .btn { width: 100%; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 30px); background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .5s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.locked { overflow: hidden; }

/* ---- reveal ------------------------------------------------------------------------------ */
html.live .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
html.live .reveal.in { opacity: 1; transform: none; }

/* ---- tall screens and phones -------------------------------------------------------------- */
@media (max-width: 900px), (max-aspect-ratio: 5/6) {
  .links { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(300px, 1fr) auto; padding-top: calc(var(--nav-h) + 6px); padding-bottom: 28px; }
  .hero-top { grid-row: 1; padding-bottom: 0; }
  .hero-art { grid-column: 1; grid-row: 2; min-height: 300px; }
  .hero-bottom { grid-row: 3; }
  .hero h1 { font-size: clamp(40px, 11.4vw, 84px); margin-top: 16px; }
  .buy { margin-top: 18px; gap: 14px 22px; }
  .price .num { font-size: 46px; }
  .spec-row { margin-top: 20px; padding-top: 14px; gap: 6px 20px; font-size: 11px; }
  .drag-hint { display: none !important; }
  .qwrap { grid-template-columns: minmax(0, 1fr); }
  .qwrap .sec-head { position: static; }
  .qa { margin-top: 20px; }
  .quotes { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .quote:nth-child(2), .quote:nth-child(3) { margin-top: 0; }
  .fact { grid-column: span 6; min-height: 240px; }
  .fact.big { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  /* the exploded view on a tall screen: parts stack top to bottom, one note at a time */
  .inside-art { left: 0; right: 0; top: 17%; bottom: 31%; }
  html.live .callouts { display: none; }
  html.live .caption { display: block; position: absolute; left: var(--gut); right: var(--gut); bottom: calc(26px + env(safe-area-inset-bottom)); padding: 18px 20px 20px; border-radius: 16px; background: rgba(239, 233, 223, .08); border: 1px solid rgba(239, 233, 223, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); min-height: 138px; }
  .caption .cap-n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--brass); }
  .caption .cap-n b { font-size: 13px; color: var(--paper); margin-right: 4px; }
  .caption h3 { font-family: var(--font-body); font-weight: 600; font-size: 18px; margin-top: 6px; letter-spacing: 0; }
  .caption p:last-child { font-size: 14.5px; line-height: 1.45; color: #d6cdbd; margin-top: 6px; }
  html.live .counter { display: none; }
  html.live .scroll-cue { display: none; }
  .inside h2 { font-size: clamp(28px, 8vw, 44px); }
  .stage-end { bottom: calc(24px + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; text-align: center; gap: 14px; }
  .stage-end .btn { width: 100%; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card-art { aspect-ratio: 1 / 0.92; min-height: 0; }
  .fact { grid-column: span 12; min-height: 0; }
  .card-body { padding: 20px 20px 24px; }
  .cart-btn span:not(.count) { display: none; }
  .cart-btn { padding: 9px 12px; }
}
@media (max-width: 420px) {
  .btn { padding: 0 20px; }
  .actions { width: 100%; }
  .actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
}
html.reduced * { animation: none !important; transition: none !important; }

/* finish picker in the hero */
.finish-row { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.finish-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.finish-row .swatches { position: static; }
.finish-row + .buy { margin-top: 14px; }

/* caption swap on tall screens */
.caption.swap { animation: swap .6s var(--ease); }
@keyframes swap { from { opacity: .2; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* still mode: only the canvas, on a clear background (used to make the plain-page pictures) */
html.still-mode, html.still-mode body { background: transparent !important; }
html.still-mode body > *:not(#stage) { display: none !important; }
html.still-mode #stage { display: block; }
