/* ==========================================================================
   Woo Tranquil® — Rest Well, Live Well.
   Design system + site styles. No framework, no build step required.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-var.woff2") format("woff2");
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Colour — day (linen) to night (midnight ink) */
  --linen: #f5f0e8;
  --paper: #fbf8f3;
  --oat: #ebe3d6;
  --sand: #d8ccb9;
  --ink: #1d2033;
  --ink-soft: #464a5c;
  --muted: #67645e;
  --line: rgba(29, 32, 51, 0.14);
  --line-strong: rgba(29, 32, 51, 0.28);
  --night: #15182a;
  --dusk: #2c2f4a;
  --twilight: #3b3754;
  --candle: #d4a86a;
  --candle-deep: #84602f;
  --on-dark: #f5f0e8;
  --on-dark-muted: rgba(245, 240, 232, 0.72);
  --success: #3f6b4f;
  --danger: #a23b2c;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(3.25rem, 1.6rem + 7.4vw, 8.5rem);
  --fs-h1: clamp(2.6rem, 1.7rem + 4vw, 5.25rem);
  --fs-h2: clamp(2.1rem, 1.5rem + 2.6vw, 3.75rem);
  --fs-h3: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem);
  --fs-lead: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-eyebrow: 0.75rem;

  /* Space & layout */
  --gutter: clamp(1rem, 0.4rem + 3vw, 3.5rem);
  --section: clamp(5rem, 3rem + 8vw, 10rem);
  --max: 1440px;
  --radius: 2px;
  --announce-h: 2.25rem;
  --bar-h: 4.5rem;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --t-fast: 180ms;
  --t-base: 380ms;
  --t-slow: 900ms;
  --t-reveal: 1100ms;

  color-scheme: light;
}

@media (max-width: 899px) {
  :root { --bar-h: 3.75rem; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar-h) + 1rem);
}
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
/* pictures that sit inside fixed-size frames fill them */
.cat__zoom > picture, .parallax > picture, .pdp__shot picture, .about-hero__media > picture,
.step__media > picture, .line-item__img picture, .unfold-inner > picture, .ritual__frame picture { width: 100%; height: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--ink); color: var(--linen); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 1px;
}
.on-dark :focus-visible, .site-footer :focus-visible, .ritual :focus-visible { outline-color: var(--candle); }

.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: fixed; left: 1rem; top: 0.75rem; z-index: 200;
  background: var(--ink); color: var(--linen);
  padding: 0.75rem 1.1rem; font-weight: 500;
  transform: translateY(-160%);
  transition: transform var(--t-base) var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1;
  text-wrap: balance;
}
.display { font-size: var(--fs-display); line-height: 0.92; letter-spacing: -0.035em; }
.h1 { font-size: var(--fs-h1); line-height: 0.98; }
.h2 { font-size: var(--fs-h2); line-height: 1.04; }
.h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.01em; font-weight: 400; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 300; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.body-copy { color: var(--ink-soft); text-wrap: pretty; max-width: 62ch; }
.body-copy p + p { margin-top: 1.1em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: 0.6;
}
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow { color: var(--on-dark-muted); }
.price { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.on-dark { color: var(--on-dark); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.section-head .h2 { max-width: 16ch; margin-top: 1rem; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--linen); --btn-fill: var(--dusk);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 3.25rem; padding: 0.9rem 1.75rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: color var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out), transform var(--t-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform 520ms var(--ease-out);
}
.btn svg { width: 1.05rem; height: 1.05rem; transition: transform var(--t-base) var(--ease-out); }
@media (hover: hover) {
  .btn:hover::before { transform: scaleY(1); }
  .btn:hover svg { transform: translateX(4px); }
}
.btn:active { transform: scale(0.98); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-fill: var(--ink); border-color: var(--line-strong); }
@media (hover: hover) { .btn--ghost:hover { color: var(--linen); border-color: var(--ink); } }
.btn--light { --btn-bg: var(--linen); --btn-fg: var(--ink); --btn-fill: var(--paper); }
.btn--candle { --btn-bg: var(--candle); --btn-fg: var(--night); --btn-fill: #e2bd86; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding-block: 0.6rem; min-height: 44px;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 0.35rem) / 0% 1px no-repeat;
  transition: background-size 600ms var(--ease-out);
}
.link-arrow svg { width: 1rem; height: 1rem; transition: transform var(--t-base) var(--ease-out); }
@media (hover: hover) {
  .link-arrow:hover { background-size: 100% 1px; }
  .link-arrow:hover svg { transform: translateX(4px); }
}
.link-underline {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size var(--t-base) var(--ease-out);
}
@media (hover: hover) { .link-underline:hover { background-size: 0% 1px; background-position: 100% 100%; } }

.icon { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  transition: background-color var(--t-fast) var(--ease-out);
}
@media (hover: hover) { .icon-btn:hover { background: rgba(29, 32, 51, 0.06); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transform: translateY(0);
  transition: transform 600ms var(--ease-out);
}
.announce {
  height: var(--announce-h);
  display: flex; align-items: center; justify-content: center;
  padding-inline: var(--gutter);
  background: var(--ink); color: var(--on-dark);
  font-size: 0.78rem; letter-spacing: 0.06em; text-align: center;
}
.announce p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(245, 240, 232, 0.45); }
.announce a:hover { text-decoration-color: currentColor; }
@media (max-width: 599px) { .announce__lead { display: none; } }
.bar {
  position: relative;
  height: var(--bar-h);
  transition: background-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(245, 240, 232, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  opacity: 0; transition: opacity var(--t-base) var(--ease-out);
}
.bar-inner {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
}
.site-header.is-scrolled { transform: translateY(calc(var(--announce-h) * -1)); }
.site-header.is-scrolled .bar::before,
.page-solid .site-header .bar::before,
.site-header.menu-open .bar::before { opacity: 1; }
.site-header.is-scrolled .bar { box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 0.2rem + 1.6vw, 2.25rem); }
.nav--end { justify-content: flex-end; }
.nav a:not(.icon-btn) {
  position: relative;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding-block: 0.75rem;
}
.nav a:not(.icon-btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.45rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 500ms var(--ease-out);
}
@media (hover: hover) { .nav a:not(.icon-btn):hover::after { transform: scaleX(1); transform-origin: left; } }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); padding-block: 0.4rem; }
.brand svg { fill: currentColor; }
.brand-mark { width: 2.6rem; height: auto; aspect-ratio: 1560 / 1158; }
.brand-word { width: 10.5rem; height: auto; aspect-ratio: 3280 / 480; }

.menu-toggle { display: none; }
.burger { position: relative; width: 22px; height: 10px; }
.burger::before, .burger::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 450ms var(--ease-out), top 450ms var(--ease-out);
}
.burger::before { top: 0; }
.burger::after { top: 8.5px; }
.site-header.menu-open .burger::before { top: 4.25px; transform: rotate(45deg); }
.site-header.menu-open .burger::after { top: 4.25px; transform: rotate(-45deg); }

.bag-btn { position: relative; }
.bag-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 1.15rem; height: 1.15rem; padding-inline: 0.25rem;
  display: grid; place-items: center;
  border-radius: 999px; background: var(--ink); color: var(--linen);
  font-size: 0.66rem; font-weight: 600; line-height: 1;
  transform: scale(0); transition: transform 500ms var(--ease-out);
}
.bag-count.has-items { transform: scale(1); }
.bag-count.bump { animation: bump 600ms var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }

@media (max-width: 899px) {
  .nav--start a, .nav--end a:not(.icon-btn) { display: none; }
  .menu-toggle { display: inline-grid; margin-left: -10px; }
  .bar-inner { grid-template-columns: 88px 1fr 88px; }
  .nav--end { gap: 0; }
  .brand { justify-self: center; }
  .brand-mark { width: 2rem; }
  .brand-word { width: 8.25rem; }
  .nav--end { margin-right: -10px; }
}
@media (max-width: 380px) { .brand-mark { display: none; } }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--linen);
  padding: calc(var(--bar-h) + var(--announce-h) + 2rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  overflow-y: auto;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 700ms var(--ease-drawer), visibility 0s linear 700ms;
}
.menu.is-open { visibility: visible; clip-path: inset(0); transition: clip-path 700ms var(--ease-drawer), visibility 0s; }
.site-header.menu-open { transform: translateY(0) !important; }
.menu__links a {
  display: block;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.4rem, 1.6rem + 5vw, 3.5rem); line-height: 1.15; letter-spacing: -0.02em;
  padding-block: 0.15rem;
  opacity: 0; transform: translateY(24px);
  transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out);
}
.menu__links a em { font-style: italic; }
.menu.is-open .menu__links a { opacity: 1; transform: none; transition-delay: calc(180ms + var(--i) * 70ms); }
.menu__foot { display: grid; gap: 0.35rem; color: var(--ink-soft); font-size: var(--fs-small); }
.menu__foot a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }

main { display: block; }
.page-solid main { padding-top: calc(var(--announce-h) + var(--bar-h)); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: grid; align-items: end;
  overflow: hidden;
  background: #e6ddd0;
}
.hero__frame { position: absolute; inset: 0; overflow: hidden; }
.hero__zoom, .hero__zoom picture, .hero__zoom img { width: 100%; height: 100%; }
.hero__zoom img { object-fit: cover; object-position: 62% 50%; animation: hero-breathe 18s var(--ease-in-out) infinite alternate; }
@keyframes hero-breathe { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(245, 240, 232, 0.92) 0%, rgba(245, 240, 232, 0.72) 26%, rgba(245, 240, 232, 0) 58%),
    linear-gradient(0deg, rgba(245, 240, 232, 0.55) 0%, rgba(245, 240, 232, 0) 28%);
}
.hero__content {
  position: relative; z-index: 2;
  padding-top: calc(var(--announce-h) + var(--bar-h) + 3rem);
  padding-bottom: clamp(3.5rem, 2rem + 6vh, 7rem);
  display: grid; gap: 1.75rem;
  max-width: 46rem;
}
.hero__title { color: var(--ink); }
.hero__title .line:nth-child(2) { padding-left: 0.9em; }
.hero__text { max-width: 33ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; }
.hero__meta {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(2rem, 1rem + 4vh, 4rem);
  display: flex; align-items: center; gap: 2rem;
}
@media (max-width: 899px) {
  .hero { align-items: start; min-height: max(620px, 100svh); }
  .hero__zoom img { object-position: 50% 100%; }
  .hero::after {
    background: linear-gradient(180deg, rgba(245, 240, 232, 0.95) 0%, rgba(245, 240, 232, 0.86) 44%, rgba(245, 240, 232, 0) 72%);
  }
  .hero__content { padding-top: calc(var(--announce-h) + var(--bar-h) + 2rem); gap: 1.25rem; }
  .hero__title .line:nth-child(2) { padding-left: 0.6em; }
  .hero__meta { left: var(--gutter); right: auto; }
}

/* Breathing cue */
.breathe { display: inline-flex; align-items: center; gap: 0.9rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.breathe__ring { position: relative; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line-strong); }
.breathe__ring::after {
  content: ""; position: absolute; inset: 32%; border-radius: 50%;
  background: var(--ink); opacity: 0.18;
  animation: breathe-dot 10s var(--ease-in-out) infinite;
}
@keyframes breathe-dot { 0%, 100% { transform: scale(0.55); opacity: 0.12; } 45%, 55% { transform: scale(1.75); opacity: 0.28; } }
.breathe__words { display: grid; }
.breathe__words span { grid-area: 1 / 1; animation: breathe-in 10s linear infinite; }
.breathe__words span + span { animation-name: breathe-out; }
@keyframes breathe-in { 0%, 44% { opacity: 1; } 50%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes breathe-out { 0%, 44% { opacity: 0; } 50%, 94% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Intro statement ---------- */
.intro { text-align: center; }
.intro__mark { width: clamp(4rem, 3rem + 3vw, 5.5rem); margin: 0 auto 2.5rem; color: var(--ink); }
.intro__mark svg { width: 100%; height: auto; aspect-ratio: 1560 / 1158; fill: currentColor; stroke: currentColor; stroke-width: 6; }
.intro__text {
  font-family: var(--font-display); font-weight: 300; font-optical-sizing: auto;
  font-size: clamp(1.75rem, 1.1rem + 2.7vw, 3.4rem); line-height: 1.22; letter-spacing: -0.015em;
  max-width: 24ch; margin-inline: auto; text-wrap: balance;
}
.intro__text em { font-style: italic; }
.js .scrub .w { color: rgba(29, 32, 51, 0.2); transition: color 500ms var(--ease-out); }
.js .scrub .w.lit { color: var(--ink); }
.intro__sig { margin-top: 2.5rem; color: var(--muted); font-size: var(--fs-small); letter-spacing: 0.05em; }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.75rem, 0.4rem + 1vw, 1.5rem); }
.cat { position: relative; display: block; color: var(--on-dark); overflow: hidden; border-radius: var(--radius); }
.cat__media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); }
.cat__zoom { width: 100%; height: 100%; transition: transform 1600ms var(--ease-out); }
.cat__zoom img { width: 100%; height: 100%; object-fit: cover; }
.cat::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(21, 24, 42, 0.62) 0%, rgba(21, 24, 42, 0.12) 42%, rgba(21, 24, 42, 0) 60%);
}
.cat__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(1.25rem, 0.8rem + 1.4vw, 2.25rem); display: grid; gap: 0.35rem; }
.cat__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); line-height: 1; letter-spacing: -0.02em; }
.cat__sub { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }
.cat__arrow { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(245, 240, 232, 0.5); color: var(--on-dark); transition: background-color var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out); }
.cat__arrow svg { width: 1.05rem; height: 1.05rem; }
@media (hover: hover) {
  .cat:hover .cat__zoom { transform: scale(1.06); }
  .cat:hover .cat__arrow { background: var(--linen); color: var(--ink); transform: rotate(-45deg); }
}
@media (max-width: 899px) {
  .cats {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .cats::-webkit-scrollbar { display: none; }
  .cat { scroll-snap-align: start; }
}

/* ---------- Product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2.5rem, 1.5rem + 2vw, 3.5rem) clamp(0.75rem, 0.4rem + 1vw, 1.5rem); min-height: 20rem; }
@media (max-width: 899px) { .grid-products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-products { grid-template-columns: 1fr; } }
.card { position: relative; display: grid; gap: 1rem; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--oat); border-radius: var(--radius); }
.card__media > a { position: absolute; inset: 0; display: block; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 700ms var(--ease-out), transform 1600ms var(--ease-out); }
.card__media .alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__media img { transform: scale(1.04); }
  .card:hover .card__media .alt { opacity: 1; }
}
.card__tag {
  position: absolute; z-index: 2; top: 0.9rem; left: 0.9rem;
  background: rgba(245, 240, 232, 0.9); color: var(--ink);
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.4rem 0.6rem; border-radius: var(--radius);
}
.card__quick {
  position: absolute; z-index: 2; left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  background: rgba(245, 240, 232, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 0.85rem 0.9rem 0.9rem; border-radius: var(--radius);
  transform: translateY(calc(100% + 1rem)); opacity: 0;
  transition: transform 600ms var(--ease-out), opacity 400ms var(--ease-out);
}
.card:hover .card__quick, .card__quick:focus-within { transform: none; opacity: 1; }
.card__quick-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.55rem; }
.card__sizes { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  min-height: 2.25rem; padding: 0.35rem 0.75rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.78rem; font-weight: 500; line-height: 1.2;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
@media (hover: hover) { .chip:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); } }
@media (hover: none) { .card__quick { display: none; } }
.card__info { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; align-items: baseline; }
.card__name { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }
.card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__type { grid-column: 1; font-size: var(--fs-small); color: var(--muted); }
.card__price { grid-row: 1; grid-column: 2; font-size: 1rem; }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: clamp(1.25rem, 0.8rem + 1.5vw, 2.25rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item {
  display: flex; align-items: center; gap: clamp(1.5rem, 1rem + 2vw, 3rem); padding-right: clamp(1.5rem, 1rem + 2vw, 3rem);
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(1.9rem, 1.2rem + 3.2vw, 4.25rem); line-height: 1.1; letter-spacing: -0.02em; white-space: nowrap;
}
.marquee__item svg { width: clamp(0.9rem, 0.7rem + 0.8vw, 1.5rem); height: auto; fill: var(--candle-deep); flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Evening ritual ---------- */
.ritual {
  --ritual-bg: var(--twilight);
  --glow: 0.35;
  position: relative;
  background: var(--ritual-bg);
  color: var(--on-dark);
  transition: background-color 1400ms var(--ease-in-out);
  overflow: clip;
}
.ritual[data-step="1"] { --ritual-bg: var(--dusk); --glow: 0.5; }
.ritual[data-step="2"] { --ritual-bg: var(--night); --glow: 0.7; }
.ritual__head { padding-top: var(--section); text-align: center; display: grid; justify-items: center; gap: 1.25rem; }
.ritual__head .h2 { max-width: 15ch; }
.ritual__head .lead { color: var(--on-dark-muted); max-width: 40ch; }
.ritual__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: var(--gutter); padding-bottom: calc(var(--section) * 0.6); }
.ritual__stage { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.ritual__glow {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212, 168, 106, 0.55), rgba(212, 168, 106, 0) 70%);
  opacity: var(--glow); filter: blur(10px);
  transition: opacity 1400ms var(--ease-in-out);
  animation: flicker 6s ease-in-out infinite;
}
@keyframes flicker { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.035); } 60% { transform: scale(0.985); } }
.ritual__frame { position: relative; width: min(100%, 31rem); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--night); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55); }
.ritual__frame picture { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1300ms var(--ease-in-out); }
.ritual__frame picture:first-child, .ritual__frame picture.is-shown { clip-path: inset(0); }
.ritual__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 2200ms var(--ease-out); }
.ritual__frame picture.is-shown img, .ritual__frame picture:first-child img { transform: scale(1); }
.ritual__dots { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 1.1rem; }
.ritual__dots li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; color: rgba(245, 240, 232, 0.4); transition: color var(--t-slow) var(--ease-out); }
.ritual__dots li::before { content: ""; width: 1.25rem; height: 1px; background: currentColor; transition: width var(--t-slow) var(--ease-out); }
.ritual__dots li.is-active { color: var(--candle); }
.ritual__dots li.is-active::before { width: 2.5rem; }
.step { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; max-width: 30rem; }
.step__time { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); color: var(--candle); }
.step .h2 { max-width: 12ch; }
.step p { color: var(--on-dark-muted); max-width: 38ch; }
.step__media { display: none; }
.step { opacity: 0.35; transition: opacity 900ms var(--ease-out); }
.step.is-active { opacity: 1; }
.no-js .step, .reduced .step { opacity: 1; }
@media (max-width: 899px) {
  .ritual__grid { grid-template-columns: 1fr; }
  .ritual__stage { display: none; }
  .step { min-height: 0; padding-block: 2.5rem; opacity: 1; max-width: none; }
  .step__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); margin-bottom: 0.75rem; background: var(--night); }
  .step__media img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- Materials ---------- */
.materials { background: var(--oat); }
.materials__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 1rem + 5vw, 7rem); align-items: center; }
.materials__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.materials__media .parallax { position: absolute; inset: -8% 0; }
.materials__media img { width: 100%; height: 100%; object-fit: cover; }
.materials__list { display: grid; margin-top: 2.5rem; border-top: 1px solid var(--line-strong); }
.material { display: grid; grid-template-columns: 3rem 1fr; gap: 0.25rem 1.25rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line-strong); }
.material .icon { width: 1.6rem; height: 1.6rem; grid-row: span 2; margin-top: 0.2rem; color: var(--candle-deep); }
.material h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.01em; }
.material p { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 899px) { .materials__grid { grid-template-columns: 1fr; } .materials__media { aspect-ratio: 5 / 4; } }

/* ---------- Story split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 1rem + 5vw, 7rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--oat); }
.split__media .parallax { position: absolute; inset: -8% 0; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body { display: grid; gap: 1.5rem; justify-items: start; max-width: 34rem; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; overflow: hidden; background: var(--paper); text-align: center; }
.newsletter__bg { position: absolute; inset: 0; opacity: 0.55; }
.newsletter__bg img { width: 100%; height: 100%; object-fit: cover; }
.newsletter__inner { position: relative; display: grid; justify-items: center; gap: 1.25rem; }
.newsletter .lead { max-width: 36ch; }
.subscribe { display: flex; width: min(100%, 32rem); margin-top: 1rem; border-bottom: 1px solid var(--ink); }
.subscribe input {
  flex: 1; min-width: 0; min-height: 3.5rem;
  border: 0; background: transparent; padding: 0.75rem 0.25rem;
  font-size: 1.05rem; color: var(--ink);
}
.subscribe input::placeholder { color: var(--muted); }
.subscribe input:focus { outline: none; }
.subscribe:focus-within { box-shadow: 0 1px 0 0 var(--ink); }
.subscribe button { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0 0.25rem 0 1rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; min-height: 3.5rem; }
.subscribe button svg { width: 1rem; height: 1rem; transition: transform var(--t-base) var(--ease-out); }
@media (hover: hover) { .subscribe button:hover svg { transform: translateX(4px); } }
.form-note { min-height: 1.6em; font-size: var(--fs-small); color: var(--muted); }
.form-note.is-success { color: var(--success); }
.form-note.is-error { color: var(--danger); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.newsletter__mark {
  position: absolute; left: 50%; top: 50%; width: min(118vw, 74rem); height: auto; aspect-ratio: 1560 / 1158;
  transform: translate(-50%, -50%); pointer-events: none;
  fill: none; stroke: rgba(29, 32, 51, 0.09); stroke-width: 3;
}
@media (max-width: 1199px) { .ritual__dots { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(4rem, 2rem + 6vw, 7rem); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 3rem var(--gutter); padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
.footer-brand { display: grid; gap: 1.25rem; align-content: start; }
.footer-brand .brand-mark { width: 3.5rem; fill: var(--on-dark); }
.footer-brand p { color: var(--on-dark-muted); max-width: 28ch; }
.footer-col h2 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.35rem; }
.footer-col a, .footer-col address { font-style: normal; color: var(--on-dark); }
.footer-col a { display: inline-block; padding-block: 0.3rem; background: linear-gradient(currentColor, currentColor) 0 90% / 0 1px no-repeat; transition: background-size 500ms var(--ease-out); }
@media (hover: hover) { .footer-col a:hover { background-size: 100% 1px; } }
.footer-col address { line-height: 1.7; }
.footer-word { padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; }
.footer-word svg { width: 100%; height: auto; aspect-ratio: 3280 / 480; overflow: visible; fill: none; stroke: rgba(245, 240, 232, 0.3); stroke-width: 3; stroke-linejoin: round; }
/* The footer wordmark shows at once: no scroll-triggered unveil. */
.js .footer-word[data-reveal] .unfold-inner { clip-path: none; transition: none; }
.js .footer-word[data-reveal] .unfold-inner > svg { transform: none; transition: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding-block: 2rem 2.25rem; margin-top: clamp(2rem, 1rem + 3vw, 3.5rem);
  border-top: 1px solid rgba(245, 240, 232, 0.16);
  font-size: 0.82rem; color: var(--on-dark-muted);
}
.to-top { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; color: var(--on-dark); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; }
.to-top svg { width: 1rem; height: 1rem; transition: transform var(--t-base) var(--ease-out); }
@media (hover: hover) { .to-top:hover svg { transform: translateY(-3px); } }
@media (max-width: 899px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Bag drawer ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(21, 24, 42, 0.42);
  opacity: 0; visibility: hidden;
  transition: opacity 500ms var(--ease-out), visibility 0s linear 500ms;
}
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity 500ms var(--ease-out), visibility 0s; }
.bag {
  position: fixed; z-index: 100; top: 0; right: 0; bottom: 0;
  width: min(100%, 28rem);
  background: var(--linen);
  display: grid; grid-template-rows: auto 1fr auto;
  transform: translateX(100%); visibility: hidden;
  transition: transform 650ms var(--ease-drawer), visibility 0s linear 650ms;
  box-shadow: -30px 0 60px -30px rgba(21, 24, 42, 0.35);
}
.bag.is-open { transform: none; visibility: visible; transition: transform 650ms var(--ease-drawer), visibility 0s; }
.bag__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem var(--gutter) 1.1rem; border-bottom: 1px solid var(--line); }
.bag__head h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.01em; }
.bag__body { overflow-y: auto; padding: 0.5rem var(--gutter); overscroll-behavior: contain; }
.bag__empty { display: grid; gap: 1.25rem; justify-items: start; padding-block: 2.5rem; }
.bag__empty p { font-family: var(--font-display); font-size: 1.6rem; font-weight: 300; line-height: 1.2; }
.line-item { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); animation: item-in 600ms var(--ease-out) both; }
@keyframes item-in { from { opacity: 0; transform: translateX(16px); } }
.line-item__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--oat); border-radius: var(--radius); }
.line-item__img img { width: 100%; height: 100%; object-fit: cover; }
.line-item__name { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.25; }
.line-item__meta { font-size: var(--fs-small); color: var(--muted); margin-top: 0.15rem; }
.qty { display: inline-flex; align-items: center; margin-top: 0.75rem; border: 1px solid var(--line-strong); border-radius: 999px; }
.qty button { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; }
.qty button svg { width: 0.95rem; height: 0.95rem; }
.qty span { min-width: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.line-item__end { display: grid; justify-items: end; align-content: space-between; }
.line-item__remove { font-size: 0.78rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.bag__foot { padding: 1.25rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 0.9rem; background: var(--paper); }
.bag__row { display: flex; justify-content: space-between; align-items: baseline; }
.bag__row strong { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
.bag__note { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* Toast */
.toast {
  position: fixed; z-index: 120; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom));
  transform: translate(-50%, 140%); opacity: 0;
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--ink); color: var(--linen);
  padding: 0.85rem 1.25rem; border-radius: 999px; font-size: 0.9rem;
  box-shadow: 0 20px 40px -20px rgba(21, 24, 42, 0.6);
  transition: transform 600ms var(--ease-out), opacity 400ms var(--ease-out);
  max-width: calc(100vw - 2rem);
}
.toast.is-shown { transform: translate(-50%, 0); opacity: 1; }
.toast svg { width: 1.1rem; height: 1.1rem; color: var(--candle); flex-shrink: 0; }

/* ---------- Page heads (inner pages) ---------- */
.page-head { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(2rem, 1rem + 3vw, 4rem); display: grid; gap: 1.25rem; }
.page-head .lead { max-width: 44ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.82rem; color: var(--muted); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.crumbs span[aria-hidden] { opacity: 0.6; }

/* Shop filters */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2rem, 1rem + 2vw, 3rem); }
.filter {
  min-height: 2.75rem; padding: 0.5rem 1.2rem; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background-color var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
}
.filter[aria-pressed="true"] { background: var(--ink); color: var(--linen); border-color: var(--ink); }
@media (hover: hover) { .filter:hover:not([aria-pressed="true"]) { border-color: var(--ink); } }
.shop-count { font-size: var(--fs-small); color: var(--muted); margin-bottom: 1.5rem; }
.grid-products .card { animation: card-in 800ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; padding-bottom: var(--section); }
.pdp__gallery { display: grid; gap: clamp(0.75rem, 0.4rem + 1vw, 1.25rem); }
.pdp__shot { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--oat); }
.pdp__shot img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { display: grid; gap: 1.5rem; }
@media (min-width: 900px) and (min-height: 940px) { .pdp__info { position: sticky; top: calc(var(--bar-h) + 2rem); } }
.pdp__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.3rem, 1.7rem + 2.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.pdp__price { font-size: 1.35rem; }
.pdp__desc { color: var(--ink-soft); max-width: 46ch; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.fieldset legend { padding: 0; margin-bottom: 0.75rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.sizes { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size span {
  display: inline-flex; align-items: center; min-height: 2.9rem; padding: 0.5rem 1.1rem;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.92rem; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
.size input:checked + span { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) { .size span:hover { border-color: var(--ink); } }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; }
.buy-row .qty { margin: 0; height: 3.25rem; }
.buy-row .qty button { height: 3.15rem; width: 2.9rem; }
.btn.is-added { --btn-bg: var(--success); --btn-fill: var(--success); border-color: var(--success); }
.accordion { border-top: 1px solid var(--line-strong); }
.accordion details { border-bottom: 1px solid var(--line-strong); }
.accordion summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.5rem; cursor: pointer; font-weight: 500;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { width: 1.1rem; height: 1.1rem; transition: transform var(--t-base) var(--ease-out); }
.accordion details[open] summary svg { transform: rotate(45deg); }
.accordion .acc-body { padding-bottom: 1.25rem; color: var(--ink-soft); font-size: 0.98rem; }
.accordion .acc-body ul { padding-left: 1.1rem; display: grid; gap: 0.3rem; }
@supports (interpolate-size: allow-keywords) {
  .accordion { interpolate-size: allow-keywords; }
  .accordion details::details-content { height: 0; overflow: clip; transition: height 450ms var(--ease-out), content-visibility 450ms allow-discrete; }
  .accordion details[open]::details-content { height: auto; }
}
.assurances { display: grid; gap: 0.6rem; font-size: 0.92rem; color: var(--ink-soft); }
.assurances li { display: flex; gap: 0.7rem; align-items: center; }
.assurances .icon { width: 1.15rem; height: 1.15rem; color: var(--candle-deep); }
@media (max-width: 899px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__info { position: static; }
  .pdp__gallery {
    grid-auto-flow: column; grid-auto-columns: 88%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .pdp__gallery::-webkit-scrollbar { display: none; }
  .pdp__shot { scroll-snap-align: start; }
}

/* ---------- About / contact ---------- */
.about-hero { position: relative; min-height: min(86svh, 56rem); display: grid; align-items: end; overflow: hidden; background: var(--oat); }
.about-hero__media { position: absolute; inset: 0; }
.about-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(245, 240, 232, 0.96) 0%, rgba(245, 240, 232, 0.6) 35%, rgba(245, 240, 232, 0) 65%); }
.about-hero__content { position: relative; z-index: 1; padding-block: 3rem clamp(3rem, 2rem + 4vw, 6rem); display: grid; gap: 1.25rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.value { display: grid; gap: 0.9rem; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.value__num { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--candle-deep); }
.value h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.15; }
.value p { color: var(--ink-soft); }
@media (max-width: 899px) { .values { grid-template-columns: 1fr; } }
.quote { text-align: center; }
.quote blockquote { font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: clamp(2rem, 1.2rem + 3.6vw, 4.5rem); line-height: 1.08; letter-spacing: -0.02em; max-width: 18ch; margin-inline: auto; text-wrap: balance; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2.5rem, 1rem + 5vw, 7rem); padding-bottom: var(--section); }
.contact-cards { display: grid; gap: 1px; background: var(--line-strong); border-block: 1px solid var(--line-strong); align-content: start; }
.contact-card { background: var(--linen); padding-block: 1.6rem; display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.25rem 1rem; }
.contact-card .icon { grid-row: span 3; color: var(--candle-deep); margin-top: 0.15rem; }
.contact-card h2 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact-card p, .contact-card address { font-style: normal; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; }
.contact-card small { color: var(--ink-soft); font-size: 0.92rem; }
.form { display: grid; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: 0.8rem 1rem;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 1rem; color: var(--ink);
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(29, 32, 51, 0.12); }
.field .hint { font-size: 0.82rem; color: var(--muted); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field .err { font-size: 0.82rem; color: var(--danger); min-height: 1.2em; }
@media (max-width: 899px) { .contact-grid, .form-row { grid-template-columns: 1fr; } }

.notfound { min-height: 80svh; display: grid; place-items: center; text-align: center; padding-block: 6rem; }
.notfound__inner { display: grid; gap: 1.5rem; justify-items: center; }
.notfound .intro__mark { margin-bottom: 0.5rem; }

/* ---------- Reveal motion (only when JS is running) ---------- */
.js [data-reveal="up"] { opacity: 0; transform: translateY(28px); transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal="fade"] { opacity: 0; transition: opacity 1400ms var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
/* clip lives on the inner wrapper so IntersectionObserver still sees the observed element */
.js [data-reveal="unfold"] .unfold-inner { clip-path: inset(0 0 100% 0); transition: clip-path 1500ms var(--ease-in-out); transition-delay: calc(var(--d, 0) * 120ms); }
.js [data-reveal="unfold"] .unfold-inner img, .js [data-reveal="unfold"] .unfold-inner > svg { transform: scale(1.14); transition: transform 2000ms var(--ease-out), opacity 700ms var(--ease-out); transition-delay: calc(var(--d, 0) * 120ms); }
.js [data-reveal="lines"] .line { display: block; overflow: hidden; padding: 0.04em 0.08em 0.1em; margin: -0.04em -0.08em -0.1em; }
.js [data-reveal="lines"] .line > span { display: block; transform: translateY(110%); transition: transform 1200ms var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms + var(--i, 0) * 110ms); }
.js .is-in[data-reveal="up"], .js .is-in[data-reveal="fade"] { opacity: 1; transform: none; }
.js .is-in[data-reveal="unfold"] .unfold-inner { clip-path: inset(0); }
.js .is-in[data-reveal="unfold"] .unfold-inner img, .js .is-in[data-reveal="unfold"] .unfold-inner > svg { transform: none; }
.js .is-in[data-reveal="lines"] .line > span { transform: none; }

/* Monogram line-draw */
.js .draw use, .js .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
.js .draw.is-in use, .js .draw.is-in path { animation: draw 2.4s var(--ease-in-out) forwards, fill-in 1s var(--ease-out) 1.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill-in { to { fill-opacity: 1; stroke-opacity: 0; } }

/* Hero intro */
.js .hero__frame { clip-path: inset(6% 4% 6% 4%); transition: clip-path 1700ms var(--ease-in-out); }
.js .hero__zoom { transform: scale(1.12); transition: transform 2400ms var(--ease-out); }
.js .is-ready .hero__frame { clip-path: inset(0); }
.js .is-ready .hero__zoom { transform: none; }
.js .hero [data-reveal] { transition-delay: calc(500ms + var(--d, 0) * 120ms); }
.js .hero [data-reveal="lines"] .line > span { transition-delay: calc(500ms + var(--i, 0) * 120ms); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal] .unfold-inner { clip-path: none !important; }
  .js [data-reveal] .unfold-inner img, .js [data-reveal] .unfold-inner > svg, .js [data-reveal="lines"] .line > span { transform: none !important; }
  .js .hero__frame { clip-path: none; } .js .hero__zoom { transform: none; }
  .js .draw use, .js .draw path { stroke-dashoffset: 0; fill-opacity: 1; stroke-opacity: 0; }
  .js .scrub .w { color: var(--ink); }
  .marquee__track { animation: none; }
  .breathe__words span + span { display: none; }
  .breathe__words span { opacity: 1 !important; }
}

@media print {
  .site-header, .bag, .scrim, .toast, .marquee, .newsletter, .menu { display: none !important; }
  .page-solid main { padding-top: 0; }
}

/* ==========================================================================
   Customer accounts
   ========================================================================== */
.account { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--section); }
.notice { padding: 0.85rem 1.1rem; border-radius: var(--radius); font-size: 0.95rem; }
.notice--ok { background: #e3efe5; color: var(--success); }
.notice--error { background: #f7e1dc; color: var(--danger); }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.auth__main { display: grid; gap: 1.25rem; max-width: 30rem; }
.auth__form { display: grid; gap: 1rem; }
.auth__small { font-size: 0.88rem; color: var(--muted); }
.auth__resend { font-size: 0.9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.25rem; align-items: baseline; }
.auth__resend button, .acct-card button.link-underline { font: inherit; color: var(--ink); padding: 0.25rem 0; min-height: 44px; }
.auth__aside { position: relative; display: grid; gap: 1.5rem; }
.auth__aside picture { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--oat); }
.auth__aside img { width: 100%; height: 100%; object-fit: cover; }
.auth__perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.auth__perks li { display: flex; gap: 0.75rem; align-items: baseline; color: var(--ink-soft); }
.auth__perks li::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--candle-deep); flex-shrink: 0; transform: translateY(-0.1rem); }
.field input:read-only { background: var(--oat); }
.code-input { font-size: 1.6rem !important; letter-spacing: 0.4em; text-align: center; font-variant-numeric: tabular-nums; }
.social { display: grid; gap: 0.6rem; }
.social__btn {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem; min-height: 3.25rem; padding: 0.6rem 1.25rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: #1f1f1f;
  font-weight: 500; font-size: 0.98rem; transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.social__btn svg { width: 1.3rem; height: 1.3rem; flex-shrink: 0; }
@media (hover: hover) { .social__btn:hover { border-color: var(--ink); box-shadow: 0 6px 18px -12px rgba(21, 24, 42, 0.5); } }
.divider { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: 0.85rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.account__head { display: grid; gap: 0.6rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.acct-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 0.4rem + 1vw, 1.25rem); }
.acct-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 0.8rem + 1.5vw, 2rem); display: grid; gap: 1rem; align-content: start; }
.acct-card--wide { grid-column: 1 / -1; }
.acct-sub { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 0.5rem; }
.orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.order { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; background: var(--linen); display: grid; gap: 0.6rem; }
.order__head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.order__head strong { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; }
.order__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; font-size: 0.93rem; color: var(--ink-soft); }
.order__items li { display: flex; justify-content: space-between; gap: 1rem; }
.order__status { justify-self: start; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--success); background: #e3efe5; padding: 0.3rem 0.6rem; border-radius: 999px; }
.cards, .methods { list-style: none; margin: 0; padding: 0; display: grid; }
.cards li, .methods li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 0.4rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.cards form, .methods form, .acct-actions form { margin: 0; }
.method { display: inline-flex; align-items: center; gap: 0.6rem; }
.method svg { width: 1.1rem; height: 1.1rem; }
.secure { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--ink-soft); background: var(--linen); padding: 0.75rem 0.9rem; border-radius: var(--radius); }
.secure .icon { width: 1.05rem; height: 1.05rem; color: var(--success); flex-shrink: 0; margin-top: 0.1rem; }
.acct-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.acct-delete summary { cursor: pointer; color: var(--danger); font-size: 0.92rem; min-height: 44px; display: flex; align-items: center; }
.check-row { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; }
.check-row input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; accent-color: var(--ink); }
.btn--danger { --btn-bg: var(--danger); --btn-fill: #82291d; }
@media (max-width: 899px) {
  .auth { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
  .acct-grid { grid-template-columns: 1fr; }
}

/* Long-form text (privacy policy) */
.prose { max-width: 46rem; padding-bottom: var(--section); }
.prose .page-head { padding-bottom: 1.5rem; }
.prose h2 { margin: 2.5rem 0 0.75rem; scroll-margin-top: calc(var(--bar-h) + 1.5rem); }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 0.9rem; }
.prose ul, .prose ol { padding-left: 1.2rem; display: grid; gap: 0.5rem; margin: 0.5rem 0 0; }
.prose a { color: var(--ink); }
