/* ==========================================================================
   FORME — storefront design system (vanilla CSS, no build step)
   Palette: ivory #F5F3ED · stone #D8D3C9 · charcoal #252624 · olive #59634E · warm grey #A7A39B
   ========================================================================== */

:root {
  --ivory: #F5F3ED;
  --paper: #FAF9F5;
  --stone: #D8D3C9;
  --stone-2: #E7E3DA;
  --charcoal: #252624;
  --ink-2: #4A4B47;
  --olive: #59634E;
  --olive-dark: #454D3C;
  --grey: #A7A39B;
  --line: rgba(37, 38, 36, .14);
  --line-strong: rgba(37, 38, 36, .32);
  --danger: #8A3B2E;
  --ok: #46573A;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: clamp(.95rem, .92rem + .15vw, 1.0625rem);
  --fs-lg: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  --fs-h4: clamp(1.35rem, 1.2rem + .6vw, 1.75rem);
  --fs-h3: clamp(1.7rem, 1.4rem + 1.2vw, 2.5rem);
  --fs-h2: clamp(2.2rem, 1.6rem + 2.6vw, 4.25rem);
  --fs-h1: clamp(2.8rem, 1.8rem + 4.6vw, 7.25rem);
  --fs-mega: clamp(3.2rem, 1.6rem + 7.4vw, 10.5rem);

  --gutter: clamp(1.25rem, .6rem + 2.8vw, 3.5rem);
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: clamp(3rem, 2rem + 4vw, 6rem);
  --space-6: clamp(4.5rem, 3rem + 7vw, 10rem);
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
  --max: 1480px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
::selection { background: var(--olive); color: var(--ivory); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--charcoal); color: var(--ivory); padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.wrap--mid { max-width: 1160px; }
.section { padding-block: var(--space-6); }
.section--tight { padding-block: var(--space-5); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.stack > * + * { margin-top: var(--space-2); }
.cluster { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.split { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

/* ---------- type ---------- */
.eyebrow { font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 1.25rem; display: inline-flex; gap: .75rem; align-items: center; }
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--plain::before { display: none; }
.display { font-size: var(--fs-h1); line-height: .92; letter-spacing: -.02em; }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--olive); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.h4 { font-size: var(--fs-h4); }
.lede { font-size: var(--fs-lg); line-height: 1.55; color: var(--ink-2); max-width: 38ch; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.caps { text-transform: uppercase; letter-spacing: .14em; font-size: var(--fs-xs); }
.num { font-variant-numeric: tabular-nums; }
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--fs-h4); margin: 2.25rem 0 .75rem; }
.prose p { color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--charcoal); --fg: var(--ivory); --bd: var(--charcoal);
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 52px; padding: .85rem 1.75rem; border: 1px solid var(--bd); border-radius: var(--radius);
  background: var(--bg); color: var(--fg); text-decoration: none; font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; line-height: 1.2; position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; background: var(--olive); transform: translateY(101%); transition: transform .55s var(--ease-out); z-index: -1; }
.btn:hover::after, .btn:focus-visible::after { transform: none; }
.btn:hover { border-color: var(--olive); }
.btn--ghost { --bg: transparent; --fg: var(--charcoal); --bd: var(--line-strong); }
.btn--ghost:hover { color: var(--ivory); }
.btn--light { --bg: var(--ivory); --fg: var(--charcoal); --bd: var(--ivory); }
.btn--light:hover { color: var(--ivory); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: .55rem 1rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .3em; cursor: pointer; font-size: inherit; }
.link:hover { text-decoration-color: currentColor; }
.link-arrow { display: inline-flex; gap: .6rem; align-items: center; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding-bottom: .35rem; border-bottom: 1px solid var(--line-strong); transition: border-color .3s; }
.link-arrow:hover { border-color: currentColor; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; border-radius: 50%; color: inherit; position: relative; transition: background-color .3s; }
.icon-btn:hover { background: rgba(37, 38, 36, .06); }
.icon-btn svg { width: 20px; height: 20px; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--olive); color: var(--ivory); font-size: 10px; line-height: 18px; text-align: center; font-weight: 600; }
.badge[data-count="0"] { display: none; }

/* ---------- announcement + header ---------- */
.announce { background: var(--charcoal); color: var(--stone); font-size: var(--fs-xs); letter-spacing: .06em; text-align: center; padding: .55rem var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--ivory) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .4s, background-color .4s, color .4s, transform .5s var(--ease); }
.site-header.is-scrolled { border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header--overlay { position: fixed; inset-inline: 0; background: transparent; color: var(--ivory); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--overlay.is-scrolled { background: color-mix(in srgb, var(--ivory) 94%, transparent); color: var(--charcoal); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.logo { font-family: var(--serif); font-size: 1.85rem; letter-spacing: .28em; text-decoration: none; font-weight: 500; padding-left: .28em; }
.main-nav { display: none; gap: 1.75rem; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; }
.main-nav a { text-decoration: none; position: relative; padding-block: .5rem; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; justify-content: flex-end; gap: .1rem; align-items: center; }
.menu-toggle { justify-self: start; }
@media (min-width: 1040px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
}
.header-search, .header-account { display: none; }
@media (min-width: 720px) { .header-search, .header-account { display: inline-grid; } }

/* mobile nav (dialog) */
.nav-drawer { margin: 0; width: min(420px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; padding: 0; background: var(--ivory); color: var(--charcoal); inset: 0 auto 0 0; }
.nav-drawer::backdrop { background: rgba(37, 38, 36, .35); }
.nav-drawer[open] { animation: slide-in-left .5s var(--ease-out); }
.nav-drawer__inner { display: flex; flex-direction: column; height: 100%; padding: 1rem var(--gutter) 2rem; overflow-y: auto; }
.nav-drawer nav { display: grid; margin-top: 1.5rem; }
.nav-drawer nav a { font-family: var(--serif); font-size: 2rem; text-decoration: none; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.nav-drawer .xs-links { margin-top: auto; padding-top: 2rem; display: grid; gap: .6rem; font-size: var(--fs-sm); }
.nav-drawer form { display: flex; gap: .5rem; margin-top: 1rem; }

/* search overlay */
.search-dialog { margin: 0 auto auto; width: 100%; max-width: 100%; border: 0; padding: 0; background: var(--ivory); }
.search-dialog::backdrop { background: rgba(37, 38, 36, .4); }
.search-dialog form { display: flex; gap: 1rem; align-items: center; padding: 2rem var(--gutter); max-width: var(--max); margin: 0 auto; }
.search-dialog input { flex: 1; border: 0; border-bottom: 1px solid var(--charcoal); background: none; font-family: var(--serif); font-size: clamp(1.8rem, 1rem + 3vw, 3.25rem); padding: .3rem 0; border-radius: 0; min-width: 0; }
.search-dialog input:focus { outline: none; border-color: var(--olive); }

/* ---------- flash / toast ---------- */
.flash { border: 1px solid var(--line-strong); background: var(--paper); padding: .9rem 1.1rem; margin-bottom: 1.5rem; font-size: var(--fs-sm); }
.flash--error { border-color: var(--danger); color: var(--danger); }
.flash ul { margin: 0; padding-left: 1.1rem; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; visibility: hidden; transform: translate(-50%, calc(100% + 3rem)); z-index: 120; background: var(--charcoal); color: var(--ivory); padding: .9rem 1.4rem; font-size: var(--fs-sm); max-width: min(92vw, 520px); transition: transform .5s var(--ease-out); box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }
.toast.is-error { background: var(--danger); }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: var(--fs-xs); letter-spacing: .08em; color: var(--ink-2); padding-block: 1.25rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- media primitives ---------- */
.media { position: relative; overflow: hidden; background: var(--stone-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-1x1 { aspect-ratio: 1; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
[data-parallax] img { will-change: transform; transform: scale(1.12); }

/* ---------- product card ---------- */
.grid-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem clamp(.75rem, .4rem + 1.4vw, 1.75rem); }
@media (min-width: 900px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .grid-products--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone-2); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity .6s var(--ease); }
.card__media .img-alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__media img { transform: scale(1.045); }
  .card:hover .card__media .img-alt { opacity: 1; }
}
.card__link { position: absolute; inset: 0; z-index: 1; }
.card__tags { position: absolute; top: .75rem; left: .75rem; z-index: 2; display: flex; gap: .35rem; flex-wrap: wrap; pointer-events: none; }
.tag { background: var(--ivory); color: var(--charcoal); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .55rem; }
.tag--dark { background: var(--charcoal); color: var(--ivory); }
.card__wish { position: absolute; top: .4rem; right: .4rem; z-index: 3; background: color-mix(in srgb, var(--ivory) 80%, transparent); }
.card__quick { position: absolute; left: .75rem; right: .75rem; bottom: .75rem; z-index: 3; min-height: 44px; background: var(--ivory); border: 0; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; transform: translateY(calc(100% + 1rem)); transition: transform .5s var(--ease-out), background-color .3s, color .3s; }
.card__quick:hover { background: var(--charcoal); color: var(--ivory); }
.card:hover .card__quick, .card:focus-within .card__quick { transform: none; }
@media (hover: none) { .card__quick { display: none; } }
.card__body { padding-top: .9rem; display: grid; gap: .2rem; }
.card__row { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; }
.card__title { font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem); line-height: 1.15; }
.card__meta { font-size: var(--fs-xs); color: var(--ink-2); letter-spacing: .04em; }
.price { font-variant-numeric: tabular-nums; font-size: var(--fs-sm); white-space: nowrap; }
.price s { color: var(--grey); margin-left: .35rem; }
.stock { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--fs-xs); color: var(--ink-2); }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex: none; }
.stock--low_stock::before { background: #B4873A; }
.stock--out_of_stock::before { background: var(--grey); }
.wish-btn[aria-pressed="true"] svg path { fill: currentColor; }
@media (max-width: 520px) { .card__row { flex-direction: column; gap: .1rem; } }

/* ---------- horizontal rail ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 72vw); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.5rem; scrollbar-width: thin; scrollbar-color: var(--stone) transparent; overscroll-behavior-x: contain; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .rail { grid-auto-columns: minmax(280px, 40vw); } }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 3 * 1.5rem) / 4); gap: 1.5rem; } }
.rail-controls { display: flex; gap: .5rem; }
.rail-controls button { width: 48px; height: 48px; border: 1px solid var(--line-strong); background: none; display: grid; place-items: center; transition: background-color .3s, color .3s; }
.rail-controls button:hover { background: var(--charcoal); color: var(--ivory); }

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--ivory); overflow: hidden; background: var(--charcoal); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 21, 19, .45) 0%, rgba(20, 21, 19, 0) 28%, rgba(20, 21, 19, .08) 55%, rgba(20, 21, 19, .66) 100%); }
.hero__mask { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: none; grid-template-columns: repeat(4, 1fr); }
.gsap .hero__mask { display: grid; }
.hero__mask span { background: var(--ivory); transform-origin: top; }
.hero__content { position: relative; z-index: 3; padding-bottom: clamp(2.5rem, 2rem + 4vw, 6rem); padding-top: calc(var(--header-h) + 3rem); width: 100%; }
.hero__title { font-size: var(--fs-mega); line-height: .86; letter-spacing: -.03em; margin-bottom: 2rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: italic; }
.hero__foot { display: grid; gap: 1.75rem; align-items: end; }
@media (min-width: 900px) { .hero__foot { grid-template-columns: minmax(0, 1fr) auto; } }
.hero__copy { max-width: 36ch; font-size: var(--fs-lg); color: rgba(245, 243, 237, .9); margin: 0 0 1.75rem; }
.hero .eyebrow { color: rgba(245, 243, 237, .85); }
.hero__index { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 2.5rem); z-index: 3; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; opacity: .75; display: none; }
@media (min-width: 900px) { .hero__index { display: block; } }
.scroll-cue { display: inline-flex; gap: .75rem; align-items: center; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.scroll-cue i { width: 1px; height: 38px; background: currentColor; display: block; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.intro { display: grid; gap: var(--space-4); }
@media (min-width: 980px) { .intro { grid-template-columns: 5fr 7fr; align-items: start; } .intro__text { position: sticky; top: calc(var(--header-h) + 2rem); } }
.intro__figures { display: grid; grid-template-columns: 7fr 5fr; gap: 1rem; align-items: start; }
.intro__figures .media:last-child { margin-top: 30%; }
.statline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; }
.statline b { display: block; font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); line-height: 1; }
.statline span { font-size: var(--fs-xs); color: var(--ink-2); letter-spacing: .06em; }

.cats { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) {
  .cats { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem; }
  .cat:nth-child(1) { grid-column: 1 / span 7; grid-row: span 2; }
  .cat:nth-child(2), .cat:nth-child(3) { grid-column: 8 / span 5; }
  .cat:nth-child(4) { grid-column: 1 / span 4; }
  .cat:nth-child(5) { grid-column: 5 / span 4; }
  .cat:nth-child(6) { grid-column: 9 / span 4; }
  .cat:nth-child(1) .media { aspect-ratio: auto; height: 100%; }
  .cat .media { aspect-ratio: 4 / 3; }
}
.cat { position: relative; color: var(--ivory); text-decoration: none; display: block; }
.cat .media { aspect-ratio: 4 / 5; height: 100%; }
.cat .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 21, 19, .6)); }
.cat img { transition: transform 1.4s var(--ease-out); }
.cat:hover img { transform: scale(1.05); }
.cat__label { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.cat__label h3 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.75rem); }
.cat__label span { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; }
.cat__index { position: absolute; top: 1rem; left: 1.1rem; z-index: 2; font-size: var(--fs-xs); letter-spacing: .14em; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: var(--space-4); }
.section-head p { margin: 0; max-width: 42ch; color: var(--ink-2); }

.signature { background: var(--charcoal); color: var(--ivory); }
.signature .eyebrow, .signature .muted { color: var(--stone); }
.signature__grid { display: grid; gap: var(--space-4); }
@media (min-width: 980px) { .signature__grid { grid-template-columns: 6fr 5fr; align-items: start; } .signature__visual { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.signature__visual .media { aspect-ratio: 4 / 5; }
.signature__list { display: grid; margin-top: 2rem; }
.signature__item { display: grid; grid-template-columns: 84px 1fr auto; gap: 1.25rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid rgba(245, 243, 237, .16); text-decoration: none; }
.signature__item:first-child { border-top: 1px solid rgba(245, 243, 237, .16); }
.signature__item .media { aspect-ratio: 1; }
.signature__item h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); transition: transform .5s var(--ease); }
.signature__item:hover h3 { transform: translateX(6px); }
.signature .btn--ghost { --fg: var(--ivory); --bd: rgba(245, 243, 237, .4); }

.materials { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 640px) { .materials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .materials { grid-template-columns: repeat(5, 1fr); } }
.material { background: var(--ivory); padding: 1.5rem; display: grid; gap: 1rem; align-content: start; }
.material .media { aspect-ratio: 3 / 4; }
.material__n { font-size: var(--fs-xs); letter-spacing: .14em; color: var(--ink-2); }
.material h3 { font-size: var(--fs-h4); }
.material p { font-size: var(--fs-sm); color: var(--ink-2); margin: 0; }

.spotlight { position: relative; min-height: 92svh; display: grid; align-items: center; color: var(--ivory); overflow: hidden; padding-block: var(--space-5); }
.spotlight__bg { position: absolute; inset: 0; }
.spotlight__bg img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 21, 19, .74), rgba(20, 21, 19, .18) 70%); }
.spotlight__inner { position: relative; z-index: 1; display: grid; gap: 2rem; }
@media (min-width: 980px) { .spotlight__inner { grid-template-columns: 6fr 4fr; align-items: end; } }
.spotlight .eyebrow { color: var(--stone); }
.spotlight__card { background: var(--ivory); color: var(--charcoal); padding: 1.75rem; display: grid; gap: 1rem; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.5rem; font-size: var(--fs-sm); margin: 0; }
.spec dt { color: var(--ink-2); }
.spec dd { margin: 0; }

.journal-grid { display: grid; gap: 2.5rem 1.5rem; }
@media (min-width: 900px) { .journal-grid { grid-template-columns: repeat(3, 1fr); } }
.post { text-decoration: none; display: grid; gap: 1rem; align-content: start; }
.post .media { aspect-ratio: 4 / 3; }
.post img { transition: transform 1.2s var(--ease-out); }
.post:hover img { transform: scale(1.04); }
.post h3 { font-size: var(--fs-h4); }
.post__meta { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: flex; gap: 1rem; }

.final-cta { text-align: center; padding-block: var(--space-6); border-top: 1px solid var(--line); }
.final-cta .display { margin: 0 auto 2.5rem; max-width: 14ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: var(--stone); padding-top: var(--space-5); font-size: var(--fs-sm); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ivory); text-decoration: underline; }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: var(--space-4); border-bottom: 1px solid rgba(216, 211, 201, .18); }
@media (min-width: 640px) { .footer-top { grid-template-columns: repeat(3, 1fr); } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 5fr 2fr 2fr 2fr; } .footer-top > :first-child { grid-column: auto; } }
.footer-top h2 { font-size: var(--fs-h3); color: var(--ivory); margin-bottom: 1rem; }
.footer-top h3 { font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin-bottom: 1rem; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.newsletter { display: flex; border-bottom: 1px solid rgba(216, 211, 201, .4); max-width: 440px; margin-top: 1.25rem; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; color: var(--ivory); padding: .9rem 0; }
.newsletter input::placeholder { color: var(--grey); }
.newsletter input:focus { outline: none; }
.newsletter button { background: none; border: 0; color: var(--ivory); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; min-height: 44px; }
.footer-word { font-family: var(--serif); font-size: clamp(5rem, 2rem + 18vw, 22rem); line-height: .8; letter-spacing: .08em; color: rgba(216, 211, 201, .1); text-align: center; padding-top: 2rem; user-select: none; overflow: hidden; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; font-size: var(--fs-xs); letter-spacing: .04em; color: var(--grey); }

/* ==========================================================================
   SHOP / LISTING
   ========================================================================== */
.page-hero { padding-block: clamp(1.5rem, 1rem + 3vw, 4rem) clamp(1.5rem, 1rem + 2vw, 3rem); display: grid; gap: 2rem; }
@media (min-width: 980px) { .page-hero--media { grid-template-columns: 1fr 1fr; align-items: end; } }
.page-hero .media { aspect-ratio: 16 / 10; }
.page-hero h1 { font-size: var(--fs-h1); line-height: .92; }

.shop-layout { display: grid; gap: 1.5rem; padding-bottom: var(--space-6); }
@media (min-width: 1040px) { .shop-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 3.5rem; } }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 0; border-block: 1px solid var(--line); margin-bottom: 2rem; position: sticky; top: var(--header-h); background: var(--ivory); z-index: 5; }
.toolbar label { flex-wrap: nowrap; white-space: nowrap; }
.toolbar select { border: 0; background: none; font-size: var(--fs-sm); padding: .4rem .25rem; min-height: 44px; max-width: 60vw; }
.filters-toggle { display: inline-flex; gap: .5rem; align-items: center; background: none; border: 1px solid var(--line-strong); padding: .55rem 1rem; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; min-height: 44px; }
@media (min-width: 1040px) { .filters-toggle { display: none; } }
.filters { display: none; }
.filters.is-open { display: block; }
@media (min-width: 1040px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto; padding-right: .5rem; } }
.filter-group { border-bottom: 1px solid var(--line); padding: .75rem 0; }
.filter-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; min-height: 36px; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after { content: "+"; font-size: 1rem; line-height: 1; transition: transform .3s; }
.filter-group[open] summary::after { transform: rotate(45deg); }
.filter-group .opts { display: grid; gap: .2rem; padding-top: .6rem; }
.check { display: flex; gap: .7rem; align-items: center; font-size: var(--fs-sm); cursor: pointer; min-height: 36px; }
.check input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border: 1px solid var(--line-strong); margin: 0; display: grid; place-items: center; flex: none; background: var(--paper); }
.check input:checked { background: var(--charcoal); border-color: var(--charcoal); }
.check input:checked::after { content: ""; width: 8px; height: 4px; border: 1.5px solid var(--ivory); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check small { margin-left: auto; color: var(--grey); }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.price-inputs input { width: 100%; border: 1px solid var(--line-strong); background: var(--paper); padding: .55rem .6rem; font-size: var(--fs-sm); border-radius: var(--radius); min-height: 44px; }
.active-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip { display: inline-flex; gap: .4rem; align-items: center; border: 1px solid var(--line-strong); padding: .3rem .8rem; min-height: 32px; font-size: var(--fs-xs); text-decoration: none; border-radius: 999px; }
.chip:hover { border-color: var(--charcoal); }
.results { transition: opacity .35s var(--ease); }
.results.is-loading { opacity: .35; pointer-events: none; }
.empty { padding: 4rem 0; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.empty h2 { font-size: var(--fs-h3); }

.pagination { display: flex; justify-content: center; gap: .35rem; margin-top: 4rem; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 .75rem; border: 1px solid transparent; text-decoration: none; font-size: var(--fs-sm); }
.pagination a:hover { border-color: var(--line-strong); }
.pagination [aria-current="page"] { border-color: var(--charcoal); }
.pagination .is-disabled { opacity: .35; }

/* ==========================================================================
   PRODUCT
   ========================================================================== */
.pdp { display: grid; gap: clamp(2rem, 1rem + 3vw, 4.5rem); padding-bottom: var(--space-5); }
@media (min-width: 1000px) { .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.gallery { display: grid; gap: .75rem; min-width: 0; }
@media (min-width: 1000px) { .gallery { grid-template-columns: 76px minmax(0, 1fr); } }
.gallery__main { position: relative; aspect-ratio: 4 / 5; background: var(--stone-2); overflow: hidden; touch-action: pan-y; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .9s var(--ease-out); }
.gallery__main img.is-leaving { opacity: 0; transform: scale(1.03); }
.gallery__thumbs { display: flex; gap: .5rem; overflow-x: auto; order: 2; scrollbar-width: none; }
@media (min-width: 1000px) { .gallery__thumbs { flex-direction: column; order: 0; } }
.gallery__thumbs button { flex: none; width: 68px; aspect-ratio: 4 / 5; padding: 0; border: 1px solid transparent; background: var(--stone-2); opacity: .55; transition: opacity .3s, border-color .3s; }
@media (min-width: 1000px) { .gallery__thumbs button { width: 76px; } }
.gallery__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--charcoal); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav { position: absolute; bottom: 1rem; right: 1rem; display: flex; gap: .35rem; z-index: 2; }
.gallery__nav button { width: 44px; height: 44px; border: 0; background: var(--ivory); display: grid; place-items: center; }
.gallery__count { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; background: var(--ivory); font-size: var(--fs-xs); padding: .3rem .6rem; letter-spacing: .08em; }
.pdp__info { display: grid; gap: 1.5rem; min-width: 0; }
@media (min-width: 1000px) { .pdp__info { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.pdp__title { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4.25rem); line-height: .95; }
.pdp__price { font-size: var(--fs-lg); display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap; }
.pdp__price small { font-size: var(--fs-xs); color: var(--ink-2); letter-spacing: .04em; }
.demo-note { font-size: var(--fs-xs); color: var(--ink-2); border-left: 2px solid var(--olive); padding-left: .75rem; margin: 0; }
.option-label { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; margin-bottom: .6rem; display: flex; justify-content: space-between; gap: 1rem; }
.options { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.option span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--line-strong); font-size: var(--fs-sm); transition: border-color .25s, background-color .25s, color .25s; }
.option input:checked + span { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.option input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }
.option.is-unavailable span { color: var(--grey); text-decoration: line-through; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: .75rem; }
.qty { display: inline-flex; border: 1px solid var(--line-strong); min-height: 52px; }
.qty button { width: 44px; background: none; border: 0; font-size: 1.1rem; }
.qty input { width: 44px; text-align: center; border: 0; background: none; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { min-height: 40px; }
.qty--sm button { width: 36px; }
.qty--sm input { width: 36px; }
.pdp__meta { font-size: var(--fs-xs); color: var(--ink-2); display: flex; gap: .5rem 1.25rem; flex-wrap: wrap; letter-spacing: .04em; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 52px; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1rem; line-height: 1; transition: transform .3s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding-bottom: 1.25rem; color: var(--ink-2); font-size: var(--fs-sm); }
.story { display: grid; gap: var(--space-4); padding-block: var(--space-5); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .story { grid-template-columns: 5fr 7fr; align-items: center; } }
.reviews { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { border-top: 1px solid var(--line); padding-top: 1.25rem; font-size: var(--fs-sm); }
.stars { letter-spacing: .15em; color: var(--olive); }
.mobile-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--ivory); border-top: 1px solid var(--line); padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom)); display: flex; gap: 1rem; align-items: center; justify-content: space-between; transform: translateY(110%); transition: transform .45s var(--ease-out); }
.mobile-buy.is-visible { transform: none; }
.mobile-buy .btn { min-height: 46px; }
@media (min-width: 1000px) { .mobile-buy { display: none; } }

/* ---------- dialogs: quick view + cart drawer ---------- */
dialog { color: var(--charcoal); }
.qv { border: 0; padding: 0; width: min(1080px, calc(100vw - 2rem)); max-width: calc(100vw - 2rem); max-height: calc(100dvh - 2rem); background: var(--ivory); overflow: auto; }
.qv::backdrop { background: rgba(37, 38, 36, .45); }
.qv[open] { animation: rise .5s var(--ease-out); }
.qv__grid { display: grid; }
@media (min-width: 800px) { .qv__grid { grid-template-columns: 1fr 1fr; } }
.qv__media { aspect-ratio: 4 / 5; background: var(--stone-2); position: relative; }
@media (max-width: 799px) { .qv__media { aspect-ratio: 4 / 3; } }
.qv__media img { width: 100%; height: 100%; object-fit: cover; }
.qv__body { padding: clamp(1.5rem, 1rem + 2vw, 3rem); display: grid; gap: 1.25rem; align-content: start; }
.qv__close, .drawer__close { position: absolute; top: .75rem; right: .75rem; z-index: 2; background: var(--ivory); }
.qv__loading { padding: 4rem; text-align: center; }

.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(460px, 100vw); max-width: 100vw; border: 0; padding: 0; background: var(--ivory); inset: 0 0 0 auto; }
.drawer::backdrop { background: rgba(37, 38, 36, .4); }
.drawer[open] { animation: slide-in .55s var(--ease-out); }
.drawer__inner { height: 100%; display: flex; flex-direction: column; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: var(--fs-h4); }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 1.5rem; overscroll-behavior: contain; }
.drawer__foot { border-top: 1px solid var(--line); padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom)); display: grid; gap: .75rem; }
.mini-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.mini-line .media { aspect-ratio: 4 / 5; }
.mini-line h3 { font-size: 1.15rem; }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes slide-in-left { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   CART / CHECKOUT / ACCOUNT / FORMS
   ========================================================================== */
.cart-layout, .checkout-layout { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); padding-bottom: var(--space-6); }
@media (min-width: 1000px) { .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 7fr) minmax(320px, 4fr); align-items: start; } }
.line { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1rem 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .line { grid-template-columns: 132px minmax(0, 1fr) auto; } }
.line .media { aspect-ratio: 4 / 5; }
.line h3 { font-size: 1.45rem; }
.line__controls { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: .75rem; }
.line__total { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 639px) { .line__total { grid-column: 2; text-align: left; } }
.line select { border: 1px solid var(--line-strong); background: var(--paper); padding: .5rem .6rem; font-size: var(--fs-sm); min-height: 44px; max-width: 100%; }
.summary { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.25rem, 1rem + 1vw, 2rem); display: grid; gap: 1rem; min-width: 0; }
@media (min-width: 1000px) { .summary--sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.summary h2 { font-size: var(--fs-h4); }
.totals { display: grid; gap: .55rem; margin: 0; font-size: var(--fs-sm); }
.totals div { display: flex; justify-content: space-between; gap: 1rem; }
.totals dt { margin: 0; }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.totals .is-sub { color: var(--ink-2); font-size: var(--fs-xs); padding-left: .75rem; }
.totals .grand { border-top: 1px solid var(--line); padding-top: .9rem; margin-top: .3rem; font-size: var(--fs-lg); }
.coupon-form { display: flex; gap: .5rem; }
.coupon-form input { flex: 1; min-width: 0; }
.sum-items { display: grid; gap: .75rem; font-size: var(--fs-sm); }
.sum-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .75rem; align-items: center; }
.sum-item .media { aspect-ratio: 4 / 5; }

.field { display: grid; gap: .4rem; min-width: 0; }
.field label, .label { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 50px; border: 1px solid var(--line-strong); background: var(--paper); padding: .75rem .9rem;
  border-radius: var(--radius); font-size: 1rem; transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(89, 99, 78, .15); }
.field .error, .error-text { color: var(--danger); font-size: var(--fs-xs); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-check { display: flex; gap: .6rem; align-items: center; font-size: var(--fs-sm); }
.field-check input { accent-color: var(--charcoal); width: 18px; height: 18px; }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.steps { list-style: none; display: flex; gap: .25rem; padding: 0; margin: 0 0 1rem; counter-reset: step; overflow-x: auto; }
.steps li { flex: 1; min-width: 84px; border-top: 2px solid var(--line); padding-top: .6rem; font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); counter-increment: step; }
.steps li::before { content: "0" counter(step) " "; }
.steps li.is-active, .steps li.is-done { border-color: var(--charcoal); color: var(--charcoal); }
.step { border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.step__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.step__head h2 { font-size: var(--fs-h4); }
.step__summary { font-size: var(--fs-sm); color: var(--ink-2); margin-top: .5rem; }
.step__body { padding-top: 1.5rem; }
.js .step:not(.is-active) .step__body { display: none; }
.step__edit { display: none; }
.js .step.is-done .step__edit { display: inline; }
.step__summary { display: none; }
.js .step.is-done:not(.is-active) .step__summary { display: block; }
.ship-option { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; border: 1px solid var(--line-strong); padding: 1rem 1.1rem; cursor: pointer; transition: border-color .25s, background-color .25s; }
.ship-option + .ship-option { margin-top: .6rem; }
.ship-option:has(input:checked) { border-color: var(--charcoal); background: var(--paper); }
.ship-option input { accent-color: var(--charcoal); width: 18px; height: 18px; }
.ship-option.is-unavailable { opacity: .45; }

.sandbox-banner { border: 1px dashed var(--olive); background: rgba(89, 99, 78, .08); padding: 1rem 1.25rem; font-size: var(--fs-sm); }
.status-pill { display: inline-block; padding: .25rem .65rem; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line-strong); border-radius: 999px; white-space: nowrap; }
.status-pill--paid, .status-pill--delivered, .status-pill--confirmed, .status-pill--shipped { border-color: var(--ok); color: var(--ok); }
.status-pill--failed, .status-pill--cancelled, .status-pill--refunded { border-color: var(--danger); color: var(--danger); }

.account-layout { display: grid; gap: 2rem; padding-bottom: var(--space-6); }
@media (min-width: 960px) { .account-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 4rem; } }
.account-nav { display: flex; gap: .5rem 1.25rem; flex-wrap: wrap; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; }
@media (min-width: 960px) { .account-nav { flex-direction: column; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.account-nav a, .account-nav button { text-decoration: none; padding-block: .35rem; background: none; border: 0; padding-inline: 0; text-align: left; letter-spacing: inherit; text-transform: inherit; font-size: inherit; }
.account-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .4em; }
.panel { border: 1px solid var(--line); background: var(--paper); padding: clamp(1.25rem, 1rem + 1vw, 2rem); min-width: 0; }
.panel + .panel { margin-top: 1.5rem; }
.panel h2 { font-size: var(--fs-h4); margin-bottom: 1.25rem; }
.cards-2 { display: grid; gap: 1rem; }
@media (min-width: 700px) { .cards-2 { grid-template-columns: 1fr 1fr; } }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th { text-align: left; font-weight: 500; font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: .75rem .5rem; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.table td { padding: .9rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table .r { text-align: right; }
.auth-wrap { max-width: 480px; margin: 0 auto; padding-block: var(--space-5) var(--space-6); }
.auth-wrap h1 { font-size: var(--fs-h2); margin-bottom: .75rem; }
/* auth shell */
.auth-shell { display: grid; gap: 3rem; padding-block: clamp(1.5rem, 1rem + 3vw, 4rem) var(--space-6); align-items: start; }
@media (min-width: 1000px) { .auth-shell { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(3rem, 2rem + 4vw, 7rem); } }
.auth-panel { width: 100%; max-width: 480px; margin-inline: auto; }
@media (min-width: 1000px) { .auth-panel { margin-inline: 0; } }
.auth-aside { display: none; position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (min-width: 1000px) { .auth-aside { display: block; } }
.auth-aside .media { aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h) - 6rem); width: 100%; }
.auth-aside blockquote { margin: 1.25rem 0 0; }
.auth-aside blockquote p { font-family: var(--serif); font-size: var(--fs-h4); margin: 0 0 .35rem; }
.auth-aside blockquote span { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.auth-switch a { text-align: center; padding: .9rem .5rem; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; min-height: 44px; }
.auth-switch a[aria-current="page"] { color: var(--charcoal); border-color: var(--charcoal); }
.auth-head { margin-bottom: 1.75rem; }
.auth-head h1 { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.5rem); margin-bottom: .6rem; }
.auth-head p.muted { margin: 0; }
.auth-form { gap: 1.15rem; }
.field__label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.field__label-row a { text-underline-offset: .25em; }
.field__hint { margin: 0; font-size: var(--fs-xs); color: var(--ink-2); display: flex; gap: .45rem; align-items: center; }
.field__hint--warn { color: #8a5a12; }
.rule-dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--grey); flex: none; transition: background-color .2s, border-color .2s; }
.is-met .rule-dot { background: var(--ok); border-color: var(--ok); }
.is-met { color: var(--ok); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 4.75rem; }
.pw-toggle { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); min-height: 40px; min-width: 64px; border: 0; background: none; font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); border-radius: var(--radius); }
.pw-toggle:hover { color: var(--charcoal); background: rgba(37, 38, 36, .05); }
.auth-form .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.auth-benefits { list-style: none; padding: 1.25rem 0 0; margin: 2rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .5rem; font-size: var(--fs-sm); color: var(--ink-2); }
.auth-benefits li { display: flex; gap: .6rem; align-items: baseline; }
.auth-benefits li::before { content: "—"; color: var(--olive); }
.auth-foot { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .35rem; }
.auth-foot p { margin: 0; }
@media (max-width: 640px) { .auth-form input { font-size: 1.05rem; } }

/* alternative sign-in options */
.auth-alt { display: grid; gap: 1rem; margin-top: 1.5rem; }
.auth-alt__social { display: grid; gap: .6rem; }
.btn--social { text-transform: none; letter-spacing: .02em; font-size: var(--fs-sm); justify-content: center; }
.btn--social svg { flex: none; }
.btn--social:hover svg path { fill: currentColor; }
.auth-alt__divider { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.auth-alt__divider::before, .auth-alt__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-alt__link { border: 1px solid var(--line); padding: 0 1rem; background: var(--paper); }
.auth-alt__link summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; font-size: var(--fs-sm); list-style: none; }
.auth-alt__link summary::-webkit-details-marker { display: none; }
.auth-alt__link summary::after { content: "+"; margin-left: auto; transition: transform .3s; }
.auth-alt__link[open] summary::after { transform: rotate(45deg); }
.auth-alt__link form { padding-bottom: 1rem; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .25rem; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.timeline li { border-top: 2px solid var(--line); padding-top: .5rem; color: var(--grey); }
.timeline li.is-done { border-color: var(--olive); color: var(--charcoal); }

/* demo gateway */
.gateway { max-width: 520px; margin: var(--space-5) auto; border: 1px solid var(--line-strong); background: var(--paper); }
.gateway__head { background: var(--charcoal); color: var(--ivory); padding: 1rem 1.5rem; display: flex; justify-content: space-between; gap: 1rem; font-size: var(--fs-sm); }
.gateway__body { padding: 1.5rem; display: grid; gap: 1rem; }

/* ---------- motion (progressive: only hidden when JS + motion are allowed) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(28px); }
.motion [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); }
/* clip the child, not the observed element: IntersectionObserver ignores fully clipped targets */
.motion [data-reveal-img] > img { clip-path: inset(0 0 100% 0); }
.motion [data-reveal-img].is-in > img { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal-img], [data-reveal-img] > img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [data-parallax] img { transform: none !important; }
  .hero__mask { display: none; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .announce, .no-print { display: none !important; }
  body { background: #fff; }
}

/* delivery */
.stock--made_to_order::before { background: var(--olive); }
.delivery { border-top: 1px solid var(--line, rgba(0,0,0,.12)); padding-top: 1.25rem; display: grid; gap: .6rem; }
.delivery__title { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 0; font-weight: 500; }
.delivery__form { display: flex; gap: .5rem; align-items: stretch; }
.delivery__form .input { flex: 1; min-width: 0; }
.delivery__result { margin: 0; font-size: var(--fs-sm); min-height: 1.25em; }
.delivery__result.is-ok { color: var(--olive); }
.delivery__result.is-no { color: #9A3B2E; }
.delivery-note { color: var(--olive); }


/* --------------------------------------------------------------------------
   Dropdowns (<select>) — FORME palette for the closed control and its list.
   Chromium 135+ gets a fully styled list via appearance: base-select; other
   browsers keep the native list but with the same chevron, colours and type.
   -------------------------------------------------------------------------- */
select {
  -webkit-appearance: none; appearance: none;
  color-scheme: light;
  color: var(--charcoal);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23252624' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 12px 8px;
  padding-right: 2.5rem !important;
  font-family: var(--sans);
  cursor: pointer;
}
.toolbar select { background-color: transparent; background-position: right .25rem center; padding-right: 1.6rem !important; }
select:disabled { color: var(--grey); cursor: not-allowed; }
select option { background-color: var(--paper); color: var(--charcoal); font-family: var(--sans); }
select option:checked { background-color: var(--stone-2); color: var(--charcoal); }
select option:disabled { color: var(--grey); }

@supports (appearance: base-select) {
  select, ::picker(select) { appearance: base-select; }
  select { background-image: none; display: inline-flex; align-items: center; justify-content: space-between; gap: .75rem; }
  .field select { display: flex; }
  select::picker-icon {
    content: ""; width: 12px; height: 8px; flex: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23252624' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
    margin-right: -1.6rem; transition: rotate .25s var(--ease-out, ease);
  }
  .toolbar select::picker-icon { margin-right: -1.35rem; }
  select:open::picker-icon { rotate: 180deg; }
  ::picker(select) {
    background: var(--paper); color: var(--charcoal);
    border: 1px solid var(--line-strong); border-radius: var(--radius, 2px);
    box-shadow: 0 18px 40px -18px rgba(37, 38, 36, .35);
    padding: .35rem 0; margin-block: 4px; max-height: min(60vh, 22rem); overflow-y: auto;
  }
  select option {
    padding: .7rem 1rem; min-height: 44px; display: flex; align-items: center; gap: .6rem;
    font-size: var(--fs-sm); background: transparent; color: var(--charcoal);
    border-left: 2px solid transparent; transition: background-color .15s, border-color .15s;
  }
  select option::checkmark { content: ""; display: none; }
  select option:hover, select option:focus-visible { background: var(--stone-2); outline: none; }
  select option:checked { background: transparent; border-left-color: var(--olive); color: var(--olive-dark); font-weight: 500; }
  select option:checked:hover, select option:checked:focus-visible { background: var(--stone-2); }
  select option:disabled { color: var(--grey); background: transparent; }
}

/* ==========================================================================
   MARKETPLACE PATTERNS — ratings, deals, offers, buy now, search suggestions
   (familiar Amazon / Flipkart conventions, drawn in the FORME palette)
   ========================================================================== */
.rating-pill { display: inline-flex; align-items: center; gap: .2rem; background: var(--olive); color: var(--ivory); font-size: 11px; font-weight: 600; line-height: 1; padding: .28rem .45rem; border-radius: 3px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.card__rating { display: flex; align-items: center; gap: .4rem; margin-top: .35rem; }
.card__rating-count { font-size: var(--fs-xs); color: var(--ink-2); }
.tag--deal { background: var(--olive); color: var(--ivory); }

.pdp__rating { display: inline-flex; align-items: center; gap: .6rem; margin-top: .75rem; font-size: var(--fs-sm); color: var(--ink-2); text-decoration: none; }
.pdp__rating:hover span:not(.rating-pill) { text-decoration: underline; text-underline-offset: .25em; }
.deal-pct { color: var(--olive-dark); font-weight: 500; font-size: var(--fs-lg); }
.mrp-line { margin: .35rem 0 0; font-size: var(--fs-sm); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: .35rem .75rem; align-items: baseline; }
.mrp-line s { color: var(--grey); }
.mrp-line__save { color: var(--olive-dark); font-weight: 500; }
.btn--buy-now { margin-top: .75rem; }
.btn--buy-now:not(:disabled) { --bg: var(--olive); --fg: var(--ivory); --bd: var(--olive); }
.btn--buy-now:not(:disabled)::after { background: var(--olive-dark); }

.offers { border: 1px solid var(--line); background: var(--paper); padding: 1rem 1.1rem; display: grid; gap: .75rem; }
.offers__title { font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; margin: 0; }
.offers__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.offer { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; font-size: var(--fs-sm); }
.offer__icon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--stone-2); color: var(--olive-dark); font-size: 12px; font-weight: 600; }
.offer__text strong { font-weight: 500; }
.offer__text .xs { display: block; margin-top: .15rem; }
.offer__code { border: 1px dashed var(--olive); background: none; color: var(--olive-dark); font: 600 11px/1 var(--sans); letter-spacing: .12em; padding: .55rem .65rem; min-height: 36px; cursor: copy; transition: background-color .2s, color .2s; }
.offer__code:hover, .offer__code.is-copied { background: var(--olive); color: var(--ivory); border-style: solid; }

.rating-summary { display: grid; gap: 1.5rem 3rem; align-items: center; padding: 1.25rem 0 2rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
@media (min-width: 700px) { .rating-summary { grid-template-columns: auto minmax(0, 420px); } }
.rating-summary__score { display: grid; gap: .25rem; }
.rating-summary__big { font-family: var(--serif); font-size: clamp(2.8rem, 2rem + 2vw, 3.6rem); line-height: 1; }
.rating-summary__big span { color: var(--olive); font-size: .55em; vertical-align: .35em; }
.rating-bars { margin: 0; display: grid; gap: .45rem; }
.rating-bars__row { display: grid; grid-template-columns: 2.4rem 1fr; align-items: center; gap: .75rem; font-size: var(--fs-xs); }
.rating-bars dt { color: var(--ink-2); }
.rating-bars dd { margin: 0; display: grid; grid-template-columns: 1fr 2.5rem; gap: .75rem; align-items: center; }
.rating-bars__track { height: 6px; background: var(--stone-2); border-radius: 3px; overflow: hidden; }
.rating-bars__fill { display: block; height: 100%; background: var(--olive); border-radius: 3px; }
.rating-bars__fill--2 { background: var(--grey); }
.rating-bars__fill--1 { background: var(--danger); }
.rating-bars__n { color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.verified-badge { display: inline-block; margin-left: .35rem; font-size: var(--fs-xs); color: var(--olive-dark); font-weight: 500; }

.save-text { color: var(--olive-dark); font-weight: 500; }
.you-save { margin: 0; padding: .7rem .9rem; background: var(--stone-2); color: var(--olive-dark); font-size: var(--fs-sm); border-left: 2px solid var(--olive); }

/* search suggestions */
.suggest { max-width: var(--max); margin: -1rem auto 0; padding: 0 var(--gutter) 1.5rem; display: grid; max-height: min(60vh, 520px); overflow-y: auto; overscroll-behavior: contain; }
.suggest__item { display: grid; grid-template-columns: 48px 1fr auto; gap: 1rem; align-items: center; padding: .6rem .5rem; text-decoration: none; border-bottom: 1px solid var(--line); transition: background-color .15s; }
.suggest__item img { width: 48px; height: 60px; object-fit: cover; background: var(--stone-2); }
.suggest__item--cat { grid-template-columns: 1fr; padding-block: .8rem; }
.suggest__item--all { grid-template-columns: 1fr; font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--olive-dark); border-bottom: 0; padding-block: 1rem; }
.suggest__item:hover, .suggest__item[aria-selected="true"] { background: var(--stone-2); }
.suggest__main { display: grid; gap: .15rem; min-width: 0; }
.suggest__name { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; }
.suggest__name mark { background: none; color: var(--olive-dark); text-decoration: underline; text-decoration-color: var(--olive); text-underline-offset: .2em; }
.suggest__meta { font-size: var(--fs-xs); color: var(--ink-2); }
.suggest__price { font-size: var(--fs-sm); white-space: nowrap; }
.suggest__empty { margin: 0; padding: .75rem .5rem; font-size: var(--fs-sm); color: var(--ink-2); }
.suggest[aria-busy="true"] { opacity: .6; }
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none; appearance: none; width: 16px; height: 16px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 3l10 10M13 3 3 13' stroke='%23252624' stroke-width='1.3'/%3E%3C/svg%3E") center / 14px no-repeat;
}
