/* Fonts are self-hosted (no Google Fonts requests, GDPR). Archivo is one variable file; only weights 400, 700, 800 are used.
   IBM Plex Mono is only for spec values, units and per-sheet maths. */
@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/plex-mono-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/plex-mono-latin-500.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* Blackcore Supply storefront prototype. Brand: black #0A0A0C, off white #F2F2F0,
   wide-tracked caps for the wordmark (08-assets/brand). Display type: Archivo (wide), data: IBM Plex Mono. */
:root {
  --black: #0A0A0C; --ink: #F2F2F0; --ink2: #B9BAB6; --ink3: #7C7E7A; --line: #26272A; --line2: #3A3B3F;
  --panel: #121316; --blue: #2A4BD7; --ok: #4CB884; --warn: #D9A040; --idle: #8B8D92; --proto: #D9A040;
  --rainbow: linear-gradient(100deg, #ff6b6b, #ffd36b 18%, #8bf08b 36%, #6be6ff 54%, #8b8bff 72%, #ff8bf0 90%);
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--ink); font: 400 16px/1.55 var(--sans); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img, canvas { display: block; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; letter-spacing: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--black); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--black); }

.proto-bar { background: var(--proto); color: #000; font: 700 12px/1.3 var(--sans); text-align: center; padding: 7px 16px; }

/* ---------- header ---------- */
.site-head { transition: transform .6s var(--ease); position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px var(--gutter);
  background: rgba(10, 10, 12, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line); }
/* the wordmark is always the logo file, never typeset */
.lockup { display: flex; align-items: center; padding: 6px 0; }
.lockup img { height: 20px; width: auto; }
.site-nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.site-nav a { text-decoration: none; color: var(--ink2); position: relative; padding: 4px 0; transition: color .2s; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-head.away { transform: translateY(-100%); }
.lang { display: inline-flex; padding: 2px; border: 1px solid var(--line2); border-radius: 999px; }
.lang button { min-width: 34px; min-height: 34px; padding: 0 6px; border: 0; border-radius: 999px; background: none; color: var(--ink3);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; cursor: pointer; transition: background .25s, color .25s; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--black); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--line2);
  border-radius: 999px; padding: 7px 8px 7px 12px; min-height: 40px; cursor: pointer; transition: border-color .2s, background .2s; }
.cart-btn:hover { border-color: var(--ink2); background: rgba(255, 255, 255, .04); }
.cart-btn span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--ink); color: var(--black); font: 500 12px/1 var(--mono); }

/* ---------- type ---------- */
.display { font-stretch: 118%; font-weight: 800; font-size: clamp(44px, 6.6vw, 104px); line-height: .92; letter-spacing: -.035em; margin: 0; }
.display .line { display: block; overflow: hidden; padding-bottom: .06em; }
.display .line > span { display: block; }
.display em { font-style: normal; color: var(--ink2); }
.display-s { font-stretch: 112%; font-weight: 800; font-size: clamp(30px, 4.2vw, 58px); line-height: .98; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.lede { color: var(--ink2); font-size: clamp(16px, 1.25vw, 18px); max-width: 52ch; margin: 0; text-wrap: pretty; }
.fine { color: var(--ink3); font-size: 13px; max-width: 70ch; }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--ink2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; margin: 0 0 28px; }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(76, 184, 132, .15); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .5s var(--ease), background .2s, border-color .2s, color .2s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--ink); color: var(--black); }
.btn.primary:hover { background: #fff; }
.btn.primary:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost { border-color: var(--line2); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.wide { width: 100%; }

/* ---------- hero ---------- */
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--ax, 70%) var(--ay, 40%), rgba(150, 165, 255, .07), transparent 70%); }
.hero > * { position: relative; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center;
  min-height: calc(100svh - 92px); padding: clamp(28px, 4vw, 56px) var(--gutter) 40px; }
.hero-copy .lede { margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.booth { position: relative; display: grid; grid-template-areas: "stage" "meta" "hint" "rail"; row-gap: 14px; }
.stage { grid-area: stage; position: relative; display: grid; place-items: center; perspective: 1600px; padding: 12px 0 36px;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.stage::after { transform: translateX(var(--shadow-x, 0)) scaleX(var(--shadow-w, 1)); content: ""; position: absolute; bottom: 10px; left: 26%; right: 26%; height: 24px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .95), transparent); filter: blur(6px); z-index: 0; }
.booth-light { position: absolute; inset: -6% -10% 6%; z-index: 0; pointer-events: none;
  background: radial-gradient(40% 46% at 50% 45%, rgba(170, 180, 255, .11), transparent 70%),
    radial-gradient(26% 30% at 64% 28%, rgba(255, 200, 160, .07), transparent 70%); }

.sheet3d { position: relative; z-index: 1; width: clamp(220px, calc((100svh - 400px) * .707), 400px); max-width: 100%; aspect-ratio: 210 / 297;
  transform-style: preserve-3d; will-change: transform; }
.sheet3d.small { width: min(100%, 340px); }
.face { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: #8e929c; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 2px 6px rgba(0, 0, 0, .5); }
.face.front { transform: translateZ(1px); }
.face.back { transform: rotateY(180deg) translateZ(1px); }
/* the cut edge shows the true core colour as the sheet turns */
.edge { position: absolute; top: 1px; bottom: 1px; width: 2px; background: var(--core, #46484E); }
.edge.l { left: -1px; transform: rotateY(90deg); }
.edge.r { right: -1px; transform: rotateY(90deg); }
.face canvas { width: 100%; height: 100%; }
.face::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .3); }

.booth-meta { grid-area: meta; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; min-height: 34px; }
.booth-name { margin: 0; font-stretch: 112%; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.booth-type { margin: 0; color: var(--ink2); font-size: 13px; }
.booth-type:empty { display: none; }
.booth-dim { margin: 0; color: var(--ink3); font-size: 12px; }
.hint { grid-area: hint; margin: 0; color: var(--ink3); font-size: 11.5px; }
.flip-btn { margin-left: auto; background: none; border: 1px solid var(--line2); border-radius: 999px; padding: 0 14px; min-height: 34px; font-size: 12px; cursor: pointer; }
.flip-btn:hover { border-color: var(--ink); }
.flip-btn[hidden] { display: none; }

.rail { grid-area: rail; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.rail button { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; text-align: left; align-content: start;
  background: none; border: 0; padding: 14px 10px 12px 0; cursor: pointer; color: var(--ink3); transition: color .25s; min-height: 64px; }
.rail button::before { content: ""; position: absolute; left: 0; right: 10px; top: -1px; height: 2px; background: var(--rainbow);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.rail button:hover { color: var(--ink2); }
.rail button[aria-pressed="true"] { color: var(--ink); }
.rail button[aria-pressed="true"]::before { transform: scaleX(1); }
.rail .n { font-size: 11px; }
.rail .nm { grid-column: 1 / -1; font-size: 14px; font-weight: 700; line-height: 1.2; }
.rail .ty { grid-column: 1 / -1; font-size: 11px; line-height: 1.25; }
.rail .ty:empty { display: none; }
.rail .st { justify-self: end; align-self: center; width: 6px; height: 6px; border-radius: 50%; }
.st.ready, .status.ready::before { background: var(--ok); }
.st.out, .status.out::before { background: var(--idle); }

/* ---------- the turn: scroll-driven finish showcase ---------- */
.reel { height: 1100svh; }
main > section.reel { padding: 0; }
.reel[hidden] { display: none; }
.reel-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; touch-action: pan-y; display: grid; place-items: center; perspective: 1800px;
  background: radial-gradient(46% 52% at 50% 46%, rgba(170, 180, 255, .09), transparent 72%), var(--black); }
.reel-word { position: absolute; inset: 0 var(--gutter) auto; top: max(6svh, 76px); overflow: hidden; text-align: center; z-index: 0; line-height: 1;
  background: #000; mix-blend-mode: screen; } /* black drops away, leaving only the lit letters */
.reel-word canvas { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; }
.reel-word span { display: block; font-stretch: 125%; font-weight: 800; letter-spacing: -.045em; white-space: nowrap;
  font-size: clamp(30px, 7.4vw, 136px); line-height: 1.02; color: var(--ink); }
.nudge { position: fixed; left: 8px; top: 50%; translate: 0 -50%; z-index: 5; display: flex; align-items: center; gap: 10px; margin: 0; writing-mode: vertical-rl; rotate: 180deg; color: var(--ink2); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  opacity: 0; pointer-events: none; transition: opacity .6s; }
.nudge.on { opacity: 1; }
.nudge i { width: 1px; height: 34px; background: linear-gradient(to top, var(--ink), transparent); animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.reel-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.reel-pin::after { content: ""; position: absolute; left: 50%; top: 86%; width: 30vh; height: 26px; margin-left: -15vh; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .95), transparent); filter: blur(7px); transform: scaleX(var(--shadow-w, 1)); }
.reel-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; z-index: 2; display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: end; }
.reel-count { margin: 0; color: var(--ink2); font-size: 13px; font-family: var(--mono); }
.reel-copy { max-width: 46ch; }
.reel-type { margin: 0 0 4px; color: var(--ink); font-size: 14px; font-weight: 700; }
.reel-type:empty { display: none; }
.reel-blurb { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.4; }
.reel-ticks { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; display: grid; gap: 8px; z-index: 2; }
.reel-ticks i { width: 2px; height: 22px; background: var(--line2); transition: background .4s; }
.reel-ticks i.on { background: var(--ink); }

/* ---------- word reveal ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- facts ---------- */
.facts { list-style: none; margin: 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { padding: 22px 16px 22px 0; color: var(--ink3); font-size: 12px; display: flex; flex-direction: column; gap: 4px; }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.facts b { font-family: var(--sans); font-stretch: 115%; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }

/* ---------- sections ---------- */
main > section:not(.hero) { padding: clamp(72px, 10vw, 140px) var(--gutter); }
.sec-head { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr); column-gap: 32px; row-gap: 18px; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head .idx { grid-row: span 2; margin: 8px 0 0; color: var(--ink3); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; }
.sec-head .lede { grid-column: 2; }

/* ---------- products ---------- */
.products { display: grid; }
.product { border-top: 1px solid var(--line); }
.product:last-child { border-bottom: 1px solid var(--line); }
.p-head { margin: 0; }
.p-bar { width: 100%; display: grid; grid-template-columns: 34px 64px minmax(0, 1fr) auto auto 18px; align-items: center; gap: 14px; padding: 16px 0; background: none; border: 0; text-align: left; cursor: pointer; transition: padding .4s var(--ease); }
.p-bar:hover { padding-left: 8px; }
.p-swatch { width: 34px; height: 34px; border-radius: 4px; background: #efeee9 center / cover; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.p-from { font-size: 13px; color: var(--ink2); white-space: nowrap; }
.p-type { display: none; }
.p-chev { width: 10px; height: 10px; justify-self: end; border-right: 1.5px solid var(--ink2); border-bottom: 1.5px solid var(--ink2); transform: translateY(-2px) rotate(45deg); transition: transform .5s var(--ease); }
.product.open .p-chev { transform: translateY(2px) rotate(-135deg); }
.p-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.product.open .p-body { grid-template-rows: 1fr; }
.product.snap .p-body { transition: none; }
.p-clip { min-height: 0; overflow: clip; }
.p-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: start; padding: clamp(12px, 2vw, 24px) 0 clamp(40px, 6vw, 72px); }
.product:nth-child(even) .p-visual { order: 2; }
.p-visual { display: grid; gap: 14px; position: sticky; top: 88px; }
.p-stage { position: relative; display: grid; place-items: center; perspective: 1400px; padding: clamp(24px, 4vw, 56px);
  background: radial-gradient(60% 55% at 50% 45%, rgba(255, 255, 255, .05), transparent 72%); border-radius: 6px;
  touch-action: pan-y; cursor: grab; }
.p-tools { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; }
.p-tools .flip-btn { margin-left: 0; }
.p-n { margin: 0; color: var(--ink3); font-size: 13px; }
.p-title { font-stretch: 115%; font-weight: 800; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -.025em; }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; color: var(--ink2); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.p-blurb { color: var(--ink2); font-size: 17px; max-width: 44ch; margin: 0 0 26px; }
.p-buy { display: grid; gap: 12px; max-width: 520px; }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; }
.packs button { display: grid; gap: 2px; text-align: left; padding: 12px 12px 10px; border-radius: 10px; cursor: pointer;
  background: transparent; border: 1px solid var(--line2); transition: border-color .2s, background .2s, transform .4s var(--ease); }
.packs button:hover { border-color: var(--ink2); }
.packs button:active { transform: scale(.97); }
.packs button[aria-checked="true"] { border-color: var(--ink); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--ink); }
.packs b { font-stretch: 115%; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.packs b span { font-stretch: 100%; font-size: 12px; font-weight: 400; color: var(--ink3); letter-spacing: 0; }
.packs em { font-style: normal; font-size: 13px; }
.packs small { color: var(--ink3); font-size: 11px; }
.planned { margin: 0; color: var(--ink2); font-size: 14px; }
.planned-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; }
.planned-list li { display: grid; gap: 2px; padding: 10px 12px; border: 1px dashed var(--line2); border-radius: 10px; font-size: 13px; }
.planned-list span { color: var(--ink3); font-size: 11px; }
.soon { margin: 0; font-size: 14px; color: var(--ink); padding: 13px 14px; border: 1px dashed var(--line2); border-radius: 10px; }
.specs { width: 100%; max-width: 520px; border-collapse: collapse; margin-top: 30px; font-size: 13px; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-top: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 400; color: var(--ink3); width: 42%; padding-right: 16px; }
.specs td { font-family: var(--mono); }
.specs td.tbc { color: var(--warn); }
.ph { color: var(--warn); }
.dispatch { margin: 18px 0 0; font-size: 13px; color: var(--ink2); max-width: 520px; }
.gpsr { max-width: 520px; margin-top: 10px; border-top: 1px solid var(--line); font-size: 13px; }
.gpsr summary { cursor: pointer; padding: 12px 0; color: var(--ink2); }
.gpsr dl { display: grid; grid-template-columns: 9em 1fr; gap: 8px 16px; margin: 0 0 12px; }
.gpsr dt { color: var(--ink3); }
.gpsr dd { margin: 0; color: var(--ink2); overflow-wrap: anywhere; }
.concept { margin: 0; color: var(--ink2); font-size: 12px; }
small.concept { display: block; margin-top: 8px; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line2); border-radius: 999px; }
.seg button { background: none; border: 0; border-radius: 999px; padding: 0 16px; min-height: 34px; font-size: 13px; cursor: pointer; color: var(--ink2); transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--black); }
.photo { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; padding: 12px; }
.photo[hidden], .photo figure[hidden] { display: none; }
.photo figure { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; min-height: 0; }
.photo figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 4px; }
.photo figcaption { color: var(--ink3); font-size: 11px; text-align: center; }
.thumbs { display: flex; justify-content: center; gap: 8px; }
.thumbs button { width: 44px; height: 44px; padding: 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--line2); background: none; cursor: pointer; opacity: .55; }
.thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- core: an exploded sheet ---------- */
.cx { --gap-open: clamp(30px, 4vw, 54px); --open: 1; --hole: clamp(26px, 3.4vw, 46px); --core: #2A4BD7; --foil: none; --grain: none; --spot: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 300px); gap: clamp(20px, 4vw, 64px); align-items: center; }
.cx-stage { height: clamp(380px, 44vw, 600px); display: grid; place-items: center; perspective: 1500px; }
#cx-canvas { width: 100%; height: 100%; display: block; }
.cx-side { display: grid; gap: 24px; }
.cx-pick { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.cx-pick button { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: none; color: var(--ink2); font-size: 13px; cursor: pointer; transition: border-color .2s, background .25s, color .25s; }
.cx-pick button:hover { border-color: var(--ink2); }
.cx-pick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--black); }
.cx-key { list-style: none; margin: 0; padding: 0; display: grid; }
.cx-key li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink3); transition: color .4s; }
.cx-key li.lit { color: var(--ink); }
.cx-key li.core-li { font-weight: 700; }
.cx-key .sw { width: 22px; height: 12px; border-radius: 2px; flex: none; }
.cx-key .sw-foil { background: var(--foil), #efeee9; background-size: cover; }
.cx-key .sw-paper { background: #d8d5cb; }
.cx-key .sw-core { background: var(--core); box-shadow: 0 0 0 1px var(--line2); }
.cx-key .sw-skin { background: #efeee9; }
.core .fine { margin: 28px 0 0; max-width: 920px; }

/* ---------- yield: cut a sheet, build a deck ---------- */
select, input { font: inherit; font-size: 16px; color: var(--ink); background: var(--panel); border: 1px solid var(--line2); border-radius: 10px;
  padding: 0 14px; min-height: 48px; text-transform: none; letter-spacing: 0; width: 100%; }
select:hover, input:hover { border-color: var(--ink3); }
main > section.yield { padding-bottom: 0; }
.ys.live { height: 700svh; }
.ys-pin { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.ys.live .ys-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.ys-pile { position: absolute; inset: 0; transform-style: preserve-3d; }
.ys-jump { display: none; }
.ys.live .ys-jump { display: block; position: absolute; inset: 0 0 0 auto; width: 58px; z-index: 3; pointer-events: none; }
.jm { position: absolute; right: 6px; translate: 0 -50%; display: flex; align-items: center; min-height: 32px; padding: 0; border-radius: 10px; border: 1px solid var(--line2); background: rgba(18, 19, 22, .86);
  color: var(--ink2); cursor: pointer; pointer-events: auto; transition: top .7s var(--ease), border-color .2s, background .25s, color .25s; }
.jm > b { min-width: 44px; padding: 0 8px; text-align: center; font-family: var(--mono); font-size: 13px; font-weight: 400; transition: font-size .4s var(--ease), color .25s; }
.jm:hover { border-color: var(--ink); color: var(--ink); }
.jm[aria-current="true"] { border-color: var(--ink); color: var(--ink); }
.jm[data-d="3"][aria-current="true"] { background: var(--ink); color: var(--black); }
.jm.open > b { font-size: 18px; font-weight: 700; color: var(--ink); }
.jm-x { display: flex; align-items: center; gap: 14px; max-width: 0; overflow: hidden; opacity: 0; perspective: 500px; transition: max-width .7s var(--ease), opacity .4s, padding .5s; }
.jm.open .jm-x { max-width: 280px; opacity: 1; padding: 10px 2px 10px 14px; }
.jm-t { display: grid; gap: 6px; text-align: left; white-space: nowrap; }
.jm-h { font-size: 13px; font-weight: 700; color: var(--ink); }
.jm-r { display: flex; gap: 16px; }
.jm-r > span { display: grid; gap: 1px; }
.jm-r small { color: var(--ink3); font-size: 11px; }
.jm-r .mono { font-size: 14px; color: var(--ink); }
.ms { position: relative; flex: none; width: 0; height: 46px; margin: 8px 0; opacity: 0; transition: width .5s var(--ease), margin .5s var(--ease), opacity .3s;  transform: rotateX(52deg) rotateZ(-26deg); transform-style: preserve-3d; }
.jm.kept .ms { width: 34px; margin: 8px 6px; opacity: 1; }
.ms i { position: absolute; inset: 0; border-radius: 3px; background: var(--tex, #8e929c) center / cover; box-shadow: 0 1px 0 var(--core, #46484E); }
.ms i:nth-child(1) { transform: translateZ(0px); }
.ms i:nth-child(2) { transform: translateZ(2px); }
.ms i:nth-child(3) { transform: translateZ(4px); }
.ms i:nth-child(4) { transform: translateZ(6px); }
.ms i:nth-child(5) { transform: translateZ(8px); }
.ms i:nth-child(6) { transform: translateZ(10px); }
.ms i:nth-child(7) { transform: translateZ(12px); }
.ms i:nth-child(8) { transform: translateZ(14px); }
.ms i:nth-child(9) { transform: translateZ(16px); }
.ms i:nth-child(10) { transform: translateZ(18px); }
.ms i:nth-child(11) { transform: translateZ(20px); }
.ms i:nth-child(12) { transform: translateZ(22px); }
.ys-panel { display: grid; gap: 14px; }
.ys-field { display: grid; gap: 8px; font-size: 12px; font-weight: 700; color: var(--ink3); text-transform: uppercase; letter-spacing: .12em; }
.ys-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 8px; text-transform: none; letter-spacing: 0; }
.ys-packs button { display: grid; justify-items: start; padding: 8px 12px; border-radius: 10px; background: none; border: 1px solid var(--line2); cursor: pointer;
  transition: border-color .2s, background .2s, transform .4s var(--ease); }
.ys-packs button:hover { border-color: var(--ink2); }
.ys-packs button:active { transform: scale(.96); }
.ys-packs button[aria-checked="true"] { border-color: var(--ink); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--ink); }
.ys-packs b { font-stretch: 115%; font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.ys-packs span { font-size: 11px; font-weight: 400; color: var(--ink3); }
.ys-deck { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-stretch: 112%; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.ys-read { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 12px; margin: 0; }
.ys-read div { min-width: 0; }
.ys-read .big { grid-column: 1 / -1; }
.ys-read dt { color: var(--ink3); font-size: 12px; }
.ys-read dd { margin: 2px 0 0; font-size: 20px; line-height: 1.15; white-space: nowrap; }
.ys-read .big dd { font-size: clamp(40px, 4.6vw, 64px); letter-spacing: -.04em; line-height: 1.1; }
.ys-tease { margin: 0; min-height: 3em; font-size: 14px; color: var(--ink2); }
.ys-tease.hit { color: var(--ink); font-weight: 700; }
.ys .fine { margin: 0; }
.od { display: inline-block; height: 1.15em; overflow: hidden; vertical-align: bottom; }
.od-r { display: block; transition: transform 1s var(--ease); will-change: transform; }
.od-r i { display: block; height: 1.15em; line-height: 1.15em; font-style: normal; text-align: center; }
.od-c { white-space: pre; display: inline-block; height: 1.15em; line-height: 1.15em; vertical-align: bottom; }
.ys-scene { pointer-events: none; position: relative; display: grid; place-items: center; height: 100%; min-height: 0; perspective: 1500px; }
.ys-sheet { position: relative; height: min(76svh, 720px); aspect-ratio: 210 / 297; max-width: 100%; transform-style: preserve-3d; }
.ys-base { position: absolute; inset: 0; border-radius: 3px; background: var(--tex, #8e929c) center / 100% 100%; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.cc, .pl { position: absolute; border-radius: 4.76% / 3.41%; /* 3 mm on a 63 x 88 mm card */ background-image: var(--tex, none); background-color: #8e929c; background-size: 333.33% 337.5%;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .4), 0 1.5px 0 var(--core, #46484E); }
.pl { opacity: 0; background-position: 50% 50%; }
.cut { position: absolute; background: rgba(255, 255, 255, .9); box-shadow: 0 0 10px rgba(255, 255, 255, .85); transform: translateZ(1px); }
.cut.h { left: -3%; right: -3%; height: 1px; transform-origin: left; }
.cut.v { top: -3%; bottom: -3%; width: 1px; transform-origin: top; }
.ys-table { display: none; width: 100%; max-width: 560px; border-collapse: collapse; margin-top: 24px; font-size: 14px; }
.ys-table th, .ys-table td { padding: 10px 12px 10px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.ys.static .ys-table { display: table; }
.ys.static .cut, .ys.static .pl { display: none; }

/* ---------- EU ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.compare .col { padding: 28px 28px 0 0; }
.compare .col + .col { padding-left: 28px; border-left: 1px solid var(--line); }
.compare h3 { margin: 0 0 18px; font-stretch: 112%; font-size: 20px; letter-spacing: -.01em; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare li { display: grid; grid-template-columns: 22px 1fr; color: var(--ink2); }
.compare .them li::before { content: "–"; color: var(--ink3); }
.compare .us li::before { content: "✓"; color: var(--ok); }
.compare .us li { color: var(--ink); }

/* ---------- restock ---------- */
main > section.restock { position: relative; overflow: hidden; isolation: isolate; margin: 0 var(--gutter); border-radius: 8px;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px); }
.restock-foil { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; background: #9aa0ac; }
.restock::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10, 10, 12, .94) 30%, rgba(10, 10, 12, .6) 70%, rgba(10, 10, 12, .25)); }
.restock-in { max-width: 680px; }
.restock-in > p { color: var(--ink2); margin: 16px 0 28px; }
.restock-form { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; }
.restock-form input, .restock-form select { background: rgba(10, 10, 12, .75); }
.restock .fine { min-height: 1.5em; color: var(--ink2); }

/* ---------- faq ---------- */
.faq-list { max-width: 920px; margin-left: auto; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 400 26px/1 var(--sans); color: var(--ink3); transition: rotate .4s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 24px; color: var(--ink2); max-width: 64ch; }

/* ---------- footer ---------- */
.site-foot { display: grid; grid-template-columns: 1fr auto; gap: 12px 32px; padding: 48px var(--gutter) 56px; margin-top: 40px;
  border-top: 1px solid var(--line); color: var(--ink3); font-size: 13px; }
.site-foot p { margin: 0; }
.foot-brand img { height: 18px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; grid-column: 2; grid-row: 1 / span 2; align-self: start; }
.foot-links a { text-decoration: none; color: var(--ink2); }
.foot-links .todo::after, .consent .todo::after { content: " (to do)"; color: var(--warn); font-size: 11px; }
.vat { font-size: 11px; }

/* ---------- basket drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 30; background: rgba(0, 0, 0, .55); backdrop-filter: blur(3px); }
.drawer { position: fixed; z-index: 31; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: grid; grid-template-rows: auto 1fr auto;
  background: #0f1013; border-left: 1px solid var(--line2); animation: slide .5s var(--ease); }
.drawer[hidden], .scrim[hidden] { display: none; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-stretch: 112%; }
.close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: none; font-size: 22px; cursor: pointer; }
.cart-lines { padding: 8px 20px; overflow: auto; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cart-line button { grid-column: 1; justify-self: start; background: none; border: 0; padding: 4px 0; color: var(--ink3); font-size: 12px; text-decoration: underline; cursor: pointer; }
.empty { color: var(--ink3); }
.drawer-foot { padding: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.total { display: flex; justify-content: space-between; font-size: 16px; }

/* ---------- no WebGL: flat stand-ins per material ---------- */
.no-gl .face canvas, .no-gl .restock-foil { opacity: 0; }
.face[data-mat="black"] { background: #dcdcd8; }
.face[data-mat="double"] { background: linear-gradient(160deg, #d6dde8, #a9bbd4); }
.face[data-mat="rainbow"] { background: linear-gradient(135deg, #b9c2d6, #e4b8d8 30%, #b8e2d0 55%, #b6c6ef 80%, #c8c3e0); }
.face[data-mat="surge"] { background: linear-gradient(35deg, #aeb4c2, #c7a6c9 30%, #a8c9c0 50%, #b4bcd8 75%, #b0b5c1); }
.face[data-mat="twill"] { background: repeating-linear-gradient(32deg, #b6bbc6 0 18px, #c5b0c4 19px 21px, #b6bbc6 22px 44px, #a9cbbf 45px 47px); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; }
  .sheet3d { width: min(68vw, 340px); }
  .p-inner { grid-template-columns: 1fr; }
  .p-bar { grid-template-columns: 34px minmax(0, 1fr) auto 14px; gap: 2px 12px; padding: 12px 0; }
  .p-bar .p-swatch { grid-row: span 2; }
  .p-bar .p-n { display: none; }
  .p-bar .p-title { grid-column: 2; }
  .p-bar .status { grid-column: 2; grid-row: 2; }
  .p-bar .p-from { grid-column: 3; grid-row: 1 / 3; }
  .p-bar .p-chev { grid-column: 4; grid-row: 1 / 3; }
  .cx { grid-template-columns: 1fr; }
  .cx-stage { height: 92vw; max-height: 480px; }
  .cx-obj { --w: 46vw; }
  .cx-beam { --lamp: 170px; }
  .p-visual { position: static; }
  .product:nth-child(even) .p-visual { order: 0; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .idx, .sec-head .lede { grid-row: auto; grid-column: 1; }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  .site-head { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .lang { margin-left: auto; }
  .lockup img { height: 16px; }
  .display { font-size: clamp(40px, 12.4vw, 64px); }
  .rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .rail::-webkit-scrollbar { display: none; }
  .rail button { flex: 0 0 auto; min-width: 118px; scroll-snap-align: start; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .sheet3d.small { width: min(70vw, 300px); }
  .ys-pin { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 8px; }
  .ys.live .ys-pin { padding-block: 12px 8px; }
  .jm.open .jm-x { padding: 6px 2px 6px 10px; }
  .jm .ms, .jm .jm-h, .jm-r small { display: none; }
  .jm-r { gap: 10px; }
  .jm-r .mono { font-size: 12px; }
  .jm.open > b { font-size: 14px; }
  .ys-scene { order: -1; }
  .ys-sheet { height: min(34svh, 300px); }
  .ys-panel { gap: 8px; }
  .ys-deck { margin: 0; padding-top: 8px; font-size: 16px; }
  .ys-read { gap: 6px 10px; }
  .ys-read dd { font-size: 16px; }
  .ys-read .big dd { font-size: 32px; }
  .ys-tease { min-height: 2.6em; font-size: 13px; }
  .ys .fine { display: none; }
  .ys-packs button { padding: 5px 10px; }
  .ys-packs b { font-size: 16px; }
  .compare { grid-template-columns: 1fr; }
  .compare .col + .col { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 28px; }
  main > section.restock { margin: 0 12px; }
  .restock-form { grid-template-columns: 1fr; }
  .reel-word { top: max(8svh, 76px); }
  .reel-word span { font-size: 8.2vw; }
    .reel-foot { grid-template-columns: 1fr; gap: 10px; bottom: 20px; }
  .reel-count, .reel-ticks { display: none; }
  .restock::before { background: linear-gradient(180deg, rgba(10, 10, 12, .9), rgba(10, 10, 12, .72)); }
  .site-foot { grid-template-columns: 1fr; }
  .foot-links { grid-column: 1; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .stage, .p-stage { cursor: default; }
}
.restock .consent { margin: 14px 0 0; font-size: 12px; color: var(--ink2); }
.restock .consent a { color: var(--ink); }
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* ---------- legal pages ---------- */
.legal-doc { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.legal-doc h1 { font-stretch: 112%; font-weight: 800; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 32px; text-wrap: balance; }
.legal-doc h2 { font-size: 18px; font-weight: 700; margin: 34px 0 10px; }
.legal-doc p { color: var(--ink2); margin: 0 0 14px; overflow-wrap: anywhere; }
.legal-box { border: 1px solid var(--line2); border-radius: 8px; padding: 18px 20px 6px; margin: 20px 0; }


/* ---------- waitlist on each finish bar ---------- */
.p-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.p-head .p-bar { grid-column: 1 / -1; grid-row: 1; padding-right: 0; grid-template-columns: 34px 64px minmax(0, 1fr) auto auto 178px; }
.p-head .p-chev { grid-column: 6; }
.p-cta { grid-column: 2; grid-row: 1; z-index: 1; margin-right: 32px; padding: 7px 14px; border-radius: 999px; background: var(--ink); color: var(--black); font-size: 12px; font-weight: 700; white-space: nowrap; text-decoration: none; transition: background .2s, transform .4s var(--ease); }
.p-cta:hover { background: #fff; }
.p-cta:active { transform: scale(.96); }

/* ---------- footer buttons and the store page ---------- */
.foot-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-cta .btn { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; }
.store { max-width: 1100px; margin: 0 auto; padding: 28px var(--gutter) 48px; display: grid; gap: 40px; }
.store-head { display: flex; align-items: center; justify-content: space-between; }
.store h1 { margin: 0; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.store-card { display: grid; gap: 18px; align-content: space-between; justify-items: start; min-height: 280px; padding: clamp(22px, 3vw, 36px); border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.store-card .idx { margin: 0; color: var(--ink3); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; }
.store-card h2 { margin: 0; font-stretch: 115%; font-weight: 800; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.08; letter-spacing: -.025em; }
@media (max-width: 760px) {
  .p-head .p-bar { grid-template-columns: 34px minmax(0, 1fr) auto 14px; }
  .p-head .p-chev { grid-column: 4; }
  .p-cta { grid-column: 1 / -1; justify-self: end; align-self: end; margin: 0 26px 10px 0; padding: 4px 10px; font-size: 11px; }
}

/* ---------- phones ---------- */
html { overflow-x: clip; }
.p-by { margin: 0 0 8px; color: var(--ink3); font-size: 13px; }
@media (max-width: 760px) {
  .p-head .p-bar { grid-template-columns: 34px minmax(0, 1fr) 14px; gap: 1px 12px; padding: 12px 0; align-items: center; }
  .p-bar .p-swatch { grid-column: 1; grid-row: 1 / 4; }
  .p-bar .p-title { grid-column: 2; grid-row: 1; padding-right: 8px; }
  .p-bar .p-from { grid-column: 2; grid-row: 2; font-size: 12px; white-space: normal; }
  .p-bar .status { grid-column: 2; grid-row: 3; font-size: 11px; }
  .p-head .p-chev { grid-column: 3; grid-row: 1 / 4; }
  .p-cta { grid-column: 1 / -1; grid-row: 1; justify-self: end; align-self: end; margin: 0 24px 12px 0; padding: 8px 12px; min-height: 34px; display: inline-flex; align-items: center; }
  .ys-tease { padding-right: 56px; }
}
.store-card p:not(.idx) { margin: 0; color: var(--ink2); }

/* ---------- guide: the plain-language section ---------- */
h1.kicker { margin-block: 1em; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 40px; }
.guide-grid h3 { margin: 0 0 8px; font-stretch: 112%; font-weight: 800; font-size: 20px; letter-spacing: -.015em; }
.guide-grid p { margin: 0; color: var(--ink2); }
.guide-grid a { color: var(--ink); }
.cart-qty { display: inline-flex; align-items: center; gap: 8px; margin-right: 8px; }
.cart-qty button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line2); background: none; color: var(--ink); cursor: pointer; }
.drawer-foot .fine a { color: var(--ink); }

/* opening soon: no basket, no sign-up, no pre-sale details */
.opening .cart-btn, .opening .drawer, .opening .add, .opening .gpsr, .opening .dispatch { display: none; }
