@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/cormorant-garamond-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/cormorant-garamond-latin-400-italic.woff2) format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url(../fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2')}
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-latin-var.woff2) format('woff2')}
/* ORIEL — theme stylesheet
   Quiet luxury / editorial. Tokens come from snippets/css-variables.liquid
   (bone, ink, espresso, stone, butter, fonts). Fallbacks below keep the
   static prototype (proto/index.html) working without Liquid. */

/* ------------------------------------------------------------------ tokens */
:root {
  --bone: #F3EFE8; --ink: #151515; --espresso: #3B2A22; --stone: #B9B0A2; --butter: #F2E3A0;
  --ink-rgb: 21, 21, 21; --bone-rgb: 243, 239, 232;
  --font-serif: "Cormorant Garamond", "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --heading-scale: 1;
  --logo-width: 140px;
}
:root {
  --paper: #ECE6DC;                         /* one step darker than bone, for stages */
  --line: rgba(var(--ink-rgb), .14);
  --line-strong: rgba(var(--ink-rgb), .32);
  --muted: rgba(var(--ink-rgb), .58);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1560px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t: .5s;
  --radius: 0px;
}

/* ------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
html.lenis { overflow-anchor: none; } /* anchoring + smooth scroll made the page jump once near the rail */
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font: 400 15px/1.6 var(--font-sans);
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html.is-locked, body.is-locked { overflow: hidden; }
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
::selection { background: var(--butter); color: var(--ink); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

.page-width { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.page-width--narrow { max-width: 860px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; background: var(--ink); color: var(--bone); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; letter-spacing: .02em; }
.center { text-align: center; display: block; }
.num { font-variant-numeric: tabular-nums; }
.empty { font-size: 1.6rem; padding: 10vh 0; }

/* ------------------------------------------------------------- typography */
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -.005em; }
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: calc(clamp(2.4rem, 5.2vw, 5.4rem) * var(--heading-scale));
  line-height: .98;
  letter-spacing: -.018em;
}
.display em, .display i { font-style: italic; }
.eyebrow {
  font: 500 11px/1.4 var(--font-sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow--line { display: flex; align-items: center; gap: 14px; }
.eyebrow--line::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.rte p + p { margin-top: 1em; }
.rte a { text-decoration: underline; text-underline-offset: .2em; }
.rte ul { padding-left: 1.1em; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--bone); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 28px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font: 500 11.5px/1 var(--font-sans); letter-spacing: .2em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::after { /* slow butter wipe */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--butter);
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out);
}
.btn:hover { text-decoration: none; color: var(--ink); border-color: var(--butter); }
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn:disabled::after { display: none; }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--bone); --btn-bd: var(--ink); }
.btn--bone { --btn-bg: var(--bone); --btn-fg: var(--ink); --btn-bd: var(--bone); }
.btn--line { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--block { display: flex; width: 100%; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading [data-add-label]::after { content: "…"; }
.link-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 11.5px/1.4 var(--font-sans); letter-spacing: .18em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  transition: border-color .3s;
}
.link-btn:hover { text-decoration: none; border-color: currentColor; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  font-size: 15px; line-height: 1; transition: background .3s, color .3s, border-color .3s;
}
.icon-btn:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* forms */
input[type="email"], input[type="search"], input[type="text"], textarea, select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius);
}
select {
  appearance: none; -webkit-appearance: none; padding-right: 34px;
  background: no-repeat right 14px center / 9px 6px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Cpath d='M.5.5l4 4 4-4' fill='none' stroke='%23151515'/%3E%3C/svg%3E");
}
textarea { min-height: 90px; resize: vertical; }
.form-error, .cart-error { color: #8A2C1B; margin-top: 10px; font-size: 12.5px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: ew-resize; }
.range::-webkit-slider-runnable-track { height: 1px; background: var(--line-strong); }
.range::-moz-range-track { height: 1px; background: var(--line-strong); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--ink); border: 3px solid var(--bone); box-shadow: 0 0 0 1px var(--ink); }
.range::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); border: 3px solid var(--bone); box-shadow: 0 0 0 1px var(--ink); }

/* ----------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 60; color: var(--ink); background: rgba(var(--bone-rgb), .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.site-header--overlay { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--overlay:not(.is-scrolled)::before { content: ""; position: absolute; inset: 0 0 -36px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(var(--bone-rgb), .86) 0%, rgba(var(--bone-rgb), .6) 58%, rgba(var(--bone-rgb), 0) 100%); }
.site-header--overlay:not(.is-scrolled) .site-header__bar, .site-header--overlay:not(.is-scrolled) .site-header__note { text-shadow: 0 0 14px rgba(var(--bone-rgb), .9), 0 0 2px rgba(var(--bone-rgb), .7); }
.site-header--overlay.is-scrolled { background: rgba(var(--bone-rgb), .95); border-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__note { text-align: center; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 8px var(--gutter); border-bottom: 1px solid var(--line); }
.site-header__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: clamp(24px, 2.4vw, 40px); align-items: center; height: var(--header-h); padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; }
.site-header__left, .site-header__right { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); min-width: 0; }
.site-header__right { justify-content: flex-end; }
.site-nav { min-width: 0; }
.site-nav__list { display: flex; gap: clamp(14px, 1.7vw, 28px); list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.site-nav__link, .site-header__link, .site-header__bag { font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
/* long menus (oriel.js header fit): first tighter type and no subline, then the burger.
   The nav never wraps and never runs into the centred wordmark (QA2, 7 items at ~1440-1570) */
.site-header.is-tight .site-nav__link { font-size: 11px; letter-spacing: .1em; }
.site-header.is-tight .site-nav__list { gap: clamp(12px, 1.1vw, 20px); }
.site-header.is-tight .wordmark__sub { display: none; }
.site-header.is-compact .site-nav { display: none; }
.site-header.is-compact .site-header__burger { display: inline-grid; place-items: center; }
.site-nav__link.is-active { text-decoration: underline; text-underline-offset: .4em; }
.site-header__bag { display: inline-flex; align-items: center; gap: 8px; }
.bag-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ink); color: var(--bone); font-size: 10.5px; letter-spacing: 0; transition: transform .4s var(--ease-out), background .3s; }
.bag-count.is-bump { transform: scale(1.35); background: var(--espresso); }
.site-header__burger { display: none; width: 34px; height: 34px; }
.burger-lines { display: grid; gap: 6px; width: 22px; }
.burger-lines i { display: block; height: 1px; background: currentColor; }
.wordmark { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.wordmark:hover { text-decoration: none; }
.wordmark__name { font-family: var(--font-serif); font-size: 27px; letter-spacing: .28em; margin-right: -.28em; line-height: 1; }
.wordmark__sub { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.wordmark__img { width: var(--logo-width); }

.menu-drawer { position: fixed; inset: 0; z-index: 90; background: var(--bone); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.menu-drawer__inner { position: relative; min-height: 100%; width: 100%; background: var(--bone); padding: max(22px, env(safe-area-inset-top)) var(--gutter) max(26px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; animation: fade-in .35s var(--ease); }
.menu-drawer__close { align-self: flex-start; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; }
.menu-drawer__list { list-style: none; padding: 0; margin: 8vh 0 auto; display: grid; gap: 10px; }
.menu-drawer__list a { font-family: var(--font-serif); font-size: 2.4rem; line-height: 1.1; }
.menu-drawer__foot { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@keyframes slide-in-left { from { transform: translateX(-100%); } }
@keyframes fade-in { from { opacity: 0; } }

/* ----------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(56px, 8vw, 110px); overflow: hidden; }
.site-footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.site-footer__line { font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.15; max-width: 16ch; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 32px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.site-footer__giant { font-family: var(--font-serif); font-size: min(25.5vw, calc(128vw / var(--chars, 5))); padding-inline: 2vw; line-height: .78; letter-spacing: -.02em; text-align: center; margin: clamp(48px, 7vw, 100px) 0 -2.4vw; color: var(--espresso); user-select: none; white-space: nowrap; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; padding: 18px var(--gutter); border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); position: relative; background: var(--bone); }
.payment-icons { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.payment-icon { width: 34px; height: 22px; }

/* ------------------------------------------------------------ cart drawer */
.cart-drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.cart-drawer__scrim { position: absolute; inset: 0; background: rgba(var(--ink-rgb), .32); opacity: 0; transition: opacity .5s var(--ease); }
.cart-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--bone); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .6s var(--ease-out); outline: none; }
.cart-drawer.is-open { pointer-events: auto; }
.cart-drawer.is-open .cart-drawer__scrim { opacity: 1; }
.cart-drawer.is-open .cart-drawer__panel { transform: none; }
.cart-drawer__head { display: flex; align-items: baseline; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.cart-drawer__head h2 { font-size: 2rem; line-height: 1; }
.cart-drawer__head sup { font-family: var(--font-sans); font-size: 11px; vertical-align: super; }
.cart-drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 28px; }
.cart-drawer__body.is-busy { opacity: .5; pointer-events: none; transition: opacity .2s; }
.cart-drawer__foot { padding: 20px 28px 26px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cart-empty { padding: 8vh 0; display: grid; gap: 22px; justify-items: start; }
.cart-empty .serif { font-size: 1.8rem; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line__media { display: block; aspect-ratio: 4 / 5; background: var(--paper); overflow: hidden; }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__title { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.15; display: block; }
.cart-line__info p { margin: 4px 0 10px; }
.cart-line__end { display: grid; justify-items: end; gap: 8px; font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); height: 34px; }
.qty button { width: 32px; height: 100%; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; }
.cart-total { display: flex; justify-content: space-between; font-family: var(--font-serif); font-size: 1.5rem; }

/* --------------------------------------------------------------- hero 3L */
.hero3 { position: relative; height: var(--hero-h, 100svh); min-height: 560px; overflow: hidden; background: var(--paper); color: var(--ink); isolation: isolate; }
.hero3__stage { position: absolute; inset: 0; }
.hero3__layer { position: absolute; inset: -5%; will-change: transform; transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(var(--ts, 1)); }
.hero3__fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero3__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero3__video.is-ready { opacity: 1; }
.hero3__word { display: grid; justify-items: center; pointer-events: none; }
.hero3__word span {
  position: absolute; top: var(--word-y, 26%); left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-serif); font-size: clamp(6rem, 25vw, 30rem); line-height: .8; letter-spacing: -.035em;
  white-space: nowrap; color: var(--espresso);
}
.hero3__word--back span { opacity: .92; }
/* the front copy only shows below --clip: letters pass IN FRONT of the model's lower half */
.hero3__word--front { clip-path: inset(var(--clip, 62%) 0 0 0); }
.hero3__word--front span { color: var(--espresso); }
.hero3__model { display: flex; justify-content: center; align-items: flex-end; }
.hero3__cutout { position: absolute; bottom: 4%; left: var(--model-x, 50%); transform: translateX(-50%); height: 86%; width: auto; max-width: none; object-fit: contain; }
/* contact shadow under the feet (the cut-out has none). Feet sit ~3 % above the image bottom. */
.hero3__model::before { content: ""; position: absolute; left: var(--model-x, 50%); bottom: calc(4% + 86% * .03 - 1.2%); height: 2.4%; aspect-ratio: 7 / 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(28, 22, 16, .42), rgba(28, 22, 16, .18) 55%, rgba(28, 22, 16, 0)); pointer-events: none; }
video.hero3__cutout { opacity: 0; transition: opacity .8s; }
video.hero3__cutout.is-ready { opacity: 1; }
video.hero3__cutout.is-ready ~ img.hero3__cutout, .hero3__model.has-alpha img.hero3__cutout { opacity: 0; }
.hero3__fg { pointer-events: none; }
.hero3__fg-img { filter: blur(2px); }
/* placeholder foliage is shot on white: multiply drops the white, so the leaves have no cut-out holes */
.hero3__fg--multiply { mix-blend-mode: multiply; } /* on the layer: its transform isolates blending inside it */
.hero3__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--bone-rgb), 0) 55%, rgba(var(--bone-rgb), .72) 100%); pointer-events: none; }
.hero3__copy { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px); display: grid; gap: 16px; justify-items: start; z-index: 2; }
.hero3__title { font-size: calc(clamp(2rem, 3.6vw, 3.6rem) * var(--heading-scale)); max-width: 13ch; }
.hero3__text { max-width: 38ch; font-size: 15px; }
.hero3__copy .btn { margin-top: 6px; }
.hero3__scroll { position: absolute; right: var(--gutter); bottom: clamp(28px, 6vh, 64px); z-index: 2; display: grid; justify-items: center; gap: 10px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }
.hero3__scroll span { writing-mode: vertical-rl; }
.hero3__scroll i { width: 1px; height: 54px; background: currentColor; transform-origin: top; animation: scroll-line 2.4s var(--ease) infinite; }
@keyframes scroll-line { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero3 .eyebrow { margin-bottom: 0; }

/* ---------------------------------------------------------- scroll scene */
.scene { position: relative; height: var(--len, 320vh); background: var(--ink); color: var(--ink); }
.scene--light { color: var(--bone); }  /* light text over dark footage */
.scene__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scene__media { position: absolute; inset: 0; background: var(--paper); }
.scene--light .scene__media { background: #1E1A17; }
.scene__media picture, .scene__poster, .scene__canvas, .scene__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__poster, .scene__video { object-fit: cover; object-position: var(--focal, 50%) var(--focal-y, 50%); }
@media (max-aspect-ratio: 4/5) { .scene { --focal-y: 0%; } } /* portrait clips: when the height is cropped, keep the head (QA2, ~500x640) */
.scene__canvas, .scene__video { opacity: 0; }
.scene.is-canvas .scene__canvas, .scene.is-video .scene__video { opacity: 1; }
.scene.is-canvas .scene__media picture, .scene.is-video .scene__media picture { visibility: hidden; } /* never two pictures at once */
.scene__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(var(--bone-rgb), .5) 0%, rgba(var(--bone-rgb), 0) 46%), linear-gradient(0deg, rgba(var(--bone-rgb), .45) 0%, rgba(var(--bone-rgb), 0) 34%); }
.scene--light .scene__veil { background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 50%), linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 40%); }
.scene__beats { position: absolute; inset: 0; pointer-events: none; padding: calc(var(--header-h) + 4vh) var(--gutter) 10vh; }
.beat { position: absolute; max-width: min(560px, 82vw); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s; }
.beat.is-on { opacity: 1; visibility: visible; transition: opacity .6s var(--ease) var(--beat-delay, 0ms), visibility 0s linear var(--beat-delay, 0ms); }
.beat.is-on .ln > i { transition-delay: var(--beat-delay, 0ms); }
.beat--left { left: var(--gutter); top: 50%; translate: 0 -50%; }
.beat--right { right: var(--gutter); top: 50%; translate: 0 -50%; text-align: right; }
.beat--right .beat__time { justify-content: flex-end; }
.beat--center { left: 50%; top: 50%; translate: -50% -50%; text-align: center; }
.beat--center .beat__time { justify-content: center; }
.beat--bottom { left: var(--gutter); bottom: 12vh; }
.beat__time { display: flex; align-items: baseline; gap: 14px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px; }
.beat__clock { font-family: var(--font-serif); font-size: 1.6rem; letter-spacing: .02em; text-transform: none; font-variant-numeric: tabular-nums; }
.beat__title { font-size: calc(clamp(2.6rem, 6vw, 6.4rem) * var(--heading-scale)); }
.beat--xl .beat__title { font-size: calc(clamp(3.2rem, 9vw, 10rem) * var(--heading-scale)); }
.beat--m .beat__title { font-size: calc(clamp(2rem, 3.6vw, 3.8rem) * var(--heading-scale)); }
.beat__text { margin-top: 18px; max-width: 36ch; font-size: 15px; }
.beat--right .beat__text { margin-left: auto; }
.beat--center .beat__text { margin-inline: auto; }
.ln { display: block; overflow: hidden; padding-bottom: .18em; margin-bottom: -.12em; }
.ln > i { display: block; font-style: normal; transform: translateY(105%); transition: transform 1s var(--ease-out); }
.is-on .ln > i { transform: none; }
.scene__shop {
  position: absolute; right: var(--gutter); bottom: 9vh; width: min(340px, calc(100vw - 2 * var(--gutter)));
  background: rgba(var(--bone-rgb), .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--ink); padding: 20px 20px 14px; border: 1px solid var(--line);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .6s var(--ease), transform .8s var(--ease-out);
}
.scene__shop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.scene__shop ul { list-style: none; margin: 0; padding: 0; }
.scene__shop .eyebrow { margin-bottom: 10px; }
/* Shop-the-look panel sits bottom-right: keep right-aligned captions clear of it */
@media (min-width: 641px) {
  .scene.has-shop-on .beat--right { right: auto; left: var(--gutter); text-align: left; }
  .scene.has-shop-on .beat--right .beat__time { justify-content: flex-start; }
  .scene.has-shop-on .beat--right .beat__text { margin-left: 0; }
}
.mini-line { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.mini-line__media { position: relative; display: block; width: 44px; aspect-ratio: 4 / 5; background: var(--paper); overflow: hidden; }
.mini-line__media img { width: 100%; height: 100%; object-fit: cover; }
.mini-line__name { line-height: 1.3; }
.mini-line__price { font-size: 12.5px; white-space: nowrap; }
.quick-add { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.quick-add__select { width: auto; min-height: 30px; padding: 2px 22px 2px 8px; font-size: 11px; background-position: right 7px center; }
.quick-add__btn { position: relative; width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 15px; line-height: 1; transition: background .3s, color .3s; }
.quick-add__btn:hover { background: var(--ink); color: var(--bone); }
.quick-add__btn.is-loading { opacity: .5; pointer-events: none; }
.quick-add__btn.is-done { background: var(--butter); color: var(--ink); border-color: var(--butter); }
.scene__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(var(--bone-rgb), .25); }
.scene__progress i { display: block; height: 100%; background: var(--butter); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* -------------------------------------------------------------- turntable */
.tt { position: relative; width: 100%; aspect-ratio: var(--tt-ratio, 4 / 5); overflow: hidden; background: var(--paper); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.tt__poster, .tt__video, .tt__sheet { position: absolute; inset: 0; width: 100%; height: 100%; }
.tt__poster, .tt__video { object-fit: cover; }
.tt__video, .tt__sheet { opacity: 0; }
.tt__poster, .tt__video, .tt__sheet { transform-origin: var(--ox, 50%) var(--oy, 50%); transform: scale(var(--zoom, 1)); transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.tt.is-panning > * { transition: opacity .5s var(--ease); }
.tt.is-ready .tt__video, .tt.is-ready .tt__sheet { opacity: 1; }
.tt__sheet { background-repeat: no-repeat; }
.tt.is-dragging { cursor: grabbing; }

/* ------------------------------------------------------------------- rail */
.rail { padding: clamp(80px, 11vw, 160px) 0 clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); }
.rail__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.rail__hint { max-width: 30ch; text-align: right; }
.rail__body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 3vw, 56px); max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); align-items: start; }
.rail__stage { position: relative; padding-top: 28px; }
.rail__bar { position: absolute; top: 18px; left: -2%; right: -2%; height: 3px; background: linear-gradient(180deg, #8B8378, #4E4740); border-radius: 2px; box-shadow: 0 2px 4px rgba(0,0,0,.12); }
.rail__items { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(10px, 1.6vw, 26px); align-items: flex-start; }
.rail__item { flex: 1 1 0; min-width: 0; position: relative; transition: flex-grow .9s var(--ease-out), opacity .6s var(--ease), filter .6s; }
.rail__hook { position: absolute; top: -12px; left: 50%; width: 14px; height: 16px; translate: -50% 0; border: 1.5px solid #6B635A; border-bottom: 0; border-radius: 8px 8px 0 0; }
.rail__pick { display: block; width: 100%; text-align: left; cursor: pointer; transition: transform .6s var(--ease-out); }
.rail__pick:hover { transform: translateY(4px) rotate(.6deg); transform-origin: top center; }
.rail__label { display: flex; gap: 12px; align-items: baseline; margin-top: 14px; font-size: 13px; }
.rail__label .num { font-family: var(--font-serif); font-size: 1.1rem; color: var(--muted); }
.rail.is-focus .rail__item { flex-grow: .42; opacity: .36; filter: saturate(.6); }
.rail.is-focus .rail__item.is-active { flex-grow: 3.2; opacity: 1; filter: none; max-width: calc((100svh - var(--header-h, 72px) - 150px) * .8); }
.rail.is-focus .rail__item:not(.is-active) .rail__label span:not(.num) { display: none; }
.rail.is-focus .rail__item.is-active .rail__pick { cursor: grab; transform: none; }
.rail.is-focus .rail__item.is-active .tt { touch-action: none; }
.rail.is-zoomed .rail__item.is-active .tt { cursor: move; }
.rail__ui { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px 28px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.rail.is-focus .rail__ui { opacity: 1; transform: none; pointer-events: auto; }
.rail:not(.is-focus) .rail__ui { visibility: hidden; height: 0; margin: 0; padding: 0; border: 0; overflow: hidden; } /* reserved ~120px of blank space under the rail (QA2) */
.rail__back { grid-column: 1 / -1; justify-self: start; }
.rail__zoom { display: flex; align-items: center; gap: 8px; }
.rail__rotate { display: grid; gap: 2px; }
.rail__ticks { display: flex; justify-content: space-between; }
.rail__play[aria-pressed="true"] { border-color: currentColor; }
.rail__arrows { display: flex; align-items: center; gap: 10px; }
.rail__panels { position: sticky; top: calc(var(--header-h) + 24px); }
.rail-panel { animation: panel-in .7s var(--ease-out); display: grid; gap: 12px; }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }
.rail-panel__title { font-size: clamp(1.9rem, 2.6vw, 2.6rem); line-height: 1.02; }
.rail-panel__price { font-size: 15px; }
.rail-panel__blurb { color: var(--muted); max-width: 40ch; }
.rail-panel__form { display: grid; gap: 18px; margin-top: 8px; }
.rail:not(.is-focus) .rail-panel__form { opacity: .55; }

/* ------------------------------------------------------------------ looks */
.looks { padding: clamp(80px, 11vw, 160px) 0; overflow: hidden; border-top: 1px solid var(--line); background: var(--bone); }
.looks__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.looks__nav { display: flex; gap: 10px; }
ul.looks__track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: clamp(14px, 2vw, 32px); cursor: grab; touch-action: pan-y; will-change: transform; transform: translate3d(var(--x, 0px), 0, 0); user-select: none; -webkit-user-select: none; }
.looks__track.is-dragging { cursor: grabbing; }
/* product page: when the look cards fit the width, sit them in the middle (auto margins give way when they overflow) */
.looks--product .looks__slot:first-child { margin-left: auto; }
.looks--product .looks__slot:last-child { margin-right: auto; }
@media (min-width: 900px) { .looks--product .looks__head { justify-content: center; text-align: center; } .looks--product .looks__head .eyebrow--line { justify-content: center; } }
.looks__slot { flex: 0 0 clamp(270px, 29vw, 440px); perspective: 1400px; }
.look { transform: rotateY(var(--tilt, 0deg)); transform-origin: 50% 50%; transition: transform .8s var(--ease-out), opacity .6s; }
.looks__track.is-dragging .look { transition: none; }
.look__stage { position: relative; }
.look__tt { background: linear-gradient(180deg, #EEE9E1, #E2DACE); }
.look__dots { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 5px; }
.look__dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(var(--ink-rgb), .22); transition: background .3s; }
.look__dots i.on { background: var(--ink); }
.look__hint { position: absolute; right: 14px; bottom: 10px; letter-spacing: .14em; text-transform: uppercase; font-size: 10px; color: var(--muted); transition: opacity .4s; }
.look.is-touched .look__hint { opacity: 0; }
.look__info { padding-top: 18px; display: grid; gap: 6px; }
.look__info .eyebrow { margin-bottom: 4px; }
.look__title { font-size: 1.6rem; line-height: 1.1; }
.look__items { list-style: none; margin: 8px 0 12px; padding: 0; font-size: 13.5px; }
.look__items > li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.look__items--demo > li { display: grid; }
.look__buy { display: grid; grid-template-columns: 76px 1fr; gap: 8px 10px; align-items: center; }
.look__buy label { grid-column: 1 / -1; }
.look__size { min-height: 52px; }
.look__buy .btn { padding: 0 16px; letter-spacing: .14em; }
.look__buy .form-error { grid-column: 1 / -1; margin: 0; }
.looks--product { border-top: 1px solid var(--line); }

/* ----------------------------------------------------------- grid / cards */
.pgrid { padding-block: clamp(80px, 10vw, 140px); }
.pgrid__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 3.6vw, 48px); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 3vw, 44px) clamp(12px, 1.4vw, 22px); grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.grid--2 { --cols: 2; } .grid--3 { --cols: 3; } .grid--4 { --cols: 4; } .grid--5 { --cols: 5; }
.card { position: relative; }
.card__media { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.4s var(--ease-out); }
.card__media .img2, .card__media .card__img--alt { opacity: 0; }
.card--swap:hover .card__media .img2, .card--swap:hover .card__media .card__img--alt { opacity: 1; }
.card:hover .card__media img, .card:hover .card__turn { transform: scale(1.03); }
/* turn video (oriel.js "card turn"): loads on the first hover / keyboard focus, fades in over
   the photo once it is playing, fades out and rewinds on leave. Touch screens keep the photo. */
.card__turn, .mini-line__turn { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .45s var(--ease), transform 1.4s var(--ease-out); }
.card.is-turning .card__turn, .mini-line.is-turning .mini-line__turn { opacity: 1; }
.card__badge { position: absolute; top: 10px; left: 10px; z-index: 1; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; background: var(--bone); padding: 5px 8px; }
.card__info { display: grid; gap: 2px; padding-top: 12px; font-size: 13.5px; }
.card__title { font-family: var(--font-serif); font-size: 1.22rem; line-height: 1.2; }
.card__meta { font-size: 12px; }
.card__price { font-size: 13px; }
.card--text { padding: 20px 0; border-top: 1px solid var(--line); }
.price__was { text-decoration: line-through; color: var(--muted); margin-left: 6px; }
.demo-swatch { background: radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--sw, #888) 72%, #fff 28%), var(--sw, #888) 62%), var(--sw, #888); }
.card__media.demo-swatch { display: grid; place-items: end start; padding: 14px; }
.demo-swatch__num { font-size: 2.2rem; line-height: 1; color: rgba(255,255,255,.72); mix-blend-mode: difference; }

/* ---------------------------------------------------------------- statement */
.statement { padding: clamp(100px, 15vw, 220px) 0; }
.statement--espresso { background: var(--espresso); color: var(--bone); }
.statement--butter { background: var(--butter); }
.statement__inner { max-width: 1240px; }
.statement__text { font-size: calc(clamp(2rem, 4.4vw, 4.6rem) * var(--heading-scale)); line-height: 1.06; margin: 0; }
.statement__text .w { display: inline-block; opacity: .16; transition: opacity .6s var(--ease); }
.statement__text .w.is-on { opacity: 1; }
.statement__sig { margin-top: 32px; letter-spacing: .2em; text-transform: uppercase; }
.statement .link-btn { margin-top: 28px; }

/* ------------------------------------------------------------- newsletter */
.newsletter { padding: clamp(72px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.newsletter__inner { display: grid; grid-template-columns: 1fr minmax(320px, 520px); gap: 48px; align-items: end; }
.newsletter__title { font-size: calc(clamp(2rem, 3.6vw, 3.6rem) * var(--heading-scale)); margin-bottom: 14px; }
.newsletter .field { display: flex; gap: 0; flex-wrap: wrap; }
.newsletter .field input { flex: 1 1 220px; border-right: 0; }
.newsletter .field .form-error { flex-basis: 100%; }
.newsletter__ok { font-family: var(--font-serif); font-size: 1.5rem; }

/* ---------------------------------------------------------------- product */
.product { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: clamp(28px, 4vw, 80px); padding-block: 28px clamp(60px, 8vw, 120px); align-items: start; }
.product__gallery { position: relative; }
.product__media-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.product__media { background: var(--paper); aspect-ratio: 4 / 5; overflow: hidden; }
.product__media:first-child, .product__media:nth-child(even):last-child { grid-column: 1 / -1; } /* no half tile next to a hole */
.product__media img, .product__media video, .product__media svg { width: 100%; height: 100%; object-fit: cover; }
.product__media svg { fill: rgba(var(--ink-rgb), .2); }
.product__count { display: none; }
/* turn video at the top of the gallery: poster photo underneath, video fades in when playing */
.product__media--turn { position: relative; }
.product__media .product__turn { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.product__media--turn.is-playing .product__turn { opacity: 1; }
.product__sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.crumbs { display: flex; gap: 8px; margin-bottom: 18px; }
.product__title { font-size: calc(clamp(2.2rem, 3.8vw, 3.8rem) * var(--heading-scale)); }
.product__price { font-size: 16px; }
.product__desc { color: rgba(var(--ink-rgb), .78); max-width: 46ch; }
.product__note { border-top: 1px solid var(--line); padding-top: 14px; }
.pform { display: grid; gap: 20px; }
.pform__price::before { content: "—"; margin-right: 12px; opacity: .5; }
.opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.opt__legend { display: flex; justify-content: space-between; width: 100%; padding: 0; margin-bottom: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.opt__values { display: flex; flex-wrap: wrap; gap: 6px; }
.opt__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__label { min-width: 52px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border: 1px solid var(--line-strong); font-size: 13px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.opt__label:hover { border-color: var(--ink); }
.opt__input:checked + .opt__label { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.opt__input:focus-visible + .opt__label { outline: 1px solid var(--ink); outline-offset: 2px; }
.opt__label.is-unavailable { color: var(--muted); background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line-strong) 50%, transparent calc(50% + .5px)); }
.details { border-bottom: 1px solid var(--line); }
.acc { border-top: 1px solid var(--line); }
.acc__sum { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.acc__sum::-webkit-details-marker { display: none; }
.acc__sum i { position: relative; width: 11px; height: 11px; }
.acc__sum i::before, .acc__sum i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .4s var(--ease-out); }
.acc__sum i::after { transform: rotate(90deg); }
.acc[open] .acc__sum i::after { transform: rotate(0deg); }
.acc__body { padding: 0 0 18px; color: rgba(var(--ink-rgb), .78); font-size: 14px; }

/* ------------------------------------------------- collection / misc pages */
.collection { padding-block: clamp(40px, 6vw, 90px) clamp(60px, 8vw, 120px); }
.collection__head { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: end; margin-bottom: clamp(32px, 4vw, 60px); }
.collection__head .eyebrow, .collection__head h1 { grid-column: 1; }
.collection__desc { grid-column: 1; max-width: 52ch; }
.collection__sort { grid-column: 2; grid-row: 2; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.collection__sort select { min-height: 40px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 60px; }
.pagination [aria-current] { text-decoration: underline; text-underline-offset: .3em; }
.cart-page { padding-block: clamp(40px, 6vw, 90px); }
.cart-page h1 { margin-bottom: 40px; }
.cart-page__form { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.cart-page__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; }
.page, .notfound, .search { padding-block: clamp(48px, 7vw, 110px); }
.page .display, .notfound .display, .search .display { margin-bottom: 28px; }
.page__body { font-size: 16px; }
.notfound { min-height: 60vh; display: grid; align-content: center; justify-items: start; gap: 18px; }
.search__form { display: flex; gap: 0; margin-bottom: 40px; max-width: 640px; }
.search__form input { border-right: 0; }

/* ------------------------------------------------------------------ grain */
.has-grain::after {
  content: ""; position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } 100% { transform: translate(0, 0); } }

/* ---------------------------------------------------- reveal on scroll */
[data-oriel="reveal"] .eyebrow, .js .pgrid__head, .js .rail__head, .js .looks__head { transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); }
.js .is-pending { opacity: 0; transform: translateY(24px); }

/* ------------------------------------------- static mode / reduced motion
   html.is-static : set by oriel.js for prefers-reduced-motion, Save-Data,
   slow devices (FPS probe) — frames/video are not loaded, posters stay. */
html.is-static .scene__canvas, html.is-static .scene__video, html.is-static .hero3__video, html.is-static .hero3__alpha { display: none; }
html.is-static .hero3__layer { transform: none !important; }
html.is-static .has-grain::after, html.is-static.has-grain::after { animation: none; }
.no-js .scene { height: auto; }
.no-js .scene__sticky { position: relative; min-height: 100svh; height: auto; }
.no-js .beat { position: relative; inset: auto; translate: none; opacity: 1; visibility: visible; margin-bottom: 8vh; }
.no-js .ln > i { transform: none; }
.no-js .scene__shop { position: relative; opacity: 1; transform: none; pointer-events: auto; right: auto; bottom: auto; margin: 0 var(--gutter) 8vh; }
.no-js .rail__ui { opacity: 1; pointer-events: auto; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ln > i { transform: none; }
  .has-grain::after { animation: none; }
  .hero3__scroll i { animation: none; transform: none; }
}

/* ----------------------------------------------------------------- mobile */
@media (max-width: 1100px) {
  .rail__body { grid-template-columns: 1fr; }
  .rail__panels { position: static; }
  .grid--5 { --cols: 3; }
  .product { grid-template-columns: 1fr; }
  .product__sticky { position: static; }
}
@media (max-width: 899px) {
  :root { --header-h: 58px; }
  .site-nav, .hide-sm { display: none; }
  .site-header__burger { display: inline-grid; place-items: center; }
  .wordmark__sub { display: none; }
  .wordmark__name { font-size: 22px; }
  .site-footer__top, .newsletter__inner { grid-template-columns: 1fr; }
  .cart-page__form { grid-template-columns: 1fr; }
  .cart-page__side { position: static; }
  .grid--4, .grid--5, .grid--3 { --cols: 2; }
  .rail__head, .looks__head, .pgrid__head { flex-direction: column; align-items: flex-start; }
  .rail__hint { text-align: left; }
  .rail__items { overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .rail__items::-webkit-scrollbar { display: none; }
  .rail__item { flex: 0 0 58%; scroll-snap-align: center; }
  .rail:not(.is-focus) .rail__item .tt { touch-action: pan-x pan-y; } /* rail not opened yet: the photo does not turn, so a swipe on it scrolls the row (11/18) */
  .rail.is-focus .rail__items { overflow: hidden; gap: 0; }
  .rail.is-focus .rail__item { flex: 0 0 0%; opacity: 0; }
  .rail.is-focus .rail__item.is-active { flex: 0 0 100%; opacity: 1; max-width: none; }
  .rail__bar { left: 0; right: 0; }
  .rail__ui { grid-template-columns: 1fr auto; }
  .rail__rotate { grid-column: 1 / -1; order: -1; }
  .rail__zoom { display: none; }
  .collection__head { grid-template-columns: 1fr; }
  .collection__sort { grid-column: 1; grid-row: auto; }
  /* product gallery becomes a swipe strip */
  .product { padding-top: 0; }
  .product__gallery { margin-inline: calc(-1 * var(--gutter)); }
  .product__media-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
  .product__media-list::-webkit-scrollbar { display: none; }
  .product__media { flex: 0 0 100%; scroll-snap-align: start; }
  .product__count { display: block; position: absolute; right: var(--gutter); bottom: 12px; background: rgba(var(--bone-rgb), .85); padding: 4px 8px; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .hero3 { min-height: 600px; }
  .hero3__word span { font-size: 34vw; }
  .hero3__cutout { height: 74%; bottom: 14%; }
  .hero3__model::before { bottom: calc(14% + 74% * .03 - 1%); height: 2%; }
  .hero3__scroll { display: none; }
  .hero3__copy { bottom: 22px; gap: 12px; }
  .hero3__text { display: none; }
  /* portrait: the word sits above the head, the model stands between word and copy,
     so the letters stay readable and the figure is not cut by the copy (QA 11/18) */
  .hero3__word span { top: 23%; font-size: min(30vw, 15svh); }
  .hero3__word--front { clip-path: inset(100% 0 0 0); }
  .hero3__cutout { height: 41%; bottom: 29%; }
  .hero3__model::before { bottom: calc(29% + 41% * .03 - 1%); }
  /* scenes: portrait crop + text at the bottom so the figure stays visible */
  .scene__veil { background: linear-gradient(0deg, rgba(var(--bone-rgb), .75) 0%, rgba(var(--bone-rgb), 0) 55%); }
  .scene--light .scene__veil { background: linear-gradient(0deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,0) 55%); }
  .beat, .beat--left, .beat--right, .beat--center { left: var(--gutter); right: var(--gutter); top: auto; bottom: 16vh; translate: none; text-align: left; max-width: none; }
  .beat__time, .beat--right .beat__time, .beat--center .beat__time { justify-content: flex-start; }
  .beat__text, .beat--right .beat__text, .beat--center .beat__text { margin-left: 0; }
  /* shop the look: one low strip of cards that scrolls sideways, so the model stays visible */
  .scene__shop { left: var(--gutter); right: var(--gutter); width: auto; bottom: 12px; padding: 9px 0 9px 12px; background: rgba(var(--bone-rgb), .86); }
  .scene__shop .eyebrow { margin-bottom: 6px; }
  .scene__shop ul { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: 12px; }
  .scene__shop ul::-webkit-scrollbar { display: none; }
  .scene__shop .mini-line { flex: 0 0 auto; width: min(260px, 74vw); grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 9px; row-gap: 1px; padding: 6px 8px; border: 1px solid var(--line); scroll-snap-align: start; }
  .scene__shop .mini-line__media { width: 32px; grid-row: 1 / span 2; }
  .scene__shop .mini-line__name { grid-column: 2; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .scene__shop .mini-line__price { grid-column: 2; grid-row: 2; font-size: 11.5px; }
  .scene__shop .quick-add { grid-column: 3; grid-row: 1 / span 2; }
  .scene__shop .quick-add__select { min-height: 28px; padding: 1px 18px 1px 6px; font-size: 10.5px; background-position: right 5px center; }
  .scene__shop.is-on ~ .scene__beats .beat, .scene.has-shop-on .beat { bottom: 118px; }
  .mini-line { grid-template-columns: 34px 1fr auto auto; padding: 6px 0; }
  .mini-line__media { width: 34px; }
  .grid--2, .grid--3, .grid--4, .grid--5 { --cols: 2; }
  .looks__slot { flex-basis: 78vw; }
  .site-footer__giant { font-size: min(26vw, calc(128vw / var(--chars, 5))); }
  .cart-line { grid-template-columns: 70px 1fr; }
  .cart-line__end { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: space-between; }
  .newsletter .field { flex-direction: column; }
  .newsletter .field input { border-right: 1px solid var(--line-strong); border-bottom: 0; }
  /* touch targets: keep the look, grow the hit area to 44px */
  .site-header__burger, .site-header__bag, .quick-add__btn, .menu-drawer__close, .rail__back, .rail__play, .rail__full { position: relative; }
  .site-header__burger::after, .site-header__bag::after, .quick-add__btn::after, .menu-drawer__close::after, .rail__back::after, .rail__play::after { content: ""; position: absolute; inset: -8px; }
  .quick-add__btn::after { inset: -7px; }
  .site-footer__col ul { gap: 0; }
  .site-footer__col li a { display: flex; align-items: center; min-height: 40px; }
  .card__title a, .site-footer__bottom a { display: inline-block; padding-block: 13px; margin-block: -13px; }
  .rail__rotate input[type=range] { min-height: 44px; }
}

/* --------------------------------------------------------------- hoops 3d
   sections/hoops-3d.liquid (home) + main-product (3D over the first photo).
   The canvas fades in over the poster once the model is drawn (.is-live). */
.hoops-sec { padding: clamp(80px, 11vw, 160px) 0; border-top: 1px solid var(--line); background: var(--bone); }
.hoops-sec__inner { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.hoops-sec__viewer .hoops3d__stage { aspect-ratio: 5 / 4; }
.hoops-sec__info { display: grid; gap: 14px; justify-items: start; max-width: 440px; }
.hoops-sec__info .eyebrow { margin-bottom: 6px; }
.hoops-sec__title { font-size: calc(clamp(2.3rem, 4.2vw, 4.2rem) * var(--heading-scale)); }
.hoops-sec__price { font-size: 15px; }
.hoops-sec__text { color: rgba(var(--ink-rgb), .78); max-width: 36ch; }
.hoops-sec__details { list-style: none; margin: 8px 0 12px; padding: 0; width: 100%; }
.hoops-sec__details li { padding: 10px 0; border-top: 1px solid var(--line); letter-spacing: .04em; }
.hoops-sec__details li:last-child { border-bottom: 1px solid var(--line); }

.hoops3d { position: relative; }
.hoops3d__stage {
  position: relative; overflow: hidden; outline-offset: 4px;
  background: radial-gradient(120% 95% at 50% 36%, #F6F2EB 0%, #EAE3D8 58%, #DED4C6 100%);
}
.hoops3d__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s var(--ease); }
.hoops3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s var(--ease); touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.hoops3d__stage.is-dragging .hoops3d__canvas { cursor: grabbing; }
.hoops3d.is-live .hoops3d__canvas { opacity: 1; }
.hoops3d.is-live .hoops3d__poster { opacity: 0; }
.hoops3d__hint { position: absolute; right: 14px; bottom: 10px; margin: 0; letter-spacing: .14em; text-transform: uppercase; font-size: 10px; color: var(--muted); opacity: 0; transition: opacity .4s; pointer-events: none; }
.hoops3d.is-live .hoops3d__hint { opacity: 1; }
.hoops3d__stage.is-touched .hoops3d__hint { opacity: 0; }
.hoops3d.is-loading .hoops3d__stage::after { /* thin loading line */
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--ink); opacity: .35;
  transform-origin: left; animation: hoops-load 1.4s var(--ease) infinite;
}
@keyframes hoops-load { from { transform: scaleX(0); } to { transform: scaleX(1); opacity: 0; } }

.product__media--3d { position: relative; }
.hoops3d--pdp { position: absolute; inset: 0; pointer-events: none; }
.hoops3d--pdp .hoops3d__stage { position: absolute; inset: 0; pointer-events: auto; visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility 0s .5s; }
.hoops3d--pdp.is-open .hoops3d__stage { visibility: visible; opacity: 1; transition: opacity .5s var(--ease); }
.hoops3d__open, .hoops3d__close {
  position: absolute; left: 14px; bottom: 14px; z-index: 2; pointer-events: auto;
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px;
  background: rgba(var(--bone-rgb), .9); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 999px;
  font: 500 10.5px/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .3s, border-color .3s;
}
.hoops3d__open::before { content: ""; width: 12px; height: 12px; border: 1px solid currentColor; border-radius: 50%; border-left-color: transparent; }
.hoops3d__open:hover, .hoops3d__close:hover { background: var(--bone); border-color: var(--ink); }
.hoops3d__close { display: none; }
.hoops3d--pdp.is-open .hoops3d__open { display: none; }
.hoops3d--pdp.is-open .hoops3d__close { display: inline-flex; }
.hoops3d--pdp.is-fallback:not(.is-open) .hoops3d__open { display: none; }
.hoops3d--pdp .hoops3d__hint { bottom: 26px; }

@media (max-width: 899px) {
  .hoops-sec__inner { grid-template-columns: 1fr; gap: 28px; }
  .hoops-sec__viewer { margin-inline: calc(-1 * var(--gutter)); }
  .hoops-sec__viewer .hoops3d__stage { aspect-ratio: 1 / 1; }
  .hoops-sec__info { max-width: none; }
}

/* ---------------------------------------------------------------- contact form */
.contact-form { margin-top: clamp(32px, 4vw, 56px); display: grid; gap: 20px; max-width: 560px; }
.contact-form__field { display: grid; gap: 8px; }
.contact-form__field label { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.contact-form textarea { width: 100%; resize: vertical; min-height: 140px; }
.contact-form input[aria-invalid="true"], .contact-form textarea[aria-invalid="true"] { border-color: #8A2C1B; }
.contact-form .btn { justify-self: start; }
@media (max-width: 640px) { .contact-form .btn { justify-self: stretch; } }
