/* REDD'S DENIM — Obsidian Gallery × Liquid Chrome
   Environment palette (not garment colours):
   Obsidian #0C0C0C · Liquid Chrome #A6A8AB · Porcelain #F4F1EB
   Midnight Indigo #142437 · Oxblood #650E19 */

@font-face { font-family: 'Bodoni Moda'; src: url('../assets/fonts/bodoni-moda-latin-opsz-normal.woff2') format('woff2-variations'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url('../assets/fonts/bodoni-moda-latin-opsz-italic.woff2') format('woff2-variations'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../assets/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url('../assets/fonts/space-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url('../assets/fonts/space-mono-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --obsidian: #0c0c0c;
  --obsidian-2: #141414;
  --obsidian-3: #1c1c1d;
  --chrome: #a6a8ab;
  --chrome-hi: #d9dadc;
  --porcelain: #f4f1eb;
  --porcelain-dim: #c9c5bd;
  --indigo: #142437;
  --oxblood: #650e19;
  --oxblood-hi: #8a1626;
  --line: rgba(166, 168, 171, 0.22);
  --line-strong: rgba(166, 168, 171, 0.45);

  --display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section: clamp(5rem, 11vw, 10rem);
  --nav-h: 4.5rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); }
html.reduce-motion { scroll-behavior: auto; }
body {
  margin: 0; background: var(--obsidian); color: var(--porcelain);
  font: 400 1rem/1.65 var(--sans); font-feature-settings: 'ss01';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button { font: inherit; color: inherit; }
::selection { background: var(--oxblood); color: var(--porcelain); }
:focus-visible { outline: 2px solid var(--porcelain); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(101, 14, 25, 0.55); }
html { scrollbar-color: #3a3a3c var(--obsidian); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb { background: #333335; border: 2px solid var(--obsidian); border-radius: 6px; }
input, select, textarea { caret-color: var(--oxblood-hi); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1.1rem; background: var(--porcelain); color: var(--obsidian); font-weight: 700; text-decoration: none; transition: top .2s var(--ease); }
.skip-link:focus { top: 1rem; }

/* ---------- Type ---------- */
.display, h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 0.98; margin: 0; text-wrap: balance; font-variation-settings: 'opsz' 96; }
h1 { font-size: clamp(3rem, 8.2vw, 6rem); }
h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h3 { font: 600 1.05rem/1.3 var(--sans); letter-spacing: 0.01em; margin: 0; }
p { margin: 0; max-width: 64ch; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--porcelain-dim); max-width: 52ch; }
.mono, .tech { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--chrome); }
.italic { font-style: italic; }
em.ox { font-style: italic; color: var(--porcelain); text-decoration: underline; text-decoration-color: var(--oxblood-hi); text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
.muted { color: var(--porcelain-dim); }
.prose p + p { margin-top: 1.1em; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--porcelain);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  min-height: 3rem; padding: 0.85rem 1.5rem; border: 1px solid var(--b);
  background: var(--porcelain); color: var(--obsidian);
  font: 700 0.78rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; border-radius: 2px; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--chrome-hi); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--porcelain); --b: var(--line-strong); }
.btn--ghost:hover { background: rgba(244, 241, 235, 0.06); --b: var(--porcelain); }
.btn--ox { background: var(--oxblood); color: var(--porcelain); --b: var(--oxblood); }
.btn--ox:hover { background: var(--oxblood-hi); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.45; cursor: not-allowed; }
.btn svg { width: 1rem; height: 1rem; }
.link-arrow { display: inline-flex; gap: 0.6rem; align-items: center; font: 700 0.78rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; padding: 0.6rem 0; border-bottom: 1px solid var(--line-strong); transition: border-color .3s, gap .3s var(--ease); }
.link-arrow:hover { border-color: var(--porcelain); gap: 0.9rem; }
.icon-btn { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); background: transparent; border-radius: 2px; cursor: pointer; transition: border-color .25s, background .25s; }
.icon-btn:hover { border-color: var(--porcelain); background: rgba(244, 241, 235, 0.05); }
.icon-btn svg { width: 1.15rem; height: 1.15rem; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: 2rem; padding: 0 var(--gutter); transition: background .45s var(--ease), border-color .45s; border-bottom: 1px solid transparent; }
.nav.is-solid, .nav.is-open { background: rgba(12, 12, 12, 0.94); border-bottom-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-logo { display: block; flex: none; }
.nav-logo img { height: 2.1rem; width: auto; }
.nav-links { display: flex; gap: clamp(1rem, 2vw, 2rem); list-style: none; margin: 0 auto 0 0; padding: 0; }
.nav-links a { font: 600 0.74rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; padding: 0.7rem 0; color: var(--porcelain-dim); position: relative; transition: color .25s; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--porcelain); }
.nav-links a[aria-current='page']::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.25rem; height: 1px; background: var(--oxblood-hi); }
.nav-tools { display: flex; align-items: center; gap: 0.5rem; }
.bag-btn { display: inline-flex; align-items: center; gap: 0.6rem; height: 2.75rem; padding: 0 1rem; background: var(--oxblood); border: 1px solid var(--oxblood); color: var(--porcelain); font: 700 0.74rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: background .25s; }
.bag-btn:hover { background: var(--oxblood-hi); }
.bag-btn svg { width: 1.05rem; height: 1.05rem; }
.bag-count { font-family: var(--mono); font-size: 0.72rem; min-width: 1.4rem; height: 1.4rem; display: inline-grid; place-items: center; background: var(--porcelain); color: var(--oxblood); border-radius: 1rem; padding: 0 0.3rem; }
.menu-btn { display: none; }
@media (max-width: 1080px) {
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0; padding: 1rem var(--gutter) 2rem; background: rgba(12, 12, 12, 0.98); border-bottom: 1px solid var(--line); transform: translateY(-110%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; margin: 0; }
  .nav.is-open .nav-links { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .nav-links a { display: block; font: 500 1.9rem/1.2 var(--display); letter-spacing: -0.01em; text-transform: none; padding: 0.7rem 0; border-bottom: 1px solid var(--line); color: var(--porcelain); }
  .nav-links a[aria-current='page']::after { display: none; }
  .menu-btn { display: inline-grid; }
  .nav-tools { margin-left: auto; }
  .bag-btn .bag-word { display: none; }
}

/* ---------- Layout ---------- */
.wrap { padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: end; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.page-head { padding-top: calc(var(--nav-h) + clamp(3rem, 9vw, 8rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-head h1 { max-width: 14ch; }
.page-head .lede { margin-top: 1.6rem; }
.page-head .tech { margin-bottom: 1.4rem; display: block; }

/* ---------- Hero / showroom ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; max-height: 1200px; overflow: hidden; background: radial-gradient(120% 80% at 60% 40%, #161617 0%, var(--obsidian) 60%); isolation: isolate; }
.stage { position: absolute; inset: 0; }
.stage canvas { width: 100%; height: 100%; touch-action: pan-y; opacity: 0; transition: opacity 1.4s var(--ease); }
.stage.is-ready canvas { opacity: 1; }
.hotspots { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); }
.hotspots.is-on { opacity: 1; }
.hotspots.is-on .hotspot { pointer-events: auto; }
.hotspot { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 0.55rem; margin: -0.85rem 0 0 -0.85rem; padding: 0.35rem 0.6rem 0.35rem 0.35rem; background: none; border: 0; cursor: pointer; transition: opacity .3s; will-change: transform; }
.hotspot.is-hidden { opacity: 0; pointer-events: none !important; }
.hotspot-dot { width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--porcelain); box-shadow: 0 0 0 5px rgba(244, 241, 235, 0.18), 0 2px 10px rgba(0,0,0,.6); position: relative; flex: none; }
.hotspot-dot::after { content: ''; position: absolute; inset: 0.32rem; border-radius: 50%; background: var(--oxblood); }
.hotspot-label { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; padding: 0.45rem 0.6rem; background: rgba(12,12,12,.82); border: 1px solid var(--line); white-space: nowrap; opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s var(--ease); }
.hotspot:hover .hotspot-label, .hotspot:focus-visible .hotspot-label, .hotspot.is-active .hotspot-label { opacity: 1; transform: none; }
.hotspot:focus-visible { outline: none; box-shadow: none; }
.hotspot:focus-visible .hotspot-dot { outline: 2px solid var(--porcelain); outline-offset: 4px; }

.hero-copy { position: absolute; z-index: 3; left: var(--gutter); bottom: clamp(5.5rem, 12vh, 9rem); max-width: min(40rem, 46vw); pointer-events: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.hero-copy > * { pointer-events: auto; }
.hero-copy .tech { display: block; margin-bottom: 1.3rem; color: var(--chrome); }
.hero-copy h1 { font-size: clamp(3.2rem, 7.4vw, 6rem); line-height: 0.92; }
.hero-copy h1 .line { display: block; }
.hero-copy h1 .italic { font-weight: 400; }
.hero-copy .lede { margin-top: 1.4rem; color: var(--porcelain); opacity: .82; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.is-inspecting .hero-copy { opacity: 0; transform: translateY(12px); pointer-events: none; }
.is-inspecting .hero-copy > * { pointer-events: none; visibility: hidden; transition: visibility 0s .6s; }

.rack-ui { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: clamp(1.25rem, 3vh, 2rem); display: flex; align-items: center; gap: 1rem; justify-content: flex-end; pointer-events: none; }
.rack-ui > * { pointer-events: auto; }
.drag-hint { display: inline-flex; align-items: center; gap: 0.7rem; margin-right: auto; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--chrome); transition: opacity .6s; }
.drag-hint svg { width: 2.2rem; height: 1rem; }
.drag-hint.is-gone { opacity: 0; }
.rack-picker { display: flex; align-items: stretch; border: 1px solid var(--line); background: rgba(12,12,12,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rack-picker button { background: none; border: 0; cursor: pointer; }
.rack-step { width: 3rem; display: grid; place-items: center; color: var(--porcelain); transition: background .25s; }
.rack-step:hover { background: rgba(244,241,235,.06); }
.rack-step svg { width: 1.1rem; height: 1.1rem; }
.rack-current { display: grid; gap: 0.2rem; padding: 0.65rem 1.1rem; border-inline: 1px solid var(--line); min-width: 13.5rem; text-align: left; }
.rack-current .tech { font-size: 0.66rem; }
.rack-current strong { font: 500 1.25rem/1.1 var(--display); letter-spacing: -0.01em; display: flex; gap: 0.6rem; align-items: center; }
.swatch { width: 0.85rem; height: 0.85rem; border-radius: 50%; border: 1px solid rgba(244,241,235,.5); flex: none; }
.rack-inspect { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0 1.1rem; font: 700 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--porcelain); transition: background .25s; }
.rack-inspect:hover { background: rgba(244,241,235,.06); }
.mode-toggle { font: 600 0.7rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--chrome); background: none; border: 0; border-bottom: 1px solid var(--line); padding: 0.55rem 0; cursor: pointer; }
.mode-toggle:hover { color: var(--porcelain); border-color: var(--porcelain); }
.approx-tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--porcelain); background: rgba(101,14,25,.85); padding: 0.18rem 0.4rem; }

.stage-status { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; pointer-events: none; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--chrome); transition: opacity .8s; }
.stage.is-ready .stage-status { opacity: 0; }

/* Inspect panel */
.inspect { position: absolute; z-index: 5; top: calc(var(--nav-h) + 1.25rem); right: var(--gutter); bottom: clamp(5.5rem, 10vh, 7rem); width: min(25rem, calc(100% - 2 * var(--gutter))); display: flex; flex-direction: column; gap: 1.1rem; padding: 1.5rem; background: rgba(12,12,12,.86); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: auto; transform: translateX(1.5rem); opacity: 0; visibility: hidden; transition: transform .6s var(--ease), opacity .6s var(--ease), visibility 0s .6s; }
.is-inspecting .inspect { transform: none; opacity: 1; visibility: visible; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.inspect-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.inspect h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
.inspect .price { font: 400 1rem/1 var(--mono); color: var(--porcelain); }
.control-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0.5rem 0.8rem; background: transparent; border: 1px solid var(--line); cursor: pointer; font: 600 0.74rem/1 var(--sans); letter-spacing: 0.06em; color: var(--porcelain-dim); border-radius: 2px; transition: border-color .2s, color .2s, background .2s; }
.chip:hover { border-color: var(--line-strong); color: var(--porcelain); }
.chip[aria-pressed='true'], .chip[aria-checked='true'] { border-color: var(--porcelain); color: var(--porcelain); background: rgba(244,241,235,.06); }
.feature-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.feature-list li { border-bottom: 1px solid var(--line); }
.feature-list button { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 0; background: none; border: 0; cursor: pointer; font: 600 0.88rem/1.3 var(--sans); }
.feature-list button[aria-expanded='true'] { color: var(--porcelain); }
.feature-detail { padding: 0 0 1rem; color: var(--porcelain-dim); font-size: 0.9rem; }
.feature-detail video { width: 7.5rem; aspect-ratio: 9/16; object-fit: cover; float: right; margin: 0 0 0.6rem 1rem; background: #000; }
.note { font-size: 0.8rem; line-height: 1.5; color: var(--porcelain-dim); border: 1px solid var(--line); padding: 0.75rem 0.9rem; }
.note strong { color: var(--porcelain); }
.note--ox { border-color: rgba(138, 22, 38, 0.7); background: rgba(101, 14, 25, 0.16); }

/* Static (non-3D) showroom */
.static-rack { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding: calc(var(--nav-h) + 2rem) var(--gutter) 6rem 46%; }
.static-rack::before { content: ''; position: absolute; left: 44%; right: 4%; top: 30%; height: 3px; border-radius: 3px; background: linear-gradient(180deg, #f3f4f5, #8d9094 45%, #3c3e41 55%, #c9cbce); box-shadow: 0 8px 18px rgba(0,0,0,.6); }
.static-rack ul { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); width: 100%; align-items: start; }
.static-rack a { display: block; text-decoration: none; text-align: center; padding-top: 1.4rem; position: relative; transition: transform .5s var(--ease); }
.static-rack a::before { content: ''; position: absolute; top: -0.4rem; left: 50%; width: 1px; height: 1.8rem; background: var(--chrome); }
.static-rack a:hover { transform: translateY(-4px); }
.static-rack img { width: 100%; aspect-ratio: 3/4; object-fit: contain; transform: rotate(90deg) scale(1.2); filter: drop-shadow(0 30px 30px rgba(0,0,0,.6)); }
.static-rack .cap { display: block; margin-top: 2.5rem; font: 500 1.2rem/1.2 var(--display); }
.is-static .static-rack { display: flex; }
.is-static .stage canvas, .is-static .hotspots, .is-static .rack-picker, .is-static .drag-hint, .is-static .stage-status { display: none; }

@media (max-width: 860px) {
  .hero { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; }
  .stage { position: relative; height: 74svh; min-height: 480px; order: 1; margin-top: var(--nav-h); }
  .hero-copy { position: relative; left: auto; bottom: auto; max-width: none; padding: 2rem var(--gutter) 3rem; order: 2; }
  .rack-ui { position: absolute; top: calc(var(--nav-h) + 74svh - 4.5rem); bottom: auto; justify-content: center; flex-wrap: wrap; }
  .drag-hint { position: absolute; top: -2.2rem; left: 0; right: 0; justify-content: center; margin: 0; }
  .rack-current { min-width: 0; flex: 1; }
  .rack-picker { width: 100%; }
  .mode-toggle { display: none; }
  .inspect { position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: auto; max-height: 52svh; border-width: 1px 0 0; transform: translateY(100%); }
  .is-inspecting .inspect { transform: none; }
  .is-inspecting .hero-copy { display: none; }
  .static-rack { position: relative; padding: 2rem var(--gutter); inset: auto; height: 100%; }
  .static-rack::before { left: 6%; right: 6%; top: 3.2rem; }
}

/* ---------- Editorial sections ---------- */
.collection-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); margin-top: clamp(3rem, 6vw, 5rem); }
.look { position: relative; text-decoration: none; display: block; }
.look figure { margin: 0; overflow: hidden; background: var(--obsidian-2); position: relative; }
.look img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.92); }
.look:hover img, .look:focus-visible img { transform: scale(1.035); filter: saturate(1); }
.look-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.look-meta h3 { font: 500 1.6rem/1.1 var(--display); letter-spacing: -0.01em; }
.look-meta .tech { white-space: nowrap; }
.look .reveal-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.look:hover .reveal-alt, .look:focus-visible .reveal-alt { opacity: 1; }
.look--a { grid-column: 1 / span 5; } .look--a figure { aspect-ratio: 4/5; }
.look--b { grid-column: 7 / span 6; margin-top: clamp(4rem, 12vw, 12rem); } .look--b figure { aspect-ratio: 4/5; }
.look--c { grid-column: 3 / span 6; margin-top: clamp(2rem, 5vw, 4rem); } .look--c figure { aspect-ratio: 4/5; }
@media (max-width: 860px) { .look--a, .look--b, .look--c { grid-column: 1 / -1; margin-top: 0; } }

.tech-band { background: var(--indigo); }
.tech-band .lede { color: #d6dbe3; }
.feature-rows { margin-top: clamp(3rem, 6vw, 5rem); display: grid; gap: 0; border-top: 1px solid rgba(244,241,235,.2); }
.feature-row { display: grid; grid-template-columns: 5rem minmax(0, 1.2fr) minmax(0, 1fr) 11rem; gap: clamp(1rem, 3vw, 3rem); align-items: center; padding: clamp(1.4rem, 3vw, 2.2rem) 0; border-bottom: 1px solid rgba(244,241,235,.2); }
.feature-row h3 { font: 500 clamp(1.6rem, 2.6vw, 2.3rem)/1.05 var(--display); letter-spacing: -0.01em; }
.feature-row p { color: #d6dbe3; }
.feature-row video { width: 11rem; aspect-ratio: 9/16; object-fit: cover; background: #000; }
.feature-row .tech { color: #b8c1cf; }
@media (max-width: 860px) { .feature-row { grid-template-columns: 1fr 7rem; } .feature-row .tech { grid-column: 1 / -1; } .feature-row video { width: 7rem; grid-row: 2 / span 2; grid-column: 2; } .feature-row h3, .feature-row p { grid-column: 1; } }

.editorial { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.5rem); }
.editorial figure { margin: 0; overflow: hidden; background: var(--obsidian-2); }
.editorial img { width: 100%; height: 100%; object-fit: cover; }
.editorial figcaption { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--chrome); padding-top: .7rem; }
.e-wide { grid-column: 1 / -1; aspect-ratio: 16/7; }
.e-6 { grid-column: span 6; aspect-ratio: 4/5; } .e-4 { grid-column: span 4; aspect-ratio: 4/5; } .e-8 { grid-column: span 8; aspect-ratio: 4/3; } .e-5 { grid-column: span 5; aspect-ratio: 4/5; } .e-7 { grid-column: span 7; aspect-ratio: 4/3; }
.editorial .fig { display: flex; flex-direction: column; }
.editorial .fig figure { flex: 1; }
@media (max-width: 760px) { .e-6, .e-4, .e-8, .e-5, .e-7 { grid-column: 1 / -1; } .e-wide { aspect-ratio: 4/3; } }

.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.founder video { width: 100%; aspect-ratio: 9/16; max-height: 80svh; object-fit: cover; background: #000; }
.founder blockquote { margin: 2rem 0 0; font: 400 italic clamp(1.6rem, 2.6vw, 2.3rem)/1.2 var(--display); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder video { max-height: 70svh; width: auto; margin-inline: auto; } }

.statement { text-align: center; padding-block: clamp(6rem, 14vw, 12rem); background: radial-gradient(60% 70% at 50% 60%, rgba(101,14,25,.28), transparent 70%); }
.statement h2 { font-size: clamp(2.6rem, 7vw, 6rem); font-style: italic; font-weight: 400; max-width: 16ch; margin-inline: auto; }

.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.field { display: grid; gap: 0.5rem; }
.field label { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--porcelain-dim); }
.input { width: 100%; min-height: 3.25rem; padding: 0.8rem 1rem; background: transparent; color: var(--porcelain); border: 1px solid var(--line-strong); border-radius: 2px; font: 500 1rem/1.2 var(--sans); }
.input:focus { outline: none; border-color: var(--porcelain); box-shadow: 0 0 0 3px rgba(101,14,25,.6); }
.input::placeholder { color: #8f8b84; }
.input[aria-invalid='true'] { border-color: #e0697a; }
.form-row { display: flex; gap: 0.6rem; }
.form-row .input { flex: 1; }
.form-msg { min-height: 1.5rem; font-size: 0.88rem; margin-top: 0.6rem; }
.form-msg.is-error { color: #f09aa6; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } .form-row { flex-direction: column; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2rem; }
.footer h2 { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--chrome); margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer a { text-decoration: none; color: var(--porcelain-dim); }
.footer a:hover { color: var(--porcelain); text-decoration: underline; }
.footer-logo img { width: 15rem; height: auto; }
.footer-base { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--porcelain-dim); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); }
.filters { position: sticky; top: calc(var(--nav-h) + 1.5rem); align-self: start; display: grid; gap: 1.6rem; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.filters legend { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--chrome); margin-bottom: 0.8rem; padding: 0; }
.check { display: flex; align-items: center; gap: 0.7rem; min-height: 2.25rem; cursor: pointer; font-size: 0.92rem; color: var(--porcelain-dim); }
.check input { appearance: none; width: 1.05rem; height: 1.05rem; border: 1px solid var(--line-strong); border-radius: 2px; margin: 0; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--porcelain); border-color: var(--porcelain); }
.check input:checked::after { content: ''; width: 0.5rem; height: 0.28rem; border: 2px solid var(--obsidian); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check:hover { color: var(--porcelain); }
.results-bar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 2rem; }
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: clamp(2rem, 3vw, 3rem) clamp(1rem, 2vw, 2rem); }
.tile { position: relative; }
.tile a.tile-link { text-decoration: none; display: block; }
.tile figure { margin: 0; aspect-ratio: 3/4; background: radial-gradient(80% 60% at 50% 45%, #1d1d1f, #101010); overflow: hidden; display: grid; place-items: center; position: relative; }
.tile figure img { width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.tile figure img.cut { object-fit: contain; padding: 8%; transform: rotate(90deg) scale(1.25); filter: drop-shadow(0 24px 24px rgba(0,0,0,.65)); }
.tile figure img.alt { position: absolute; inset: 0; opacity: 0; }
.tile:hover figure img.alt, .tile-link:focus-visible figure img.alt { opacity: 1; }
.tile-meta { padding-top: 1rem; display: grid; gap: 0.35rem; }
.tile-meta h3 { font: 500 1.4rem/1.15 var(--display); }
.tile-meta .row { display: flex; justify-content: space-between; gap: 1rem; color: var(--porcelain-dim); font-size: .9rem; }
.tile-badge { position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2; }
.quick-btn { position: absolute; right: 0.8rem; top: calc((100% - 6rem) - 3.6rem); z-index: 2; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.tile:hover .quick-btn, .quick-btn:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .quick-btn { opacity: 1; transform: none; } }
@media (max-width: 860px) { .shop-layout { grid-template-columns: 1fr; } .filters { position: static; grid-template-columns: 1fr 1fr; } }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4.5rem); padding-top: calc(var(--nav-h) + 1.5rem); }
.pdp-media { display: grid; gap: 1rem; align-content: start; }
.viewer { position: relative; aspect-ratio: 4/5; max-height: 86svh; background: radial-gradient(90% 70% at 50% 40%, #19191a, #0c0c0c); border: 1px solid var(--line); overflow: hidden; }
.viewer canvas { width: 100%; height: 100%; touch-action: pan-y; }
.viewer-tools { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; z-index: 3; }
.viewer-tools .group { display: flex; gap: 0.35rem; background: rgba(12,12,12,.72); padding: 0.3rem; border: 1px solid var(--line); }
.viewer-tools .chip { min-height: 2.25rem; border-color: transparent; }
.viewer-tools .icon-btn { width: 2.25rem; height: 2.25rem; border-color: transparent; }
.viewer-badge { position: absolute; top: 1rem; left: 1rem; z-index: 3; display: flex; gap: .5rem; align-items: center; }
.viewer-fallback { position: absolute; inset: 0; display: none; place-items: center; padding: 10%; }
.viewer.is-static canvas, .viewer.is-static .hotspots, .viewer.is-static .viewer-tools .group--3d { display: none; }
.viewer.is-static .viewer-fallback { display: grid; }
.viewer-fallback img { transform: rotate(90deg) scale(1.15); filter: drop-shadow(0 30px 30px rgba(0,0,0,.6)); max-height: 100%; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gallery button { padding: 0; border: 0; background: var(--obsidian-2); cursor: zoom-in; aspect-ratio: 4/5; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.pdp-info { position: sticky; top: calc(var(--nav-h) + 1.5rem); align-self: start; display: grid; gap: 1.6rem; padding-bottom: 3rem; }
.pdp-info h1 { font-size: clamp(2.6rem, 4.4vw, 4rem); }
.price-line { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.price-line .price { font: 400 1.4rem/1 var(--mono); }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .7rem; }
.opt-head .label { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--chrome); }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(3.4rem, 1fr)); gap: 0.4rem; }
.size-grid .chip { justify-content: center; font-family: var(--mono); font-size: .86rem; padding: .5rem; }
.size-grid .chip[aria-checked='true'] { background: var(--porcelain); color: var(--obsidian); }
.qty { display: inline-flex; border: 1px solid var(--line); }
.qty button { width: 2.75rem; height: 2.75rem; background: none; border: 0; cursor: pointer; }
.qty output { width: 2.5rem; display: grid; place-items: center; font-family: var(--mono); }
.buy-row { display: flex; gap: 0.6rem; }
.buy-row .btn { flex: 1; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1.05rem 0; font: 600 0.88rem/1.2 var(--sans); letter-spacing: .02em; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ''; width: .6rem; height: .6rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.accordion .body { padding: 0 0 1.3rem; color: var(--porcelain-dim); font-size: .95rem; }
.spec { display: grid; grid-template-columns: 9rem 1fr; gap: .5rem 1rem; margin: 0; }
.spec dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--chrome); padding-top: .2rem; }
.spec dd { margin: 0; color: var(--porcelain); }
@media (max-width: 960px) { .pdp { grid-template-columns: 1fr; } .pdp-info { position: static; } .viewer { aspect-ratio: 4/5; } }

/* ---------- Films ---------- */
.films { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.film { grid-column: span 6; }
.film--wide { grid-column: 1 / -1; }
.film video { width: 100%; aspect-ratio: 16/9; background: #000; }
.film--v { grid-column: span 4; } .film--v video { aspect-ratio: 9/16; }
.film h3 { font: 500 1.4rem/1.15 var(--display); margin-top: 1rem; }
.film p { color: var(--porcelain-dim); font-size: .92rem; margin-top: .4rem; }
.film details { margin-top: .6rem; font-size: .88rem; color: var(--porcelain-dim); }
.film summary { cursor: pointer; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--chrome); padding: .5rem 0; }
@media (max-width: 760px) { .film, .film--v { grid-column: 1 / -1; } }

/* ---------- Lookbook ---------- */
.chapter-nav { position: sticky; top: var(--nav-h); z-index: 10; background: rgba(12,12,12,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.chapter-nav ol { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 2rem; overflow-x: auto; }
.chapter-nav a { display: block; padding: 1rem 0; text-decoration: none; font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--porcelain-dim); white-space: nowrap; border-bottom: 1px solid transparent; }
.chapter-nav a:hover, .chapter-nav a.is-current { color: var(--porcelain); border-color: var(--oxblood-hi); }
.chapter { padding-block: clamp(4rem, 9vw, 8rem); }
.chapter-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); flex-wrap: wrap; }
.plate { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,12,.2) 0%, rgba(12,12,12,0) 40%, rgba(12,12,12,.85) 100%); }
.plate-copy { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(2rem, 6vw, 5rem); max-width: 40rem; }
.plate-copy h2 { font-size: clamp(2.8rem, 7vw, 6rem); }
.zoomable { cursor: zoom-in; border: 0; padding: 0; background: none; display: block; width: 100%; height: 100%; }

/* ---------- Dialogs: bag, search, lightbox, quick view ---------- */
dialog { color: var(--porcelain); background: var(--obsidian); border: 1px solid var(--line); padding: 0; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.drawer { margin: 0 0 0 auto; height: 100%; width: min(30rem, 100%); border-width: 0 0 0 1px; display: flex; flex-direction: column; }
.drawer[open] { animation: drawer-in .5s var(--ease); }
@keyframes drawer-in { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.9rem; }
.drawer-body { flex: 1; overflow: auto; padding: 1.5rem; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1.5rem; display: grid; gap: 1rem; }
.bag-line { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.bag-line img { width: 5.5rem; aspect-ratio: 4/5; object-fit: cover; background: var(--obsidian-2); }
.bag-line h3 { font: 500 1.2rem/1.2 var(--display); }
.bag-line .meta { color: var(--porcelain-dim); font-size: .88rem; }
.bag-line .ctl { display: flex; justify-content: space-between; align-items: center; margin-top: .6rem; }
.text-btn { background: none; border: 0; padding: .4rem 0; cursor: pointer; color: var(--porcelain-dim); text-decoration: underline; text-underline-offset: .2em; font-size: .85rem; }
.text-btn:hover { color: var(--porcelain); }
.sum-row { display: flex; justify-content: space-between; font-family: var(--mono); }
.empty { text-align: center; padding: 3rem 1rem; color: var(--porcelain-dim); display: grid; gap: 1.25rem; justify-items: center; }
.empty p { max-width: 26ch; }
.modal { width: min(44rem, calc(100% - 2rem)); margin: auto; }
.modal[open] { animation: modal-in .45s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px); } }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 1.8rem; }
.modal-body { padding: 1.5rem; display: grid; gap: 1.2rem; }
.search-results { list-style: none; margin: 0; padding: 0; display: grid; }
.search-results a { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { color: var(--porcelain); background: rgba(244,241,235,.03); }
.search-results .tech { align-self: center; }
.search-results strong { font: 500 1.25rem/1.2 var(--display); display: block; }
.search-results span.muted { font-size: .88rem; }
.lightbox { width: 100%; height: 100%; background: rgba(8,8,8,.97); border: 0; display: none; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox .lb-stage { display: grid; place-items: center; overflow: hidden; padding: 0 1rem; }
.lightbox img { max-height: 78svh; max-width: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.lightbox.is-zoomed img { transform: scale(1.8); cursor: zoom-out; }
.lightbox .lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; gap: 1rem; }
.lightbox .lb-cap { color: var(--porcelain-dim); font-size: .9rem; max-width: 60ch; }
.quick { display: grid; grid-template-columns: 1fr 1fr; }
.quick figure { margin: 0; background: radial-gradient(80% 60% at 50% 45%, #1d1d1f, #101010); display: grid; place-items: center; }
.quick figure img { transform: rotate(90deg) scale(1.1); padding: 10%; }
@media (max-width: 700px) { .quick { grid-template-columns: 1fr; } }

.toast { position: fixed; z-index: 90; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%); background: var(--porcelain); color: var(--obsidian); padding: .9rem 1.2rem; font-weight: 600; font-size: .9rem; transition: transform .5s var(--ease); max-width: calc(100% - 2rem); }
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal-mask { clip-path: inset(0 0 100% 0); }
.reveal-mask.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease); }
.no-js .reveal, .reduce-motion .reveal { opacity: 1 !important; transform: none !important; }
.no-js .reveal-mask, .reduce-motion .reveal-mask { clip-path: none !important; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .reveal-mask { clip-path: none; } }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }

.motion-toggle { background: none; border: 0; color: var(--porcelain-dim); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; padding: .3rem 0; font-size: .82rem; }
.motion-toggle:hover { color: var(--porcelain); }

/* ---------- Additions: clips, steps, technology blocks ---------- */
.vid { position: relative; background: #000; }
.vid video { width: 100%; height: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; }
.vid-toggle { position: absolute; right: .5rem; bottom: .5rem; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid rgba(244,241,235,.35); background: rgba(12,12,12,.72); color: var(--porcelain); border-radius: 50%; cursor: pointer; }
.vid-toggle svg { width: .95rem; height: .95rem; }
.vid-toggle:hover { border-color: var(--porcelain); }
.feature-row .vid { width: 11rem; }
.feature-row .vid video { width: 100%; }
@media (max-width: 860px) { .feature-row .vid { width: 7rem; grid-row: 2 / span 2; grid-column: 2; } }
.vid--side { float: right; width: 7.5rem; margin: 0 0 .6rem 1rem; }
.feature-detail::after { content: ''; display: block; clear: both; }
.film .vid video { aspect-ratio: 9/16; }
.steps { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 3rem); counter-reset: s; }
.steps li { border-top: 1px solid rgba(244,241,235,.3); padding-top: 1.4rem; display: grid; gap: .7rem; }
.steps h3 { font: 500 clamp(1.6rem, 2.6vw, 2.2rem)/1.05 var(--display); }
.steps p { color: #d6dbe3; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.tech-block { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.tech-block--flip > :first-child { order: 3; }
.tech-block .vid video { max-height: 70svh; }
.tech-block figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 860px) { .tech-block { grid-template-columns: 1fr 1fr; } .tech-block > :first-child { grid-column: 1 / -1; order: 0; } }
.editorial figcaption a { color: var(--chrome); }
.editorial figcaption a:hover { color: var(--porcelain); }
.zoomable img { transition: transform 1.1s var(--ease); }
.zoomable:hover img { transform: scale(1.02); }
.viewer .stage-status { z-index: 2; }
.viewer.is-ready .stage-status, .viewer.is-static .stage-status { opacity: 0; }
.viewer canvas { opacity: 0; transition: opacity 1s var(--ease); }
.viewer.is-ready canvas { opacity: 1; }
.chip[aria-disabled='true'] { opacity: .4; text-decoration: line-through; }
.size-grid .chip.is-invalid { border-color: #e0697a; }
.quick-body { display: grid; gap: 1rem; padding: 1.5rem; align-content: start; }
.quick-body h2 { font-size: 2rem; }
.static-rack ul a:focus-visible { outline-offset: 6px; }
.tile .price { font-family: var(--mono); color: var(--porcelain); }
.plate-copy .lede { opacity: .9; }
.nav > nav { margin-right: auto; }
.toast { visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.toast.is-on { visibility: visible; transition: transform .5s var(--ease); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(12,12,12,.78) 0%, rgba(12,12,12,.45) 30%, rgba(12,12,12,0) 52%), linear-gradient(0deg, rgba(12,12,12,.6) 0%, rgba(12,12,12,0) 22%); transition: opacity .6s var(--ease); }
.hero.is-inspecting::after { opacity: 0; }
@media (max-width: 860px) { .hero::after { display: none; } }
[tabindex="-1"]:focus:not(:focus-visible), h2[tabindex="-1"]:focus, main:focus { outline: none; box-shadow: none; }
@media (min-width: 961px) { .pdp { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.viewer { aspect-ratio: auto; height: min(82svh, 880px); max-height: none; }
@media (max-width: 960px) { .viewer { height: min(78svh, 720px); } }
@media (max-width: 860px) { .inspect { background: var(--obsidian); } }
.drawer:not([open]) { display: none; }
.tech-block--2 { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr); }
.hero.is-inspecting { z-index: 30; }

.footer-grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
.footer a { overflow-wrap: anywhere; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 420px) {
  .nav { gap: .75rem; }
  .nav-logo img { height: 1.7rem; }
  .nav-tools { gap: .35rem; }
  .icon-btn, .bag-btn { width: 2.5rem; height: 2.5rem; }
  .bag-btn { width: auto; padding: 0 .7rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .rack-current { padding-inline: .7rem; }
  .rack-step { width: 2.6rem; }
  .rack-inspect { padding: 0 .7rem; }
}
@media (max-width: 420px) { .look-meta .tech { white-space: normal; text-align: right; } }
@media (max-width: 640px) {
  .viewer-tools { position: static; }
  .viewer-tools .group { position: absolute; z-index: 3; padding: .2rem; gap: .2rem; }
  .viewer-tools .group:nth-child(1) { left: .5rem; bottom: .5rem; }
  .viewer-tools .group:nth-child(2) { right: .5rem; bottom: .5rem; }
  .viewer-tools .group:nth-child(3) { right: .5rem; top: .5rem; }
  .viewer-tools .chip { min-height: 2.25rem; padding: .35rem .5rem; font-size: .68rem; }
  .viewer-tools .icon-btn { width: 2.25rem; height: 2.25rem; }
  .viewer-tools [data-vreset] { display: none; }
}
@media (max-width: 640px) { .viewer-tools .chip { padding: .35rem .42rem; } .viewer-tools .group:nth-child(1) { left: .35rem; } .viewer-tools .group:nth-child(2) { right: .35rem; } }
@media (max-width: 380px) { .viewer-tools [data-turn] { display: none; } }
.filter-box > summary { display: none; }
.filter-box { align-self: start; position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.filter-box .filters { position: static; }
@media (max-width: 860px) {
  .filter-box { position: static; border-block: 1px solid var(--line); }
  .filter-box > summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; padding: 1rem 0; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
  .filter-box > summary::-webkit-details-marker { display: none; }
  .filter-box > summary::after { content: '+'; font-family: var(--mono); }
  .filter-box[open] > summary::after { content: '−'; }
  .filter-box .filters { padding-bottom: 1.5rem; }
}


/* =====================================================================
   OPENING SEQUENCE (home): black room, title card, letterbox bars open,
   headline rises in. Pure CSS timing from page load, so the page is never
   left hidden if a script fails; home.js removes html.intro when it ends or
   is skipped. The 3D showroom runs its "lights on" sequence on the same clock.
   ===================================================================== */
.intro-film, .intro-skip { display: none; }
.hero .grain { position: absolute; inset: -50%; z-index: 2; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.reduce-motion .hero .grain { animation: none; }

.intro .intro-film { display: block; position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.intro-film .veil { position: absolute; inset: 0; background: #050505; animation: intro-fade-out 1.2s cubic-bezier(.6, 0, .3, 1) .95s both; }
.intro-card { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; text-align: center; animation: intro-card 2.3s ease .25s both; }
.intro-card .tech { font-size: .78rem; color: var(--porcelain); letter-spacing: .42em; animation: intro-track 2.3s cubic-bezier(.2, .8, .2, 1) .25s both; }
.intro-card .intro-sub { font: italic 400 clamp(1.35rem, 2.3vw, 1.9rem)/1 var(--display); color: var(--chrome-hi); }
.intro-film .bar { position: absolute; left: 0; right: 0; height: 12vh; background: #000; animation: intro-bar 1.4s cubic-bezier(.75, 0, .2, 1) 2.45s both; }
.intro-film .bar--top { top: 0; transform-origin: top; box-shadow: inset 0 -1px 0 rgba(138, 22, 38, .7); }
.intro-film .bar--bot { bottom: 0; transform-origin: bottom; box-shadow: inset 0 1px 0 rgba(138, 22, 38, .7); }
@keyframes intro-fade-out { to { opacity: 0; } }
@keyframes intro-card { 0% { opacity: 0; } 28% { opacity: 1; } 72% { opacity: 1; } 100% { opacity: 0; } }
@keyframes intro-track { from { letter-spacing: .9em; } to { letter-spacing: .36em; } }
@keyframes intro-bar { to { transform: scaleY(0); } }

.intro .hero-copy h1 .line { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.intro .hero-copy h1 .li { display: block; animation: intro-rise 1.3s cubic-bezier(.16, .84, .24, 1) both; }
.intro .hero-copy h1 .line:nth-child(1) .li { animation-delay: 2.85s; }
.intro .hero-copy h1 .line:nth-child(2) .li { animation-delay: 3.05s; }
.intro .hero-copy h1 .italic { display: inline-block; animation: intro-sweep 1.5s cubic-bezier(.16, .84, .24, 1) 3.2s both; }
.intro .hero-copy .tech { animation: intro-up .9s var(--ease) 2.7s both; }
.intro .hero-copy .lede { animation: intro-up 1s var(--ease) 3.45s both; }
.intro .hero-actions { animation: intro-up 1s var(--ease) 3.65s both; }
.intro .stage-status { opacity: 0; }
.intro .hero .rack-ui, .intro .nav { animation: intro-fade-in 1s var(--ease) 3.95s both; }
@keyframes intro-rise { from { transform: translateY(135%); } }
@keyframes intro-sweep { from { opacity: 0; transform: translateX(-.35em) skewX(-10deg); filter: blur(8px); } }
@keyframes intro-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes intro-fade-in { from { opacity: 0; } }

.intro .intro-skip { display: inline-flex; position: absolute; z-index: 7; right: var(--gutter); top: calc(12vh + 1rem); padding: .55rem .9rem; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(12, 12, 12, .5); color: var(--porcelain-dim); font: .68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; animation: intro-fade-in .6s ease .5s both; }
.intro .intro-skip:hover { color: var(--porcelain); border-color: var(--porcelain-dim); }
@media (max-width: 860px) { .intro-film .bar { height: 9vh; } .intro .intro-skip { top: calc(9vh + .8rem); } }

/* =====================================================================
   SHOP TILES: studio look. The jean sits on a warm stone sweep with a soft
   floor shadow, graded a touch richer; hovering crossfades to the editorial
   photo with a slow push-in.
   ===================================================================== */
.tile figure { aspect-ratio: 4/5; border-radius: 2px;
  background:
    radial-gradient(70% 12% at 50% 86%, rgba(40, 32, 24, .28), rgba(40, 32, 24, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(0, 0, 0, .06) 100%),
    radial-gradient(120% 95% at 50% 22%, #efeae2 0%, #ddd6cb 55%, #c6bdb0 100%); }
.tile figure::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 90px rgba(60, 48, 36, .18); z-index: 1; transition: opacity .7s var(--ease); }
.tile figure img.cut { filter: drop-shadow(0 18px 14px rgba(40, 30, 20, .32)) drop-shadow(0 4px 3px rgba(40, 30, 20, .25)) contrast(1.07) saturate(1.08); transition: transform 1.4s cubic-bezier(.16, .84, .24, 1), opacity .7s var(--ease); }
.tile figure img.cut { transform: rotate(90deg) scale(1.12); }
.tile:hover figure img.cut { transform: rotate(90deg) scale(1.18); }
.tile figure img.alt { filter: contrast(1.05) saturate(1.06); transform: scale(1.06); transition: opacity .8s var(--ease), transform 2.4s cubic-bezier(.16, .84, .24, 1); z-index: 1; }
.tile:hover figure img.alt, .tile-link:focus-visible figure img.alt { transform: scale(1); }
.tile:hover figure::after { opacity: 0; }
.tile figure:has(> img:not(.cut):only-of-type) { background: var(--obsidian-2); }
.tile-meta h3 { letter-spacing: -.005em; }
.reduce-motion .tile figure img, .reduce-motion .tile:hover figure img.cut { transition: opacity .3s; }
.reduce-motion .tile:hover figure img.cut { transform: rotate(90deg) scale(1.12); }
.quick figure { background: radial-gradient(120% 95% at 50% 22%, #efeae2 0%, #ddd6cb 55%, #c6bdb0 100%); }
.quick figure img { filter: drop-shadow(0 18px 14px rgba(40, 30, 20, .3)) contrast(1.07) saturate(1.08); }


/* =====================================================================
   SOCIAL LINKS (footer)
   ===================================================================== */
.footer-grid { grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.social-link { display: inline-flex; align-items: center; gap: .6rem; }
.social-link svg { width: 20px; height: 20px; flex: none; transition: transform .4s var(--ease), color .3s; }
.social-link:hover svg { transform: translateY(-2px) scale(1.08); color: var(--oxblood-hi); }

/* =====================================================================
   MOTION LAYER (all pages). Off for reduce-motion and without JS.
   ===================================================================== */
/* Page transitions: a black curtain lifts on arrival and drops on leaving. */
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; background: #070707; transform: translateY(-100%); box-shadow: 0 1px 0 rgba(138, 22, 38, .8); }
.js:not(.reduce-motion):not(.intro) .curtain { animation: curtain-lift .9s cubic-bezier(.76, 0, .24, 1) .05s both; }
.js.is-leaving .curtain { animation: curtain-drop .5s cubic-bezier(.76, 0, .24, 1) both !important; }
@keyframes curtain-lift { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes curtain-drop { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* Reading progress line along the top edge (browsers with scroll timelines). */
.scroll-line { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--oxblood), var(--oxblood-hi)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .js:not(.reduce-motion) .scroll-line { animation: scroll-line linear both; animation-timeline: scroll(root); }
}
@keyframes scroll-line { to { transform: scaleX(1); } }

/* Page headlines rise in word by word. */
.page-head h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.page-head h1 .w > span { display: inline-block; }
.js:not(.reduce-motion) .page-head h1 .w > span { animation: word-rise 1.2s cubic-bezier(.16, .84, .24, 1) both; animation-delay: calc(.35s + var(--i, 0) * .07s); }
.js:not(.reduce-motion) .page-head > :not(h1) { animation: intro-up 1s var(--ease) both; animation-delay: .75s; }
@keyframes word-rise { from { transform: translateY(115%) rotate(4deg); } }

/* Scroll reveals, added by site.js to sections, tiles, figures and copy. */
.js:not(.reduce-motion) .auto-rev { opacity: 0; transform: translateY(34px); }
.js:not(.reduce-motion) .auto-rev.is-in { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.2s cubic-bezier(.16, .84, .24, 1); transition-delay: var(--d, 0s); }
/* Photos open like a shutter, then settle. */
.js:not(.reduce-motion) .auto-pic { clip-path: inset(100% 0 0 0); }
.js:not(.reduce-motion) .auto-pic img, .js:not(.reduce-motion) .auto-pic video { transform: scale(1.18); }
.js:not(.reduce-motion) .auto-pic.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.3s cubic-bezier(.76, 0, .24, 1); transition-delay: var(--d, 0s); }
.js:not(.reduce-motion) .auto-pic.is-in img, .js:not(.reduce-motion) .auto-pic.is-in video { transform: scale(1); transition: transform 2s cubic-bezier(.16, .84, .24, 1); transition-delay: var(--d, 0s); }

/* Buttons: a light sweep across on hover. */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
/* Nav links: underline draws in. */
.nav-links a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.nav-links a:hover { background-size: 100% 1px; }


/* =====================================================================
   ROUND 2
   ===================================================================== */
/* Denim background: a seamless indigo twill under a dark wash, so text stays
   easy to read. The 3D room in the home hero keeps its own lighting. */
body {
  background-color: #0b111c;
  background-image:
    radial-gradient(120% 80% at 50% 0%, rgba(8, 12, 22, 0), rgba(4, 6, 12, .45)),
    linear-gradient(rgba(6, 9, 17, .22), rgba(6, 9, 17, .22)),
    url("../assets/textures/denim-512.webp");
  background-size: auto, auto, 360px 360px;
  background-attachment: fixed, fixed, fixed;
}
::-webkit-scrollbar-track { background: #0b111c; }
.nav.is-solid, .nav.is-open { background: rgba(9, 13, 22, .9); }
.tech-band { background: rgba(20, 36, 55, .55); backdrop-filter: blur(2px); }
.footer { background: rgba(5, 7, 12, .55); }

/* Headline masks: room for descenders (the y in “Plenty”) and italic overhang. */
.page-head h1 .w { padding: 0 .1em .3em 0; margin: 0 -.1em -.3em 0; }
.intro .hero-copy h1 .line { padding-bottom: .22em; margin-bottom: -.22em; }

/* Technology photos: show the whole garment, upright, never cropped. */
.tech-block figure img { aspect-ratio: 2/3; object-fit: contain; background: #f1f0ee; }

/* ---------- Videos as floating phones ----------
   The clip sits inside a phone body (bezel, chrome edge, camera island) that
   floats gently and tilts toward the pointer. */
.vid { container-type: inline-size; background: none; translate: 0 0; animation: phone-float 6s ease-in-out infinite; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.vid:nth-of-type(2n) { animation-delay: -2.5s; }
.vid video { border: 3.4cqw solid #08090b; border-radius: 14cqw; background: #000;
  box-shadow: 0 0 0 1px #2c2d31, 0 0 0 2.5px #8b8d93, 0 0 0 3.5px #2a2b2f, 0 40px 60px -28px rgba(0, 0, 0, .85), 0 18px 30px -18px rgba(0, 0, 0, .7); }
.vid::before { content: ''; position: absolute; z-index: 2; top: 6cqw; left: 50%; width: 30cqw; height: 8cqw; translate: -50% 0; border-radius: 99px; background: #050506; box-shadow: inset 0 0 0 1px #17181b; pointer-events: none; }
.vid::after { content: ''; position: absolute; z-index: 1; inset: 3.4cqw; border-radius: 11cqw; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 32%); }
.vid .vid-toggle { right: 7cqw; bottom: 7cqw; z-index: 3; }
@keyframes phone-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.feature-row .vid, .vid--side { animation-duration: 7s; }
.reduce-motion .vid { animation: none; transform: none; }

/* Vertical films get the same phone body; the wide explainer gets a screen frame. */
.film--v video { border: 10px solid #08090b; border-radius: 2.4rem; box-shadow: 0 0 0 1px #2c2d31, 0 0 0 2.5px #8b8d93, 0 40px 60px -28px rgba(0, 0, 0, .85); animation: phone-float 6s ease-in-out infinite; max-width: 360px; }
.reduce-motion .film--v video { animation: none; }
.films { align-items: start; }
.film--main { grid-column: span 8; }
.film--main video { border-radius: 14px; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
@media (max-width: 760px) { .film--main { grid-column: 1 / -1; } }
.vid.reveal.is-in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

.tech-block .vid { width: min(100%, 19rem); justify-self: center; }
.tech-block .vid video { max-height: none; }
.tech-block figure img { box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8); }


/* =====================================================================
   ROUND 3
   ===================================================================== */
/* Footer: the contact column is as wide as the email address, so it never breaks. */
.footer-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) max-content minmax(0, .9fr) minmax(0, 1fr); column-gap: clamp(1.5rem, 3vw, 3rem); }
.footer a[href^="mailto:"] { white-space: nowrap; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr); } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } .footer a[href^="mailto:"] { white-space: normal; overflow-wrap: anywhere; } }

/* Showroom: a lighter gallery so the jeans read clearly. */
.hero { background: radial-gradient(120% 80% at 60% 40%, #3a3e47 0%, #22252c 65%); }
.hero::after { background: linear-gradient(90deg, rgba(12, 14, 20, .62) 0%, rgba(12, 14, 20, .3) 30%, rgba(12, 14, 20, 0) 52%), linear-gradient(0deg, rgba(12, 14, 20, .45) 0%, rgba(12, 14, 20, 0) 22%); }

/* Films: two wide films side by side. */
.film video { border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }

/* ---------- Sewing stitch: a seam stitches itself down the page as you scroll ---------- */
.sew { position: absolute; top: 0; right: clamp(6px, 1.2vw, 22px); width: 34px; z-index: 40; pointer-events: none; }
.sew svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sew .sew-guide { fill: none; stroke: rgba(201, 162, 74, .14); stroke-width: 2; stroke-dasharray: 2 9; }
.sew .sew-thread { fill: none; stroke: #C9A24A; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 9 7; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .55)); }
.sew-needle { position: absolute; left: 0; top: 0; width: 34px; height: 64px; margin: -60px 0 0 -17px; transform-origin: 50% 100%; will-change: transform; }
.sew-needle svg { animation: sew-bob .32s ease-in-out infinite; }
.sew.is-idle .sew-needle svg { animation-play-state: paused; }
@keyframes sew-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
.reduce-motion .sew-needle { display: none; }
.pg-on .sew { display: none; }
@media print { .sew { display: none; } }


/* =====================================================================
   EMBROIDERED MESSAGES: a metallic needle sews each message into the denim,
   in step with scrolling. Layers per letter: chalk guide, satin fill (street),
   needle punctures, the thread itself, and a sheen along the twist.
   ===================================================================== */
.st-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.stitch-band { padding-block: clamp(3rem, 8vw, 7rem) clamp(2rem, 5vw, 4rem); display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.stitch { position: relative; margin: clamp(3rem, 8vw, 7rem) auto; width: min(100%, 66rem); padding-inline: var(--gutter); text-align: center; }
.stitch-band .stitch { margin-block: 0; }
.stitch-svg { display: block; width: 100%; height: auto; overflow: visible; }
.stitch-svg text { paint-order: stroke; }

/* typography per embroidery style */
.stitch--hand text { font: 700 112px/1 'Caveat', 'Bradley Hand', 'Marker Felt', cursive; }
.stitch--street text { font: 800 96px/1 var(--sans); text-transform: uppercase; letter-spacing: -.02em; }
.stitch--denim text { font: italic 400 98px/1 var(--display); }

/* chalk guide: where the needle will go */
.st-guide text { fill: none; stroke: rgba(255, 243, 221, .14); stroke-width: 1.4; stroke-dasharray: 1.5 7; }

/* satin stitch fill (bold streetwear lettering) */
.st-fill text { fill: none; }
.stitch--street .st-fill text { fill: url(#st-satin); filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .55)) drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); }

/* needle punctures at the end of every stitch */
.st-holes text { fill: none; stroke: rgba(3, 8, 18, .75); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0 11 0 4; }
.stitch--denim .st-holes text { stroke-dasharray: 0 7 0 2; }
.stitch--hand .st-holes text { stroke-dasharray: 0 13 0 5; stroke-width: 4.5; }

/* the thread */
.st-thread text { fill: none; stroke: #d6ad4f; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 11 4; filter: drop-shadow(0 1.6px 0 rgba(0, 0, 0, .7)) drop-shadow(0 3px 3px rgba(0, 0, 0, .35)); }
.stitch--street .st-thread text { stroke: #f3dc9c; stroke-width: 3; }
.stitch--denim .st-thread text { stroke: #fff3dd; stroke-width: 4.2; stroke-dasharray: 7 2; } /* chain stitch in cream */
.stitch--hand .st-thread text { stroke: #e2b85a; stroke-width: 3.8; stroke-dasharray: 13 5; }

/* sheen along the twist of the thread */
.st-sheen text { fill: none; stroke: rgba(255, 250, 230, .75); stroke-width: 1; stroke-linecap: round; stroke-dasharray: 4 11; transform: translate(-.7px, -.9px); }
.stitch--denim .st-sheen text { stroke-dasharray: 2.5 6.5; stroke: rgba(255, 255, 255, .8); }
.stitch--hand .st-sheen text { stroke-dasharray: 5 13; }

.stitch figcaption { margin-top: .6rem; font: 700 .72rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--chrome); opacity: 0; transition: opacity .6s; }
.stitch--hand figcaption { color: #e2b85a; font: 700 1.5rem/1 'Caveat', cursive; letter-spacing: 0; text-transform: none; }
.stitch.is-sewn figcaption, .reduce-motion .stitch figcaption, .no-js .stitch figcaption { opacity: 1; }

/* the needle */
.st-needle { pointer-events: none; }
.st-needle .shadow { fill: rgba(0, 0, 0, .35); filter: blur(2px); }
.reduce-motion .st-needle { display: none; }


/* ---------- white yarn: "Welcome to the REDD'S DENIM family." ----------
   Thick white topstitching yarn, like the seams of a pair of jeans: heavy plied
   strokes with soft fuzzy fibres, a twist highlight and deep needle holes. */
.stitch--yarn text { font: italic 600 104px/1 var(--display); }
.stitch--yarn .st-holes text { stroke: rgba(2, 6, 14, .85); stroke-width: 7.5; stroke-dasharray: 0 11 0 7; }
.stitch--yarn .st-thread text { stroke: #f7f6f2; stroke-width: 6; stroke-dasharray: 11 7; stroke-linecap: round; filter: url(#st-yarn); }
.stitch--yarn .st-sheen text { stroke: rgba(170, 175, 190, .55); stroke-width: 1.6; stroke-dasharray: 2 3 2 11; transform: translate(.9px, 1.1px); }
.stitch--yarn .st-guide text { stroke: rgba(255, 255, 255, .16); }
.stitch--yarn figcaption { color: #f7f6f2; }

/* ---------- thick white yarn (all white stitching) ----------
   Same build as the gold THANK YOU: a dense satin-stitch fill in white yarn,
   heavy letterforms, then the running thread and sheen on top. */
.stitch--yarn text, .stitch--denim text { font-weight: 900; }
.stitch--yarn text { font-size: 100px; }
.stitch--denim text { font-size: 94px; }
.stitch--yarn .st-fill text, .stitch--denim .st-fill text { fill: url(#st-satin-white); filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6)) drop-shadow(0 6px 8px rgba(0, 0, 0, .38)); }
.stitch--yarn .st-thread text, .stitch--denim .st-thread text { stroke: #ffffff; stroke-width: 3.4; stroke-dasharray: 11 4; filter: drop-shadow(0 1.6px 0 rgba(0, 0, 0, .7)) drop-shadow(0 3px 3px rgba(0, 0, 0, .35)); }
.stitch--yarn .st-holes text, .stitch--denim .st-holes text { stroke: rgba(3, 8, 18, .75); stroke-width: 5; stroke-dasharray: 0 11 0 4; }
.stitch--yarn .st-sheen text, .stitch--denim .st-sheen text { stroke: rgba(255, 255, 255, .85); stroke-width: 1; stroke-dasharray: 4 11; transform: translate(-.7px, -.9px); }
