@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4eee7;
  --paper-deep: #f3ebdf;
  --ink: #292522;
  --muted: #5c534e;
  --plum: #45344f;
  --plum-deep: #302638;
  --plum-soft: #6b5278;
  --lilac: #eee9ef;
  --mist: #ece8e2;
  --line: #dcd4ca;
  --glass: rgba(255, 252, 247, 0.64);
  --glass-strong: rgba(255, 252, 247, 0.82);
  --glass-border: rgba(255, 255, 255, 0.7);
  --shadow: 0 18px 50px rgba(60, 42, 30, 0.08), 0 4px 14px rgba(60, 42, 30, 0.045);
  --shadow-soft: 0 10px 28px rgba(60, 42, 30, 0.06);
  --radius: 32px;
  --radius-sm: 22px;
  --gutter: clamp(20px, 5.3vw, 94px);
  --header: 72px;
  --sans: Inter, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --blur: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--paper);
  scroll-padding-top: calc(var(--header) + 18px);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 48% at 6% -8%, rgba(238, 220, 200, 0.45), transparent 58%),
    radial-gradient(ellipse 55% 42% at 100% 6%, rgba(232, 214, 196, 0.4), transparent 54%),
    radial-gradient(ellipse 50% 36% at 82% 72%, rgba(220, 200, 214, 0.18), transparent 62%),
    radial-gradient(ellipse 42% 30% at 8% 88%, rgba(236, 226, 210, 0.4), transparent 55%),
    var(--paper);
}

body:has(dialog[open]) { overflow: hidden; }

h1, h2, h3, p, figure, ul, ol, fieldset { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid #794f98; outline-offset: 5px; }

.wrap { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; }

.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  position: absolute;
  left: 16px;
  top: 10px;
  z-index: 30;
  background: var(--glass-strong);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: var(--shadow-soft);
}

.panel {
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Curtain + custom cursor */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  transform: translateY(100%);
  background:
    linear-gradient(180deg, rgba(239, 232, 244, 0.92) 0%, rgba(214, 198, 226, 0.96) 48%, rgba(180, 158, 198, 0.98) 100%);
}

.page-curtain.is-covering {
  pointer-events: auto;
  transform: translateY(0);
  transition: transform 0.72s cubic-bezier(.22, 1, .36, 1);
}

.page-curtain.is-armed {
  transform: translateY(0);
  pointer-events: auto;
}

.page-curtain.is-revealing {
  transform: translateY(-100%);
  transition: transform 0.72s cubic-bezier(.22, 1, .36, 1);
}

.has-custom-cursor, .has-custom-cursor * { cursor: none !important; }

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 120;
  opacity: 0;
  border-radius: 50%;
}

.cursor-on .cursor-dot, .cursor-on .cursor-ring { opacity: 1; }

.cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--plum);
  transition: opacity 180ms var(--ease), transform 60ms linear;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(69, 52, 79, 0.4);
  background: rgba(255, 255, 255, 0.12);
  transition: width 280ms var(--ease), height 280ms var(--ease), margin 280ms var(--ease), background-color 280ms var(--ease), border-color 280ms var(--ease), opacity 180ms var(--ease);
}

.cursor-hot .cursor-ring {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  background: rgba(69, 52, 79, 0.07);
  border-color: rgba(69, 52, 79, 0.55);
}

.cursor-media .cursor-ring {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(214, 198, 230, 0.22);
  border-color: rgba(69, 52, 79, 0.28);
}

/* Header */
.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  padding: 0 var(--gutter);
  background: rgba(245, 244, 248, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 0 rgba(60, 40, 80, 0.04);
}

.wordmark {
  width: max-content;
  font: 640 25px/1 var(--sans);
  letter-spacing: -0.049em;
}

.primary-nav, .footer-bottom nav { display: flex; gap: 32px; align-items: center; }
.primary-nav a, .footer-bottom a { font-size: 14px; line-height: 44px; }
.primary-nav a[aria-current="page"] { font-weight: 600; }
.nav-buy { font-weight: 550; }

.amazon-link {
  justify-self: end;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}

.amazon-link span[aria-hidden] { font-size: 16px; }

.menu-toggle { display: none; }
.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.menu-toggle.icon { display: none; }
.hamburger, .hamburger:before { height: 1px; width: 20px; background: currentColor; }
.hamburger { position: relative; transform: translateY(3px); }
.hamburger:before { content: ""; position: absolute; left: 0; top: -6px; }

/* Buttons */
.button {
  min-height: 52px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 99px;
  color: white;
  background: var(--plum);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(69, 52, 79, 0.18);
  transition: background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.button span { font-size: 16px; }
.button:active { box-shadow: 0 6px 14px rgba(69, 52, 79, 0.16); }
[data-magnetic] { will-change: transform; }

.button-light {
  color: var(--plum);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(20, 10, 30, 0.18);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 14px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--plum-soft);
  margin-bottom: 14px;
}

/* Scene enter — default visible if JS is off */
.scene .scene-media img { transform: none; }
.scene .scene-copy { opacity: 1; transform: none; }

html.js .scene .scene-media img {
  transform: scale(1.08);
  transition: transform 1.4s var(--ease);
}
html.js .scene.is-in .scene-media img { transform: scale(1); }

html.js .scene .scene-copy {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease) 80ms, transform 0.9s var(--ease) 80ms;
}
html.js .scene.is-in .scene-copy,
html.js .scene.hero .scene-copy {
  opacity: 1;
  transform: none;
}

.split-line { display: block; overflow: hidden; }
.split-char {
  display: inline-block;
  transform: translateY(110%);
  animation: char-up 0.95s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: calc(var(--i) * 60ms);
}
@keyframes char-up { to { transform: translateY(0); } }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  min-height: calc(100svh - var(--header));
  padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(40px, 5vw, 72px);
}

.hero-copy { max-width: none; }
.hero h1, .hero .split-line { white-space: nowrap; }
.hero-tagline { max-width: 16em; }

.hero h1 {
  font: 520 clamp(48px, 6.4vw, 96px)/0.96 var(--sans);
  letter-spacing: -0.068em;
  margin: 0 0 18px;
}

.hero-tagline {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: var(--plum);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 32px;
}

.hero-image {
  position: relative;
  align-self: stretch;
  min-height: min(72svh, 760px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ece4d6;
}

.hero-image picture, .pause-image picture,
.detail-wear picture, .detail-day picture,
.gallery-card-frame picture, .shop-stage picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-image img, .pause-image img,
.gallery-card-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image img { object-position: center 46%; }

.gallery-card-frame.is-still-life { background: #c7beb0; }
.gallery-card-frame.is-still-life img { object-fit: contain; object-position: center; }

/* How it works — warm editorial split, after the Charging & Care reference */
.ritual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
  gap: 0;
  padding: 0;
  width: 100%;
  background: var(--paper);
}

.ritual-photo {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 0;
  overflow: hidden;
  background: #c7beb0;
  border-radius: 0;
  box-shadow: none;
  isolation: isolate;
}

.ritual-photo picture,
.ritual-photo img {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.ritual-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(48px, 8vw, 96px) clamp(28px, 6vw, 96px);
  background: var(--paper);
}
.ritual-copy > p { max-width: 38ch; font-size: 17px; color: var(--muted); }
.ritual-copy .eyebrow { margin-bottom: 0; color: var(--plum); font-weight: 550; }
.ritual-copy h2 {
  color: var(--plum);
  font: 560 clamp(40px, 5.2vw, 72px)/1.02 var(--sans);
  letter-spacing: -0.045em;
}
.ritual-copy h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--plum);
  margin-top: 16px;
  border-radius: 2px;
}
.ritual-lede {
  font-size: clamp(22px, 2.2vw, 28px) !important;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink) !important;
  font-weight: 550;
  max-width: 18ch !important;
}

h2 {
  font: 500 clamp(36px, 4.6vw, 72px)/1.03 var(--sans);
  letter-spacing: -0.058em;
}

.how-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  display: grid;
  gap: 0;
}

.how-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.how-list li:last-child { border-bottom: 1px solid var(--line); }

.how-list span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--plum);
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  color: var(--plum);
  font-variant-numeric: tabular-nums;
  padding: 0;
  margin-top: 1px;
}

.how-list p { font-size: 16px; line-height: 1.5; color: var(--ink); }

/* Pinned horizontal gallery */
.gallery-pin { padding-block: 20px; }

.gallery-pin-sticky {
  padding: 28px 0 36px;
}

.gallery-kicker {
  width: min(100% - 2 * var(--gutter), 1280px);
  margin: 0 auto 22px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--plum-soft);
}

.gallery-track {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  padding-inline: var(--gutter);
  width: max-content;
}

.gallery-card { width: min(68vw, 560px); flex: 0 0 auto; }

.gallery-card-frame {
  position: relative;
  aspect-ratio: 1.05;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--mist);
}

.gallery-card-frame.is-packshot img {
  object-fit: contain;
  padding: 8%;
  mix-blend-mode: multiply;
}

.gallery-card-frame.is-violet { background: var(--lilac); }
.gallery-card-frame.is-charcoal { background: var(--mist); }

.gallery-card figcaption {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.gallery-card figcaption span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

@media (min-width: 900px) {
  .gallery-pin {
    height: 280vh;
    padding-block: 0;
  }

  .gallery-pin-sticky {
    position: sticky;
    top: var(--header);
    height: calc(100svh - var(--header));
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 0;
  }

  .gallery-kicker { margin-bottom: 28px; }

  .gallery-track {
    will-change: transform;
    align-items: center;
  }

  .gallery-card {
    width: min(58vw, 620px);
    transform-origin: center center;
  }
}

@media (max-width: 899px) {
  .gallery-pin-sticky {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery-pin-sticky::-webkit-scrollbar { display: none; }
  .gallery-card { scroll-snap-align: center; }
}

/* Pause */
.pause-scene {
  position: relative;
  min-height: calc(100svh - var(--header));
  margin: 0 var(--gutter) 0;
  padding-block: clamp(24px, 4vw, 48px);
  display: grid;
  align-items: end;
}

.pause-image {
  position: absolute;
  inset: clamp(24px, 4vw, 48px) 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #d9d0c6;
}

.pause-image img { object-position: 61% 48%; }

.pause-copy {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  margin: 0 0 clamp(40px, 6vw, 80px) clamp(20px, 3vw, 48px);
  padding: clamp(24px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.7);
}

.pause-copy h2 { font-size: clamp(34px, 4.4vw, 64px); }
.pause-copy p { color: var(--muted); max-width: 34ch; margin-top: 14px; }

/* Product block */
.shop {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(28px, 7vw, 120px);
  min-height: calc(100svh - var(--header));
  padding-block: clamp(64px, 8vw, 124px);
}

.shop-stage {
  position: relative;
  aspect-ratio: 1.05;
  overflow: hidden;
  isolation: isolate;
  background: var(--lilac);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: background-color 220ms var(--ease);
}

.shop-stage.is-charcoal { background: var(--mist); }

.shop-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8%;
  mix-blend-mode: multiply;
  transition: opacity 220ms var(--ease);
}

.shop-lede { color: var(--muted); font-size: 17px; max-width: 36ch; margin-top: 14px; }

.price {
  font: 570 32px/1 var(--sans);
  letter-spacing: -0.04em;
  margin: 22px 0 6px;
}

.price-note, .amazon-note {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 8px;
  max-width: 42ch;
}

.amazon-note { margin: 0 0 22px; }

.shop-finishes, .finish-picker {
  border: 0;
  padding: 0;
  margin: 22px 0 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-finishes legend, .finish-picker legend {
  font-size: 14px;
  margin-bottom: 10px;
  padding: 0;
  width: 100%;
}

.finish-picker strong { margin-left: 7px; }

.finish-tile {
  min-height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 50px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.finish-tile[aria-pressed="true"] {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.violet-dot { background: #5d3d6d; }
.charcoal-dot { background: #2c2b2d; }

.shop-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Marquee */
.marquee-scene { padding: clamp(36px, 6vw, 80px) 0; }

.marquee-kicker {
  width: min(100% - 2 * var(--gutter), 1280px);
  margin: 0 auto 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--plum-soft);
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 48s linear infinite;
}

.marquee.is-js .marquee-track { animation: none; }

.marquee-track ul {
  display: flex;
  gap: 48px;
  padding: 8px 48px 8px 0;
  list-style: none;
  margin: 0;
}

.marquee-track li {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--plum);
  white-space: nowrap;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* FAQ */
.questions {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: start;
  padding-block: clamp(64px, 8vw, 124px);
}

.faq {
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 28px;
}

.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary span { position: relative; flex: 0 0 14px; height: 14px; }
.faq summary span:before, .faq summary span:after {
  content: "";
  position: absolute;
  inset: 6px 0 auto;
  height: 1px;
  background: currentColor;
}
.faq summary span:after { transform: rotate(90deg); transition: transform 160ms var(--ease); }
.faq details[open] summary span:after { transform: none; }
.faq details p { padding: 0 20px 20px 0; color: var(--muted); max-width: 49ch; }
.faq a { text-decoration: underline; text-underline-offset: 4px; }

/* Footer */
.footer {
  background: var(--plum-deep);
  color: #f5f4f8;
  padding: 56px 0 28px;
  margin-top: 20px;
}

.footer-main, .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-main { padding-bottom: 40px; }
.footer .wordmark { font-size: clamp(34px, 5vw, 76px); color: #f5f4f8; }
.footer-bottom { border-top: 1px solid #fff4; padding-top: 14px; font-size: 13px; }
.footer-legal {
  max-width: 68ch;
  color: #f5f4f8cc;
  font-size: 12px;
  line-height: 1.55;
  margin: 18px 0 0;
}

/* Product page */
.product-page { padding: 28px 0 100px; min-height: 70vh; }

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }

.product-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: start;
  gap: clamp(32px, 7vw, 100px);
}

.product-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
  box-shadow: var(--shadow);
}

.product-photo.violet { background: var(--lilac); }
.product-photo.charcoal { background: var(--mist); }
.product-photo img {
  width: min(80%, 480px);
  mix-blend-mode: multiply;
  transition: transform 240ms var(--ease);
}

.gallery-main { aspect-ratio: 1.06; }
.gallery-main img { width: min(88%, 650px); }
.gallery-main.is-wear img { mix-blend-mode: normal; width: 100%; height: 100%; object-fit: cover; }
.gallery-main.is-scene img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }

.corner-arrow {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--glass-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  border-radius: 50%;
  font-size: 20px;
  box-shadow: var(--shadow-soft);
}

.thumbnails { display: flex; gap: 12px; margin-top: 16px; }
.thumbnails button {
  width: clamp(51px, 9vw, 80px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
  outline: 1px solid var(--line);
  outline-offset: 1px;
  background: white;
}
.thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.thumbnails [aria-pressed="true"] { outline: 2px solid var(--plum); }
.thumbnails button:focus-visible { outline: 2px dashed #794f98; outline-offset: 4px; }

.purchase { padding-top: clamp(10px, 1.7vw, 34px); }
.purchase h1 {
  font: 520 clamp(39px, 4.75vw, 76px)/1 var(--sans);
  letter-spacing: -0.062em;
  margin: 0 0 18px;
}
.purchase h1:focus { outline: none; }
.product-lede { font-size: clamp(16px, 1.3vw, 19px); max-width: 34ch; line-height: 1.56; color: var(--muted); }
.purchase .faq {
  margin-top: 28px;
  padding: 4px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
}
.purchase .faq details { border-bottom: 1px solid var(--line); }
.buy-controls { display: block; }
.buy-controls .button.add { width: 100%; justify-content: space-between; margin-top: 4px; }

.product-story {
  margin-top: clamp(70px, 10vw, 150px);
  padding-top: clamp(45px, 6vw, 90px);
}

.product-story-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.product-story-copy p { color: var(--muted); }

.product-story-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.product-story-photos > div {
  aspect-ratio: 1.35;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.product-story-photos img { width: 100%; height: 100%; object-fit: cover; }
.detail-wear { background: var(--lilac); }
.detail-wear img { object-position: center 65%; }
.detail-day img { object-position: 57% 55%; }

/* Legal */
.legal-main { padding: 48px 0 120px; }
.legal-card { padding: clamp(28px, 4vw, 56px); }
.legal-main h1 {
  font: 510 clamp(36px, 5vw, 72px)/1.02 var(--sans);
  letter-spacing: -0.06em;
  margin: 0 0 16px;
}
.legal-main .lede { color: var(--muted); max-width: 46ch; margin-bottom: 28px; font-size: 18px; }
.legal-prose h2 { font: 520 26px/1.2 var(--sans); letter-spacing: -0.04em; margin: 28px 0 10px; }
.legal-prose p { color: var(--muted); max-width: 62ch; margin: 0 0 14px; }
.legal-prose a { text-decoration: underline; text-underline-offset: 4px; }

/* Dialogs */
.drawer, .zoom { border: 0; padding: 0; color: var(--ink); background: var(--glass-strong); }
.drawer {
  height: 100%;
  max-height: none;
  width: min(100%, 420px);
  max-width: none;
  margin: 0 0 0 auto;
  inset: 0;
  overflow: auto;
  overscroll-behavior: contain;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 190ms var(--ease), display 190ms allow-discrete, overlay 190ms allow-discrete;
}
.drawer[open] { transform: translateX(0); transition-duration: 270ms; }
dialog::backdrop { background: rgba(34, 21, 42, 0.28); }
.drawer::backdrop { opacity: 0; transition: opacity 190ms var(--ease), display 190ms allow-discrete, overlay 190ms allow-discrete; }
.drawer[open]::backdrop { opacity: 1; }

@starting-style {
  .drawer[open] { transform: translateX(100%); }
  .drawer[open]::backdrop { opacity: 0; }
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 20px 24px;
}
.drawer-head h2 { font-size: 28px; }
.close { font-size: 28px; line-height: 1; }
.menu-links { padding: 24px; display: grid; }
.menu-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 21px; }

.zoom {
  position: fixed;
  max-width: min(92vw, 820px);
  max-height: 88vh;
  overflow: hidden;
  background: var(--lilac);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.zoom img { width: 100%; height: auto; max-height: 85vh; object-fit: contain; mix-blend-mode: multiply; }
.zoom.is-wear img, .zoom.is-scene img { mix-blend-mode: normal; }
.zoom .close {
  position: absolute;
  z-index: 1;
  right: 8px;
  top: 8px;
  background: var(--glass-strong);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover { background: #3a2b44; }
  .button-light:hover { background: #fff; }
  .primary-nav a:hover, .footer-bottom a:hover, .amazon-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
  }
  button.product-photo:hover img { transform: scale(1.035); }
  .icon:hover { background: #9e7cad1b; }
  .finish-tile:hover { border-color: var(--ink); }
}

@media (max-width: 850px) {
  :root { --header: 68px; }
  .primary-nav { gap: 18px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(44px, 8vw, 72px); }
  .ritual, .shop { min-height: auto; }
  .questions { grid-template-columns: 1fr; gap: 26px; }
  .pause-scene { min-height: auto; }
  .pause-image { position: relative; inset: auto; aspect-ratio: 1.2; }
  .pause-copy { margin: -72px 16px 12px; }
}

@media (max-width: 720px) {
  .amazon-link { display: inline-flex; }
  .primary-nav { display: none; }
  .menu-toggle.icon { display: grid; }
  .masthead { padding-inline: 14px; grid-template-columns: 44px 1fr auto; }
  .masthead .wordmark { font-size: 22px; justify-self: center; }
}

@media (max-width: 620px) {
  :root { --header: 62px; --gutter: 20px; --radius: 28px; }
  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 20px 20px 36px;
  }
  .hero-copy { max-width: none; }
  .hero-image { min-height: 0; aspect-ratio: 1.05; height: auto; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 56px); margin: 0 0 12px; }
  .hero-tagline { font-size: clamp(19px, 5.45vw, 25px); }
  .hero-actions { margin-top: 22px; }
  .shop { grid-template-columns: 1fr; gap: 24px; }
  .ritual { grid-template-columns: 1fr; gap: 0; padding-block: 0; min-height: 0; }
  .ritual-photo { aspect-ratio: 738 / 538; min-height: 0; }
  .ritual-copy { gap: 14px; padding: 48px 24px 36px; }
  .ritual-copy h2 { font-size: clamp(36px, 10vw, 52px); }
  .product-layout { grid-template-columns: 1fr; gap: 18px; }
  .product-page { padding: 14px 0 60px; }
  .footer-bottom nav { gap: 18px; flex-wrap: wrap; }
  .price { font-size: 24px; margin: 16px 0 4px; }
  .faq { padding: 4px 18px; }
  .pause-copy { margin: -64px 8px 8px; padding: 22px; }
  .gallery-card { width: min(78vw, 420px); }
  .product-story-copy { display: block; }
  .product-story-copy p { margin-top: 8px; }
  .product-story-photos { gap: 10px; }
  .product-story-photos > div { aspect-ratio: 0.9; }
  .gallery-main { aspect-ratio: 1.16; }
  .corner-arrow { width: 32px; height: 32px; right: 8px; top: 8px; font-size: 15px; }
  .amazon-word { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scene .scene-media img, .scene .scene-copy, .split-char { opacity: 1; transform: none; }
  .page-curtain { display: none; }
  .gallery-pin { height: auto !important; }
  .gallery-pin-sticky { position: static !important; height: auto !important; overflow-x: auto; }
  button.product-photo:hover img { transform: none; }
}

html.is-still .hero,
html.is-still .ritual,
html.is-still .shop,
html.is-still .pause-scene {
  min-height: 0;
}
html.is-still .hero {
  min-height: 828px;
}
html.is-still .hero-image { min-height: 640px; }
html.is-still .ritual { min-height: 0; }
@media (max-width: 850px) {
  html.is-still .hero,
  html.is-still .hero-image { min-height: 0; }
}
html.is-still .gallery-pin { height: auto !important; padding-block: clamp(40px, 6vw, 80px); }
html.is-still .gallery-pin-sticky {
  position: static !important;
  height: auto !important;
  overflow: visible !important;
  display: block;
}
html.is-still .gallery-track {
  transform: none !important;
  flex-wrap: wrap;
  width: auto;
  max-width: min(100% - 2 * var(--gutter), 1280px);
  margin-inline: auto;
  padding-inline: 0;
}
html.is-still .gallery-card {
  width: calc(50% - 18px);
  transform: none !important;
}
html.is-still .marquee-track { animation: none; }

html.is-still .marquee {
  mask-image: none;
  -webkit-mask-image: none;
}
html.is-still .marquee-track {
  width: auto;
  max-width: min(100% - 2 * var(--gutter), 1280px);
  margin-inline: auto;
  justify-content: center;
}
html.is-still .marquee-track ul {
  padding: 8px 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
}
html.is-still .marquee-track ul[aria-hidden] { display: none; }
