/* Hollis Ware static site. Adapted from theme/assets/ll-theme.css, ll-product.css, ll-cart.css. */
:root {
  --bone: #F4EFE7; --ink: #1F1B17; --oxide: #9A3B22; --oxide-deep: #84311B; --stone: #EBE4D8; --paper: #FBF8F3;
  --muted: #5E554C;
  --hair: rgba(31, 27, 23, 0.14); --hair-strong: rgba(31, 27, 23, 0.28);
  --out: cubic-bezier(0.16, 1, 0.3, 1); --wipe-ease: cubic-bezier(0.77, 0, 0.18, 1); --drawer-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(64px, 9vw, 136px);
  --radius: 2px;
  --header-h: 72px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bone); color: var(--ink);
  font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--oxide); outline-offset: 3px; }
main:focus { outline: none; }
.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 { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bone); padding: 10px 16px; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 22px; height: 22px; flex: none; }
.scheme-stone { background: var(--stone); }
.scheme-paper { background: var(--paper); }
.scheme-bone { background: var(--bone); }

/* ---------- Type ---------- */
.eyebrow { font: 500 0.72rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.h1, .h2, .h3, .hero__h, .product__title, .logo { font-family: var(--display); font-weight: 350; font-optical-sizing: auto; }
.h1 { font-size: clamp(2.75rem, 6.2vw, 5.75rem); line-height: 0.98; letter-spacing: -0.03em; }
.h2 { font-size: clamp(2.2rem, 4.3vw, 3.9rem); line-height: 1.02; letter-spacing: -0.025em; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 14px; }
.h1 em, .h2 em, .h3 em, .hero__h em, .product__title em { font-weight: 300; }
.price { font-variant-numeric: tabular-nums; display: inline-flex; gap: 10px; align-items: baseline; }
.price__now--sale { color: var(--oxide); }
.price__was { color: var(--muted); font-size: 0.9em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px;
  border: 1px solid transparent; border-radius: var(--radius); text-decoration: none;
  font: 500 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  transition: background-color 240ms var(--out), color 240ms var(--out), border-color 240ms var(--out), transform 120ms ease-out;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn--primary { background: var(--oxide); color: var(--paper); }
.btn--primary:hover:not(:disabled) { background: var(--oxide-deep); }
.btn--primary:disabled { background: transparent; color: var(--muted); border-color: var(--hair-strong); cursor: not-allowed; }
.btn--light { background: var(--bone); color: var(--ink); }
.btn--light:hover { background: var(--paper); }
.btn--ghost-light { border-color: rgba(244, 239, 231, 0.55); color: var(--bone); }
.btn--ghost-light:hover { background: rgba(244, 239, 231, 0.12); border-color: var(--bone); }
.btn--outline { border-color: var(--hair-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); }
.btn--block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; border-radius: var(--radius); position: relative; transition: transform 120ms ease-out; }
.icon-btn:active { transform: scale(0.94); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 500 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--hair-strong); transition: border-color 240ms var(--out); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform 400ms var(--out); }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow:hover .icon { transform: translateX(4px); }
.input { min-height: 52px; padding: 0 18px; border: 1px solid var(--hair-strong); border-radius: var(--radius); background: var(--paper); width: 100%; }
.input:focus { border-color: var(--ink); outline: none; }
.input:focus-visible { outline: 2px solid var(--oxide); outline-offset: 2px; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: var(--bone); height: 38px; overflow: hidden; }
.announce__track { position: relative; height: 100%; max-width: 1400px; margin: 0 auto; }
.announce__msg { position: absolute; inset: 0; display: grid; place-items: center; font: 500 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity 600ms var(--out), transform 800ms var(--out); }
.announce__msg.is-on { opacity: 1; transform: none; }
.announce__msg.is-off { opacity: 0; transform: translateY(-8px); }
.header { position: sticky; top: 0; z-index: 40; background: var(--bone); border-bottom: 1px solid transparent; transition: border-color 300ms var(--out), background-color 300ms var(--out); }
.header.is-scrolled { border-color: var(--hair); background: rgba(244, 239, 231, 0.94); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
.header__inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.header__nav ul { display: flex; gap: 30px; }
.header__nav a { font: 500 0.74rem/1 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; padding: 8px 0; position: relative; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 500ms var(--out); }
.header__nav a:hover::after, .header__nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.header__menu { display: none; margin-left: -10px; }
.logo { font-size: 1.7rem; letter-spacing: -0.02em; text-decoration: none; line-height: 1; white-space: nowrap; font-weight: 400; }
.logo--sm { font-size: 1.4rem; }
.logo--lg { font-size: 2.2rem; display: inline-block; margin-bottom: 16px; }
.header__actions { justify-self: end; margin-right: -10px; }
.cart-btn__count { position: absolute; top: 6px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--oxide); color: var(--paper); font: 600 0.66rem/18px var(--sans); text-align: center; font-variant-numeric: tabular-nums; }
.cart-btn__count.is-bump { animation: bump 420ms var(--out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.3); } 100% { transform: scale(1); } }
@media (max-width: 989px) {
  :root { --header-h: 60px; }
  .header__nav { display: none; }
  .header__menu { display: inline-grid; justify-self: start; }
  .logo { font-size: 1.45rem; }
}

/* ---------- Drawers (menu + cart) ---------- */
[data-drawer] { position: fixed; inset: 0; z-index: 60; }
[data-drawer][hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(31, 27, 23, 0.42); opacity: 0; transition: opacity 280ms var(--drawer-ease); }
.drawer__panel { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; background: var(--paper); box-shadow: 0 0 60px rgba(31, 27, 23, 0.12); transition: transform 280ms var(--drawer-ease); outline: none; }
.menu-drawer__panel { left: 0; width: min(88vw, 380px); transform: translateX(-100%); padding: 0 24px 32px; }
.cart-drawer__panel { right: 0; width: min(100vw, 440px); transform: translateX(100%); }
[data-drawer].is-open .drawer__scrim { opacity: 1; }
[data-drawer].is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 68px; border-bottom: 1px solid var(--hair); }
.cart-drawer .drawer__head { padding: 0 14px 0 24px; }
.menu-drawer__links { padding: 20px 0; }
.menu-drawer__links a { display: block; padding: 14px 0; font: 350 2rem/1.1 var(--display); letter-spacing: -0.02em; text-decoration: none; border-bottom: 1px solid var(--hair); opacity: 0; transform: translateX(-12px); transition: opacity 400ms var(--out), transform 600ms var(--out); }
.menu-drawer.is-open .menu-drawer__links a { opacity: 1; transform: none; }
.menu-drawer.is-open li:nth-child(2) a { transition-delay: 50ms; }
.menu-drawer.is-open li:nth-child(3) a { transition-delay: 100ms; }
.menu-drawer.is-open li:nth-child(4) a { transition-delay: 150ms; }
.menu-drawer__note { margin-top: auto; color: var(--muted); font-size: 0.9rem; }
html.is-locked { overflow: hidden; }

/* Cart drawer */
.cart-drawer__title { font: 400 1.5rem/1 var(--display); letter-spacing: -0.015em; }
.cart-drawer__title span { color: var(--muted); font: 400 0.95rem var(--sans); font-variant-numeric: tabular-nums; }
.cart-drawer__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ship { padding: 18px 24px 20px; border-bottom: 1px solid var(--hair); }
.ship__text { font-size: 0.88rem; margin-bottom: 10px; }
.ship__text strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.ship__bar { height: 3px; background: var(--stone); border-radius: 2px; overflow: hidden; }
.ship__fill { height: 100%; background: var(--oxide); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 600ms var(--out); }
.cart-lines { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--hair); animation: lineIn 500ms var(--out) both; }
@keyframes lineIn { from { opacity: 0; transform: translateY(8px); } }
.line__img { width: 76px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); border-radius: var(--radius); }
.line__title { font: 400 1.08rem/1.2 var(--display); text-decoration: none; display: block; margin-bottom: 4px; }
.line__variant { color: var(--muted); font-size: 0.82rem; }
.line__price { font-variant-numeric: tabular-nums; font-size: 0.92rem; text-align: right; }
.line__controls { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.line__remove { border: 0; background: none; padding: 6px 0; font-size: 0.78rem; color: var(--muted); text-decoration: underline; text-underline-offset: 0.25em; }
.line__remove:hover { color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--hair-strong); border-radius: var(--radius); height: 52px; }
.qty--sm { height: 36px; }
.qty__btn { width: 44px; height: 100%; display: grid; place-items: center; border: 0; background: none; transition: transform 120ms ease-out; }
.qty--sm .qty__btn { width: 34px; }
.qty__btn .icon { width: 16px; height: 16px; }
.qty__btn:active { transform: scale(0.9); }
.qty__input, .qty__val { width: 36px; text-align: center; border: 0; background: none; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty__val { font-size: 0.9rem; }
.upsell { margin: 20px 0 8px; padding: 14px; background: var(--bone); border-radius: var(--radius); display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; animation: lineIn 500ms var(--out) both 120ms; }
.upsell img { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.upsell__k { font: 500 0.66rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.upsell__t { font: 400 1rem/1.25 var(--display); }
.upsell__p { font-size: 0.84rem; font-variant-numeric: tabular-nums; }
.upsell .btn { min-height: 38px; padding: 0 14px; font-size: 0.68rem; }
.cart-note { padding: 12px 0 20px; }
.cart-note summary { cursor: pointer; font-size: 0.86rem; list-style: none; text-decoration: underline; text-underline-offset: 0.25em; padding: 6px 0; }
.cart-note summary::-webkit-details-marker { display: none; }
.cart-note textarea { width: 100%; margin-top: 10px; min-height: 84px; padding: 12px 14px; border: 1px solid var(--hair-strong); border-radius: var(--radius); background: var(--paper); resize: vertical; }
.cart-foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); background: var(--paper); }
.cart-foot__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.cart-foot__row span:first-child { font: 500 0.74rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.cart-foot__sub { font: 400 1.4rem/1 var(--display); font-variant-numeric: tabular-nums; }
.cart-foot__note { font-size: 0.8rem; color: var(--muted); margin-bottom: 16px; }
.cart-empty { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 28px 24px calc(28px + env(safe-area-inset-bottom)); }
.cart-empty__top { display: grid; justify-items: center; text-align: center; gap: 18px; padding: 8px 0 30px; border-bottom: 1px solid var(--hair); }
.cart-empty__top p { font: 350 1.9rem/1.1 var(--display); letter-spacing: -0.02em; }
.cart-empty__top p em { font-weight: 300; }
.cart-sugg__k { margin: 26px 0 4px; font: 500 0.7rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cart-sugg li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--hair); animation: lineIn 500ms var(--out) both calc(var(--k, 0) * 70ms + 120ms); }
.cart-sugg li:last-child { border-bottom: 0; }
.cart-sugg img { width: 64px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--stone); display: block; }
.cart-sugg__t { display: block; font: 400 1rem/1.25 var(--display); }
.cart-sugg__v { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.cart-sugg__p { display: block; font-size: 0.86rem; font-variant-numeric: tabular-nums; margin-top: 4px; }
.cart-sugg .btn { min-height: 38px; padding: 0 16px; font-size: 0.68rem; }
@media (prefers-reduced-motion: reduce) { .cart-sugg li { animation: none; } }

.demo-dialog { border: 0; border-radius: var(--radius); padding: 36px 32px 28px; max-width: min(420px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(31, 27, 23, 0.25); }
.demo-dialog::backdrop { background: rgba(31, 27, 23, 0.5); }
.demo-dialog p:not(.eyebrow) { color: var(--muted); margin-bottom: 24px; }
.demo-dialog[open] { animation: dlg 360ms var(--out); }
@keyframes dlg { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* Hero */
.hero { position: relative; height: min(92svh, 980px); min-height: 560px; overflow: hidden; color: var(--bone); background: var(--ink); isolation: isolate; }
.hero__media { position: absolute; inset: -6% 0 0; will-change: transform; }
.hero__settle, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 60%; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,27,23,0.28) 0%, rgba(31,27,23,0) 32%, rgba(31,27,23,0.18) 55%, rgba(31,27,23,0.66) 100%); }
.hero__content { position: absolute; inset: auto 0 0; padding-bottom: clamp(48px, 8vw, 104px); }
.hero__eyebrow { color: rgba(244, 239, 231, 0.86); }
.hero__h { font-size: clamp(3.3rem, 8.4vw, 8.4rem); line-height: 0.94; letter-spacing: -0.035em; max-width: 11ch; margin-bottom: 26px; }
.hero__text { max-width: 30rem; font-size: 1.06rem; color: rgba(244, 239, 231, 0.88); margin-bottom: 34px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (min-width: 900px) {
  .hero__img { object-position: 78% 60%; }
  .hero__text { max-width: 23rem; }
  .hero__scrim { background: linear-gradient(90deg, rgba(31,27,23,0.5) 0%, rgba(31,27,23,0.12) 48%, rgba(31,27,23,0) 70%), linear-gradient(180deg, rgba(31,27,23,0.2) 0%, rgba(31,27,23,0) 40%, rgba(31,27,23,0.45) 100%); }
}
.hero__note { position: absolute; right: var(--gutter); bottom: clamp(48px, 8vw, 104px); display: flex; align-items: center; gap: 16px; font: 500 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244, 239, 231, 0.86); }
.hero__note-line { width: 64px; height: 1px; background: currentColor; transform-origin: left; }
@media (max-width: 749px) {
  .hero { height: min(88svh, 760px); }
  .hero__note { display: none; }
  .hero__ctas .btn { flex: 1 1 auto; padding: 0 18px; }
}
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; padding-right: 0.04em; }
.words .wi { display: inline-block; }

/* Product card grid */
.grid { display: grid; gap: clamp(28px, 3vw, 40px) clamp(14px, 2vw, 28px); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 989px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
.card__link { display: block; text-decoration: none; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); border-radius: var(--radius); }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out), opacity 600ms var(--out); }
.card__img--alt { opacity: 0; }
@media (hover: hover) and (min-width: 750px) {
  .card__link:hover .card__img { transform: scale(1.035); }
  .card__link:hover .card__img--alt { opacity: 1; }
}
.card__info { display: block; padding-top: 16px; }
.card__title { display: block; font: 400 1.18rem/1.2 var(--display); letter-spacing: -0.01em; margin-bottom: 6px; }
.card__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); }
.card__dots { display: inline-flex; gap: 5px; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(31, 27, 23, 0.18); }
.badge { position: absolute; top: 12px; left: 12px; padding: 6px 9px; border-radius: var(--radius); font: 500 0.64rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.badge--ink { background: var(--ink); color: var(--bone); }
.badge--oxide { background: var(--oxide); color: var(--paper); }

/* Benefits */
.benefits__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.benefit { position: relative; padding-top: 28px; }
.benefit__line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--hair-strong); transform-origin: left; }
.benefit__icon { width: 28px; height: 28px; color: var(--oxide); margin-bottom: 22px; }
.benefit__title { font: 400 1.3rem/1.2 var(--display); letter-spacing: -0.01em; margin-bottom: 10px; }
.benefit__text { color: var(--muted); font-size: 0.94rem; max-width: 28ch; }
@media (max-width: 989px) { .benefits__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .benefits__list { grid-template-columns: 1fr; gap: 32px; } }

/* Brand story */
.story__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 8vw, 128px); align-items: center; }
.story__media { position: relative; padding-bottom: 12%; padding-right: 14%; }
.story__frame { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.story__img { width: 100%; height: 100%; object-fit: cover; }
.story__inset { position: absolute; right: 0; bottom: 0; width: 38%; will-change: transform; }
.story__inset-frame { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--stone); box-shadow: 0 24px 60px rgba(31, 27, 23, 0.18); outline: 8px solid var(--bone); }
.story__h { margin-bottom: 28px; }
.story__text { color: var(--muted); max-width: 34rem; margin-bottom: 40px; }
.story__text p + p { margin-top: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair-strong); margin-bottom: 40px; }
.fact { padding: 18px 16px 0 0; }
.fact + .fact { padding-left: 16px; border-left: 1px solid var(--hair); }
.fact dt { font: 500 0.68rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fact dd { font: 350 1.6rem/1.1 var(--display); letter-spacing: -0.02em; }
@media (max-width: 989px) { .story__grid { grid-template-columns: 1fr; } .story__media { max-width: 560px; } }

/* Newsletter */
.newsletter__inner { text-align: center; max-width: 720px; }
.newsletter__inner .h2 { margin-bottom: 18px; }
.newsletter__text { color: var(--muted); margin-bottom: 36px; }
.newsletter__form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.newsletter__form .input { flex: 1; }
.newsletter__msg { min-height: 1.6em; margin-top: 16px; font: italic 300 1.25rem/1.4 var(--display); color: var(--oxide); }
.newsletter__msg.is-error { font: 400 0.9rem/1.4 var(--sans); }
@media (max-width: 520px) { .newsletter__form { flex-direction: column; } }

/* Footer */
.footer { background: var(--ink); color: var(--bone); padding: clamp(64px, 8vw, 104px) 0 32px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(244, 239, 231, 0.16); }
.footer__brand p { color: rgba(244, 239, 231, 0.72); max-width: 30ch; }
.footer__h { font: 500 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244, 239, 231, 0.6); margin-bottom: 20px; }
.footer__col li + li { margin-top: 10px; }
.footer__col a { text-decoration: none; color: rgba(244, 239, 231, 0.9); }
.footer__col a:hover { text-decoration: underline; }
.footer__base { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; font-size: 0.82rem; color: rgba(244, 239, 231, 0.72); }
.footer :focus-visible { outline-color: var(--bone); }
@media (max-width: 749px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } .footer__base { flex-direction: column; } }

/* Collection page */
.collection { padding: clamp(40px, 6vw, 88px) 0 0; }
.crumbs { display: flex; gap: 10px; font-size: 0.78rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.collection__head { max-width: 760px; margin-bottom: 40px; }
.collection__head .h1 { margin-bottom: 18px; }
.collection__intro { color: var(--muted); font-size: 1.06rem; }
.collection__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1px solid var(--hair-strong); border-radius: var(--radius); font: 500 0.72rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; transition: background-color 240ms var(--out), color 240ms var(--out), border-color 240ms var(--out); }
.pill:hover { border-color: var(--ink); }
.pill[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.collection__count { color: var(--muted); font-size: 0.86rem; white-space: nowrap; }
.collection__grid-wrap { padding: 40px 0 var(--section); }

/* About */
.about-hero { padding: clamp(56px, 9vw, 136px) 0 0; }
.about-hero__h { max-width: 12ch; }
.about-info__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; border-top: 1px solid var(--hair-strong); padding-top: 40px; }
.about-info p { color: var(--muted); max-width: 40ch; }
@media (max-width: 749px) { .about-info__grid { grid-template-columns: 1fr; } }

/* ---------- Product page ---------- */
.product { padding: clamp(16px, 3vw, 40px) 0 var(--section); }
.product__grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); background: var(--stone); overscroll-behavior-x: contain; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 12px; }
.thumb { display: block; width: 100%; padding: 0; border: 0; background: var(--stone); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; position: relative; opacity: 0.62; transition: opacity 300ms var(--out); }
.thumb::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--ink); border-radius: var(--radius); opacity: 0; transition: opacity 300ms var(--out); }
.thumb:hover { opacity: 0.9; }
.thumb[aria-current="true"] { opacity: 1; }
.thumb[aria-current="true"]::after { opacity: 1; }
.thumb__img { width: 100%; height: 100%; object-fit: cover; }
.gallery__count { display: none; }
.product__title { font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 18px; }
.price--lg { font-size: 1.2rem; }
.product__tax { font-size: 0.82rem; color: var(--muted); margin: 6px 0 32px; }
.product__info .eyebrow { margin-bottom: 14px; }
.opt { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.opt__legend { padding: 0; margin-bottom: 14px; font: 500 0.72rem/1 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; }
.opt__value { color: var(--muted); text-transform: none; letter-spacing: 0.02em; font-size: 0.9rem; font-weight: 400; }
.opt__values { display: flex; gap: 10px; flex-wrap: wrap; }
.opt__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.swatch { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; position: relative; }
.swatch::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--ink); transform: scale(0.78); opacity: 0; transition: transform 400ms var(--out), opacity 300ms var(--out); }
.swatch__chip { width: 32px; height: 32px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(31, 27, 23, 0.16); transition: transform 300ms var(--out); }
.swatch__chip--speckle { background-image: radial-gradient(circle at 30% 30%, rgba(60, 48, 38, 0.55) 0.9px, transparent 1.3px), radial-gradient(circle at 70% 60%, rgba(60, 48, 38, 0.5) 0.8px, transparent 1.2px), radial-gradient(circle at 45% 78%, rgba(60, 48, 38, 0.45) 0.8px, transparent 1.2px); background-size: 9px 9px, 11px 11px, 13px 13px; }
.swatch:hover .swatch__chip { transform: scale(0.94); }
.opt__input:checked + .swatch::before { transform: scale(1); opacity: 1; }
.swatch.is-soldout .swatch__chip, .swatch.is-unavailable .swatch__chip { opacity: 0.5; }
.swatch.is-unavailable::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 1px; background: var(--ink); transform: rotate(-45deg); }
.opt__input:focus-visible + label { outline: 2px solid var(--oxide); outline-offset: 3px; }
.size { min-width: 84px; min-height: 46px; padding: 0 18px; display: inline-grid; place-items: center; border: 1px solid var(--hair-strong); border-radius: var(--radius); cursor: pointer; font-size: 0.92rem; position: relative; overflow: hidden; transition: background-color 240ms var(--out), color 240ms var(--out), border-color 240ms var(--out); }
.size:hover { border-color: var(--ink); }
.opt__input:checked + .size { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.size.is-soldout { color: var(--muted); border-style: dashed; }
.opt__input:checked + .size.is-soldout { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.size.is-unavailable { color: rgba(31, 27, 23, 0.4); border-color: var(--hair); }
.size.is-unavailable::after { content: ""; position: absolute; left: -10%; right: -10%; top: 50%; height: 1px; background: rgba(31, 27, 23, 0.4); transform: rotate(-24deg); }
.opt__input:checked + .size.is-unavailable { background: transparent; color: rgba(31, 27, 23, 0.5); border-color: var(--ink); }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 34px; }
.product__desc { margin: 40px 0 0; padding-top: 32px; border-top: 1px solid var(--hair); color: var(--muted); max-width: 38rem; }
.product__desc p + p { margin-top: 12px; }
.trust { margin-top: 32px; padding: 24px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius); }
.trust__delivery { display: flex; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--hair); }
.trust__cal { color: var(--oxide); margin-top: 2px; }
.trust__estimate { font-size: 0.98rem; }
.trust__estimate strong { font-weight: 600; }
.trust__hint { font-size: 0.82rem; color: var(--muted); }
.trust__lines { display: grid; gap: 12px; font-size: 0.9rem; }
.trust__lines li { display: flex; gap: 14px; align-items: center; }
.trust__lines .icon { width: 20px; height: 20px; color: var(--muted); }
.accs { margin-top: 28px; border-top: 1px solid var(--hair); }
.acc { border-bottom: 1px solid var(--hair); }
.acc summary { display: flex; align-items: center; gap: 14px; min-height: 60px; cursor: pointer; list-style: none; font: 500 0.76rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc__icon { width: 20px; height: 20px; color: var(--muted); }
.acc__pm { margin-left: auto; width: 12px; height: 12px; position: relative; }
.acc__pm::before, .acc__pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform 400ms var(--out); }
.acc__pm::after { transform: rotate(90deg); }
.acc[open] .acc__pm::after { transform: rotate(0); }
.acc__body { padding: 0 0 22px 34px; color: var(--muted); font-size: 0.94rem; }
.acc[open] .acc__body { animation: accIn 500ms var(--out); }
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } }
.related .grid { margin-top: 0; }
.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(251, 248, 243, 0.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--hair); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform 280ms var(--drawer-ease); }
.sticky-atc.is-on { transform: none; }
.sticky-atc__inner { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; max-width: 1400px; margin: 0 auto; }
.sticky-atc__thumb img { width: 44px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.sticky-atc__title { display: block; font: 400 1rem/1.2 var(--display); }
.sticky-atc__meta { display: block; font-size: 0.78rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc .btn { min-height: 46px; padding: 0 18px; }
@media (min-width: 990px) { .sticky-atc { display: none; } }
@media (max-width: 989px) {
  .product { padding-top: 0; }
  .product__grid { grid-template-columns: 1fr; gap: 28px; }
  .product > .wrap { padding: 0; }
  .product__info { padding: 0 var(--gutter); }
  .gallery { position: relative; top: 0; }
  .gallery__track { border-radius: 0; }
  .gallery__thumbs { display: none; }
  .gallery__count { display: block; position: absolute; right: 16px; bottom: 16px; padding: 7px 11px; border-radius: var(--radius); background: rgba(251, 248, 243, 0.9); font: 500 0.72rem/1 var(--sans); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
}

/* ---------- Motion (only with html.motion; JS adds it, reduced motion never gets it) ---------- */
html.motion .rise { opacity: 0; transform: translate3d(0, 2.8rem, 0); transition: opacity 700ms var(--out), transform 800ms var(--out); transition-delay: calc(var(--i, 0) * 70ms); }
html.motion .is-in .rise, html.motion .rise.is-in { opacity: 1; transform: none; }
html.motion [data-reveal] .words .wi { transform: translate3d(0, 105%, 0); transition: transform 1.1s var(--out); transition-delay: calc(var(--i, 0) * 70ms + 80ms); }
html.motion [data-reveal].is-in .words .wi { transform: none; }
html.motion .benefit__line { transform: scaleX(0); transition: transform 1.2s var(--wipe-ease); transition-delay: calc(var(--i, 0) * 120ms); }
html.motion .is-in .benefit__line { transform: scaleX(1); }
html.motion .wipe { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--wipe-ease); }
html.motion .wipe img { transform: scale(1.15); transition: transform 2s var(--out); }
html.motion .wipe--late, html.motion .wipe--late img { transition-delay: 350ms; }
html.motion .is-in .wipe { clip-path: inset(0 0 0 0); }
html.motion .is-in .wipe img { transform: none; }
/* Hero entrance */
html.motion .hero__settle { transform: scale(1.1); transition: transform 2.6s var(--out); }
html.motion .hero .words .wi { transform: translate3d(0, 105%, 0); transition: transform 1.1s var(--out); transition-delay: calc(var(--i) * 70ms + 150ms); }
html.motion .hero__eyebrow, html.motion .hero__text, html.motion .hero__ctas, html.motion .hero__note { opacity: 0; transform: translate3d(0, 1.2rem, 0); transition: opacity 900ms var(--out), transform 1s var(--out); }
html.motion .hero__eyebrow { transition-delay: 100ms; }
html.motion .hero__text { transition-delay: 650ms; }
html.motion .hero__ctas { transition-delay: 780ms; }
html.motion .hero__note { transition-delay: 1000ms; }
html.motion .hero__note-line { transform: scaleX(0); transition: transform 1.2s var(--wipe-ease) 1.3s; }
html.motion .hero.is-in .hero__settle { transform: none; }
html.motion .hero.is-in .words .wi, html.motion .hero.is-in .hero__eyebrow, html.motion .hero.is-in .hero__text, html.motion .hero.is-in .hero__ctas, html.motion .hero.is-in .hero__note, html.motion .hero.is-in .hero__note-line { opacity: 1; transform: none; }
.hero__content { transform: translate3d(0, calc(var(--hp, 0) * -60px), 0); opacity: calc(1 - var(--hp, 0) * 1.4); }
.hero__media { transform: translate3d(0, calc(var(--hp, 0) * 24%), 0); }
/* Images fade in as they decode */
.gallery__img { transition: opacity 700ms var(--out); }
html.motion .card__img.is-loading, html.motion .gallery__img.is-loading { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-property: opacity, background-color, color, border-color !important; animation-name: fadeOnly !important; }
  @keyframes fadeOnly { from { opacity: 0; } }
  .hero__content, .hero__media { transform: none !important; opacity: 1 !important; }
  .btn:active, .icon-btn:active { transform: none; }
  .drawer__panel, .sticky-atc { transition-property: transform, opacity !important; transition-duration: 1ms !important; }
}

/* ---- Micro-interactions (11-15): touch ripple + springy pops everywhere, hover delights on mouse devices ---- */
.btn, .size, .pill, .qty__btn, .card__media, .upsell .btn { position: relative; overflow: hidden; isolation: isolate; }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; background: currentColor; opacity: 0.38; transform: translate(-50%, -50%) scale(0); animation: ripple 650ms var(--out) forwards; z-index: 2; }
.card__media .ripple { background: var(--paper); opacity: 0.6; }
@keyframes ripple { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
.card__link { -webkit-tap-highlight-color: transparent; }
.card__media { transform: perspective(900px) translate3d(0, var(--lift, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--sc, 1)); transition: transform 500ms var(--out), box-shadow 500ms var(--out); will-change: transform; }
.card__link:active .card__media { --lift: -6px; --sc: 1.035; box-shadow: 0 26px 36px -22px rgba(31, 27, 23, 0.6); transition-duration: 220ms; }
.swatch__chip.is-pop { animation: pop 520ms cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes pop { 0% { transform: scale(0.82); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.size:active, .pill:active { transform: scale(0.96); }
.size, .pill { transition: background-color 240ms var(--out), color 240ms var(--out), border-color 240ms var(--out), transform 140ms ease-out; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent); transform: skewX(-18deg); transition: left 0s; pointer-events: none; }
  .btn--primary:hover:not(:disabled)::after { left: 130%; transition: left 750ms var(--out); }
  .btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(31, 27, 23, 0.55); }
  .btn:active:not(:disabled) { transform: scale(0.97); box-shadow: none; }
  .card__media::after { content: "View  \2192"; position: absolute; left: 12px; bottom: 12px; padding: 9px 13px; background: var(--paper); color: var(--ink); border-radius: var(--radius); font: 500 0.66rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; white-space: pre; transform: translateY(14px); opacity: 0; transition: transform 450ms var(--out), opacity 300ms var(--out); z-index: 3; }
  .card__link:hover .card__media::after { transform: none; opacity: 1; }
  .card__link:hover .card__media { --lift: -10px; box-shadow: 0 34px 44px -26px rgba(31, 27, 23, 0.6); }
  .card__link.is-tilt .card__media { transition: transform 140ms linear, box-shadow 500ms var(--out); }
  .card__link:hover .card__img { transform: scale(1.07); }
  .card__title { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 500ms var(--out); display: inline; }
  .card__link:hover .card__title { background-size: 100% 1px; }
  .swatch:hover .swatch__chip { transform: translateY(-3px) scale(1.06); box-shadow: inset 0 0 0 1px rgba(31,27,23,0.16), 0 8px 14px -8px rgba(31,27,23,0.6); }
  .benefit:hover .benefit__icon { animation: bob 900ms var(--out); }
  .cart-btn:hover .icon, .cart-btn:hover svg { animation: wiggle 600ms ease-in-out; }
  .thumb:hover { opacity: 1; }
}
@keyframes bob { 0%, 100% { transform: none; } 30% { transform: translateY(-6px) rotate(-6deg); } 60% { transform: translateY(1px) rotate(3deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-12deg); } 45% { transform: rotate(10deg); } 70% { transform: rotate(-5deg); } }
@media (prefers-reduced-motion: reduce) {
  .ripple, .swatch__chip.is-pop, .benefit:hover .benefit__icon, .cart-btn:hover svg { animation: none !important; }
  .ripple { display: none; }
  .btn:hover:not(:disabled), .swatch:hover .swatch__chip { transform: none !important; }
  .card__media { transform: none !important; }
}

/* Phone pop (11-15 r2): tapped product photo pops forward before the page opens */
.card__link.is-pressed .card__media { --lift: -12px; --sc: 1.06; box-shadow: 0 30px 40px -20px rgba(31, 27, 23, 0.65); transition: transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 260ms var(--out); }
.card__link.is-pressed .card__title { color: var(--oxide); }
.card__title { transition: color 200ms var(--out), background-size 500ms var(--out); }
@media (prefers-reduced-motion: reduce) { .card__link.is-pressed .card__media { box-shadow: none; } }

/* ---- r3 11-15: calmer, less templated. Remove gimmicks, keep tactile feedback ---- */
.ripple { display: none !important; }
.h2 em, .h3 em, .story__h em { font-style: normal; font-weight: inherit; }
html.motion .hero__h { opacity: 0; transform: translate3d(0, 1.4rem, 0); transition: opacity 1.1s var(--out) 250ms, transform 1.3s var(--out) 250ms; }
html.motion .hero.is-in .hero__h { opacity: 1; transform: none; }
.btn--primary::after, .card__media::after { display: none !important; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover:not(:disabled) { transform: none; box-shadow: none; }
  .card__link:hover .card__media { --lift: -4px; box-shadow: 0 22px 30px -24px rgba(31, 27, 23, 0.5); }
  .card__link:hover .card__img { transform: scale(1.03); }
  .benefit:hover .benefit__icon { animation: none; }
}
html.motion .rise { transform: translate3d(0, 14px, 0); }
.glazes { background: color-mix(in srgb, var(--tint) 16%, var(--bone)); transition: background-color 700ms var(--out); }
.glazes__copy { min-width: 0; }
.glazes__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.glazes__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.glazes__img { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 600ms var(--out), transform 1.1s var(--out); }
.glazes__img.is-on { opacity: 1; transform: none; }
.glazes__photo { width: 100%; height: 100%; object-fit: cover; }
.glazes__copy .h2 { margin: 10px 0 28px; }
.glazes__picker { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.glaze { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px 0 8px; border: 1px solid transparent; border-radius: 999px; background: none; color: var(--ink); font: 500 0.92rem/1 var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color 300ms var(--out), background-color 300ms var(--out), transform 140ms ease-out; }
.glaze:active { transform: scale(0.96); }
.glaze.is-on { border-color: var(--ink); background: rgba(251, 248, 243, 0.55); }
.glaze__chip { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(31, 27, 23, 0.18); transition: transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.glaze:hover .glaze__chip, .glaze.is-on .glaze__chip { transform: scale(1.12); }
.glazes__line { color: var(--muted); max-width: 34ch; min-height: 3em; margin-bottom: 18px; }
@media (max-width: 749px) {
  .glazes__grid { grid-template-columns: minmax(0, 1fr); }
  .glazes__media { aspect-ratio: 1 / 1; }
  .glazes__picker { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 18px; padding: 2px var(--gutter); scrollbar-width: none; }
  .glaze { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .glazes, .glazes__img, .glaze__chip { transition: none; } .glazes__img { transform: none; } }

/* ---- r4 (11-15): words fade in on scroll. Headings word by word (once); statement lights up with scroll position ---- */
html.motion .fw .fw__w { display: inline-block; opacity: 0; transform: translate3d(0, 0.32em, 0); transition: opacity 650ms var(--out), transform 900ms var(--out); transition-delay: calc(var(--i, 0) * 70ms + var(--w, 0) * 60ms); }
html.motion .is-in .fw .fw__w { opacity: 1; transform: none; }
.statement { padding-block: clamp(96px, 16vw, 200px); }
.statement__p { font: 350 clamp(1.9rem, 4.6vw, 3.6rem)/1.14 var(--display); letter-spacing: -0.025em; max-width: 22ch; margin-inline: auto; text-align: center; font-optical-sizing: auto; }
html.motion .statement__p .sw { opacity: 0.16; transition: opacity 180ms linear; }
@media (prefers-reduced-motion: reduce) { html.motion .fw .fw__w { transform: none; transition-delay: 0ms; } }

/* ---- r5 (11-15): background life. Line-drawn pottery floats behind sections, hero dust in the light, menu reveal, page morph ---- */
.has-decor { position: relative; overflow: hidden; isolation: isolate; }
.has-decor > .wrap { position: relative; z-index: 1; }
.decor { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.decor__item { position: absolute; display: block; }
.decor__float { display: block; animation: hwFloat var(--d, 12s) ease-in-out calc(var(--k, 0) * -2.3s) infinite alternate; }
.decor__svg { display: block; width: clamp(calc(var(--sz) * 0.62px), calc(var(--sz) * 0.12vw), calc(var(--sz) * 1.45px)); height: auto; aspect-ratio: 1; stroke: var(--ink); stroke-width: 0.85; stroke-linecap: round; stroke-linejoin: round; opacity: 0.3; transform: translate3d(calc(var(--mx, 0) * var(--dp, 10) * 1px), calc(var(--my, 0) * var(--dp, 10) * 1px), 0); transition: transform 1.4s var(--out); }

.decor__dot { display: block; width: var(--dsz); height: var(--dsz); border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(31, 27, 23, 0.12); opacity: 0.75; animation: hwBob var(--d, 10s) ease-in-out calc(var(--k, 0) * -1.7s) infinite alternate; }
@keyframes hwFloat { from { transform: translate3d(0, -10px, 0) rotate(var(--r, 4deg)); } to { transform: translate3d(8px, 12px, 0) rotate(calc(var(--r, 4deg) * -1)); } }
@keyframes hwBob { from { transform: translate3d(0, -8px, 0); } to { transform: translate3d(-6px, 10px, 0); } }
@media (max-width: 749px) { .decor__item--d { display: none; } .decor__svg { opacity: 0.26; stroke-width: 1.5; } }
html.motion .decor__svg path, html.motion .decor__svg ellipse { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--wipe-ease); transition-delay: calc(var(--k, 0) * 160ms + 200ms); }
html.motion .is-in .decor__svg path, html.motion .is-in .decor__svg ellipse { stroke-dashoffset: 0; }
html.motion .decor__dot { opacity: 0; transform: scale(0.4); transition: opacity 900ms var(--out); transition-delay: calc(var(--k, 0) * 120ms + 600ms); }
html.motion .is-in .decor__dot { opacity: 0.75; }

/* hero: dust drifting up through the window light */
.hero__dust { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mote { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: rgba(250, 244, 233, 0.9); box-shadow: 0 0 6px rgba(250, 244, 233, 0.6); opacity: 0; animation: hwMote var(--d) linear var(--dl) infinite; }
.mote:nth-child(3n) { filter: blur(1.2px); }
@keyframes hwMote { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 15% { opacity: 0.55; } 70% { opacity: 0.4; } 100% { transform: translate3d(var(--dx), -200px, 0); opacity: 0; } }
.hero__content { z-index: 2; }

/* menu: circle reveal from the menu button, lines rise out of masks, thumbnails pop, the mug draws itself */
.menu-drawer__panel { width: 100vw; max-width: 460px; background: var(--bone); transform: none !important; box-shadow: none; clip-path: circle(0px at 34px 34px); transition: clip-path 300ms cubic-bezier(0.4, 0, 1, 1); }
.menu-drawer.is-open .menu-drawer__panel { clip-path: circle(160% at 34px 34px); transition: clip-path 700ms var(--wipe-ease); }
.menu-drawer .drawer__head [data-close] { opacity: 0; transform: rotate(-90deg) scale(0.6); transition: opacity 300ms var(--out), transform 600ms var(--out); }
.menu-drawer.is-open .drawer__head [data-close] { opacity: 1; transform: none; transition-delay: 250ms; }
.menu-drawer__links li { position: relative; overflow: hidden; }
.menu-drawer__links li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair-strong, rgba(31,27,23,.18)); transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--wipe-ease); transition-delay: calc(var(--k) * 70ms + 260ms); }
.menu-drawer.is-open .menu-drawer__links li::after { transform: scaleX(1); }
.menu-drawer__links a { display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: center; gap: 4px; border-bottom: 0; padding: 16px 0; opacity: 1; transform: translate3d(0, 110%, 0); transition: transform 250ms ease-in; }
.menu-drawer.is-open .menu-drawer__links a { transform: none; transition: transform 900ms var(--out); transition-delay: calc(var(--k) * 70ms + 180ms); }
.ml__n { font: 500 0.7rem/1 var(--sans); letter-spacing: 0.1em; color: var(--oxide); align-self: start; padding-top: 0.55rem; }
.ml__img { width: 48px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--stone); transform: scale(0.5) rotate(-6deg); opacity: 0; transition: transform 200ms, opacity 200ms; }
.ml__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.menu-drawer.is-open .ml__img { transform: rotate(calc((var(--k) - 1.5) * 2deg)); opacity: 1; transition: transform 800ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 500ms var(--out); transition-delay: calc(var(--k) * 70ms + 420ms); }
.menu-drawer__links a:active .ml__img { transform: scale(1.12) rotate(0deg); transition-duration: 200ms; transition-delay: 0ms; }
.menu-drawer__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.menu-drawer__note { margin-top: 0; }
.menu-drawer__art { width: 76px; flex: none; stroke: var(--oxide); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menu-drawer__art path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 200ms; }
.menu-drawer.is-open .menu-drawer__art path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--wipe-ease) 500ms; }
.menu-drawer.is-open .menu-drawer__art path:nth-child(n+3) { animation: hwSteam 2.8s ease-in-out 2s infinite; }
.menu-drawer.is-open .menu-drawer__art path:nth-child(4) { animation-delay: 2.6s; }
@keyframes hwSteam { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-4px); opacity: 0.35; } }

/* page to page: soft crossfade, product photo flies into the product page */
@view-transition { navigation: auto; }
.header { view-transition-name: hw-header; }
::view-transition-old(root) { animation: 200ms ease-in both hwVtOut; }
::view-transition-new(root) { animation: 460ms var(--out) both hwVtIn; }
::view-transition-group(pimg) { animation-duration: 560ms; animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
@keyframes hwVtOut { to { opacity: 0; } }
@keyframes hwVtIn { from { opacity: 0; transform: translate3d(0, 16px, 0); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .decor__float, .decor__dot, .mote, .menu-drawer__art path { animation: none !important; }
  .mote { display: none; }
  .menu-drawer__panel { clip-path: none; }
  .menu-drawer__links a, .ml__img, .menu-drawer .drawer__head [data-close] { transform: none !important; opacity: 1 !important; }
  .decor__svg path, .decor__svg ellipse, .menu-drawer__art path { stroke-dashoffset: 0 !important; }
}

/* ---- r6 (11-15): line art removed; dust particles carry through every section, always behind the content ---- */
.has-dust { position: relative; isolation: isolate; overflow: clip; }
.dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.pm { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: rgba(86, 74, 62, 0.7); box-shadow: 0 0 5px rgba(86, 74, 62, 0.25); opacity: 0; animation: hwMoteBg var(--d) linear var(--dl) infinite; animation-play-state: paused; }
.pm--soft { filter: blur(1px); }
.is-run > .dust .pm { animation-play-state: running; }
.footer .pm, .scheme-ink .pm { background: rgba(250, 244, 233, 0.75); }
@keyframes hwMoteBg { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 18% { opacity: 0.75; } 72% { opacity: 0.55; } 100% { transform: translate3d(var(--dx), -220px, 0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dust { display: none; } }
/* r6 menu: no photos; wordmark centered and larger */
.menu-drawer .drawer__head { position: relative; justify-content: flex-end; min-height: 76px; }
.menu-drawer .drawer__head .logo--sm { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 2.3rem; letter-spacing: -0.025em; white-space: nowrap; }
.menu-drawer__links a { grid-template-columns: 2.4rem 1fr; }
.menu-drawer__links a { font-size: 1.4rem; line-height: 1.2; padding: 18px 0; }
.menu-drawer__links .ml__n { padding-top: 0.3rem; }
