@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --ink: #171317;
  --muted: #5f575d;
  --paper: #f6f4ef;
  --white: #ffffff;
  --plum: #72267d;
  --plum-dark: #55175f;
  --magenta: #c50d6f;
  --orange: #dd6b12;
  --lime: #8aa41f;
  --blue: #256fad;
  --turquoise: #18a8a5;
  --line: #ded9d2;
  --focus: #0b67b2;
  --site-font: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 54px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--site-font);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
video:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
}

.site-shell {
  min-height: 100vh;
  overflow-x: clip;
  overflow-y: visible;
  background: var(--paper);
}

.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;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 2px clamp(14px, 3vw, 48px);
  border-bottom: 1px solid rgba(31, 25, 30, 0.1);
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.privacy-notice {
  position: fixed;
  z-index: 35;
  top: 46px;
  right: 0;
  left: 0;
  max-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
  padding: 9px clamp(14px, 3vw, 48px);
  border: 0;
  background: #1c274c;
  color: #ffffff;
  opacity: 1;
  transition:
    max-height 320ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
}

.privacy-notice p {
  max-width: 980px;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
}

.privacy-notice strong {
  font-weight: 800;
}

.privacy-notice button {
  min-width: max-content;
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
}

.privacy-notice button:hover {
  background: #ffffff;
  color: #1c274c;
}

.privacy-notice.is-dismissed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.menu-backdrop,
.menu-backdrop[hidden] {
  position: fixed;
  z-index: 40;
  top: 46px;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  visibility: visible;
  opacity: 1;
  background: rgba(0, 0, 0, 0.4);
  transition: opacity 220ms ease, visibility 0s linear 0s;
}

.menu-backdrop[hidden] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.header-home-area {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 2px;
}

.header-icon-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.header-icon-link:hover {
  background: #f1edf2;
}

.header-icon-link img {
  width: 19px;
  height: 19px;
  display: block;
  object-fit: contain;
}

.desktop-shortcuts {
  display: flex;
  align-items: center;
  gap: 2px;
}

.desktop-shortcut {
  position: relative;
  width: 32px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--menu-accent);
  cursor: pointer;
  text-decoration: none;
}

.desktop-shortcut .menu-link-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.desktop-shortcut:hover,
.desktop-shortcut:focus-visible {
  background: var(--menu-tint);
}

.desktop-shortcut::after {
  content: attr(data-label);
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  z-index: 60;
  min-width: max-content;
  padding: 5px 8px;
  border-radius: 6px;
  background: #1c274c;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -5px);
  transition: opacity 150ms ease, transform 180ms ease;
}

.desktop-shortcut:hover::after,
.desktop-shortcut:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.desktop-more {
  position: relative;
  display: grid;
  place-items: center;
}

.desktop-more-toggle[aria-expanded="true"] {
  --menu-icon: url('../assets/icon-menu-close.svg');
  background: var(--menu-tint);
}

.desktop-more-toggle .menu-link-icon {
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.desktop-more-toggle[aria-expanded="true"] .menu-link-icon {
  transform: rotate(180deg);
}

.desktop-more-toggle[aria-expanded="true"]::after {
  opacity: 0;
}

.desktop-more-panel {
  position: absolute;
  z-index: 65;
  top: calc(100% + 7px);
  left: 0;
  width: 230px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 18px 44px rgba(49, 32, 46, 0.2);
  animation: more-panel-in 190ms cubic-bezier(0.22, 1, 0.36, 1);
}

.desktop-more-panel[hidden] {
  display: none;
}

.desktop-more-link {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  color: var(--menu-accent);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}

.desktop-more-link:hover,
.desktop-more-link:focus-visible {
  background: var(--menu-tint);
}

@keyframes more-panel-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  grid-column: 2;
  justify-self: center;
  width: 128px;
  height: 44px;
  display: flex;
  align-items: center;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.main-nav {
  position: absolute;
  top: 50px;
  right: clamp(14px, 3vw, 48px);
  width: min(300px, calc(100vw - 28px));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 10px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: #1c274c;
  box-shadow: 0 20px 54px rgba(49, 32, 46, 0.18);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 180ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 280ms;
}

.main-nav.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.main-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 2px;
  border-bottom: 0;
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration: none;
  text-underline-offset: 7px;
}

.main-nav a:hover {
  border-radius: 8px;
  background: rgba(28, 39, 76, 0.06);
  text-decoration: none;
}

.main-nav .menu-link {
  gap: 10px;
  padding-left: 12px;
  border-left: 4px solid var(--menu-accent);
  color: var(--menu-accent);
}

.menu-link-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: currentColor;
  -webkit-mask: var(--menu-icon) center / contain no-repeat;
  mask: var(--menu-icon) center / contain no-repeat;
}

.main-nav .menu-link:hover {
  background: var(--menu-tint);
  color: var(--menu-accent);
}

.menu-shop {
  --menu-accent: #5e7000;
  --menu-tint: #f3f7dd;
  --menu-icon: url('../assets/icon-menu-shop.svg');
}

.menu-about {
  --menu-accent: #9c125e;
  --menu-tint: #fae8f2;
  --menu-icon: url('../assets/icon-menu-about.svg');
}

.menu-contact {
  --menu-accent: #9a4100;
  --menu-tint: #fff0e3;
  --menu-icon: url('../assets/icon-menu-contact.svg');
}

.menu-terms {
  --menu-accent: #165b91;
  --menu-tint: #e8f3fb;
  --menu-icon: url('../assets/icon-menu-terms.svg');
}

.menu-delivery {
  --menu-accent: #643c89;
  --menu-tint: #f2ebf8;
  --menu-icon: url('../assets/icon-menu-delivery.svg');
}

.menu-payment {
  --menu-accent: #55175f;
  --menu-tint: #f5eaf6;
  --menu-icon: url('../assets/icon-menu-payment.svg');
}

.menu-more {
  --menu-accent: #165b91;
  --menu-tint: #e8f3fb;
  --menu-icon: url('../assets/icon-menu-more.svg');
}

.nav-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
}

.nav-tool-composer {
  width: 40px;
  min-width: 0;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  transition:
    width 340ms cubic-bezier(0.22, 1, 0.36, 1),
    flex-basis 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.access-composer.is-active {
  width: 162px;
  flex-basis: 162px;
}

.search-composer.is-active {
  width: 220px;
  flex-basis: 220px;
}

.nav-tool {
  flex: 0 0 40px;
  width: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #ccc5cc;
  border-radius: 999px;
  background: var(--white);
  color: #1c274c;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 760;
}

.nav-tool img {
  width: 19px;
  height: 19px;
  display: block;
  object-fit: contain;
}

.access-tool-icon {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
}

.nav-tool-expansion,
.nav-tool-expansion[hidden] {
  min-width: 0;
  max-width: 220px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  opacity: 1;
  transform: translateX(0);
  transition:
    max-width 340ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease,
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-tool-expansion[hidden] {
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
}

.nav-tool-composer.is-active .nav-tool-expansion {
  transition-delay: 80ms;
}

.nav-tool-composer .nav-tool-expansion[hidden] {
  transition-delay: 0ms;
}

.quick-access-actions button {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #1c274c;
  border-radius: 50%;
  background: var(--white);
  color: #1c274c;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 800;
}

.quick-access-actions button:hover,
.quick-access-actions button[aria-pressed="true"] {
  background: #1c274c;
  color: var(--white);
}

.search-inline {
  flex: 1 1 auto;
}

.search-inline input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 7px 11px;
  border: 1px solid #1c274c;
  border-radius: 999px;
  background: var(--white);
  color: #1c274c;
  font: inherit;
  font-size: 0.78rem;
}

.nav-tool[aria-expanded="true"] {
  background: rgba(28, 39, 76, 0.08);
}

.nav-tool[aria-expanded="true"] img {
  transform: rotate(-18deg) scale(0.92);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-tool:hover {
  border-color: #1c274c;
  background: rgba(28, 39, 76, 0.06);
  color: #1c274c;
}

.header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-button,
.menu-button {
  min-width: 36px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.icon-button:hover,
.menu-button:hover {
  background: #f1edf2;
  color: var(--plum-dark);
}

.account-button,
.menu-button {
  display: inline-grid;
  place-items: center;
  padding: 0;
}

.account-button img {
  width: 19px;
  height: 19px;
  display: block;
  object-fit: contain;
}

.account-button .account-icon-connected {
  display: none;
}

.account-button[data-connected="true"] .account-icon-disconnected {
  display: none;
}

.account-button[data-connected="true"] .account-icon-connected {
  display: block;
}

.cart-button {
  position: relative;
  width: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-color: transparent;
  background: transparent;
}

.cart-button:hover {
  background: #f1edf2;
}

.cart-icon {
  width: 19px;
  height: 19px;
  display: block;
  object-fit: contain;
}

.cart-icon-filled {
  display: none;
}

.cart-button.has-items .cart-icon-empty {
  display: none;
}

.cart-button.has-items .cart-icon-filled {
  display: block;
}

.cart-count {
  position: absolute;
  right: -2px;
  bottom: -2px;
  min-width: 16px;
  min-height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: #6f76df;
  color: var(--white);
  font-size: 0.58rem;
  font-weight: 850;
  line-height: 1;
}

.menu-button {
  position: relative;
  width: 36px;
}

.menu-button img {
  position: absolute;
  inset: 50% auto auto 50%;
  display: block;
  object-fit: contain;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-lines {
  width: 19px;
  height: 19px;
}

.menu-dots {
  width: 19px;
  height: 19px;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg) scale(0.65);
}

.menu-close {
  width: 19px;
  height: 19px;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-180deg) scale(0.65);
}

.menu-button[aria-expanded="true"] .menu-lines {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(180deg) scale(0.65);
}

.menu-button[aria-expanded="true"] .menu-close {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0) scale(1);
}

.access-panel,
.header-popover {
  position: fixed;
  z-index: 45;
  top: 50px;
  right: clamp(18px, 4vw, 62px);
  width: min(620px, calc(100vw - 36px));
  padding: 22px;
  border: 1px solid #ccc5cc;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 54px rgba(49, 32, 46, 0.18);
}

.header-popover {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-22px);
  transform-origin: top center;
  transition:
    opacity 180ms ease,
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 340ms;
}

.header-popover.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.header-popover[hidden] {
  display: none;
}

.access-panel > strong,
.header-popover > strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.access-actions button,
.header-popover button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 750;
}

.access-actions button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.header-popover label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.header-popover > div {
  display: flex;
  gap: 10px;
}

.header-popover input {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
}

.cart-popover {
  z-index: 540;
  width: min(440px, calc(100vw - 36px));
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cart-popover-heading {
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #ddd7dc;
}

.cart-popover-heading strong {
  font-size: 1.15rem;
}

.cart-popover-heading span {
  color: #655e64;
  font-size: 0.82rem;
  font-weight: 750;
}

.cart-empty-message {
  margin: 18px 0;
  color: #655e64;
}

.cart-empty-message[hidden],
.cart-total[hidden] {
  display: none;
}

.cart-items {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-items:empty {
  display: none;
}

.cart-line {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e4dfe3;
}

.cart-line-thumbnail {
  display: grid;
  width: 52px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  background: #f2efec;
  color: var(--purple);
  font-size: 0.65rem;
  font-weight: 850;
}

.cart-line-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-line-copy {
  min-width: 0;
}

.cart-line-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cart-line-copy span {
  display: block;
  margin-top: 5px;
  color: #6c656b;
  font-size: 0.75rem;
}

.cart-line-price {
  color: var(--ink);
  font-size: 0.86rem;
  white-space: nowrap;
}

.cart-popover > .cart-total {
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 0.9rem;
}

.cart-total strong {
  font-size: 1rem;
}

.cart-popover .cart-continue-button {
  width: 100%;
  margin-top: 18px;
}

.cart-popover .cart-view-button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 9px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.cart-popover .cart-view-button:hover,
.cart-popover .cart-view-button:focus-visible {
  border-color: var(--purple);
  background: var(--purple);
}

.cart-popover .cart-view-button + .cart-continue-button {
  margin-top: 10px;
}

.account-popover {
  width: min(390px, calc(100vw - 36px));
}

.account-popover > p {
  margin: 0 0 18px;
  color: #655e64;
}

.account-popover > .account-popover-actions {
  display: grid;
  gap: 9px;
}

.account-popover-actions a,
.account-popover-actions form button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 9px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.account-popover-actions form {
  margin: 0;
}

.account-popover-actions a.is-secondary,
.account-popover-actions form button {
  color: var(--ink);
  background: var(--white);
}

.account-popover-actions a.is-text {
  min-height: auto;
  border-color: transparent;
  color: var(--purple);
  background: transparent;
}

.account-popover > button[data-close="account-panel"] {
  width: 100%;
  margin-top: 12px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(30px, 4vw, 72px);
  padding: clamp(72px, 8vw, 124px) clamp(24px, 6vw, 92px);
  background:
    radial-gradient(circle at 89% 25%, rgba(197, 13, 111, 0.13), transparent 29%),
    radial-gradient(circle at 66% 78%, rgba(138, 164, 31, 0.14), transparent 30%),
    #f7f5f1;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--plum-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #f5b7e0;
}

.color-line {
  width: 42px;
  height: 5px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--lime) 0 20%, var(--magenta) 20% 40%, var(--orange) 40% 60%, var(--blue) 60% 80%, var(--plum) 80% 100%);
  vertical-align: middle;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(4.3rem, 7.4vw, 8.5rem);
  font-weight: 830;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.hero-intro {
  max-width: 650px;
  margin: 30px 0 0;
  color: #433e42;
  font-size: clamp(1.1rem, 1.55vw, 1.42rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 2px solid var(--plum-dark);
  border-radius: 999px;
  font-weight: 820;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

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

.button.primary {
  background: var(--plum-dark);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-stage {
  position: relative;
  min-height: 570px;
}

.phone-frame {
  position: absolute;
  z-index: 3;
  left: 51%;
  top: 50%;
  width: min(640px, 98%);
  aspect-ratio: 1.72 / 1;
  transform: translate(-50%, -50%) rotate(7deg);
  overflow: hidden;
  padding: 16px;
  border: 6px solid #f8f7f4;
  border-radius: 54px;
  background: #e8e4df;
  box-shadow: 0 34px 70px rgba(49, 26, 43, 0.24);
  animation: phone-float 6s ease-in-out infinite;
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 40px;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 37px;
  filter: saturate(0.85) contrast(1.04);
}

.phone-speaker {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 5px;
  width: 5px;
  height: 56px;
  transform: translateY(-50%);
  border-radius: 8px;
  background: #b4ada7;
}

.video-label {
  position: absolute;
  z-index: 5;
  right: 36px;
  bottom: 34px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(114, 38, 125, 0.24);
  border-radius: 50%;
  animation: orbit-spin 18s linear infinite;
}

.orbit-one {
  width: 440px;
  height: 440px;
  right: -6%;
  top: 4%;
}

.orbit-two {
  width: 300px;
  height: 300px;
  left: 0;
  bottom: 2%;
  animation-direction: reverse;
}

.brand-strokes {
  position: absolute;
  z-index: 5;
  top: 4%;
  right: 1%;
  width: 120px;
  height: 120px;
}

.brand-strokes span {
  position: absolute;
  left: 54px;
  bottom: 18px;
  width: 5px;
  height: 52px;
  border-radius: 8px;
  transform-origin: 50% 100%;
}

.brand-strokes span:nth-child(1) { background: var(--lime); transform: rotate(-48deg); }
.brand-strokes span:nth-child(2) { background: var(--magenta); transform: rotate(-22deg); }
.brand-strokes span:nth-child(3) { background: var(--orange); transform: rotate(4deg); }
.brand-strokes span:nth-child(4) { background: var(--blue); transform: rotate(30deg); }
.brand-strokes span:nth-child(5) { background: var(--plum); transform: rotate(56deg); }

@keyframes phone-float {
  0%,
  100% { transform: translate(-50%, -50%) rotate(7deg); }
  50% { transform: translate(-50%, -54%) rotate(5deg); }
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.rainbow-rule {
  height: 3px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.rainbow-rule span:nth-child(1) { background: var(--lime); }
.rainbow-rule span:nth-child(2) { background: var(--magenta); }
.rainbow-rule span:nth-child(3) { background: var(--orange); }
.rainbow-rule span:nth-child(4) { background: var(--blue); }
.rainbow-rule span:nth-child(5) { background: var(--plum); }

.section {
  padding: clamp(78px, 9vw, 142px) clamp(22px, 6vw, 92px);
}

.poster-showcase {
  position: relative;
  min-height: clamp(720px, 70vw, 960px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 14%, rgba(255, 255, 255, 0.78), transparent 32%),
    linear-gradient(135deg, #e4f2f4 0%, #d1e3e7 52%, #bfd2d6 100%);
}

.poster-showcase-stage {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: min(100%, 1200px);
  height: 100%;
  perspective: 1400px;
  transform: translateX(-50%);
}

.poster-showcase-item {
  position: absolute;
  margin: 0;
  filter: drop-shadow(0 26px 24px rgba(22, 36, 40, 0.32));
  transform-origin: 100% 2%;
  transform-style: preserve-3d;
  will-change: transform;
}

.poster-showcase-item img {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
}

.poster-product-card::after {
  content: "";
  position: absolute;
  z-index: 6;
  inset: 0;
  border: 2px solid rgba(114, 38, 125, 0);
  box-shadow: 0 0 0 rgba(114, 38, 125, 0);
  opacity: 0;
  pointer-events: none;
}

.poster-product-card.is-flashing::after {
  animation: product-card-flash 620ms ease-out;
}

.poster-product-open-area {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.poster-product-open-area:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: -7px;
}

.poster-product-actions {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  color: var(--plum);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 28px rgba(24, 20, 23, 0.2);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
}

.poster-product-lsf {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  margin: 0;
  color: var(--plum);
  background: transparent;
}

.poster-product-action {
  position: relative;
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--plum);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, gap 180ms ease, padding 180ms ease;
}

.poster-product-action:hover,
.poster-product-action:focus-visible,
.poster-product-action.is-added {
  color: var(--white);
  background: var(--plum);
}

.poster-product-action:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.poster-product-action .product-sheet-trigger-icon,
.poster-product-action .add-cart-icon {
  width: 21px;
  height: 21px;
  flex-basis: 21px;
}

.poster-product-action.add-cart-icon-button.is-added {
  border-radius: 999px;
  gap: 6px;
  padding-inline: 10px;
}

.poster-showcase-item-large {
  z-index: 1;
  top: 0;
  right: 12%;
  width: min(50vw, 650px);
  animation: poster-breeze-large 11s ease-in-out infinite;
}

.poster-showcase-item-small {
  z-index: 2;
  top: -50px;
  left: 15%;
  width: min(31vw, 410px);
  animation: poster-breeze-small 10s ease-in-out -1.7s infinite;
}

@keyframes poster-breeze-large {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateZ(-0.2deg) rotateY(0deg) skewY(0deg);
  }

  34% {
    transform: translate3d(1.5px, 0.5px, 2px) rotateZ(0.22deg) rotateY(-0.6deg) skewY(0.05deg);
  }

  68% {
    transform: translate3d(-0.5px, 0, 1px) rotateZ(-0.1deg) rotateY(0.2deg) skewY(-0.02deg);
  }
}

@keyframes poster-breeze-small {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateZ(0.22deg) rotateY(0deg) skewY(0deg);
  }

  38% {
    transform: translate3d(-1.5px, 1px, 2px) rotateZ(-0.24deg) rotateY(-0.7deg) skewY(-0.06deg);
  }

  72% {
    transform: translate3d(0.5px, 0, 1px) rotateZ(0.12deg) rotateY(0.22deg) skewY(0.02deg);
  }
}

.poster-showcase-backdrop {
  position: absolute;
  z-index: 1;
  right: clamp(24px, 7vw, 110px);
  bottom: clamp(150px, 13vw, 190px);
  left: clamp(24px, 7vw, 110px);
  color: rgba(28, 42, 44, 0.9);
  filter: blur(clamp(2px, 0.28vw, 4px));
  opacity: 0.6;
  text-shadow: none;
  pointer-events: none;
}

.poster-showcase-backdrop strong,
.poster-showcase-backdrop small {
  display: block;
}

.poster-showcase-foreground {
  position: absolute;
  z-index: 4;
  right: clamp(24px, 7vw, 110px);
  bottom: clamp(150px, 13vw, 190px);
  left: clamp(24px, 7vw, 110px);
  color: rgba(28, 42, 44, 0.9);
  filter: blur(clamp(2px, 0.28vw, 4px));
  opacity: 0.6;
  pointer-events: none;
}

.poster-showcase-foreground span,
.poster-showcase-foreground em {
  display: block;
}

.poster-showcase-foreground span {
  margin-left: 1%;
  font-size: clamp(0.82rem, 1.15vw, 1.1rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.poster-showcase-backdrop strong {
  max-width: 88%;
  font-size: clamp(4.8rem, 10.4vw, 10.6rem);
  font-weight: 850;
  line-height: 0.78;
  letter-spacing: -0.075em;
}

.poster-showcase-backdrop small {
  margin-top: 14px;
  margin-left: clamp(18px, 21vw, 320px);
  color: rgba(42, 70, 54, 0.9);
  font-size: clamp(1.65rem, 3.25vw, 3.6rem);
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1;
}

.poster-showcase-foreground em {
  margin-top: clamp(108px, 10vw, 158px);
  margin-left: min(55vw, 700px);
  color: rgba(34, 75, 49, 0.92);
  font-size: clamp(1.45rem, 3vw, 3.1rem);
  font-style: normal;
  font-weight: 430;
  white-space: nowrap;
}

.poster-format-note {
  position: absolute;
  z-index: 5;
  right: clamp(20px, 5vw, 76px);
  bottom: clamp(22px, 4vw, 56px);
  padding: 16px 20px 18px;
  color: #26383d;
  background: transparent;
  border-top: 3px solid var(--plum);
  box-shadow: none;
  backdrop-filter: none;
}

.poster-format-note strong,
.poster-format-note span {
  display: block;
}

.poster-format-note strong {
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.poster-format-note span {
  margin-top: 8px;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 800;
  white-space: nowrap;
}

.poster-format-note i {
  margin-inline: 7px;
  color: var(--plum);
  font-style: normal;
}

.poster-promo-tip {
  position: absolute;
  z-index: 5;
  bottom: clamp(28px, 4vw, 58px);
  left: clamp(20px, 5vw, 76px);
  width: min(330px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  padding: 16px 18px;
  border-top: 3px solid var(--orange);
  background: rgba(255, 255, 255, 0.82);
  color: #26383d;
  box-shadow: 0 16px 36px rgba(22, 36, 40, 0.15);
  backdrop-filter: blur(10px);
}

.poster-promo-kicker,
.poster-promo-tip strong,
.poster-promo-tip small {
  grid-column: 1;
}

.poster-promo-kicker {
  color: #b74f00;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.poster-promo-tip strong {
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.15;
}

.poster-promo-tip strong b {
  color: var(--plum);
  font-size: 1.18em;
}

.poster-promo-tip small {
  color: #5f696b;
  font-size: 0.72rem;
}

.poster-promo-tip s {
  text-decoration-thickness: 2px;
}

.poster-promo-cart {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  min-width: 46px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 10px;
  border: 1px solid var(--plum);
  border-radius: 50%;
  background: transparent;
  color: var(--plum);
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-radius 180ms ease, gap 180ms ease;
}

.poster-promo-cart:hover,
.poster-promo-cart:focus-visible,
.poster-promo-cart.is-added {
  background: var(--plum);
  color: var(--white);
}

.poster-promo-cart.is-added {
  border-radius: 999px;
  gap: 6px;
}

.poster-promo-cart:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.poster-promo-cart .add-cart-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.poster-promo-cart-label {
  width: 0;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 850;
  opacity: 0;
  white-space: nowrap;
}

.poster-promo-cart:hover,
.poster-promo-cart:focus-visible {
  border-radius: 999px;
  gap: 7px;
}

.poster-promo-cart:hover .poster-promo-cart-label,
.poster-promo-cart:focus-visible .poster-promo-cart-label {
  width: auto;
  opacity: 1;
}

@media (max-width: 700px) {
  .poster-showcase {
    min-height: 145vw;
  }

  .poster-showcase-item-large {
    right: 4%;
    width: 76vw;
  }

  .poster-showcase-item-small {
    left: 1%;
    width: 50vw;
  }

  .poster-showcase-backdrop {
    right: 18px;
    bottom: 126px;
    left: 18px;
    filter: blur(2px);
  }

  .poster-showcase-foreground {
    right: 18px;
    bottom: 126px;
    left: 18px;
    filter: blur(2px);
  }

  .poster-showcase-backdrop strong {
    max-width: 100%;
    font-size: clamp(3rem, 12.8vw, 4.8rem);
  }

  .poster-showcase-backdrop small {
    margin-top: 8px;
    margin-left: 9vw;
    font-size: clamp(1.3rem, 6.2vw, 2rem);
  }

  .poster-showcase-foreground em {
    margin-top: 66px;
    margin-left: 44vw;
    font-size: clamp(0.95rem, 4.5vw, 1.45rem);
  }

  .poster-format-note {
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 14px 17px 16px;
  }

  .poster-promo-tip {
    right: 16px;
    bottom: 104px;
    left: 16px;
    width: auto;
    padding: 13px 15px;
  }

  .poster-format-note span {
    font-size: 1rem;
  }

  .poster-product-actions {
    top: 50%;
    left: 50%;
    gap: 5px;
    padding: 5px;
    transform: translate(-50%, -50%);
  }

  .poster-product-action {
    min-width: 34px;
    min-height: 34px;
    padding: 6px;
  }

  .poster-product-lsf {
    position: relative;
    top: auto;
    right: auto;
    width: 30px;
    height: 30px;
    margin: 0;
    transform: none;
  }
}

.reduced-motion .poster-showcase-item {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .poster-showcase-item {
    animation: none;
  }
}

.product-check-list {
  list-style: none;
  padding-left: 0;
}

.product-check-list li {
  position: relative;
  padding-left: 1.7em;
}

.product-check-list li + li {
  margin-top: .35em;
}

.product-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #6f227e;
  font-weight: 800;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

h2 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2.7rem, 5.2vw, 6.1rem);
  font-weight: 825;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.carousel-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-buttons button {
  width: 52px;
  height: 52px;
  border: 1px solid #9f969d;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.25rem;
}

.carousel-buttons button:hover,
.carousel-buttons button:focus-visible,
.catalogue-view-button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.carousel-buttons button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--plum) 34%, transparent);
  outline-offset: 3px;
}

.catalogue-view-icon {
  display: block;
  width: 23px;
  height: 23px;
  margin: auto;
  background: currentColor;
  mask: center / contain no-repeat;
  -webkit-mask: center / contain no-repeat;
}

.catalogue-view-icon-grid {
  mask-image: url("../assets/icon-view-grid.svg");
  -webkit-mask-image: url("../assets/icon-view-grid.svg");
}

.catalogue-view-icon-carousel {
  mask-image: url("../assets/icon-view-carousel.svg");
  -webkit-mask-image: url("../assets/icon-view-carousel.svg");
}

.catalogue-control-separator {
  width: 1px;
  height: 30px;
  margin: 0 3px;
  background: var(--line);
}

.carousel-navigation-button:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.book-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 31.5%);
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 4px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--plum) transparent;
}

.book-track.is-grid-view {
  grid-auto-flow: row;
  grid-auto-columns: unset;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  overflow: visible;
  padding-inline: 4px;
  scroll-snap-type: none;
}

.book-track.is-grid-view .book-card {
  scroll-snap-align: none;
}

.book-card {
  position: relative;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

.book-card::after {
  content: "";
  position: absolute;
  z-index: 8;
  inset: 0;
  border: 2px solid rgba(114, 38, 125, 0);
  box-shadow: 0 0 0 rgba(114, 38, 125, 0);
  opacity: 0;
  pointer-events: none;
}

.book-card.is-flashing::after {
  animation: product-card-flash 620ms ease-out;
}

.book-cover {
  position: relative;
  width: 100%;
  height: 410px;
  min-height: 410px;
  display: flex;
  align-items: end;
  overflow: hidden;
  padding: 30px;
  border-radius: 0;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.book-cover.has-cover-image {
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  background: #eeece8;
  box-shadow: none;
}

.book-cover.has-cover-image::before {
  display: none;
}

.simple-cover-image {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  height: fit-content;
  max-height: 100%;
  line-height: 0;
  box-shadow: 0 0 0 1px rgba(24, 20, 23, 0.12), -8px 4px 13px rgba(24, 20, 23, 0.32), 0 10px 20px rgba(24, 20, 23, 0.2);
}

.book-cover.has-cover-image .simple-cover-image > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 370px;
  object-fit: contain;
  object-position: center;
}

.simple-cover-groove {
  position: absolute;
  top: 0;
  left: 10px;
  width: 2px;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0 50%, rgba(255, 255, 255, 0.42) 50% 100%);
  box-shadow: none;
  pointer-events: none;
}

.cover-usb {
  position: absolute;
  z-index: 3;
  top: -15px;
  left: 25px;
  width: 38px;
  height: 108px;
  border-radius: 20px 20px 2px 2px;
  background: #f6d500;
  box-shadow: -3px 5px 7px rgba(24, 20, 23, 0.2);
  transform: scale(0.6);
  transform-origin: top left;
  pointer-events: none;
}

.cover-usb::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #eeece8;
  box-shadow: inset 0 1px 2px rgba(24, 20, 23, 0.18);
  transform: translateX(-50%);
}

.cover-usb-line {
  position: absolute;
  top: 42px;
  left: 19px;
  width: 2px;
  height: 50px;
  border-radius: 2px;
  background: #18aeb2;
  transform: rotate(-10deg);
  transform-origin: top center;
}

.cover-usb-line::before {
  content: "";
  position: absolute;
  top: -13px;
  left: -8px;
  width: 15px;
  height: 11px;
  border: 2px solid #18aeb2;
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(-26deg);
}

.cover-usb-line::after {
  content: "";
  position: absolute;
  top: -6px;
  left: -11px;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: #18aeb2;
  transform: rotate(35deg);
  transform-origin: right center;
}

.cover-usb.has-logo .cover-usb-line {
  display: none;
}

.cover-usb-logo {
  position: absolute;
  top: 39px;
  left: 50%;
  display: block;
  width: 28px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  transform: translateX(-50%);
}

.book-cover.sun { background: #f2ca54; }
.book-cover.sky { background: #c8deed; }
.book-cover.rose { background: #ead0de; }
.book-cover.leaf { background: #dce7b0; }

.book-cover::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 230px;
  height: 230px;
  border: 30px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.book-cover strong {
  position: relative;
  z-index: 2;
  max-width: 230px;
  font-family: var(--site-font);
  font-size: clamp(2rem, 2.6vw, 3.1rem);
  font-weight: 520;
  line-height: 0.98;
}

.cover-number {
  position: absolute;
  top: 25px;
  left: 28px;
  font-size: 0.85rem;
  font-weight: 850;
}

.cover-rays {
  position: absolute;
  right: 28px;
  bottom: 30px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 10px dotted rgba(114, 38, 125, 0.55);
}

.book-category {
  min-height: 2.4em;
  margin: 20px 0 6px;
  color: var(--plum-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow: visible;
  white-space: nowrap;
}

.book-category-sign {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  cursor: help;
  outline-offset: 3px;
}

.book-category-sign.is-international-sign {
  color: var(--turquoise);
}

.book-category-sign-icon {
  display: block;
  width: 23px;
  height: 23px;
  background: currentColor;
  -webkit-mask: url("../assets/icon-access-lsf-transparent.png") center / contain no-repeat;
  mask: url("../assets/icon-access-lsf-transparent.png") center / contain no-repeat;
}

.book-category-sign::before,
.book-category-sign::after {
  position: absolute;
  z-index: 12;
  left: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.book-category-sign::before {
  content: "";
  bottom: calc(100% + 3px);
  border: 5px solid transparent;
  border-top-color: var(--ink);
  transform: translate(-50%, 3px);
}

.book-category-sign::after {
  content: attr(data-tooltip);
  bottom: calc(100% + 13px);
  width: max-content;
  max-width: 230px;
  padding: 7px 9px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 5px 16px rgba(24, 20, 23, 0.22);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  white-space: normal;
  transform: translate(-50%, 5px);
}

.book-category-sign:hover::before,
.book-category-sign:hover::after,
.book-category-sign:focus-visible::before,
.book-category-sign:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.book-card h3 {
  min-height: 4.25em;
  max-height: 4.25em;
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.book-card > p:not(.book-category) {
  height: 4.5em;
  min-height: 4.5em;
  max-height: 4.5em;
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.book-footer {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.book-footer button {
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.book-footer button:hover {
  background: var(--ink);
  color: var(--white);
}

.book-footer .add-cart-icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 42px;
  min-width: 42px;
  padding: 8px;
  transition: gap 180ms ease, padding 180ms ease, background-color 180ms ease, color 180ms ease;
}

.book-footer .add-cart-icon-button.is-added {
  width: auto;
  gap: 7px;
  padding: 8px 15px 8px 11px;
  background: var(--ink);
  color: var(--white);
}

.add-cart-icon {
  position: relative;
  z-index: 1;
  display: block;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  background: currentColor;
  -webkit-mask: url("../assets/icon-cart-add.svg") center / contain no-repeat;
  mask: url("../assets/icon-cart-add.svg") center / contain no-repeat;
}

.add-cart-confirmation {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: max-width 180ms ease, opacity 140ms ease;
}

.add-cart-icon-button.is-added .add-cart-confirmation {
  max-width: 70px;
  opacity: 1;
}

.add-cart-item-count {
  position: absolute;
  z-index: 2;
  right: -5px;
  bottom: -5px;
  min-width: 18px;
  min-height: 18px;
  display: none;
  place-items: center;
  padding: 2px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: #6f76df;
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 850;
  line-height: 1;
}

.add-cart-icon-button.is-added .add-cart-item-count {
  display: grid;
}

.cart-fly-item {
  position: fixed;
  z-index: 250;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  background: var(--plum-dark);
  filter: drop-shadow(0 5px 7px rgba(24, 20, 23, 0.3));
  -webkit-mask: url("../assets/icon-cart-add.svg") center / contain no-repeat;
  mask: url("../assets/icon-cart-add.svg") center / contain no-repeat;
  pointer-events: none;
  will-change: transform, opacity;
}

.cart-button.cart-received {
  animation: cart-received 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes product-card-flash {
  0% {
    opacity: 0;
    border-color: rgba(114, 38, 125, 0);
    box-shadow: 0 0 0 rgba(114, 38, 125, 0);
  }
  24% {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 14px 4px rgba(160, 111, 255, 0.72), inset 0 0 12px rgba(255, 255, 255, 0.65);
  }
  100% {
    opacity: 0;
    border-color: rgba(114, 38, 125, 0.2);
    box-shadow: 0 0 30px 12px rgba(114, 38, 125, 0);
  }
}

@keyframes cart-received {
  0%, 100% { transform: scale(1) rotate(0); }
  45% { transform: scale(1.2) rotate(-8deg); }
  70% { transform: scale(0.94) rotate(4deg); }
}

.book-footer button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.book-footer button:disabled:hover {
  background: transparent;
  color: var(--ink);
}

.catalogue-unavailable {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.catalogue-unavailable strong {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.catalogue-unavailable p {
  max-width: 640px;
  margin: 12px 0 0;
  color: var(--muted);
}

.ideas-section {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 138px) 0 clamp(84px, 10vw, 150px);
  background:
    radial-gradient(circle at 8% 20%, rgba(37, 111, 173, 0.12), transparent 32%),
    radial-gradient(circle at 88% 82%, rgba(197, 13, 111, 0.11), transparent 30%),
    #ede9ee;
}

.ideas-heading {
  width: min(1420px, calc(100% - clamp(32px, 8vw, 120px)));
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto clamp(34px, 5vw, 68px);
}

.ideas-heading h2 {
  max-width: 900px;
  margin: 8px 0 12px;
  font-size: clamp(2.35rem, 5.6vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.ideas-heading > div:first-child > p:last-child {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.24rem);
}

.ideas-controls {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 50px minmax(104px, auto) 50px;
  align-items: center;
  gap: 10px;
}

.ideas-controls button {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(23, 19, 23, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.35rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ideas-controls button:hover,
.ideas-controls button:focus-visible {
  background: var(--ink);
  color: var(--white);
  transform: scale(1.06);
}

.ideas-controls button:disabled {
  cursor: default;
  opacity: 0.35;
  transform: none;
}

.ideas-controls span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.ideas-track {
  width: min(100%, 1600px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(310px, 34vw, 500px);
  gap: clamp(18px, 2.3vw, 34px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: clamp(24px, 7vw, 110px);
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--plum) rgba(255, 255, 255, 0.45);
  scrollbar-width: thin;
  padding: 14px clamp(24px, 7vw, 110px) 30px;
  margin: 0 auto;
}

.idea-card {
  min-height: clamp(510px, 55vw, 650px);
  display: grid;
  grid-template-rows: minmax(220px, 0.9fr) auto;
  overflow: hidden;
  border: 1px solid rgba(23, 19, 23, 0.1);
  border-radius: 0;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(45, 33, 44, 0.13);
  scroll-snap-align: start;
}

.idea-card-visual {
  position: relative;
  min-height: 230px;
  overflow: hidden;
}

.idea-card-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 38px);
}

.idea-card-kicker {
  margin: 0 0 10px;
  color: var(--plum-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.idea-card h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.8vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.idea-card-copy > p:not(.idea-card-kicker) {
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: 1rem;
}

.idea-card-action,
.idea-card-link,
.idea-code-button {
  min-height: 48px;
  margin-top: auto;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 820;
  text-decoration: none;
}

.idea-card-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
}

.idea-card-link:hover,
.idea-card-link:focus-visible,
.idea-card-action:hover,
.idea-card-action:focus-visible,
.idea-code-button:hover,
.idea-code-button:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.idea-code-button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 7px 8px 7px 18px;
}

.idea-code-button strong {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  letter-spacing: 0.08em;
}

.idea-code-button:hover strong,
.idea-code-button:focus-visible strong {
  background: var(--white);
  color: var(--ink);
}

.idea-card-action.add-cart-icon-button {
  position: relative;
  width: auto;
  min-width: 172px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 18px;
}

.idea-card-action .add-cart-icon {
  width: 24px;
  height: 24px;
}

.idea-card-action .add-cart-item-count {
  top: -8px;
  right: -8px;
  bottom: auto;
}

.idea-card-action .add-cart-confirmation {
  display: none;
}

.idea-card-action.is-added {
  background: var(--ink);
  color: var(--white);
}

.idea-shipping-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
}

.idea-shipping-visual span {
  font-size: clamp(7rem, 15vw, 12rem);
  font-weight: 850;
  line-height: 0.8;
  letter-spacing: -0.1em;
}

.idea-shipping-visual sup {
  margin-top: -50px;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 850;
}

.idea-shipping-visual i {
  position: absolute;
  right: 8%;
  bottom: -20%;
  color: rgba(255, 255, 255, 0.22);
  font-size: 14rem;
  font-style: normal;
  font-weight: 200;
}

.idea-posters-visual {
  background: #dbeaf0;
}

.idea-posters-visual img {
  position: absolute;
  width: 45%;
  height: 84%;
  object-fit: cover;
  box-shadow: 0 18px 30px rgba(27, 30, 38, 0.22);
}

.idea-posters-visual img:first-child {
  top: 10%;
  left: 17%;
  transform: rotate(-6deg);
}

.idea-posters-visual img:last-child {
  top: 5%;
  right: 13%;
  transform: rotate(5deg);
}

.idea-book-visual {
  display: grid;
  place-items: center;
  background: #efcfdc;
}

.idea-card-young .idea-book-visual {
  background: #b9d8d8;
}

.idea-book-visual img {
  width: auto;
  height: 86%;
  object-fit: contain;
  transform: rotate(-4deg);
  box-shadow: 14px 18px 30px rgba(32, 22, 28, 0.24);
}

.idea-book-visual span {
  position: absolute;
  right: 14px;
  bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 850;
  letter-spacing: -0.06em;
}

.idea-groups-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: var(--white);
}

.idea-groups-visual span {
  font-size: clamp(6rem, 14vw, 11rem);
  font-weight: 850;
  letter-spacing: -0.09em;
}

.idea-groups-visual i {
  position: absolute;
  right: 10%;
  bottom: 12%;
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 820;
}

.high-contrast .ideas-section,
.high-contrast .idea-card,
.high-contrast .idea-card-copy {
  background: #000000;
  color: #ffffff;
}

.high-contrast .idea-card-copy p,
.high-contrast .ideas-heading > div:first-child > p:last-child,
.high-contrast .ideas-controls span {
  color: #ffffff;
}

.high-contrast .idea-card-link,
.high-contrast .idea-card-action,
.high-contrast .idea-code-button {
  border-color: #ffffff;
  color: #ffffff;
}

@media (max-width: 760px) {
  .ideas-heading {
    display: grid;
    align-items: start;
  }

  .ideas-controls {
    justify-self: start;
  }

  .ideas-track {
    grid-auto-columns: min(86vw, 390px);
  }

  .idea-card {
    min-height: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ideas-track {
    scroll-behavior: auto;
  }
}

.closer {
  background: var(--white);
}

.closer-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(300px, 1.25fr) minmax(260px, 0.9fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  min-height: 620px;
  padding: clamp(26px, 4vw, 58px);
  border-radius: 36px;
  background: #f1eff1;
}

.feature-tabs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.feature-tabs button {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  cursor: pointer;
  font-weight: 760;
  text-align: left;
}

.feature-tabs button span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #8f858d;
  border-radius: 50%;
  font-size: 0.74rem;
}

.feature-tabs button[aria-selected="true"] {
  border-color: var(--plum);
  background: var(--white);
  color: var(--plum-dark);
}

.feature-visual {
  min-height: 460px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.book-object {
  position: relative;
  width: min(340px, 80%);
  aspect-ratio: 0.72;
  transform: rotateY(-18deg) rotateX(5deg);
  transform-style: preserve-3d;
  filter: drop-shadow(28px 30px 24px rgba(47, 34, 45, 0.22));
}

.book-front {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border-radius: 5px 16px 16px 5px;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.6), transparent 25%),
    #f3c84f;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.book-front span {
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-front strong {
  font-family: var(--site-font);
  font-size: clamp(2.3rem, 3.3vw, 4.1rem);
  font-weight: 500;
  line-height: 0.92;
}

.book-front i {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  align-self: flex-end;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-style: normal;
  font-weight: 900;
}

.book-spine {
  position: absolute;
  z-index: -1;
  left: -18px;
  top: 7px;
  width: 25px;
  height: calc(100% - 14px);
  transform: rotateY(80deg);
  transform-origin: right;
  background: #d7ab34;
}

.feature-copy {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--plum);
  border-radius: 50%;
  color: var(--plum-dark);
  font-size: 0.8rem;
  font-weight: 850;
}

.feature-copy h3 {
  margin: 22px 0 14px;
  font-size: clamp(1.9rem, 3vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.feature-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.video-story {
  padding: clamp(78px, 9vw, 140px) clamp(22px, 6vw, 92px);
  background: var(--ink);
  color: var(--white);
}

.video-copy {
  max-width: 1050px;
  margin-bottom: 46px;
}

.video-copy h2 {
  color: var(--white);
}

.video-copy > p:last-child {
  max-width: 690px;
  margin: 24px 0 0;
  color: #d8d1d6;
  font-size: 1.2rem;
}

.video-wrap {
  max-width: 1500px;
  margin: 0 auto;
}

.video-wrap video {
  width: 100%;
  max-height: 76vh;
  display: block;
  border-radius: 30px;
  background: #000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.video-description {
  margin: 18px 0 0;
  color: #d8d1d6;
}

.video-wrap details {
  margin-top: 16px;
  padding: 16px 0;
  border-top: 1px solid #51474f;
  border-bottom: 1px solid #51474f;
}

.video-wrap summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
}

.video-wrap details p {
  max-width: 820px;
  color: #d8d1d6;
}

.accessibility {
  background: #f7f5f1;
}

.access-intro {
  max-width: 1080px;
  margin: 0 auto 52px;
  text-align: center;
}

.access-intro h2 {
  margin-inline: auto;
}

.access-intro > p:last-child {
  max-width: 690px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.access-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border-radius: 28px;
  color: var(--ink);
}

.access-card.plum { background: #e5cbe2; }
.access-card.lime { background: #dce7af; }
.access-card.blue { background: #c9deed; }
.access-card.rose { background: #f0cfdf; }

.access-card > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 900;
}

.access-card h3 {
  margin: 24px 0 10px;
  font-size: 1.42rem;
  line-height: 1.08;
}

.access-card p {
  margin: 0;
  color: #342e32;
}

.trust {
  display: grid;
  grid-template-columns: 110px minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: start;
  padding: clamp(82px, 9vw, 150px) clamp(22px, 7vw, 110px);
  background: var(--white);
}

.trust-symbol {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: var(--plum);
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 900;
}

.trust h2 {
  font-size: clamp(2.8rem, 4.8vw, 5.5rem);
}

.trust > div:nth-child(2) > p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
}

.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.trust-list li {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.trust-list span {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.65fr);
  gap: 34px;
  padding: 64px clamp(22px, 6vw, 92px) 28px;
  background: #201d20;
  color: var(--white);
}

.footer-brand img {
  width: 230px;
  height: 110px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: #d6cfd4;
}

.site-footer > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer a {
  margin-top: 12px;
  color: #d6cfd4;
  text-underline-offset: 4px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 30px 0 0;
  padding-top: 24px;
  border-top: 1px solid #4b4449;
  color: #bdb5ba;
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.large-text {
  font-size: 18px;
}

.high-contrast {
  --ink: #000000;
  --muted: #242124;
  --paper: #ffffff;
  --white: #ffffff;
  --plum: #53115d;
  --plum-dark: #3e0747;
  --line: #595259;
  --focus: #005fcc;
}

.high-contrast .hero,
.high-contrast .accessibility {
  background: #ffffff;
}

.high-contrast .book-card,
.high-contrast .closer-panel,
.high-contrast .access-card {
  outline: 2px solid #000000;
}

.high-contrast .main-nav .menu-link {
  border-left-color: #000000;
  color: #000000;
}

.high-contrast .desktop-shortcut {
  color: #000000;
}

.high-contrast .desktop-more-link {
  color: #000000;
}

.reduced-motion *,
.reduced-motion *::before,
.reduced-motion *::after {
  scroll-behavior: auto !important;
  animation: none !important;
  transition-duration: 0.001ms !important;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 80px;
  }

  .hero-stage {
    min-height: 540px;
  }

  .book-track {
    grid-auto-columns: minmax(290px, 47%);
  }

  .book-track.is-grid-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .closer-panel {
    grid-template-columns: 0.65fr 1.2fr;
  }

  .feature-copy {
    grid-column: 1 / -1;
    min-height: auto;
    padding-top: 12px;
  }

  .access-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust {
    grid-template-columns: 90px 1fr;
  }

  .trust-list {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 56px;
  }

  .site-header {
    min-height: 50px;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    padding-inline: 12px;
  }

  .menu-backdrop,
  .menu-backdrop[hidden] {
    top: 50px;
  }

  .privacy-notice {
    top: 50px;
  }

  .brand {
    width: 114px;
    height: 40px;
  }

  .desktop-shortcuts {
    display: none;
  }

  .main-nav {
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    border-width: 0 0 1px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    clip-path: inset(0 0 100% 0);
    transform: translateY(0);
    transform-origin: top center;
    will-change: clip-path, opacity;
    transition:
      opacity 180ms ease,
      clip-path 380ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 380ms;
  }

  .main-nav.is-open {
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
    transition-delay: 0s;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .cart-button {
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .menu-lines {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scale(0.65);
  }

  .menu-dots {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0) scale(1);
  }

  .menu-button[aria-expanded="true"] .menu-dots {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(180deg) scale(0.65);
  }

  .menu-button[aria-expanded="true"] .menu-close {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0) scale(1);
  }

  .access-panel,
  .header-popover {
    top: 54px;
    right: 16px;
  }

  .hero {
    padding: 64px 22px 58px;
  }

  h1 {
    font-size: clamp(4rem, 16vw, 6.5rem);
  }

  .hero-stage {
    min-height: 400px;
  }

  .phone-frame {
    width: min(640px, 94%);
    border-radius: 38px;
    padding: 11px;
  }

  .phone-frame img {
    border-radius: 27px;
  }

  .orbit-one {
    width: 330px;
    height: 330px;
  }

  .orbit-two {
    width: 220px;
    height: 220px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .book-track {
    grid-auto-columns: 75%;
  }

  .book-track.is-grid-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .closer-panel {
    grid-template-columns: 1fr;
  }

  .feature-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .feature-tabs button {
    flex: 0 0 auto;
  }

  .feature-visual {
    min-height: 440px;
  }

  .feature-copy {
    grid-column: auto;
  }

  .video-wrap video {
    border-radius: 18px;
  }

  .trust {
    grid-template-columns: 1fr;
  }

  .trust-list {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .brand {
    width: 100px;
    height: 38px;
  }

  .privacy-notice {
    align-items: flex-start;
    gap: 10px;
    padding: 9px 12px;
  }

  .privacy-notice p {
    font-size: 0.69rem;
  }

  .header-icon-link,
  .icon-button,
  .menu-button {
    min-width: 32px;
    width: 32px;
    min-height: 32px;
    height: 32px;
  }

  .header-actions {
    gap: 4px;
  }

  .menu-button {
    padding: 0;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    min-height: 310px;
  }

  .brand-strokes {
    transform: scale(0.72);
    transform-origin: top right;
  }

  .section {
    padding-inline: 18px;
  }

  .section-heading {
    flex-direction: column;
  }

  .book-track {
    grid-auto-columns: 88%;
  }

  .book-track.is-grid-view {
    grid-template-columns: 1fr;
  }

  .book-cover {
    height: 330px;
    min-height: 330px;
  }

  .book-cover.has-cover-image .simple-cover-image img {
    max-height: 290px;
  }

  .closer-panel {
    padding: 18px;
    border-radius: 24px;
  }

  .feature-visual {
    min-height: 360px;
  }

  .book-object {
    width: 74%;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .access-card {
    min-height: 270px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Accueil narratif piloté par le défilement */
.scroll-story {
  --story-progress: 0;
  --book-shift: -23%;
  --book-scale: 0.86;
  --cover-angle: 0deg;
  --page-opacity: 0;
  --page-scale: 0.9;
  --scan-opacity: 0;
  --scan-y: 16%;
  --phone-opacity: 0;
  --phone-left: 116%;
  --phone-rotation: 12deg;
  --phone-scale: 0.82;
  position: relative;
  height: 430vh;
  height: 430svh;
  background: #eeeae3;
}

.story-sticky {
  position: sticky;
  top: 0;
  min-height: 720px;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr);
  align-items: center;
  gap: clamp(20px, 3vw, 54px);
  overflow: hidden;
  padding: clamp(74px, 8vh, 112px) clamp(24px, 5vw, 76px) clamp(46px, 6vh, 76px);
  background:
    radial-gradient(circle at 78% 20%, rgba(37, 111, 173, 0.16), transparent 30%),
    radial-gradient(circle at 42% 84%, rgba(221, 107, 18, 0.13), transparent 32%),
    linear-gradient(135deg, #f7f4ee 0%, #eeeae3 64%, #e6ede9 100%);
}

.story-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(87, 72, 60, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 72, 60, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

.story-sticky::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: clamp(-70px, 1vw, 18px);
  bottom: clamp(42px, 8vh, 104px);
  width: clamp(440px, 48vw, 860px);
  aspect-ratio: 1.8 / 1;
  background: url('../assets/logo-eyes.png') center / contain no-repeat;
  opacity: 0.055;
  pointer-events: none;
  transform: rotate(-4deg);
}

.story-copy {
  position: relative;
  z-index: 8;
  max-width: 610px;
}

.story-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.5rem, 5.5vw, 7.1rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  transform: translateY(var(--title-scroll-y));
  will-change: transform;
}

.hero-title-line {
  display: block;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  filter: blur(8px);
  transform: translateY(0.45em);
  animation: hero-title-reveal 820ms cubic-bezier(0.22, 1, 0.36, 1) 100ms forwards;
}

.hero-title-accent {
  color: #607415;
  animation-delay: 420ms;
}

@keyframes hero-title-reveal {
  to {
    opacity: 1;
    clip-path: inset(0);
    filter: blur(0);
    transform: translateY(0);
  }
}

.reduced-motion .hero-title-line {
  opacity: 1;
  clip-path: none;
  filter: none;
  transform: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-line {
    opacity: 1;
    clip-path: none;
    filter: none;
    transform: none;
    animation: none;
  }
}

.story-intro {
  max-width: 590px;
  margin: 28px 0 0;
  color: #403a3e;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.62;
  opacity: var(--intro-opacity);
  will-change: opacity;
}

.story-status {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 0;
  color: #1c274c;
  font-size: 0.88rem;
  font-weight: 800;
}

.story-status span {
  min-width: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(28, 39, 76, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  color: var(--plum-dark);
  font-size: 0.72rem;
}

.story-status strong {
  font: inherit;
}

.story-progress {
  width: min(330px, 88%);
  height: 3px;
  overflow: hidden;
  margin-top: 18px;
  background: rgba(28, 39, 76, 0.14);
}

.story-progress span {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--lime), var(--magenta), var(--orange), var(--blue), var(--plum));
  transform: scaleX(var(--story-progress));
  transform-origin: left center;
}

.story-stage {
  position: relative;
  z-index: 3;
  min-width: 0;
  min-height: min(78vh, 760px);
  perspective: 1800px;
}

.story-halo {
  position: absolute;
  border: 1px solid rgba(28, 39, 76, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.story-halo-one {
  width: min(620px, 56vw);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.story-halo-two {
  width: min(440px, 40vw);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  border-color: rgba(197, 13, 111, 0.13);
  transform: translate(-50%, -50%);
}

.story-book {
  position: absolute;
  z-index: 3;
  top: 51%;
  left: 50%;
  width: min(780px, 64vw);
  aspect-ratio: 1.42 / 1;
  transform: translate(-50%, -50%) translateX(var(--book-shift)) rotateX(3deg) scale(var(--book-scale));
  transform-style: preserve-3d;
  perspective: 1900px;
  filter: drop-shadow(0 35px 32px rgba(48, 34, 30, 0.2));
  will-change: transform;
}

.story-pages {
  position: absolute;
  z-index: 1;
  inset: 4% 1.8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(96, 77, 61, 0.2);
  border-radius: 12px 18px 18px 12px;
  background: #f7f0df;
  box-shadow:
    0 8px 0 #c9bda7,
    0 14px 0 #a99b85,
    0 28px 45px rgba(58, 42, 36, 0.2);
  opacity: var(--page-opacity);
  transform: scale(var(--page-scale));
  transform-origin: center center;
  will-change: opacity, transform;
}

.story-pages::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 34px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(66, 44, 31, 0.15), rgba(255, 255, 255, 0.54), rgba(66, 44, 31, 0.12), transparent);
  transform: translateX(-50%);
}

.story-page,
.story-cover-inside {
  position: relative;
  overflow: hidden;
  padding: 8% 9%;
  background:
    repeating-linear-gradient(0deg, rgba(98, 79, 58, 0.026) 0 1px, transparent 1px 5px),
    #fbf5e7;
  color: #3a2f29;
}

.story-page-left {
  border-radius: 12px 0 0 12px;
}

.story-page-right {
  border-left: 1px solid rgba(81, 61, 46, 0.1);
  border-radius: 0 16px 16px 0;
}

.story-page-number {
  position: absolute;
  top: 4%;
  right: 6%;
  color: #8b7565;
  font-size: clamp(0.55rem, 0.72vw, 0.72rem);
}

.story-running-title {
  margin: 0 0 14%;
  color: #8b7565;
  font-size: clamp(0.48rem, 0.7vw, 0.7rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-page h2,
.story-cover-inside h2 {
  margin: 0 0 8%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.55vw, 1.55rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.story-page p:not(.story-running-title),
.story-cover-inside p:not(.story-running-title) {
  margin: 0;
  color: #655348;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.58rem, 0.78vw, 0.78rem);
  line-height: 1.65;
}

.story-text-lines {
  display: grid;
  gap: 8px;
  margin-top: 10%;
}

.story-text-lines i {
  height: 1px;
  display: block;
  background: rgba(76, 58, 47, 0.23);
}

.story-text-lines i:nth-child(2),
.story-text-lines i:nth-child(5) { width: 88%; }
.story-text-lines i:nth-child(3) { width: 72%; }
.story-text-lines i:nth-child(6) { width: 62%; }

.story-cover {
  position: absolute;
  z-index: 8;
  top: 4%;
  bottom: 4%;
  left: 50%;
  width: 48.2%;
  transform: rotateY(var(--cover-angle));
  transform-origin: left center;
  transform-style: preserve-3d;
  will-change: transform;
}

.story-cover-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0 14px 14px 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 7px 12px 26px rgba(51, 33, 27, 0.25);
}

.story-cover-front {
  z-index: 2;
  background: #7baaaa;
  transform: rotateY(0deg) translateZ(2px);
}

.story-cover-front img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.story-cover-inside {
  border: 1px solid rgba(96, 77, 61, 0.2);
  border-radius: 14px 0 0 14px;
  transform: rotateY(180deg) translateZ(2px);
}

.story-faux-code {
  position: relative;
  width: clamp(62px, 7vw, 92px);
  aspect-ratio: 1;
  margin: 11% auto 5%;
  border: 6px solid #f9f3e5;
  outline: 1px solid rgba(28, 39, 76, 0.16);
  background:
    repeating-conic-gradient(#1c274c 0 25%, transparent 0 50%) 0 0 / 16px 16px,
    #f9f3e5;
  box-shadow: 0 8px 18px rgba(28, 39, 76, 0.12);
}

.story-faux-code span {
  position: absolute;
  width: 25%;
  aspect-ratio: 1;
  border: 4px solid #1c274c;
  background: #f9f3e5;
  box-shadow: inset 0 0 0 3px #f9f3e5, inset 0 0 0 7px #1c274c;
}

.story-faux-code span:nth-child(1) { top: 4%; left: 4%; }
.story-faux-code span:nth-child(2) { top: 4%; right: 4%; }
.story-faux-code span:nth-child(3) { bottom: 4%; left: 4%; }

.story-page-right small {
  display: block;
  color: #7b6658;
  font-size: clamp(0.46rem, 0.62vw, 0.62rem);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.story-scan-beam {
  position: absolute;
  z-index: 8;
  top: var(--scan-y);
  right: 7%;
  left: 7%;
  height: 3px;
  border-radius: 4px;
  background: #2d9ee0;
  box-shadow: 0 0 8px #2d9ee0, 0 0 24px rgba(45, 158, 224, 0.8);
  opacity: var(--scan-opacity);
  will-change: top, opacity;
}

.story-scan-beam::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42px;
  background: linear-gradient(to top, rgba(45, 158, 224, 0.19), transparent);
}

.story-scan-confirm {
  position: absolute;
  right: 8%;
  bottom: 7%;
  padding: 5px 8px;
  border-radius: 999px;
  background: #1c274c;
  color: #fff;
  font-size: clamp(0.46rem, 0.62vw, 0.62rem);
  font-weight: 800;
  opacity: var(--phone-opacity);
}

.story-phone {
  position: absolute;
  z-index: 12;
  top: 53%;
  left: var(--phone-left);
  width: clamp(160px, 17vw, 236px);
  aspect-ratio: 0.53 / 1;
  padding: 12px 8px;
  border: 3px solid #d8d5d1;
  border-radius: 34px;
  background: #faf9f7;
  box-shadow: 0 28px 58px rgba(28, 24, 27, 0.3);
  opacity: var(--phone-opacity);
  transform: translate(-50%, -50%) rotate(var(--phone-rotation)) scale(var(--phone-scale));
  will-change: left, opacity, transform;
}

.story-phone-camera {
  position: absolute;
  z-index: 4;
  top: 5px;
  left: 50%;
  width: 42%;
  height: 10px;
  border-radius: 999px;
  background: #252326;
  transform: translateX(-50%);
}

.story-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 25px;
  background: #171317;
}

.story-phone-screen video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #171317;
}

.story-phone-screen > span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.76);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
}

.story-skip {
  position: absolute;
  z-index: 15;
  right: clamp(20px, 4vw, 62px);
  bottom: clamp(18px, 3vh, 34px);
  color: #1c274c;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.story-skip:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 1100px) {
  .story-sticky {
    grid-template-columns: minmax(250px, 0.7fr) minmax(440px, 1.3fr);
    padding-inline: 28px;
  }

  .story-copy h1 {
    font-size: clamp(3.15rem, 5.7vw, 5.4rem);
  }

  .story-book {
    width: min(720px, 68vw);
  }
}

@media (max-width: 820px) {
  .scroll-story {
    height: 470vh;
    height: 470svh;
  }

  .story-sticky {
    min-height: 620px;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
    padding: 68px 14px 32px;
  }

  .story-copy {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

  .story-copy .eyebrow {
    margin-bottom: 10px;
  }

  .story-copy h1 {
    font-size: clamp(2.55rem, 10.5vw, 4.25rem);
    line-height: 0.94;
  }

  .story-intro {
    max-width: 520px;
    margin: 14px auto 0;
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .story-status {
    min-height: 34px;
    justify-content: center;
    margin-top: 12px;
    font-size: 0.73rem;
  }

  .story-status span {
    min-width: 30px;
    min-height: 30px;
    font-size: 0.62rem;
  }

  .story-progress {
    width: min(300px, 70vw);
    margin: 7px auto 0;
  }

  .story-stage {
    min-height: 0;
  }

  .story-book {
    top: 50%;
    width: min(690px, 96vw);
  }

  .story-phone {
    top: 55%;
    width: min(160px, 39vw);
    padding: 9px 6px;
    border-radius: 26px;
  }

  .story-phone-screen {
    border-radius: 19px;
  }

  .story-phone-camera {
    top: 4px;
    height: 7px;
  }

  .story-skip {
    right: 15px;
    bottom: 12px;
    font-size: 0.68rem;
  }
}

@media (max-width: 520px) {
  .story-intro {
    display: none;
  }

  .story-page,
  .story-cover-inside {
    padding: 7% 8%;
  }

  .story-running-title {
    margin-bottom: 10%;
  }

  .story-text-lines {
    gap: 5px;
  }

  .story-faux-code {
    width: 54px;
    border-width: 4px;
  }

  .story-faux-code span {
    border-width: 2px;
  }
}

.reduced-motion .scroll-story {
  --book-shift: 0%;
  --book-scale: 0.94;
  --cover-angle: -168deg;
  --page-opacity: 1;
  --page-scale: 1;
  --scan-opacity: 0;
  --scan-y: 82%;
  --phone-opacity: 1;
  --phone-left: 78%;
  --phone-rotation: -5deg;
  --phone-scale: 1;
  height: auto;
}

.reduced-motion .story-sticky {
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-story {
    --book-shift: 0%;
    --book-scale: 0.94;
    --cover-angle: -168deg;
    --page-opacity: 1;
    --page-scale: 1;
    --scan-opacity: 0;
    --scan-y: 82%;
    --phone-opacity: 1;
    --phone-left: 78%;
    --phone-rotation: -5deg;
    --phone-scale: 1;
    height: auto;
  }

  .story-sticky {
    position: relative;
  }
}

/* Fiche produit coulissante */
.book-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.book-footer .product-sheet-trigger {
  width: 42px;
  min-width: 42px;
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-sheet-trigger-icon {
  display: block;
  width: 23px;
  height: 23px;
  background: currentColor;
  -webkit-mask: url("../assets/icon-product-sheet.svg") center / contain no-repeat;
  mask: url("../assets/icon-product-sheet.svg") center / contain no-repeat;
}

body.product-sheet-open {
  overflow: hidden;
}

.product-sheet-layer[hidden] {
  display: none;
}

.product-sheet-layer {
  position: fixed;
  z-index: 500;
  inset: 0;
  isolation: isolate;
}

.product-sheet-backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 440ms ease;
}

.product-sheet {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: calc(100% - clamp(88px, 8vw, 126px));
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  color: var(--ink);
  box-shadow: 24px 0 58px rgba(0, 0, 0, 0.28);
  transform: translateX(-102%);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.product-sheet-layer.is-open .product-sheet-backdrop {
  opacity: 1;
}

.product-sheet-layer.is-open .product-sheet {
  transform: translateX(0);
}

.product-sheet-gallery {
  --product-sheet-gallery-padding: clamp(28px, 4vw, 64px);
  position: sticky;
  z-index: 2;
  top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-self: start;
  gap: 22px;
  padding: var(--product-sheet-gallery-padding);
  background: #f1efea;
}

.product-sheet-gallery .eyebrow {
  margin: 0;
}

.product-sheet-gallery figure {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  align-content: stretch;
  gap: 18px;
}

.product-sheet-media-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
}

.product-sheet-media-shortcuts {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 0;
  display: grid;
  gap: 9px;
  transform: translate(50%, -50%);
}

.product-sheet-media-shortcuts[hidden] {
  display: none;
}

.product-sheet-media-shortcuts button {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
  color: var(--plum-dark);
  box-shadow: 0 5px 16px rgba(27, 22, 26, 0.12);
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.product-sheet-media-shortcuts button:hover:not(:disabled),
.product-sheet-media-shortcuts button:focus-visible,
.product-sheet-media-shortcuts button.is-active {
  border-color: var(--plum-dark);
  background: var(--plum-dark);
  color: var(--white);
  transform: scale(1.06);
}

.product-sheet-media-shortcuts button:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.product-sheet-media-shortcuts button[data-product-media-shortcut="pdf"] {
  margin-top: 14px;
}

.product-sheet-media-shortcuts button::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  padding: 6px 9px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(5px, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
}

.product-sheet-media-shortcuts button:hover::after,
.product-sheet-media-shortcuts button:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.product-sheet-media-shortcut-icon {
  display: block;
  width: 23px;
  height: 23px;
  background: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.product-sheet-media-shortcut-icon.is-image {
  -webkit-mask-image: url("../assets/icon-gallery-image.svg");
  mask-image: url("../assets/icon-gallery-image.svg");
}

.product-sheet-media-shortcut-icon.is-cover {
  -webkit-mask-image: url("../assets/icon-gallery-cover.svg");
  mask-image: url("../assets/icon-gallery-cover.svg");
}

.product-sheet-media-shortcut-icon.is-flipbook {
  -webkit-mask-image: url("../assets/icon-gallery-flipbook.svg");
  mask-image: url("../assets/icon-gallery-flipbook.svg");
}

.product-sheet-media-shortcut-icon.is-video {
  -webkit-mask-image: url("../assets/icon-gallery-video.svg");
  mask-image: url("../assets/icon-gallery-video.svg");
}

.product-sheet-media-stage > .product-sheet-cover-visual,
.product-sheet-media-stage > .product-sheet-flipbook,
.product-sheet-media-stage > img,
.product-sheet-media-stage > video,
.product-sheet-media-stage > .product-sheet-image-placeholder {
  grid-area: 1 / 1;
}

.product-sheet-flipbook {
  width: calc(100% - 62px);
  max-width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.product-sheet-flipbook[hidden] {
  display: none;
}

.product-sheet-flipbook-book {
  position: relative;
  width: min(100%, 720px);
  height: auto;
  max-width: 100%;
  max-height: calc(100% - 4px);
  aspect-ratio: 4 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-self: center;
  perspective: 1800px;
  filter: drop-shadow(0 18px 20px rgba(27, 22, 26, 0.2));
}

.product-sheet-flipbook-page {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.product-sheet-flipbook-page.is-left {
  transform-origin: right center;
}

.product-sheet-flipbook-page.is-right {
  transform-origin: left center;
}

.product-sheet-flipbook-page img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #ffffff;
}

.product-sheet-flipbook-page.is-blank::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
}

.product-sheet-flipbook-gutter {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  pointer-events: none;
  transform: translateX(-50%);
  background: #d8d6d2;
}

.product-sheet-flipbook-book.is-turning-next .product-sheet-flipbook-page.is-right {
  z-index: 6;
  animation: product-sheet-page-turn-next 560ms cubic-bezier(0.55, 0.06, 0.28, 0.98) both;
}

.product-sheet-flipbook-book.is-turning-previous .product-sheet-flipbook-page.is-left {
  z-index: 6;
  animation: product-sheet-page-turn-previous 560ms cubic-bezier(0.55, 0.06, 0.28, 0.98) both;
}

.product-sheet-flipbook-controls {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.product-sheet-flipbook-controls button,
.product-sheet-flipbook-controls a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.product-sheet-flipbook-controls button:hover:not(:disabled),
.product-sheet-flipbook-controls button:focus-visible,
.product-sheet-flipbook-controls a:hover,
.product-sheet-flipbook-controls a:focus-visible {
  border-color: var(--plum-dark);
  background: var(--plum-dark);
  color: var(--white);
}

.product-sheet-flipbook-controls button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.product-sheet-flipbook-controls > span {
  min-width: 104px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}

.product-sheet-flipbook:fullscreen {
  width: 100%;
  max-width: none;
  height: 100%;
  padding: clamp(20px, 4vw, 48px);
  background: #f1efea;
}

.product-sheet-flipbook:fullscreen .product-sheet-flipbook-book {
  width: auto;
  height: 100%;
  max-width: min(90vw, 1120px);
  max-height: 100%;
}

@keyframes product-sheet-page-turn-next {
  0% { transform: rotateY(0deg); filter: brightness(1); }
  48% { filter: brightness(0.86); }
  100% { transform: rotateY(-178deg); filter: brightness(1); }
}

@keyframes product-sheet-page-turn-previous {
  0% { transform: rotateY(0deg); filter: brightness(1); }
  48% { filter: brightness(0.86); }
  100% { transform: rotateY(178deg); filter: brightness(1); }
}

.product-sheet-cover-visual {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: min(74%, 560px);
  height: fit-content;
  max-height: 100%;
  line-height: 0;
  box-shadow: 0 0 0 1px rgba(24, 20, 23, 0.12), -8px 4px 13px rgba(24, 20, 23, 0.32), 0 10px 20px rgba(24, 20, 23, 0.2);
}

.product-sheet-cover-visual > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(66vh, 720px);
  max-height: min(66dvh, 720px);
  object-fit: contain;
  box-shadow: none;
}

.product-sheet-cover-groove {
  position: absolute;
  top: 0;
  left: 10px;
  width: 2px;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0 50%, rgba(255, 255, 255, 0.42) 50% 100%);
  pointer-events: none;
}

.product-sheet-media-stage > img {
  display: block;
  width: auto;
  max-width: min(74%, 560px);
  max-height: 100%;
  object-fit: contain;
  box-shadow: none;
}

.product-sheet-gallery video {
  display: block;
  width: min(88%, 760px);
  max-height: 100%;
  background: #000000;
  box-shadow: none;
}

.product-sheet-gallery .product-sheet-cover-visual[hidden],
.product-sheet-gallery img[hidden],
.product-sheet-gallery video[hidden],
.product-sheet-gallery .product-sheet-image-placeholder[hidden] {
  display: none !important;
}

.product-sheet-media-stage.is-media-entering > .product-sheet-cover-visual:not([hidden]),
.product-sheet-media-stage.is-media-entering > img:not([hidden]),
.product-sheet-media-stage.is-media-entering > video:not([hidden]),
.product-sheet-media-stage.is-media-entering > .product-sheet-image-placeholder:not([hidden]) {
  animation: product-sheet-media-enter 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-sheet-media-navigation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
}

.product-sheet-media-navigation[hidden] {
  display: none;
}

.product-sheet-media-navigation button {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.product-sheet-media-navigation button:first-child {
  justify-self: start;
}

.product-sheet-media-navigation button:last-child {
  justify-self: end;
  background: var(--ink);
  color: var(--white);
}

.product-sheet-media-navigation button:hover:not(:disabled) {
  border-color: var(--plum-dark);
  background: var(--plum-dark);
  color: var(--white);
}

.product-sheet-media-navigation button:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.product-sheet-media-navigation-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.product-sheet-media-navigation .product-sheet-slideshow-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-color: var(--plum);
  color: var(--plum-dark);
}

.product-sheet-slideshow-icon {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.product-sheet-slideshow-icon.is-play {
  -webkit-mask-image: url("../assets/icon-slideshow-play.svg");
  mask-image: url("../assets/icon-slideshow-play.svg");
}

.product-sheet-slideshow-icon.is-pause {
  -webkit-mask-image: url("../assets/icon-slideshow-pause.svg");
  mask-image: url("../assets/icon-slideshow-pause.svg");
}

.product-sheet-media-counter {
  min-width: 54px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.product-sheet-image-placeholder {
  width: min(68%, 480px);
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #ffffff, #e7e3dc);
}

@keyframes product-sheet-media-enter {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.product-sheet-gallery figcaption {
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.product-sheet-content {
  min-width: 0;
  align-self: start;
  padding: clamp(34px, 5vw, 84px) clamp(28px, 4vw, 68px);
}

.product-sheet-category {
  margin: 0 0 16px;
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-sheet-content h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.product-sheet-title-main,
.product-sheet-title-detail {
  display: block;
}

.product-sheet-title-detail {
  margin-top: 0.3em;
  font-size: 0.48em;
  font-weight: 720;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.product-sheet-author {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.product-sheet-price {
  margin: 30px 0 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 850;
}

.product-sheet-status {
  width: fit-content;
  margin: 8px 0 24px;
  padding: 5px 10px;
  border-left: 3px solid var(--lime);
  background: color-mix(in srgb, var(--lime) 12%, var(--white));
  font-size: 0.78rem;
  font-weight: 800;
}

.product-sheet-cart-button {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-weight: 850;
}

.product-sheet-cart-button:hover {
  background: var(--plum-dark);
}

.product-sheet-cart-button:disabled {
  border-color: var(--line);
  background: #e8e5df;
  color: var(--muted);
  cursor: not-allowed;
}

.product-sheet-associations {
  margin-top: 28px;
  padding: 18px;
  border-top: 3px solid var(--plum);
  background: color-mix(in srgb, var(--plum) 5%, var(--white));
}

.product-sheet-associations[hidden] {
  display: none;
}

.product-sheet-associations-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.product-sheet-associations-heading p {
  margin: 0;
  color: var(--plum-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

.product-sheet-associations-heading span {
  color: var(--muted);
  font-size: 0.68rem;
  text-align: right;
}

.product-sheet-associations-track {
  display: grid;
  grid-auto-columns: minmax(230px, 82%);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  padding: 1px 1px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.product-association-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  min-height: 82px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  scroll-snap-align: start;
}

.product-association-image {
  width: 58px;
  height: 62px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f1eeea;
  color: var(--plum);
  font-size: 0.62rem;
  font-weight: 900;
}

.product-association-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.product-association-copy {
  min-width: 0;
}

.product-association-badge {
  display: block;
  margin-bottom: 4px;
  color: var(--plum);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-association-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.74rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-association-price {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
}

.product-association-add {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.product-association-add:hover,
.product-association-add.is-added {
  background: var(--ink);
  color: var(--white);
}

.product-association-add:disabled {
  border-color: var(--line);
  background: #e8e5df;
  color: var(--muted);
  cursor: not-allowed;
}

.product-association-add .add-cart-icon {
  width: 19px;
  height: 19px;
}

.product-sheet-benefits {
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.product-sheet-benefits li {
  display: grid;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.product-sheet-benefits span {
  color: var(--muted);
  font-size: 0.78rem;
}

.product-sheet-sign-video {
  margin: 26px 0 10px;
}

.product-sheet-sign-video[hidden] {
  display: none;
}

.product-sheet-sign-video-label {
  margin: 0 0 10px;
  color: var(--plum-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-sheet-sign-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(24, 20, 23, 0.16);
}

.product-sheet-sign-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000000;
}

.product-sheet-sign-video-frame video[hidden],
.product-sheet-sign-video-placeholder[hidden] {
  display: none;
}

.product-sheet-sign-video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 24px;
  background:
    radial-gradient(circle at 72% 24%, rgba(116, 183, 58, 0.2), transparent 30%),
    linear-gradient(135deg, #211a20, #4f1c59);
  color: var(--white);
  text-align: center;
}

.product-sheet-sign-video-placeholder > span:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.product-sheet-sign-video-code {
  min-width: 52px;
  min-height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.product-sheet-detail {
  border-bottom: 1px solid var(--line);
}

.product-sheet-detail summary {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 850;
}

.product-sheet-detail > p {
  margin: -4px 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.product-sheet-detail dl {
  margin: 0 0 24px;
}

.product-sheet-detail dl div {
  display: grid;
  grid-template-columns: minmax(100px, 0.8fr) 1.2fr;
  gap: 16px;
  padding: 8px 0;
}

.product-sheet-detail dt {
  color: var(--muted);
}

.product-sheet-detail dd {
  margin: 0;
  font-weight: 750;
}

.product-sheet-close {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: clamp(14px, 2vw, 34px);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  opacity: 0;
  transform: translate(20px, -50%);
  transition: opacity 240ms ease 260ms, transform 420ms cubic-bezier(0.22, 1, 0.36, 1) 220ms;
}

.product-sheet-layer.is-open .product-sheet-close {
  opacity: 1;
  transform: translate(0, -50%);
}

.product-sheet-close-icon {
  display: block;
  width: 42px;
  height: 42px;
  background: currentColor;
  -webkit-mask: url("../assets/icon-product-sheet-close.svg") center / contain no-repeat;
  mask: url("../assets/icon-product-sheet-close.svg") center / contain no-repeat;
}

.high-contrast .product-sheet-gallery,
.high-contrast .product-sheet,
.high-contrast .product-sheet-content {
  background: #000000;
  color: #ffffff;
}

.high-contrast .product-sheet-author,
.high-contrast .product-sheet-gallery figcaption,
.high-contrast .product-sheet-detail > p,
.high-contrast .product-sheet-benefits span,
.high-contrast .product-sheet-detail dt {
  color: #ffffff;
}

.high-contrast .product-sheet-sign-video-label {
  color: #ffffff;
}

.high-contrast .product-sheet-sign-video-frame {
  border: 2px solid #ffffff;
}

.high-contrast .product-sheet-media-shortcuts button {
  border: 2px solid #ffffff;
  background: #000000;
  color: #ffffff;
}

.high-contrast .product-sheet-media-shortcuts button.is-active,
.high-contrast .product-sheet-media-shortcuts button:hover:not(:disabled),
.high-contrast .product-sheet-media-shortcuts button:focus-visible {
  background: #ffffff;
  color: #000000;
}

.high-contrast .product-sheet-flipbook-controls button,
.high-contrast .product-sheet-flipbook-controls a {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.reduced-motion .product-sheet,
.reduced-motion .product-sheet-backdrop,
.reduced-motion .product-sheet-close {
  transition: none;
}

.reduced-motion .product-sheet-media-shortcuts button {
  transition: none;
}

.reduced-motion .product-sheet-flipbook-book.is-turning-next .product-sheet-flipbook-page.is-right,
.reduced-motion .product-sheet-flipbook-book.is-turning-previous .product-sheet-flipbook-page.is-left {
  animation: none;
}

@media (max-width: 900px) {
  .product-sheet {
    width: calc(100% - 64px);
    grid-template-columns: 1fr;
  }

  .product-sheet-gallery {
    position: relative;
    height: auto;
    min-height: auto;
    padding: 26px 22px 38px;
  }

  .product-sheet-media-stage > img {
    max-width: min(64%, 420px);
    max-height: 52vh;
    max-height: 52dvh;
  }

  .product-sheet-cover-visual {
    max-width: min(64%, 420px);
  }

  .product-sheet-cover-visual > img {
    max-width: 100%;
    max-height: 52vh;
    max-height: 52dvh;
  }

  .product-sheet-media-stage {
    height: auto;
    min-height: min(52vh, 520px);
    min-height: min(52dvh, 520px);
  }

  .product-sheet-media-shortcuts {
    right: 2px;
    transform: translateY(-50%);
  }

  .product-sheet-flipbook {
    width: calc(100% - 50px);
    min-height: min(52vh, 520px);
    min-height: min(52dvh, 520px);
  }

  .product-sheet-flipbook-book {
    width: min(100%, 620px);
    height: auto;
    align-self: center;
  }

  .product-sheet-gallery video {
    width: 100%;
    max-height: 50vh;
    max-height: 50dvh;
  }

  .product-sheet-content {
    padding: 38px 24px 64px;
  }

  .product-sheet-close {
    right: 6px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 560px) {
  .book-footer {
    align-items: flex-end;
  }

  .book-footer-actions {
    flex-wrap: wrap;
  }

  .product-sheet {
    width: calc(100% - 54px);
  }

  .product-sheet-close {
    right: 4px;
    width: 46px;
    height: 46px;
  }

  .product-sheet-close-icon {
    width: 38px;
    height: 38px;
  }

  .product-sheet-media-stage > img {
    max-width: min(78%, 360px);
  }

  .product-sheet-associations {
    margin-right: -10px;
    margin-left: -10px;
    padding: 16px 10px;
  }

  .product-sheet-associations-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .product-sheet-associations-heading span {
    text-align: left;
  }

  .product-sheet-cover-visual {
    max-width: min(78%, 360px);
  }

  .product-sheet-media-shortcuts {
    gap: 7px;
  }

  .product-sheet-media-shortcuts button {
    width: 38px;
    height: 38px;
  }

  .product-sheet-media-shortcut-icon {
    width: 20px;
    height: 20px;
  }

  .product-sheet-flipbook {
    width: calc(100% - 42px);
    gap: 10px;
  }

  .product-sheet-flipbook-controls {
    gap: 5px;
  }

  .product-sheet-flipbook-controls button,
  .product-sheet-flipbook-controls a {
    min-height: 34px;
    padding: 6px 9px;
    font-size: 0.64rem;
  }

  .product-sheet-flipbook-controls > span {
    min-width: 86px;
    font-size: 0.66rem;
  }

  .product-sheet-media-navigation {
    grid-template-columns: auto 1fr auto;
    gap: 6px;
  }

  .product-sheet-media-navigation button {
    min-height: 40px;
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  .product-sheet-media-navigation-center {
    flex-direction: column;
    gap: 3px;
  }

  .product-sheet-media-navigation .product-sheet-slideshow-toggle {
    min-height: 36px;
    padding: 5px 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-sheet,
  .product-sheet-backdrop,
  .product-sheet-close {
    transition: none;
  }

  .product-sheet-media-stage.is-media-entering > .product-sheet-cover-visual:not([hidden]),
  .product-sheet-media-stage.is-media-entering > img:not([hidden]),
  .product-sheet-media-stage.is-media-entering > video:not([hidden]),
  .product-sheet-media-stage.is-media-entering > .product-sheet-image-placeholder:not([hidden]) {
    animation: none;
  }
}

/* Livre réel : pages extraites du PDF, feuilletage et iPhone 16 paysage */
.scroll-story {
  --leaf-one-angle: 0deg;
  --leaf-two-angle: 0deg;
  --leaf-three-angle: 0deg;
  --scan-confirm-opacity: 0;
  --phone-scan-opacity: 0;
  --phone-scan-y: 8%;
  --video-opacity: 0;
  --title-scroll-y: 0px;
  --intro-opacity: 1;
  --phone-rotation: -7deg;
  height: 125vh;
  height: 125svh;
}

.story-book {
  width: min(720px, 58vw);
  aspect-ratio: 4 / 3;
  transform: translate(-50%, -50%) translateX(var(--book-shift)) rotateZ(10deg);
  filter: drop-shadow(18px 30px 27px rgba(48, 34, 30, 0.22));
}

.story-pages {
  inset: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow:
    0 5px 0 #e5e5e5,
    0 9px 0 #cfcfcf,
    10px 24px 42px rgba(34, 30, 28, 0.2);
}

.story-pages::after {
  width: 22px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.11), rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0.09), transparent);
}

.story-page-image {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: #ffffff;
}

.story-page-image,
.story-page-left,
.story-page-right {
  border: 0;
  border-radius: 0;
}

.story-page-image img,
.story-leaf-face img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #ffffff;
}

.story-cover {
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 10;
}

.story-cover.is-open {
  z-index: 0;
}

.story-opening-left-page {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  background: #ffffff;
  opacity: var(--page-opacity);
}

.story-cover-face {
  border-radius: 0;
}

.story-cover-front img {
  object-fit: cover;
}

.story-cover-inside {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: #b8b8b8;
  font-size: clamp(0.6rem, 0.8vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 50%;
  transform-origin: left center;
  transform-style: preserve-3d;
  will-change: transform;
}

.story-leaf-one {
  z-index: 7;
  transform: rotateY(var(--leaf-one-angle));
}

.story-leaf-two {
  z-index: 6;
  transform: rotateY(var(--leaf-two-angle));
}

.story-leaf-three {
  z-index: 5;
  transform: rotateY(var(--leaf-three-angle));
}

.story-leaf-one.is-flipped { z-index: 3; }
.story-leaf-two.is-flipped { z-index: 4; }
.story-leaf-three.is-flipped { z-index: 5; }

.story-leaf-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 5px 9px 18px rgba(36, 32, 29, 0.11);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.story-leaf-front {
  transform: rotateY(0deg) translateZ(1px);
}

.story-leaf-back {
  transform: rotateY(180deg) translateZ(1px);
}

.story-blank-page {
  background: #ffffff;
}

.story-qr-page {
  position: relative;
}

.story-scan-target {
  position: absolute;
  z-index: 7;
  top: 7.5%;
  left: 22%;
  width: 36%;
  aspect-ratio: 1;
  border: 2px solid rgba(45, 158, 224, 0.9);
  box-shadow: 0 0 24px rgba(45, 158, 224, 0.42);
  opacity: var(--scan-opacity);
}

.story-qr-page .story-scan-beam {
  top: var(--scan-y);
  right: auto;
  left: 20%;
  width: 40%;
}

.story-scan-confirm {
  right: 7%;
  bottom: 5%;
  border-radius: 0;
  opacity: var(--scan-confirm-opacity);
}

.story-phone {
  top: 35%;
  width: clamp(330px, 36vw, 540px);
  aspect-ratio: 19.5 / 9;
  padding: 7px;
  border: 3px solid #d6d5d3;
  border-radius: 31px;
  transform: translate(-50%, -50%) rotate(-7deg);
}

.story-phone-screen {
  border-radius: 23px;
}

.story-phone-screen video {
  position: absolute;
  z-index: 2;
  inset: 0;
  object-fit: contain;
  opacity: var(--video-opacity);
}

.story-phone-preview {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  background: #ffffff;
  opacity: calc(1 - var(--video-opacity));
}

.story-phone-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 14%;
  filter: contrast(0.9) brightness(0.94);
}

.story-phone-scan-line {
  position: absolute;
  z-index: 3;
  top: var(--phone-scan-y);
  right: 6%;
  left: 6%;
  height: 3px;
  border-radius: 999px;
  background: #39d26f;
  box-shadow:
    0 0 7px #39d26f,
    0 0 20px rgba(57, 210, 111, 0.85);
  opacity: var(--phone-scan-opacity);
  transform: translateY(-50%);
}

.story-phone-scan-line::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 30px;
  background: linear-gradient(to top, rgba(57, 210, 111, 0.22), transparent);
}

.story-phone-screen > span {
  z-index: 4;
  opacity: var(--video-opacity);
}

.story-phone-camera {
  top: 50%;
  left: 5px;
  width: 9px;
  height: 30%;
  transform: translateY(-50%);
}

.story-phone-button {
  position: absolute;
  right: 12%;
  height: 3px;
  border-radius: 4px;
  background: #b0afad;
}

.story-phone-button-one {
  top: -4px;
  width: 16%;
}

.story-phone-button-two {
  top: -4px;
  right: 31%;
  width: 8%;
}

@media (max-width: 1100px) {
  .story-book {
    width: min(680px, 64vw);
  }

  .story-phone {
    width: clamp(300px, 40vw, 470px);
  }
}

@media (max-width: 820px) {
  .scroll-story {
    height: 130vh;
    height: 130svh;
  }

  .story-book {
    width: min(620px, 92vw);
  }

  .story-phone {
    top: 37%;
    width: min(340px, 86vw);
    border-radius: 24px;
  }

  .story-phone-screen {
    border-radius: 17px;
  }
}

.reduced-motion .scroll-story {
  --leaf-one-angle: -180deg;
  --leaf-two-angle: -180deg;
  --leaf-three-angle: -180deg;
  --book-scale: 1;
  --phone-rotation: -7deg;
  --scan-confirm-opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-story {
    --leaf-one-angle: -180deg;
    --leaf-two-angle: -180deg;
    --leaf-three-angle: -180deg;
    --book-scale: 1;
    --phone-rotation: -7deg;
    --scan-confirm-opacity: 1;
  }
}
