:root {
  --background: #faf9f7;
  --foreground: #1a1815;
  --surface: #f2efeb;
  --surface-2: #e8e0d6;
  --taupe: #9c8b7a;
  --champagne: #d4c4b5;
  --rose: #b79e8c;
  --sage: #7f8b7a;
  --wine: #6f3434;
  --ink-soft: #59524a;
  --muted: #8a8279;
  --border: #e9e4dc;
  --shadow: 0 24px 70px rgba(67, 53, 39, 0.13);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% 8%, rgba(127, 139, 122, 0.13), transparent 24rem),
    radial-gradient(circle at 14% 28%, rgba(212, 196, 181, 0.34), transparent 28rem),
    var(--background);
  color: var(--foreground);
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
}

body.menu-open {
  overflow: hidden;
}

body.checkout-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.announcement {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--foreground);
  color: var(--background);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 400ms var(--ease);
}

.announcement.is-hidden {
  transform: translateY(-100%);
}

.site-header {
  position: fixed;
  inset: 36px 0 auto;
  z-index: 60;
  height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.75rem);
  padding: 0 clamp(1.25rem, 4vw, 4rem);
  transition: inset 400ms var(--ease), background 400ms var(--ease), box-shadow 400ms var(--ease);
}

.site-header.is-scrolled {
  inset-block-start: 0;
  background: rgba(250, 249, 247, 0.91);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  grid-column: 2;
  width: clamp(7.5rem, 11vw, 9.5rem);
  height: 56px;
  display: grid;
  place-items: center;
  font-family: "Cormorant", Georgia, serif;
  font-size: clamp(1.75rem, 2.25vw, 2.15rem);
  font-weight: 300;
  letter-spacing: 0.24em;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.brand-word {
  transform: translateX(0.12em);
  transition: opacity 300ms var(--ease), transform 440ms var(--ease), filter 440ms var(--ease);
}

.brand-cat {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 24px;
  color: var(--foreground);
  opacity: 0;
  transform: translate(-50%, -50%) translateX(-1.5rem) scale(0.82);
  pointer-events: none;
}

.brand-cat i {
  position: absolute;
  display: block;
  background: currentColor;
}

.cat-body {
  left: 11px;
  top: 7px;
  width: 25px;
  height: 11px;
  border-radius: 55% 48% 46% 50%;
}

.cat-head {
  right: 1px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.cat-head::before {
  position: absolute;
  content: "";
  left: 0;
  top: -5px;
  width: 12px;
  height: 7px;
  background: currentColor;
  clip-path: polygon(0 100%, 12% 0, 46% 58%, 82% 0, 100% 100%);
}

.cat-tail {
  left: 2px;
  top: 3px;
  width: 13px;
  height: 12px;
  border: 3px solid currentColor;
  border-right: 0;
  border-bottom: 0;
  border-radius: 14px 0 0;
  background: transparent !important;
  transform: rotate(-20deg);
  transform-origin: right bottom;
}

.cat-leg {
  bottom: 0;
  width: 3px;
  height: 8px;
  border-radius: 0 0 3px 3px;
  transform-origin: center top;
}

.cat-leg.leg-one {
  left: 15px;
}

.cat-leg.leg-two {
  left: 21px;
}

.cat-leg.leg-three {
  left: 29px;
}

.cat-leg.leg-four {
  left: 35px;
}

.brand:hover .brand-word,
.brand.is-cat-active .brand-word,
.brand:focus-visible .brand-word {
  opacity: 0.08;
  filter: blur(1.5px);
  transform: translateX(0.12em) scale(0.94);
}

.brand:hover .brand-cat,
.brand.is-cat-active .brand-cat,
.brand:focus-visible .brand-cat {
  animation: catWalkAcross 1650ms cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

.brand:hover .cat-leg,
.brand.is-cat-active .cat-leg,
.brand:focus-visible .cat-leg {
  animation: catStep 320ms ease-in-out infinite alternate;
}

.brand:hover .leg-two,
.brand:hover .leg-four,
.brand.is-cat-active .leg-two,
.brand.is-cat-active .leg-four,
.brand:focus-visible .leg-two,
.brand:focus-visible .leg-four {
  animation-direction: alternate-reverse;
}

.brand:hover .cat-tail,
.brand.is-cat-active .cat-tail,
.brand:focus-visible .cat-tail {
  animation: catTail 520ms ease-in-out infinite alternate;
}

.nav-left {
  grid-column: 1;
  justify-self: end;
}

.header-right {
  grid-column: 3;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.nav-right {
  justify-content: flex-start;
}

.header-actions {
  margin-left: auto;
}

.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav {
  position: relative;
  isolation: isolate;
}

@keyframes catWalkAcross {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-2rem) translateY(1px) scale(0.82);
  }
  14%,
  86% {
    opacity: 1;
  }
  48% {
    transform: translate(-50%, -50%) translateX(0) translateY(-1px) scale(0.92);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(2rem) translateY(1px) scale(0.82);
  }
}

@keyframes catStep {
  from {
    transform: rotate(18deg) translateY(0);
  }
  to {
    transform: rotate(-20deg) translateY(1px);
  }
}

@keyframes catTail {
  from {
    transform: rotate(-28deg);
  }
  to {
    transform: rotate(-8deg);
  }
}

.desktop-nav a,
.text-link {
  position: relative;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.desktop-nav a {
  z-index: 1;
  padding: 0.85rem 0;
  transition: color 280ms var(--ease), transform 280ms var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--taupe);
  transform: translateY(-1px);
}

.nav-orbit {
  position: absolute;
  left: var(--nav-orbit-left, 0);
  top: calc(100% + 0.78rem);
  z-index: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #fff, rgba(255, 255, 255, 0.2) 38%, transparent 40%),
    var(--taupe);
  opacity: var(--nav-orbit-opacity, 0);
  transform: translateX(-50%) scale(var(--nav-orbit-scale, 0.82));
  box-shadow:
    0 0 0 7px rgba(156, 139, 122, 0.08),
    0 10px 18px rgba(67, 53, 39, 0.16);
  transition:
    left 540ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 240ms ease,
    transform 420ms var(--ease);
}

.nav-orbit::after {
  position: absolute;
  content: "";
  left: 50%;
  top: 50%;
  width: 1px;
  height: 18px;
  background: linear-gradient(rgba(156, 139, 122, 0.35), transparent);
  transform: translate(-50%, -110%);
  opacity: 0.6;
}

.desktop-nav:hover,
.desktop-nav:focus-within {
  --nav-orbit-opacity: 1;
  --nav-orbit-scale: 1;
}

.desktop-nav a::after,
.text-link::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms var(--ease);
}

.desktop-nav a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.icon-button,
.menu-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.icon-button {
  position: relative;
  width: 40px;
  height: 40px;
}

.bag-icon {
  position: absolute;
  inset: 12px 10px 8px;
  border: 1px solid currentColor;
  border-radius: 0 0 10px 10px;
}

.bag-icon::before {
  position: absolute;
  content: "";
  left: 5px;
  top: -7px;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.bag-count {
  position: absolute;
  right: 3px;
  top: 4px;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--taupe);
  color: var(--background);
  font-size: 0.62rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 8px 6px;
  background: currentColor;
  transition: transform 300ms var(--ease);
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(35deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-5px) rotate(-35deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-content: center;
  gap: 1.2rem;
  padding: 7rem 2rem 2rem;
  background: rgba(250, 249, 247, 0.96);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1rem);
  transition: opacity 350ms var(--ease), transform 350ms var(--ease);
  backdrop-filter: blur(20px);
}

.mobile-menu a {
  font-family: "Cormorant", Georgia, serif;
  font-size: clamp(2.2rem, 13vw, 4rem);
  font-weight: 300;
}

.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.brand-hero {
  position: relative;
  min-height: min(88svh, 54rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 9rem clamp(1.25rem, 5vw, 5rem) 5rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(250, 249, 247, 0.96), rgba(242, 239, 235, 0.76)),
    var(--background);
}

.brand-hero::before,
.brand-hero::after {
  position: absolute;
  content: "";
  left: clamp(1.25rem, 5vw, 5rem);
  right: clamp(1.25rem, 5vw, 5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(156, 139, 122, 0.28), transparent);
}

.brand-hero::before {
  top: 8rem;
}

.brand-hero::after {
  bottom: 3.4rem;
}

.hero-brand-stage {
  position: relative;
  width: min(100%, 72rem);
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 1.35rem;
}

.hero-brand-stage > .overline,
.hero-intro,
.hero-brand-stage .hero-actions {
  opacity: 0;
  transform: translateY(12px);
  animation: heroDetailReveal 850ms var(--ease) forwards;
}

.hero-brand-stage > .overline {
  animation-delay: 1040ms;
}

.hero-intro {
  animation-delay: 1040ms;
}

.hero-brand-stage .hero-actions {
  animation-delay: 1240ms;
}

.hero-logo-lockup {
  position: relative;
  width: min(100%, 42rem);
  min-height: clamp(9rem, 19vw, 12rem);
  display: grid;
  place-items: center;
}

.custom-wordmark {
  position: relative;
  width: min(82vw, 32rem);
  aspect-ratio: 944 / 320;
  overflow: hidden;
}

.wordmark-pull {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordmarkPullUp 760ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wordmark-pull img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.92;
}

.wordmark-primary {
  animation-delay: 180ms;
}

.hero-intro {
  max-width: 38rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.6vw, 1.14rem);
  line-height: 1.7;
}

.overline {
  margin: 0 0 1rem;
  color: var(--taupe);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant", Georgia, serif;
  font-weight: 300;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 6.35rem);
  letter-spacing: 0.01em;
}

h1 em,
.difference-intro em {
  color: var(--taupe);
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

@keyframes wordmarkPullUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDetailReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button,
.book-controls button,
.newsletter button,
.product-image button {
  min-height: 44px;
  border: 1px solid var(--foreground);
  padding: 0.9rem 1.35rem;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 300ms var(--ease), background 300ms var(--ease), color 300ms var(--ease);
}

.button:hover,
.book-controls button:hover,
.newsletter button:hover,
.product-image button:hover {
  transform: translateY(-2px);
}

.button.primary,
.newsletter button,
.product-image button {
  background: var(--foreground);
  color: var(--background);
}

.button.secondary,
.book-controls button {
  background: transparent;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  width: 22px;
  height: 34px;
  border: 1px solid var(--champagne);
  border-radius: 20px;
}

.scroll-cue span {
  display: block;
  width: 3px;
  height: 3px;
  margin: 8px auto;
  border-radius: 50%;
  background: var(--taupe);
  animation: scrollDot 1.8s infinite;
}

section {
  padding: clamp(4.5rem, 10vw, 8.5rem) clamp(1.25rem, 5vw, 5rem);
}

.section-heading,
.section-row {
  max-width: 78rem;
  margin: 0 auto clamp(2rem, 5vw, 4rem);
}

.section-heading {
  text-align: center;
}

.section-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

h2 {
  font-size: clamp(2.35rem, 5vw, 4.5rem);
}

.lookbook {
  scroll-margin-top: 5.5rem;
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  background: linear-gradient(180deg, rgba(242, 239, 235, 0.3), rgba(212, 196, 181, 0.16));
}

.opening-lookbook {
  min-height: 100svh;
  padding-top: clamp(8.5rem, 12vw, 10rem);
}

.lookbook .section-heading {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.book-shell {
  max-width: 90rem;
  margin: 0 auto;
}

.magazine {
  position: relative;
  max-width: 86rem;
  min-height: clamp(25rem, 40vw, 35rem);
  margin: 0 auto;
  perspective: 2200px;
  perspective-origin: 50% 48%;
  contain: layout;
}

.magazine-bed {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: -2.2rem;
  height: 4.4rem;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(67, 53, 39, 0.24), transparent 68%);
  filter: blur(12px);
}

.flipbook-shell {
  display: grid;
  place-items: center;
  padding: clamp(0.35rem, 1vw, 0.8rem);
}

.flipbook {
  position: relative;
  z-index: 2;
  width: min(100%, 84rem);
  min-height: clamp(24rem, 39vw, 34rem);
  margin: 0 auto;
  filter: drop-shadow(0 26px 44px rgba(67, 53, 39, 0.16));
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-tap-highlight-color: transparent;
}

.magazine.is-pageflip-ready .flipbook {
  min-height: 0;
}

.flipbook::before {
  position: absolute;
  content: "";
  z-index: 5;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background:
    linear-gradient(180deg, transparent, rgba(67, 53, 39, 0.25) 12%, rgba(67, 53, 39, 0.32) 50%, rgba(67, 53, 39, 0.18) 88%, transparent);
  box-shadow:
    -12px 0 24px rgba(67, 53, 39, 0.1),
    12px 0 24px rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

/* PageFlip switches to one-page portrait mode before the site breakpoint. */
.flipbook:has(.stf__wrapper.--portrait)::before {
  display: none;
}

.flip-page {
  overflow: hidden;
  border: 1px solid rgba(233, 228, 220, 0.95);
  border-radius: 8px;
  background: var(--background);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.flip-page[data-density="hard"] {
  background:
    linear-gradient(135deg, rgba(250, 249, 247, 0.95), rgba(232, 224, 214, 0.7)),
    var(--surface);
}

.flip-page .page-content {
  height: 100%;
}

.flip-page .page-content img {
  user-select: none;
  -webkit-user-drag: none;
}

.magazine.is-pageflip-ready .stf__parent {
  margin: 0 auto;
  isolation: isolate;
}

.magazine.is-pageflip-ready .stf__item {
  background: var(--background);
}

.magazine.is-pageflip-ready .stf__outerShadow,
.magazine.is-pageflip-ready .stf__innerShadow {
  pointer-events: none;
}

.magazine.is-busy .flipbook {
  cursor: grabbing;
}

.magazine.is-fallback .flipbook {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(31rem, 52vw, 42rem);
}

.magazine.is-fallback .flip-page {
  display: none;
  height: 100%;
}

.magazine.is-fallback .flip-page.is-visible {
  display: block;
}

.magazine.is-fallback .flip-page.is-left {
  border-radius: 8px 0 0 8px;
}

.magazine.is-fallback .flip-page.is-right {
  border-radius: 0 8px 8px 0;
}

.magazine-spread {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateZ(0) rotateX(1deg);
  transform-style: preserve-3d;
}

.magazine-side,
.page-face {
  position: relative;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(233, 228, 220, 0.9);
  background: var(--background);
  box-shadow: 0 16px 42px rgba(67, 53, 39, 0.11);
  backface-visibility: hidden;
  contain: paint;
}

.magazine-left {
  border-radius: 8px 0 0 8px;
  transform: rotateY(1.2deg);
  transform-origin: right center;
}

.magazine-right {
  border-radius: 0 8px 8px 0;
  transform: rotateY(-1.2deg);
  transform-origin: left center;
}

.magazine-side::before,
.page-face::before {
  position: absolute;
  content: "";
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.magazine-left::before {
  background: linear-gradient(90deg, transparent 70%, rgba(67, 53, 39, 0.14));
}

.magazine-right::before {
  background: linear-gradient(90deg, rgba(67, 53, 39, 0.12), transparent 26%);
}

.page-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(0.85rem, 1.8vw, 1.4rem);
  overflow: hidden;
  padding: clamp(1rem, 2.45vw, 2.35rem);
}

.page-content.is-dark {
  place-items: center;
  text-align: center;
  color: var(--background);
  background:
    linear-gradient(rgba(26, 24, 21, 0.5), rgba(26, 24, 21, 0.68)),
    var(--page-image) var(--page-position, center) / cover;
}

.page-content:not(.is-dark) {
  background:
    linear-gradient(135deg, rgba(250, 249, 247, 0.72), rgba(242, 239, 235, 0.34)),
    var(--surface);
}

.page-content img {
  width: 100%;
  height: 100%;
  min-height: 0;
  align-self: stretch;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(67, 53, 39, 0.1);
  transform: translateZ(0);
}

.page-copy {
  align-self: end;
  min-height: 0;
}

.page-copy h3 {
  font-size: clamp(2rem, 4.1vw, 4.15rem);
}

.page-copy p:not(.overline) {
  max-width: 22rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.page-content.is-dark .page-copy p:not(.overline),
.page-content.is-dark .overline {
  color: rgba(250, 249, 247, 0.74);
}

.page-content.is-dark .page-copy {
  align-self: center;
}

.page-turner {
  position: absolute;
  z-index: 8;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  transform-origin: left center;
  transform-style: preserve-3d;
  opacity: 0;
  will-change: opacity, transform;
  contain: layout paint;
  filter: drop-shadow(-22px 20px 30px rgba(67, 53, 39, 0.2));
}

.page-turner.is-turning-next {
  animation: pageTurnNext 1280ms cubic-bezier(0.16, 0.72, 0.14, 1) both;
}

.page-turner.is-turning-prev {
  left: 0;
  right: auto;
  transform-origin: right center;
  animation: pageTurnPrev 1280ms cubic-bezier(0.16, 0.72, 0.14, 1) both;
}

.page-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  will-change: transform;
  transform-style: preserve-3d;
}

.page-turner .page-face {
  box-shadow: 0 10px 28px rgba(67, 53, 39, 0.1);
}

.page-turner .page-content img {
  box-shadow: none;
}

.page-front {
  border-radius: 0 8px 8px 0;
  border: 1px solid rgba(233, 228, 220, 0.76);
  background: var(--surface);
  box-shadow:
    -14px 16px 34px rgba(67, 53, 39, 0.18),
    inset -16px 0 24px rgba(67, 53, 39, 0.08),
    inset 10px 0 18px rgba(255, 255, 255, 0.36);
  transform: translateZ(2px);
  transform-origin: left center;
}

.page-front::before,
.page-front::after {
  position: absolute;
  content: "";
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
}

.page-front::before {
  background:
    linear-gradient(90deg, rgba(67, 53, 39, 0.28), transparent 16%, rgba(255, 255, 255, 0.5) 42%, transparent 68%),
    radial-gradient(ellipse at left center, rgba(255, 255, 255, 0.48), transparent 54%);
}

.page-front::after {
  background:
    linear-gradient(90deg, rgba(26, 24, 21, 0.28), transparent 26%),
    radial-gradient(ellipse at right center, rgba(67, 53, 39, 0.24), transparent 58%);
}

.page-back {
  border-radius: 8px 0 0 8px;
  opacity: 0;
  transform: none;
  pointer-events: none;
}

.page-turner.is-turning-next .page-front {
  animation: pageCurlSheetNext 1280ms cubic-bezier(0.16, 0.72, 0.14, 1) both;
}

.page-turner.is-turning-prev .page-front {
  transform-origin: right center;
  animation: pageCurlSheetPrev 1280ms cubic-bezier(0.16, 0.72, 0.14, 1) both;
}

.page-turner.is-turning-next .page-content {
  animation: pageBendNext 1280ms cubic-bezier(0.16, 0.72, 0.14, 1) both;
}

.page-turner.is-turning-prev .page-content {
  animation: pageBendPrev 1280ms cubic-bezier(0.16, 0.72, 0.14, 1) both;
}

.page-turner.is-turning-next .page-front::before,
.page-turner.is-turning-prev .page-front::before {
  animation: pageCurlLight 1280ms cubic-bezier(0.16, 0.72, 0.14, 1) both;
}

.page-turner.is-turning-next .page-front::after,
.page-turner.is-turning-prev .page-front::after {
  animation: pageFaceShadow 1280ms cubic-bezier(0.16, 0.72, 0.14, 1) both;
}

.page-turner::before {
  position: absolute;
  content: "";
  inset: 0;
  z-index: 9;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(67, 53, 39, 0.38), transparent 18%, rgba(255, 255, 255, 0.34) 43%, transparent 72%),
    radial-gradient(ellipse at left center, rgba(67, 53, 39, 0.3), transparent 60%);
  animation: pageTurnerCast 1280ms cubic-bezier(0.16, 0.72, 0.14, 1) both;
}

.page-turner::after {
  position: absolute;
  content: "";
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(26, 24, 21, 0.2), transparent 28%),
    radial-gradient(ellipse at center, rgba(67, 53, 39, 0.24), transparent 62%);
  animation: pageMovingShadow 1280ms cubic-bezier(0.16, 0.72, 0.14, 1) both;
}

.book-image-preload {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-9999px);
}

.book-spine {
  position: absolute;
  z-index: 12;
  top: 0;
  bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
  background:
    linear-gradient(180deg, transparent, rgba(67, 53, 39, 0.22) 12%, rgba(67, 53, 39, 0.3) 50%, rgba(67, 53, 39, 0.18) 88%, transparent);
  box-shadow:
    -10px 0 22px rgba(67, 53, 39, 0.12),
    10px 0 22px rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

.magazine.is-busy {
  cursor: wait;
}

.magazine:not(.is-busy) {
  cursor: pointer;
}

@keyframes pageTurnNext {
  0% {
    opacity: 1;
    transform: translateZ(22px);
  }
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateZ(0);
  }
}

@keyframes pageTurnPrev {
  0% {
    opacity: 1;
    transform: translateZ(22px);
  }
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateZ(0);
  }
}

@keyframes pageCurlSheetNext {
  0% {
    opacity: 1;
    transform: perspective(1400px) rotateY(0deg) translateX(0) translateZ(2px) scaleX(1);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    border-radius: 0 8px 8px 0;
  }
  18% {
    opacity: 1;
    transform: perspective(1400px) rotateY(-10deg) translateX(-0.6%) translateZ(18px) scaleX(0.995) skewY(-0.25deg);
    clip-path: polygon(0 0, 99% 0.5%, 100% 100%, 0 100%);
    border-radius: 0 14px 14px 0;
  }
  42% {
    opacity: 1;
    transform: perspective(1400px) rotateY(-34deg) translateX(-3.5%) translateZ(34px) scaleX(0.965) skewY(-0.9deg);
    clip-path: polygon(0 0, 96% 2%, 99% 98%, 0 100%);
    border-radius: 6px 22px 22px 6px;
  }
  62% {
    opacity: 0.96;
    transform: perspective(1400px) rotateY(-76deg) translateX(-10%) translateZ(52px) scaleX(0.86) skewY(-1.8deg);
    clip-path: polygon(0 0, 88% 5%, 94% 95%, 0 100%);
    border-radius: 14px 28px 28px 14px;
  }
  80% {
    opacity: 0.7;
    transform: perspective(1400px) rotateY(-112deg) translateX(-24%) translateZ(38px) scaleX(0.72) skewY(-1.1deg);
    clip-path: polygon(0 0, 74% 8%, 84% 92%, 0 100%);
    border-radius: 22px 12px 12px 22px;
  }
  100% {
    opacity: 0;
    transform: perspective(1400px) rotateY(-152deg) translateX(-50%) translateZ(0) scaleX(0.76);
    clip-path: polygon(0 0, 58% 10%, 72% 90%, 0 100%);
    border-radius: 18px 0 0 18px;
  }
}

@keyframes pageCurlSheetPrev {
  0% {
    opacity: 1;
    transform: perspective(1400px) rotateY(0deg) translateX(0) translateZ(2px) scaleX(1);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    border-radius: 8px 0 0 8px;
  }
  18% {
    opacity: 1;
    transform: perspective(1400px) rotateY(10deg) translateX(0.6%) translateZ(18px) scaleX(0.995) skewY(0.25deg);
    clip-path: polygon(1% 0.5%, 100% 0, 100% 100%, 0 100%);
    border-radius: 14px 0 0 14px;
  }
  42% {
    opacity: 1;
    transform: perspective(1400px) rotateY(34deg) translateX(3.5%) translateZ(34px) scaleX(0.965) skewY(0.9deg);
    clip-path: polygon(4% 2%, 100% 0, 100% 100%, 1% 98%);
    border-radius: 22px 6px 6px 22px;
  }
  62% {
    opacity: 0.96;
    transform: perspective(1400px) rotateY(76deg) translateX(10%) translateZ(52px) scaleX(0.86) skewY(1.8deg);
    clip-path: polygon(12% 5%, 100% 0, 100% 100%, 6% 95%);
    border-radius: 28px 14px 14px 28px;
  }
  80% {
    opacity: 0.7;
    transform: perspective(1400px) rotateY(112deg) translateX(24%) translateZ(38px) scaleX(0.72) skewY(1.1deg);
    clip-path: polygon(28% 8%, 100% 0, 100% 100%, 18% 92%);
    border-radius: 12px 22px 22px 12px;
  }
  100% {
    opacity: 0;
    transform: perspective(1400px) rotateY(152deg) translateX(50%) translateZ(0) scaleX(0.76);
    clip-path: polygon(42% 10%, 100% 0, 100% 100%, 28% 90%);
    border-radius: 0 18px 18px 0;
  }
}

@keyframes pageCurlLight {
  0%,
  100% {
    opacity: 0;
  }
  28%,
  68% {
    opacity: 1;
  }
}

@keyframes pageFaceShadow {
  0%,
  100% {
    opacity: 0;
    transform: translateX(0) scaleX(1);
  }
  24% {
    opacity: 0.3;
    transform: translateX(-2%) scaleX(0.98);
  }
  56% {
    opacity: 0.78;
    transform: translateX(-10%) scaleX(0.86);
  }
  82% {
    opacity: 0.34;
    transform: translateX(-18%) scaleX(0.74);
  }
}

@keyframes pageTurnerCast {
  0%,
  100% {
    opacity: 0;
  }
  32% {
    opacity: 0.34;
  }
  62% {
    opacity: 0.72;
  }
  82% {
    opacity: 0.26;
  }
}

@keyframes pageMovingShadow {
  0%,
  100% {
    opacity: 0;
    transform: translateX(0) scaleX(1);
  }
  24% {
    opacity: 0.55;
    transform: translateX(-2%) scaleX(0.96);
  }
  54% {
    opacity: 0.78;
    transform: translateX(-6%) scaleX(0.9);
  }
  78% {
    opacity: 0.36;
    transform: translateX(-2%) scaleX(0.98);
  }
}

@keyframes pageBendNext {
  0%,
  100% {
    transform: translateZ(0) scaleX(1) skewY(0deg);
  }
  38% {
    transform: translateZ(12px) scaleX(0.975) skewY(-0.8deg);
  }
  62% {
    transform: translateZ(18px) scaleX(0.945) skewY(-1.4deg);
  }
  82% {
    transform: translateZ(5px) scaleX(0.985) skewY(-0.3deg);
  }
}

@keyframes pageBendPrev {
  0%,
  100% {
    transform: translateZ(0) scaleX(1) skewY(0deg);
  }
  38% {
    transform: translateZ(12px) scaleX(0.975) skewY(0.8deg);
  }
  62% {
    transform: translateZ(18px) scaleX(0.945) skewY(1.4deg);
  }
  82% {
    transform: translateZ(5px) scaleX(0.985) skewY(0.3deg);
  }
}

.book {
  position: relative;
  min-height: clamp(30rem, 62vw, 47rem);
  perspective: 1800px;
}

.book-page {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.25rem, 4vw, 4rem);
  border: 1px solid rgba(233, 228, 220, 0.88);
  border-radius: 8px;
  background: var(--background);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985) rotateY(-8deg);
  transform-origin: left center;
  transition: opacity 550ms var(--ease), transform 650ms var(--ease);
}

.book-page.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) rotateY(0);
}

.book-page.cover {
  grid-template-columns: 1fr;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(26, 24, 21, 0.82), rgba(26, 24, 21, 0.82)),
    url("assets/collection-minimal.png") center / cover;
  color: var(--background);
}

.book-page h3 {
  font-size: clamp(2.2rem, 6vw, 6rem);
}

.book-page img {
  width: 100%;
  height: min(62vh, 34rem);
  object-fit: cover;
  border-radius: 6px;
}

.spread-copy p:not(.overline) {
  max-width: 23rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.corner-hint {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(250, 249, 247, 0.55);
  background: rgba(250, 249, 247, 0.08);
  color: inherit;
  padding: 0.8rem 1rem;
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book-controls,
.progress-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.book-controls p {
  min-width: 5rem;
  text-align: center;
  color: var(--muted);
}

.book-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
  transform: none;
}

.progress-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--champagne);
  opacity: 0.45;
}

.progress-dots span.is-active {
  background: var(--taupe);
  opacity: 1;
  transform: scale(1.35);
}

.product-grid,
.collection-grid,
.footer-grid {
  max-width: 78rem;
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}

.product-grid {
  position: relative;
  z-index: 1;
  display: block;
  max-width: none;
  overflow: hidden;
  padding-block: 1.25rem 2rem;
}

.product-rail-wrap {
  position: relative;
}

.product-rail-nav {
  position: absolute;
  z-index: 8;
  top: 42%;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(26, 24, 21, 0.22);
  border-radius: 50%;
  background: rgba(250, 249, 247, 0.88);
  color: var(--foreground);
  box-shadow: 0 12px 30px rgba(67, 53, 39, 0.12);
  cursor: pointer;
  opacity: 0.78;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  transition: opacity 260ms var(--ease), transform 320ms var(--ease), background 320ms var(--ease);
}

.product-rail-nav:hover,
.product-rail-nav:focus-visible {
  outline: none;
  background: var(--background);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

.product-rail-nav.is-prev {
  left: 0.65rem;
}

.product-rail-nav.is-next {
  right: 0.65rem;
}

.product-rail-nav span {
  font-size: 1.05rem;
  line-height: 1;
}

.products {
  --bestseller-wash: rgba(196, 161, 154, 0.26);
  --bestseller-ink: var(--foreground);
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.products::before {
  position: absolute;
  content: "";
  z-index: 0;
  inset: 0;
  background: radial-gradient(
    circle 23rem at var(--pointer-x) var(--pointer-y),
    var(--bestseller-wash),
    transparent 66%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms var(--ease), background 520ms var(--ease);
}

.products.has-product-focus::before {
  opacity: 1;
}

.products .section-row {
  position: relative;
  z-index: 1;
}

.products .section-row h2,
.products .section-row .text-link {
  color: var(--foreground);
}

.product-velocity-track,
.product-sequence {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
}

.product-velocity-track {
  will-change: transform;
}

.product-sequence {
  gap: 1.2rem;
  padding-right: 1.2rem;
}

.product-card {
  flex: 0 0 clamp(15rem, 22vw, 18rem);
  width: clamp(15rem, 22vw, 18rem);
  opacity: 1;
  filter: saturate(1) contrast(1);
  transform: translateY(0);
  transition:
    opacity 420ms var(--ease),
    filter 520ms var(--ease),
    transform 520ms var(--ease),
    color 520ms var(--ease);
}

.product-grid.has-product-focus .product-card {
  opacity: 0.5;
  filter: saturate(0.5) contrast(0.86);
}

.product-grid.has-product-focus .product-card.is-product-focus {
  z-index: 2;
  opacity: 1;
  filter: saturate(1.08) contrast(1.06);
  transform: translateY(-0.55rem);
}

.product-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(67, 53, 39, 0.11);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.product-card:hover .product-image img {
  transform: scale(1.055);
}

.product-card.is-recommended-focus {
  animation: recommendedFocus 1500ms var(--ease);
}

.product-image button {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  opacity: 0;
  transform: translateY(1rem);
}

.product-card:hover .product-image button,
.product-image:focus-within button {
  opacity: 1;
  transform: translateY(0);
}

.badge {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 1;
  border-radius: 999px;
  background: rgba(250, 249, 247, 0.8);
  padding: 0.35rem 0.6rem;
  color: var(--taupe);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.product-meta h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.product-meta p,
.product-card > span {
  margin: 0;
  color: var(--muted);
}

.product-card > span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
}

.product-purchase {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.product-purchase label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-purchase select {
  min-width: 5.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(250, 249, 247, 0.72);
  color: var(--foreground);
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
}

.product-purchase p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.checkout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(26, 24, 21, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease);
  backdrop-filter: blur(5px);
}

.checkout-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(100vw, 31rem);
  height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: 1.4rem;
  background: rgba(250, 249, 247, 0.96);
  box-shadow: -24px 0 70px rgba(67, 53, 39, 0.18);
  transform: translateX(104%);
  transition: transform 420ms var(--ease);
  backdrop-filter: blur(18px);
}

.checkout-open .checkout-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.checkout-open .checkout-drawer {
  transform: translateX(0);
}

.checkout-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.checkout-header h2 {
  font-size: clamp(2.2rem, 6vw, 3.3rem);
}

.checkout-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.checkout-items {
  min-height: 0;
  padding: 0.8rem 0;
  flex: 0 0 auto;
}

.checkout-item {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.checkout-item img {
  width: 5.25rem;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface);
}

.checkout-item h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.checkout-item p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.checkout-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.75rem;
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
}

.quantity-stepper button,
.checkout-remove {
  border: 0;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}

.quantity-stepper button {
  width: 2rem;
  height: 2rem;
}

.quantity-stepper span {
  min-width: 1.7rem;
  text-align: center;
  color: var(--ink-soft);
}

.checkout-remove {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checkout-empty {
  display: none;
  align-self: center;
  padding: 2rem 0;
  text-align: center;
}

.checkout-empty.is-visible {
  display: block;
}

.checkout-empty h3 {
  font-size: 2rem;
}

.checkout-empty p {
  max-width: 19rem;
  margin: 0.8rem auto 1.25rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.checkout-summary {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}

.checkout-summary.is-hidden {
  display: none;
}

.checkout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
}

.checkout-row strong {
  color: var(--foreground);
  font-weight: 400;
}

.checkout-process {
  display: grid;
  gap: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem;
  background: rgba(245, 243, 240, 0.68);
}

.checkout-process div {
  display: grid;
  gap: 0.15rem;
}

.checkout-process span,
.checkout-form label {
  color: var(--taupe);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checkout-process strong {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.4;
}

.checkout-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.checkout-form label {
  display: grid;
  gap: 0.35rem;
}

.checkout-form input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0;
  background: rgba(250, 249, 247, 0.72);
  color: var(--foreground);
  padding: 0.75rem 0.8rem;
}

.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.payment-methods label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--border);
  padding: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.payment-methods input {
  accent-color: var(--taupe);
}

.shopify-placeholder {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--foreground);
  background: var(--foreground);
  color: var(--background);
  cursor: not-allowed;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  opacity: 0.82;
  text-transform: uppercase;
}

.checkout-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.checkout-status span {
  border: 1px solid var(--border);
  padding: 0.45rem 0.35rem;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.checkout-status span.is-active {
  border-color: rgba(156, 139, 122, 0.5);
  background: rgba(156, 139, 122, 0.12);
  color: var(--taupe);
}

.checkout-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.analyzer-section {
  padding-block: clamp(3.75rem, 6vw, 5.5rem);
  background:
    linear-gradient(120deg, rgba(127, 139, 122, 0.13), transparent 32%),
    linear-gradient(270deg, rgba(183, 158, 140, 0.14), transparent 34%),
    var(--background);
}

.analyzer-layout {
  max-width: 78rem;
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(25rem, 1.28fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.analyzer-copy {
  max-width: 32rem;
}

.analyzer-copy > p:not(.overline) {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}

.analyzer-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.analyzer-points span {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(156, 139, 122, 0.28);
  border-radius: 999px;
  background: rgba(250, 249, 247, 0.58);
  padding: 0.55rem 0.8rem;
  color: var(--taupe);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 320ms var(--ease), color 320ms var(--ease), transform 320ms var(--ease);
}

.analyzer-points span::before {
  position: absolute;
  content: "";
  top: 50%;
  left: -1.1rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, #fff 0 18%, rgba(255, 255, 255, 0.6) 19% 34%, rgba(192, 170, 132, 0.76) 70%);
  box-shadow: 0 0 0 5px rgba(192, 170, 132, 0.1), 0 8px 20px rgba(67, 53, 39, 0.12);
  transform: translateY(-50%);
  transition: left 520ms var(--ease), opacity 320ms var(--ease);
  opacity: 0;
}

.analyzer-points span:hover,
.analyzer-points span:focus-visible {
  border-color: rgba(156, 139, 122, 0.52);
  color: var(--foreground);
  transform: translateY(-1px);
}

.analyzer-points span:hover::before,
.analyzer-points span:focus-visible::before {
  left: calc(100% - 1rem);
  opacity: 1;
}

.analyzer-embed {
  min-height: clamp(27rem, 40vw, 34rem);
  overflow: hidden;
  border: 1px solid rgba(233, 228, 220, 0.95);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(250, 249, 247, 0.9), rgba(232, 224, 214, 0.62)),
    var(--surface);
  box-shadow: var(--shadow);
}

.analyzer-embed iframe {
  width: 100%;
  height: 100%;
  min-height: clamp(27rem, 40vw, 34rem);
  display: block;
  border: 0;
  background: var(--background);
}

.analyzer-placeholder {
  min-height: clamp(27rem, 40vw, 34rem);
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 86% 18%, rgba(127, 139, 122, 0.16), transparent 15rem),
    radial-gradient(circle at 20% 80%, rgba(212, 196, 181, 0.34), transparent 16rem);
}

.analyzer-placeholder h3 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.analyzer-placeholder p:not(.overline) {
  max-width: 31rem;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.analyzer-placeholder code {
  color: var(--foreground);
  font-size: 0.9em;
}

.analyzer-placeholder button {
  min-height: 44px;
  margin-top: 0.5rem;
  border: 1px solid var(--foreground);
  background: var(--foreground);
  color: var(--background);
  padding: 0.9rem 1.15rem;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 300ms var(--ease), background 300ms var(--ease);
}

.analyzer-placeholder button:hover {
  transform: translateY(-2px);
}

.analyzer-preview-card {
  position: relative;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
  grid-template-rows: auto auto auto 1fr;
  align-content: stretch;
  justify-items: stretch;
  gap: 0;
  padding: clamp(0.8rem, 1.8vw, 1.2rem);
  background:
    linear-gradient(145deg, rgba(250, 249, 247, 0.72), rgba(232, 224, 214, 0.42)),
    var(--surface);
}

.analyzer-preview-card::before {
  position: absolute;
  content: "";
  inset: 1rem;
  z-index: 2;
  border: 1px solid rgba(156, 139, 122, 0.18);
  border-radius: 8px;
  pointer-events: none;
}

.analyzer-preview-media {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  height: clamp(13rem, 17vw, 15rem);
  overflow: hidden;
  border-radius: 8px 0 0 0;
  background: #f1e1ca;
}

.analyzer-preview-media::after {
  position: absolute;
  content: "";
  inset: 0;
  background:
    linear-gradient(180deg, rgba(250, 249, 247, 0.08), transparent 54%, rgba(26, 24, 21, 0.18)),
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.28), transparent 15rem);
  pointer-events: none;
}

.analyzer-preview-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 900ms var(--ease), filter 700ms var(--ease);
}

.analyzer-preview-card:hover .analyzer-preview-media img {
  transform: scale(1.035);
  filter: saturate(1.03);
}

.analyzer-preview-copy {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-column: 2;
  grid-row: 1;
  gap: 0.8rem 1rem;
  align-items: end;
  padding: clamp(1rem, 2.2vw, 1.6rem);
  border-top: 1px solid rgba(156, 139, 122, 0.18);
  background: rgba(250, 249, 247, 0.78);
  backdrop-filter: blur(14px);
}

.analyzer-preview-copy .overline,
.analyzer-preview-copy h3,
.analyzer-preview-copy p {
  grid-column: 1;
}

.analyzer-preview-copy h3 {
  font-size: clamp(1.9rem, 3.4vw, 3.15rem);
}

.analyzer-preview-copy p:not(.overline) {
  max-width: 26rem;
  line-height: 1.6;
}

.analyzer-preview-copy button {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  min-width: 10rem;
  margin: 0;
}

.analyzer-onboarding {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1 / -1;
  grid-row: 2;
  gap: clamp(0.55rem, 1.8vw, 1.2rem);
  padding: clamp(1rem, 2.2vw, 1.35rem) clamp(1rem, 2.2vw, 1.6rem) 0;
  background: rgba(250, 249, 247, 0.78);
}

.analyzer-step-line {
  position: absolute;
  left: clamp(1.4rem, 3vw, 2rem);
  right: clamp(1.4rem, 3vw, 2rem);
  top: clamp(1.35rem, 2.7vw, 1.75rem);
  height: 1px;
  background: rgba(156, 139, 122, 0.2);
}

.analyzer-step-line span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(156, 139, 122, 0.28), rgba(192, 170, 132, 0.88));
  transition: width 760ms var(--ease);
}

.analyzer-onboarding button {
  position: relative;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  border: 0;
  background: transparent;
  color: rgba(67, 53, 39, 0.48);
  padding: 0;
  cursor: pointer;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 320ms var(--ease), transform 320ms var(--ease);
}

.analyzer-onboarding button i {
  width: 0.82rem;
  height: 0.82rem;
  border: 1px solid rgba(156, 139, 122, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #fff 0 18%, rgba(250, 249, 247, 0.74) 19% 38%, rgba(192, 170, 132, 0.22) 70%),
    var(--surface);
  box-shadow: 0 0 0 0 rgba(192, 170, 132, 0);
  transition: transform 420ms var(--ease), border-color 320ms var(--ease), box-shadow 420ms var(--ease);
}

.analyzer-onboarding button:hover,
.analyzer-onboarding button:focus-visible,
.analyzer-onboarding button.is-active {
  color: var(--foreground);
  transform: translateY(-1px);
}

.analyzer-onboarding button:hover i,
.analyzer-onboarding button:focus-visible i,
.analyzer-onboarding button.is-active i {
  border-color: rgba(192, 170, 132, 0.72);
  box-shadow: 0 0 0 7px rgba(192, 170, 132, 0.1), 0 12px 26px rgba(67, 53, 39, 0.12);
  transform: scale(1.08);
}

.analyzer-result-preview {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  grid-column: 1 / -1;
  grid-row: 3;
  gap: 0.9rem 1.2rem;
  align-items: end;
  padding: 1rem clamp(1rem, 2.2vw, 1.6rem);
  background: rgba(250, 249, 247, 0.78);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

.analyzer-result-preview.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.analyzer-result-preview h4 {
  margin: 0;
  font-family: "Cormorant", Georgia, serif;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  font-weight: 300;
}

.analyzer-result-preview p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.analyzer-recommendations {
  position: relative;
  z-index: 3;
  display: grid;
  grid-column: 1 / -1;
  grid-row: 4;
  gap: 0.85rem;
  padding: 0 clamp(1rem, 2.2vw, 1.6rem) clamp(1rem, 2.2vw, 1.4rem);
  background: rgba(250, 249, 247, 0.78);
}

.analyzer-rail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(156, 139, 122, 0.18);
  padding-top: 0.9rem;
}

.analyzer-rail-heading p {
  margin: 0;
}

.analyzer-rail-heading a {
  color: var(--foreground);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.analyzer-product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(8.2rem, 1fr);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x proximity;
}

.analyzer-product-rail a {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
  scroll-snap-align: start;
}

.analyzer-product-rail img {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.95);
  transition: transform 520ms var(--ease), filter 420ms var(--ease), box-shadow 420ms var(--ease);
}

.analyzer-product-rail span {
  overflow: hidden;
  color: var(--foreground);
  font-family: "Cormorant", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analyzer-product-rail small {
  color: var(--ink-soft);
}

.analyzer-product-rail a:hover img,
.analyzer-product-rail a:focus-visible img {
  filter: saturate(1.05);
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 18px 38px rgba(67, 53, 39, 0.16);
}

.analyzer-demo-card {
  width: 100%;
  min-height: clamp(34rem, 54vw, 46rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.2rem;
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.analyzer-demo-preview {
  min-height: 16rem;
  border-radius: 8px;
  background:
    linear-gradient(rgba(26, 24, 21, 0.12), rgba(26, 24, 21, 0.08)),
    url("assets/demo-cream-cafe.jpg") center / cover;
}

.analyzer-demo-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.analyzer-demo-results span {
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.83rem;
  line-height: 1.45;
}

.analyzer-demo-results strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--foreground);
  font-family: "Cormorant", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 300;
}

.difference {
  padding-block: clamp(4rem, 7vw, 6rem);
  background:
    linear-gradient(120deg, rgba(127, 139, 122, 0.1), transparent 34%),
    var(--surface);
}

.difference-intro {
  max-width: 78rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.5fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
}

.difference-intro .overline {
  grid-column: 1 / -1;
  margin-bottom: -0.4rem;
}

.difference-intro h2 {
  max-width: 55rem;
  font-size: clamp(3rem, 6.8vw, 6.35rem);
}

.difference-intro > p:last-child {
  margin: 0 0 0.4rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.difference-slider {
  max-width: 78rem;
  margin: clamp(2.5rem, 5vw, 4.5rem) auto 0;
  display: grid;
  grid-template-columns: minmax(20rem, 0.85fr) minmax(24rem, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.difference-slide-list {
  display: grid;
}

.difference-slide-trigger {
  min-height: 5.5rem;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  border: 0;
  border-top: 1px solid var(--border);
  padding: 0.75rem 0;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  text-align: left;
}

.difference-slide-trigger:last-child {
  border-bottom: 1px solid var(--border);
}

.difference-slide-number {
  color: var(--taupe);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

.difference-stagger {
  display: inline-flex;
  flex-wrap: wrap;
  font-family: "Cormorant", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 300;
  line-height: 0.95;
}

.difference-char {
  position: relative;
  display: inline-block;
  overflow: hidden;
  white-space: pre;
}

.difference-char > span {
  display: inline-block;
  transition: transform 340ms cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 340ms var(--ease);
  transition-delay: calc(var(--char-index) * 24ms);
}

.difference-char .char-muted {
  opacity: 0.32;
}

.difference-char .char-active {
  position: absolute;
  inset: 0;
  transform: translateY(110%);
}

.difference-slide-trigger.is-active .char-muted {
  opacity: 0;
  transform: translateY(-110%);
}

.difference-slide-trigger.is-active .char-active {
  transform: translateY(0);
}

.difference-slide-visual {
  min-width: 0;
}

.difference-slide-images {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #dfd9d0;
}

.difference-slide-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 0 100% 0);
  transform: scale(1.035);
  transition: clip-path 820ms cubic-bezier(0.33, 1, 0.68, 1), transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.difference-slide-images img.is-active {
  z-index: 2;
  clip-path: inset(0);
  transform: scale(1);
}

.difference-slide-caption {
  min-height: 3rem;
  max-width: 36rem;
  margin: 1rem 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.difference-slide-caption.is-changing {
  opacity: 0;
  transform: translateY(0.35rem);
}

.collection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-card {
  position: relative;
  min-height: 31rem;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 520ms var(--ease), box-shadow 520ms var(--ease);
}

.collection-card::after {
  position: absolute;
  content: "";
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(26, 24, 21, 0.72));
}

.collection-card img {
  width: 100%;
  height: 100%;
  min-height: 31rem;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.collection-card:hover img {
  transform: scale(1.06);
}

.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 82px rgba(67, 53, 39, 0.18);
}

.collection-card span {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 2;
  color: var(--background);
}

.collection-card strong {
  display: block;
  font-family: "Cormorant", Georgia, serif;
  font-size: 2rem;
  font-weight: 300;
}

.collection-card small {
  display: block;
  margin-top: 0.35rem;
  color: rgba(250, 249, 247, 0.78);
}

.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 8rem) clamp(1.25rem, 5vw, 5rem) 2rem;
  background: var(--foreground);
  color: var(--background);
}

.footer::before {
  position: absolute;
  content: "";
  inset: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(156, 139, 122, 0.22), transparent 22rem),
    radial-gradient(circle at 88% 28%, rgba(127, 139, 122, 0.18), transparent 24rem);
  pointer-events: none;
}

.newsletter {
  position: relative;
  z-index: 1;
  max-width: 78rem;
  margin: 0 auto 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.7fr);
  gap: 2rem;
  align-items: end;
}

.newsletter h2 {
  max-width: 48rem;
}

.newsletter form {
  position: relative;
  display: flex;
  gap: 0.5rem;
}

.newsletter-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(250, 249, 247, 0.14);
  border-radius: 8px;
  background: rgba(250, 249, 247, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.newsletter-panel p {
  margin: 0;
  color: rgba(250, 249, 247, 0.62);
  font-size: 0.82rem;
  line-height: 1.6;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(250, 249, 247, 0.24);
  background: transparent;
  color: inherit;
  padding: 0.95rem 1rem;
  transition: border-color 280ms var(--ease), background 280ms var(--ease), box-shadow 280ms var(--ease);
}

.newsletter input:focus {
  outline: none;
  border-color: rgba(250, 249, 247, 0.72);
  background: rgba(250, 249, 247, 0.06);
  box-shadow: 0 0 0 4px rgba(156, 139, 122, 0.16);
}

.newsletter input::placeholder {
  color: rgba(250, 249, 247, 0.58);
}

.newsletter button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  overflow: hidden;
  border-color: var(--background);
}

.newsletter button span {
  position: relative;
  z-index: 1;
}

.newsletter button i {
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(250, 249, 247, 0.12);
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
}

.newsletter button::before {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: translateX(-100%);
  transition: transform 680ms var(--ease);
}

.newsletter button:hover::before,
.newsletter button:focus-visible::before {
  transform: translateX(100%);
}

.newsletter button:hover i,
.newsletter button:focus-visible i {
  transform: translateX(4px) scale(1.12);
  box-shadow: 0 0 0 9px rgba(250, 249, 247, 0.14);
}

.footer-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 249, 247, 0.16);
}

.footer .brand {
  grid-column: auto;
  width: auto;
  height: auto;
  display: inline-grid;
  font-size: 1.6rem;
}

.footer-grid h3 {
  margin-bottom: 1rem;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid p,
.copyright {
  display: block;
  color: rgba(250, 249, 247, 0.68);
  line-height: 1.9;
}

.copyright {
  max-width: 78rem;
  margin: 3rem auto 0;
  font-size: 0.82rem;
}

.cursor-dot {
  position: fixed;
  z-index: 100;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--taupe);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, width 180ms ease, height 180ms ease, background 180ms ease, border 180ms ease;
}

.has-cursor .cursor-dot {
  opacity: 1;
}

.cursor-dot.is-hovering {
  width: 40px;
  height: 40px;
  border: 1px solid var(--taupe);
  background: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes scrollDot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(11px);
    opacity: 1;
  }
}

@keyframes recommendedFocus {
  0% {
    box-shadow: 0 0 0 0 rgba(192, 170, 132, 0);
    transform: translateY(0);
  }
  34% {
    box-shadow: 0 0 0 8px rgba(192, 170, 132, 0.13), 0 24px 58px rgba(67, 53, 39, 0.14);
    transform: translateY(-4px);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(192, 170, 132, 0);
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .book-page,
  .newsletter,
  .analyzer-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 2rem;
    padding-top: 7rem;
  }

  .scroll-cue,
  .cursor-dot {
    display: none;
  }

  .magazine {
    min-height: 0;
  }

  .flipbook::before {
    display: none;
  }

  .magazine.is-fallback .flipbook {
    grid-template-columns: 1fr;
  }

  .magazine.is-fallback .flip-page.is-left {
    display: none;
  }

  .magazine-spread {
    grid-template-columns: 1fr;
  }

  .magazine-left {
    display: none;
  }

  .magazine-right,
  .page-turner,
  .page-turner.is-turning-prev {
    left: 0;
    right: 0;
    width: 100%;
    transform-origin: left center;
  }

  .magazine-right {
    border-radius: 8px;
    transform: none;
  }

  .page-front,
  .page-back {
    border-radius: 8px;
  }

  .book-spine {
    display: none;
  }

  .page-content img {
    height: 100%;
  }

  .product-image button {
    opacity: 1;
    transform: none;
  }

  .product-card:hover .product-image img {
    transform: none;
  }

  .products::before {
    display: none;
  }

  .product-grid {
    max-width: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .product-grid::-webkit-scrollbar {
    display: none;
  }

  .product-velocity-track {
    transform: none;
  }

  .product-sequence {
    gap: 1rem;
    padding-right: 0;
  }

  .product-sequence.is-duplicate {
    display: none;
  }

  .product-card {
    flex-basis: min(78vw, 18rem);
    width: min(78vw, 18rem);
    scroll-snap-align: start;
  }

  .product-grid.has-product-focus .product-card {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .product-grid,
  .collection-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analyzer-copy {
    max-width: none;
  }

  .analyzer-preview-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .analyzer-preview-media {
    grid-column: 1;
    grid-row: auto;
    height: 16rem;
    border-radius: 8px 8px 0 0;
  }

  .analyzer-preview-copy,
  .analyzer-onboarding,
  .analyzer-result-preview,
  .analyzer-recommendations {
    grid-column: 1;
    grid-row: auto;
  }

  .difference-intro {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .difference-intro .overline {
    grid-column: 1;
  }

  .difference-slider {
    grid-template-columns: minmax(16rem, 0.8fr) minmax(20rem, 1.2fr);
    gap: 2rem;
  }
}

@media (min-width: 621px) and (max-width: 900px) and (hover: hover) and (pointer: fine) {
  .product-grid {
    overflow: hidden;
    overscroll-behavior-inline: auto;
    scroll-snap-type: none;
  }

  .product-sequence {
    gap: 1.2rem;
    padding-right: 1.2rem;
  }

  .product-sequence.is-duplicate {
    display: flex;
  }

  .product-card {
    flex-basis: clamp(15rem, 35vw, 18rem);
    width: clamp(15rem, 35vw, 18rem);
    scroll-snap-align: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .product-card:hover .product-image img {
    transform: none;
  }

  .product-image button {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand-stage > .overline,
  .hero-intro,
  .hero-brand-stage .hero-actions,
  .wordmark-pull {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .brand:hover .brand-cat,
  .brand.is-cat-active .brand-cat,
  .brand:focus-visible .brand-cat {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.9);
  }

  .brand:hover .cat-leg,
  .brand.is-cat-active .cat-leg,
  .brand:focus-visible .cat-leg,
  .brand:hover .cat-tail,
  .brand.is-cat-active .cat-tail,
  .brand:focus-visible .cat-tail {
    animation: none;
  }

  .product-velocity-track {
    transform: none !important;
  }

  .product-grid {
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
  }

  .product-sequence.is-duplicate {
    display: none;
  }

  .product-card {
    scroll-snap-align: start;
  }

  .difference-char > span,
  .difference-slide-images img,
  .difference-slide-caption {
    transition: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 64px;
  }

  .section-row {
    align-items: start;
    flex-direction: column;
  }

  .hero-actions,
  .newsletter form {
    flex-direction: column;
  }

  .brand-hero {
    min-height: 82svh;
    padding: 7.5rem 1.25rem 4rem;
  }

  .hero-logo-lockup {
    min-height: 9rem;
  }

  .custom-wordmark {
    width: min(82vw, 21rem);
  }

  .hero-brand-stage {
    width: 100%;
  }

  .hero-brand-stage .hero-actions {
    width: 100%;
  }

  .analyzer-section {
    padding-block: 3.5rem;
  }

  .analyzer-layout {
    gap: 2rem;
  }

  .analyzer-embed,
  .analyzer-placeholder {
    min-height: 0;
  }

  .analyzer-preview-media,
  .analyzer-preview-media img {
    min-height: 15rem;
  }

  .button,
  .newsletter button,
  .analyzer-placeholder button {
    width: 100%;
    text-align: center;
  }

  .magazine {
    min-height: 0;
  }

  .flipbook-shell {
    padding-inline: max(0.35rem, env(safe-area-inset-left));
  }

  .page-content {
    padding: 1rem;
  }

  .product-grid,
  .collection-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.75rem;
  }

  .product-meta {
    display: block;
  }

  .product-meta h3 {
    font-size: 1.1rem;
  }

  .collection-card,
  .collection-card img {
    min-height: 24rem;
  }

  .analyzer-demo-results {
    grid-template-columns: 1fr;
  }

  .analyzer-preview-copy {
    grid-template-columns: 1fr;
  }

  .analyzer-preview-copy button {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .analyzer-onboarding {
    gap: 0.4rem;
  }

  .analyzer-onboarding button {
    width: auto;
    font-size: 0.58rem;
  }

  .analyzer-result-preview {
    grid-template-columns: 1fr;
  }

  .analyzer-product-rail {
    grid-auto-columns: minmax(7.4rem, 43%);
  }

  .difference-slider {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .difference-slide-trigger {
    min-height: 4.5rem;
  }

  .difference-stagger {
    font-size: clamp(1.85rem, 10vw, 2.8rem);
  }

  .difference-slide-images {
    aspect-ratio: 4 / 5;
  }

  .checkout-drawer {
    padding: 1rem;
  }

  .checkout-item {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .checkout-item img {
    width: 4.5rem;
  }

  .checkout-item-controls,
  .payment-methods {
    grid-template-columns: 1fr;
  }

  .checkout-item-controls {
    display: grid;
    justify-items: start;
  }
}
