/* ============================================================
   BABUSHY.STORE — design system
   Warm ivory · editorial serif · quiet luxury
   ============================================================ */

:root {
  --paper: #f6ece1;
  --paper-2: #efe3d4;
  --paper-3: #e7dac8;
  --ink: #1b1712;
  --ink-soft: #4c453b;
  --muted: #8a8172;
  --line: rgba(27, 23, 18, 0.14);
  --line-soft: rgba(27, 23, 18, 0.08);
  --accent: #96774a;
  --terra: #a34e28;
  --stone: #d9d3c6;
  --white: #fdfcfa;

  --font-serif: "Tenor Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Tenor Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(20px, 4vw, 64px);
  --max: 1520px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-med: 0.6s var(--ease);
  --t-slow: 1s var(--ease);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ---------- arabic (Amiri) & RTL ---------- */
html[lang="ar"] body {
  --font-serif: "Amiri", "Cormorant Garamond", serif;
  --font-sans: "Amiri", "Tenor Sans", sans-serif;
  letter-spacing: 0;
}

html[lang="ar"] .display,
html[lang="ar"] .h2,
html[lang="ar"] .chapter__title {
  line-height: 1.15;
  letter-spacing: 0;
}

html[lang="ar"] .eyebrow,
html[lang="ar"] .btn,
html[lang="ar"] .site-nav a,
html[lang="ar"] .cart-btn,
html[lang="ar"] .card__quick {
  letter-spacing: 0;
}

html[dir="rtl"] .hero__caption {
  right: auto;
  left: var(--pad);
}

html[dir="rtl"] .cart-drawer {
  right: auto;
  left: 0;
  transform: translateX(-102%);
  box-shadow: 30px 0 80px rgba(27, 23, 18, 0.18);
}

html[dir="rtl"] .marquee__track {
  direction: ltr;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- type ---------- */
.serif {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 20px);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
}

.display {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 8vw, 141px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

/* cinematic film grain — static (no per-frame repaint) to stay light on weak devices */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
}

.h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
}

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 400;
}

/* ---------- layout ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section {
  padding-top: clamp(80px, 11vw, 170px);
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------- splash screen ---------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: transform 0.9s var(--ease);
}

.splash--done {
  transform: translateY(-101%);
}

body.splash-lock {
  overflow: hidden;
}

.splash__logo {
  width: clamp(110px, 16vw, 170px);
  color: var(--ink);
}

.splash__logo svg {
  width: 100%;
  height: auto;
  display: block;
}

.splash__logo path {
  stroke: currentColor;
  stroke-width: 10;
  fill: none;
  stroke-dasharray: 3400;
  stroke-dashoffset: 3400;
  animation: logo-draw 1.7s var(--ease) forwards;
}

.splash__logo path:nth-child(2) { animation-delay: 0.08s; }
.splash__logo path:nth-child(3) { animation-delay: 0.16s; }
.splash__logo path:nth-child(4) { animation-delay: 0.24s; }
.splash__logo path:nth-child(5) { animation-delay: 0.32s; }
.splash__logo path:nth-child(6) { animation-delay: 0.4s; }
.splash__logo path:nth-child(7) { animation-delay: 0.48s; }
.splash__logo path:nth-child(8) { animation-delay: 0.56s; }
.splash__logo path:nth-child(9) { animation-delay: 0.64s; }
.splash__logo path:nth-child(10) { animation-delay: 0.72s; }
.splash__logo path:nth-child(11) { animation-delay: 0.8s; }

@keyframes logo-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.splash__word {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: lowercase;
  opacity: 0;
  animation: splash-word 0.9s ease 1s forwards;
}

.splash__word em {
  font-style: normal;
  color: var(--muted);
}

@keyframes splash-word {
  to {
    opacity: 1;
  }
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}

/* ---------- white header over the hero (until scrolled) ---------- */
/* white text gets a soft shadow for legibility (no scrim band) */
body.has-hero .site-header:not(.is-scrolled) .logo,
body.has-hero .site-header:not(.is-scrolled) .site-nav a,
body.has-hero .site-header:not(.is-scrolled) .cart-btn,
body.has-hero .site-header:not(.is-scrolled) .burger span,
body.has-hero .site-header:not(.is-scrolled) .lang-switch button {
  text-shadow: 0 1px 14px rgba(20, 14, 8, 0.35);
}

body.has-hero .site-header:not(.is-scrolled) .logo {
  filter: drop-shadow(0 1px 10px rgba(20, 14, 8, 0.3));
}

body.has-hero .site-header:not(.is-scrolled) .burger span {
  box-shadow: 0 1px 10px rgba(20, 14, 8, 0.3);
}

body.has-hero .logo,
body.has-hero .cart-btn,
body.has-hero .site-nav a,
body.has-hero .lang-switch button {
  transition: color 0.4s ease, border-color 0.4s ease;
}

body.has-hero .site-header:not(.is-scrolled) .logo {
  color: var(--white);
}

body.has-hero .site-header:not(.is-scrolled) .site-nav a,
body.has-hero .site-header:not(.is-scrolled) .cart-btn {
  color: rgba(253, 252, 250, 0.9);
}

body.has-hero .site-header:not(.is-scrolled) .site-nav a:hover,
body.has-hero .site-header:not(.is-scrolled) .site-nav a.is-active {
  color: var(--white);
}

body.has-hero .site-header:not(.is-scrolled) .site-nav a::after {
  background: var(--white);
}

body.has-hero .site-header:not(.is-scrolled) .lang-switch button {
  color: rgba(253, 252, 250, 0.65);
}

body.has-hero .site-header:not(.is-scrolled) .lang-switch button.active {
  color: var(--white);
  border-bottom-color: var(--white);
}

body.has-hero .site-header:not(.is-scrolled) .lang-switch span {
  color: rgba(253, 252, 250, 0.35);
}

body.has-hero .site-header:not(.is-scrolled) .cart-btn__count {
  border-color: rgba(253, 252, 250, 0.7);
}

body.has-hero .site-header:not(.is-scrolled) .cart-btn:hover .cart-btn__count {
  background: var(--white);
  color: var(--ink);
}

body.has-hero .site-header:not(.is-scrolled) .burger span {
  background: var(--white);
}

.site-header__in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}

.logo__mark {
  width: 40px;
  height: 40px;
  display: block;
  transition: transform 0.6s var(--ease);
}

.logo:hover .logo__mark {
  transform: rotate(90deg);
}

.logo__mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.logo__mark path {
  stroke: currentColor;
  stroke-width: 18;
  fill: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.lang-switch span {
  color: var(--line);
}

.lang-switch button {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.14em;
  transition: color 0.3s;
  padding: 4px 0;
}

.lang-switch button:hover {
  color: var(--ink);
}

.lang-switch button.active {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.site-nav {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
}

.site-nav a,
.link-quiet {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.site-nav a::after,
.link-quiet::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.site-nav a:hover,
.link-quiet:hover {
  color: var(--ink);
}

.site-nav a:hover::after,
.link-quiet:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.cart-btn {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-btn__count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
}

.cart-btn:hover .cart-btn__count {
  background: var(--ink);
  color: var(--paper);
}

.cart-btn__count.bump {
  animation: bump 0.5s var(--ease);
}

@keyframes bump {
  40% {
    transform: scale(1.35);
  }
}

/* ---------- burger + mobile menu ---------- */
.burger {
  display: none;
  width: 30px;
  height: 16px;
  position: relative;
  flex: 0 0 auto;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
}

.burger span:first-child {
  top: 3px;
}
.burger span:last-child {
  bottom: 3px;
}

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

  .header-tools .lang-switch {
    display: none;
  }

  .burger {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 20px var(--pad) calc(env(safe-area-inset-bottom, 0px) + 40px);
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.75s var(--ease), opacity 0.5s ease,
    visibility 0s linear 0.75s;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.85s var(--ease), opacity 0.4s ease;
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 clamp(30px, 8vh, 70px);
}

.mobile-menu__head .logo__mark {
  width: 40px;
  height: 40px;
}

.menu-close {
  width: 30px;
  height: 30px;
  position: relative;
}

.menu-close span {
  position: absolute;
  top: 50%;
  left: 15%;
  width: 70%;
  height: 1.5px;
  background: var(--ink);
}

.menu-close span:first-child {
  transform: rotate(45deg);
}
.menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.6vh, 16px);
  flex: 1;
  justify-content: center;
}

.mobile-menu__nav a {
  font-family: var(--font-serif);
  font-size: clamp(38px, 12vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
  overflow: hidden;
}

.mobile-menu__nav a > span {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.7s ease;
}

body.menu-open .mobile-menu__nav a > span {
  transform: none;
  opacity: 1;
}

.mobile-menu__nav a:nth-child(1) > span { transition-delay: 0.18s; }
.mobile-menu__nav a:nth-child(2) > span { transition-delay: 0.26s; }
.mobile-menu__nav a:nth-child(3) > span { transition-delay: 0.34s; }
.mobile-menu__nav a:nth-child(4) > span { transition-delay: 0.42s; }

.mobile-menu__nav a.is-active {
  color: var(--accent);
}

.mobile-menu__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: clamp(24px, 4vh, 44px);
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s var(--ease) 0.5s;
}

body.menu-open .mobile-menu__foot {
  opacity: 1;
  transform: none;
}

.mobile-menu__foot .lang-switch {
  display: inline-flex;
}

.mobile-menu__contact {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .mobile-menu__nav a > span,
  .mobile-menu__foot {
    transition: opacity 0.2s ease;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 34px;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
  z-index: -1;
}

.btn:hover {
  color: var(--paper);
}

.btn:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.btn--solid {
  background: var(--ink);
  color: var(--paper);
}

.btn--solid::before {
  background: var(--accent);
}

.btn--solid:hover {
  color: var(--white);
}

.btn--wide {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.4;
  pointer-events: none;
}

/* ---------- hero (Sahara dunes) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--paper);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.08);
  animation: hero-settle 3.2s var(--ease) forwards;
}

@keyframes hero-settle {
  to {
    transform: scale(1);
  }
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* flat 15% dark overlay */
    linear-gradient(rgba(20, 14, 8, 0.15), rgba(20, 14, 8, 0.15)),
    /* bottom-dark shaping only (no light layer at the top) */
    linear-gradient(
      180deg,
      rgba(43, 24, 12, 0) 0%,
      rgba(43, 24, 12, 0) 58%,
      rgba(50, 30, 16, 0.12) 74%,
      rgba(43, 24, 12, 0.42) 100%
    );
}

.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(40px, 6vh, 84px);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(20px, 3vw, 38px);
  color: rgba(253, 252, 250, 0.85);
}

.hero__eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: rgba(253, 252, 250, 0.7);
}

.hero__title {
  max-width: none;
  font-size: clamp(34px, 9.4vw, 141px);
  text-shadow: 0 2px 40px rgba(43, 24, 12, 0.25);
}

/* keep the title on exactly two lines */
.hero__title .line {
  white-space: nowrap;
}

.hero__title .it {
  font-style: italic;
  font-weight: 400;
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 80px);
  margin-top: clamp(24px, 4vh, 48px);
}

.hero__bottom .lead {
  color: rgba(253, 252, 250, 0.88);
  max-width: 46ch;
  margin: 0;
}

.hero .btn--hero {
  border-color: rgba(253, 252, 250, 0.9);
  color: var(--paper);
  white-space: nowrap;
  flex-shrink: 0;
}

.hero .btn--hero::before {
  background: var(--paper);
}

.hero .btn--hero:hover {
  color: var(--ink);
}

.hero__caption {
  position: absolute;
  right: var(--pad);
  top: clamp(96px, 14vh, 150px);
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--white);
  writing-mode: vertical-rl;
  text-shadow: 0 1px 20px rgba(43, 24, 12, 0.4);
}

@media (max-width: 760px) {
  .hero__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__caption {
    display: none;
  }
}

/* ---------- line-mask reveal (cinematic headlines) ---------- */
.lines .line {
  display: block;
  overflow: hidden;
  /* room for descenders (р, д, у, ц …) so the mask never clips them */
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}

.lines .line > span {
  display: block;
  transform: translateY(130%);
  transition: transform 1.3s var(--ease);
}

.lines.in-view .line > span {
  transform: none;
}

.lines .line:nth-child(2) > span {
  transition-delay: 0.12s;
}

.lines .line:nth-child(3) > span {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .lines .line > span {
    transform: none;
    transition: none;
  }
}

/* ---------- marquee (A24 titles scale) ---------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: clamp(40px, 6vw, 100px) 0 clamp(30px, 4vw, 70px);
}

.marquee__track {
  display: inline-flex;
  align-items: baseline;
  animation: marquee 60s linear infinite;
}

.marquee span {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(64px, 10vw, 180px);
  line-height: 1;
  letter-spacing: -0.02em;
  padding-right: 0.35em;
  color: var(--ink);
}

.marquee span:nth-child(even) {
  font-style: italic;
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(27, 23, 18, 0.55);
}

.marquee span i {
  font-style: normal;
  color: var(--accent);
  padding: 0 0.22em;
  font-size: 0.35em;
  vertical-align: middle;
}

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

/* ---------- editorial chapters (campaign spreads) ---------- */
.chapter {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
  margin-top: clamp(100px, 14vw, 240px);
  position: relative;
}

.chapter__num {
  position: absolute;
  top: clamp(-40px, -4vw, -80px);
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(90px, 14vw, 260px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(27, 23, 18, 0.22);
  z-index: 0;
  pointer-events: none;
}

.chapter__media {
  grid-column: 1 / span 7;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--paper-2);
}

.chapter__media img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  transform: scale(1.06);
  transition: transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.chapter:hover .chapter__media img {
  transform: scale(1.005);
}

/* auto crossfade product ⇄ model */
.chapter__media--swap {
  position: relative;
}

.chapter__media--swap .chapter__model {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
  transform: scale(1.04);
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.chapter__media--swap.is-model-shown .chapter__model {
  opacity: 1;
  transform: scale(1);
}

.chapter__media--swap.is-model-shown > img:first-of-type {
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chapter__media--swap > img:first-of-type {
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chapter__body {
  grid-column: 9 / span 4;
  position: relative;
  z-index: 1;
}

.chapter--rev .chapter__media {
  grid-column: 6 / span 7;
  order: 2;
}

.chapter--rev .chapter__body {
  grid-column: 1 / span 4;
  order: 1;
}

.chapter--rev .chapter__num {
  right: 0;
}

.chapter__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(44px, 5.6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
}

.chapter__color {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
}

.chapter__price {
  font-size: 13px;
  letter-spacing: 0.08em;
  margin: 22px 0 30px;
}

.chapter__link {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.35s, border-color 0.35s, letter-spacing 0.6s var(--ease);
}

.chapter__link:hover {
  color: var(--accent);
  border-color: var(--accent);
  letter-spacing: 0.03em;
}

@media (max-width: 880px) {
  .chapter,
  .chapter--rev {
    display: block;
    margin-top: clamp(80px, 16vw, 140px);
  }

  .chapter__body {
    margin-top: 22px;
  }
}

/* no oversized contour numbers on tablet & mobile */
@media (max-width: 1024px) {
  .chapter__num {
    display: none;
  }
}

/* ---------- full-bleed cinematic break ---------- */
.break {
  position: relative;
  height: clamp(420px, 78vh, 820px);
  margin-top: clamp(110px, 15vw, 260px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.break img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}

.break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 24, 12, 0.18);
}

.break p {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 5vw, 72px);
  color: var(--white);
  text-align: center;
  max-width: 34ch;
  line-height: 1.2;
  text-shadow: 0 2px 50px rgba(43, 24, 12, 0.4);
  padding: 0 var(--pad);
}

/* ---------- section head ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 72px);
}

.section-head .eyebrow {
  margin-bottom: 18px;
  display: block;
}

.section-head__meta {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  padding-bottom: 10px;
  white-space: nowrap;
}

/* ---------- collection grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 36px);
  row-gap: clamp(48px, 5vw, 84px);
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* uniform Jacquemus-style catalog grid: full-bleed, hairline gaps */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--paper);
  margin-top: clamp(30px, 4vw, 60px);
}

.catalog-grid .card__media {
  aspect-ratio: 1 / 1.06;
}

/* hover-scrub: stacked frames, crossfade between them */
.catalog-grid .card__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.catalog-grid .card__frame.is-active {
  opacity: 1;
}

/* the campaign model frame is a full photo — no product blend */
.catalog-grid .card__frame.is-model {
  mix-blend-mode: normal;
  object-position: center 26%;
}

/* editorial close-up crops used to pad the scrub to at least five frames */
.catalog-grid .card__frame.crop-a { object-position: 24% 66%; transform: scale(1.9); }
.catalog-grid .card__frame.crop-b { object-position: 76% 46%; transform: scale(1.9); }
.catalog-grid .card__frame.crop-c { object-position: 50% 78%; transform: scale(2.1); }
.catalog-grid .card__frame.crop-d { object-position: 32% 40%; transform: scale(1.7); }

/* plain product frames stay static; crop/model frames keep their own transform */
.catalog-grid .card:hover .card__frame.is-active:not([class*="crop-"]):not(.is-model) {
  transform: none;
}

/* segment indicator (appears on hover) */
.card__seg {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card:hover .card__seg {
  opacity: 1;
}

.card__seg span {
  flex: 1;
  height: 2px;
  background: rgba(27, 23, 18, 0.22);
  transition: background 0.25s ease;
}

.card__seg span.on {
  background: var(--ink);
}

@media (hover: none), (pointer: coarse) {
  .card__seg {
    display: none;
  }

  .catalog-grid .card__frame:not(.is-active) {
    display: none;
  }
}

.catalog-grid .card__num {
  display: none;
}

.catalog-grid .card__info {
  padding: 14px 18px 40px;
}

.catalog-grid .card__title {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.catalog-grid .card__color {
  font-size: 11.5px;
  margin-top: 4px;
}

.catalog-grid .card__price {
  font-size: 12.5px;
}

@media (max-width: 880px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-grid .card__info {
    padding: 10px 12px 28px;
  }
}

.card {
  display: block;
  position: relative;
}

.card__media {
  position: relative;
  background: var(--paper-2);
  aspect-ratio: 3 / 3.55;
  overflow: hidden;
}

.card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 2.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card__media img {
  transform: scale(1.035);
}

.card__media img.alt:only-child {
  opacity: 1;
}

.card__num {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
  z-index: 2;
}

.card__info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 18px;
}

.card__title {
  transition: color 0.45s ease;
}

.card:hover .card__title {
  color: var(--accent);
}

.card__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.card__color {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
  letter-spacing: 0.04em;
}

.card__price {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ---------- philosophy quote ---------- */
.quote {
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 8vw, 110px);
}

.quote blockquote {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 4.6vw, 62px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  max-width: 24ch;
}

.quote blockquote i {
  color: var(--accent);
}

.quote figcaption {
  margin-top: 34px;
}

/* ---------- story ---------- */
.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}

.story__media {
  background: var(--paper-2);
  aspect-ratio: 3 / 3.7;
  overflow: hidden;
  position: sticky;
  top: 110px;
}

.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

/* real photographs (e.g. founder portrait) show as-is, no product blend */
.story__media--photo img {
  mix-blend-mode: normal;
}

.story__body .h2 {
  margin: 20px 0 28px;
  max-width: 16ch;
}

.story__body p {
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 1.2em;
}

.story__sign {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 21px;
  color: var(--ink);
  margin-top: 30px;
}

.craft-list {
  margin-top: clamp(36px, 4vw, 60px);
  border-top: 1px solid var(--line);
}

.craft-list li {
  display: flex;
  gap: 26px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.craft-list b {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  flex: 0 0 46%;
}

.craft-list span {
  font-size: 13.5px;
  color: var(--muted);
}

@media (max-width: 880px) {
  .story {
    grid-template-columns: 1fr;
  }

  .story__media {
    position: static;
    aspect-ratio: 4 / 3;
  }
}

/* ---------- info (delivery / returns) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 36px);
}

@media (max-width: 760px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.info-card {
  border: 1px solid var(--line);
  padding: clamp(28px, 3.4vw, 52px);
  background: color-mix(in srgb, var(--white) 45%, transparent);
}

.info-card .eyebrow {
  color: var(--accent);
}

.info-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  margin: 14px 0 16px;
}

.info-card p,
.info-card li {
  font-size: 14px;
  color: var(--ink-soft);
}

.info-card ul {
  margin-top: 10px;
}

.info-card ul li {
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.info-card ul li b {
  font-weight: 500;
  white-space: nowrap;
}

/* ---------- how we make (editorial image + text rows) ---------- */
.make-list {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vw, 130px);
}

.make-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 90px);
  align-items: center;
}

.make-row--rev .make-row__media {
  order: 2;
}

.make-row__media {
  background: var(--paper-2);
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
}

.make-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 2.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.make-row:hover .make-row__media img {
  transform: scale(1);
}

.make-row__body {
  max-width: 42ch;
}

.make-row--rev .make-row__body {
  justify-self: end;
}

.make-row__num {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.make-row__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.make-row__body p {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
}

@media (max-width: 760px) {
  .make-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .make-row--rev .make-row__media {
    order: 0;
  }

  .make-row__media {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 40px);
}

@media (max-width: 760px) {
  .reviews {
    grid-template-columns: 1fr;
  }
}

.review {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.review blockquote {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.review figcaption {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- contacts ---------- */
.contact {
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 8vw, 110px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

@media (max-width: 760px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

.contact__links {
  border-top: 1px solid var(--line);
}

.contact__links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease), background 0.4s ease;
}

.contact__links a:hover {
  padding-left: 14px;
  background: color-mix(in srgb, var(--white) 55%, transparent);
}

.contact__links b {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 21px;
}

.contact__links span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ---------- contacts hours ---------- */
.contact__hours {
  padding: 22px 4px 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- showrooms ---------- */
.showroom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.4vw, 40px);
  align-items: stretch;
}

@media (max-width: 760px) {
  .showroom-grid {
    grid-template-columns: 1fr;
  }
}

.showroom {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--white) 45%, transparent);
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.showroom:hover {
  border-color: var(--ink);
}

.showroom__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}

.showroom__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.showroom:hover .showroom__media img {
  transform: scale(1.04);
}

.showroom__body {
  padding: clamp(24px, 3vw, 40px);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.showroom__body .chapter__link {
  margin-top: auto;
}

.showroom__body h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  margin-bottom: 14px;
}

.showroom__body p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 18px;
}

.showroom__body .chapter__link {
  font-size: 16px;
}

/* ---------- footer ---------- */
.site-footer {
  margin-top: clamp(90px, 12vw, 180px);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 7vw, 100px) 0 34px;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 80px);
}

.footer-mark {
  display: block;
  width: clamp(88px, 12vw, 150px);
  color: var(--paper);
  opacity: 0.96;
  transition: transform 0.7s var(--ease), opacity 0.4s ease;
}

.footer-mark:hover {
  transform: rotate(90deg);
  opacity: 1;
}

.footer-mark svg {
  width: 100%;
  height: auto;
  display: block;
}

.footer-mark path {
  stroke: currentColor;
  stroke-width: 12;
  fill: none;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(243, 240, 234, 0.16);
  padding-top: 30px;
}

.footer-cols nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
}

.footer-cols a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 240, 234, 0.72);
  transition: color 0.3s;
}

.footer-cols a:hover {
  color: var(--paper);
}

.footer-legal {
  font-size: 11px;
  color: rgba(243, 240, 234, 0.45);
  letter-spacing: 0.04em;
  line-height: 1.9;
}

/* ---------- cart drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(27, 23, 18, 0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  width: min(440px, 100vw);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.55s var(--ease);
  box-shadow: -30px 0 80px rgba(27, 23, 18, 0.18);
}

body.cart-open .cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.cart-open .cart-drawer {
  transform: none;
}

body.cart-open {
  overflow: hidden;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
}

.cart-drawer__head small {
  color: var(--muted);
  font-size: 12px;
  margin-left: 10px;
}

.cart-close {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}

.cart-close:hover {
  color: var(--ink);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 10px 28px;
}

.cart-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  padding-bottom: 60px;
}

.cart-empty p {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  max-width: 14ch;
}

.cart-item {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}

.cart-item__img {
  background: var(--paper-2);
  aspect-ratio: 3/3.4;
  overflow: hidden;
}

.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.cart-item__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
}

.cart-item__meta {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 4px;
}

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  padding: 5px 12px;
  margin-top: 12px;
}

.cart-item__qty button {
  font-size: 15px;
  line-height: 1;
  color: var(--muted);
  transition: color 0.2s;
  padding: 2px 4px;
}

.cart-item__qty button:hover {
  color: var(--ink);
}

.cart-item__qty span {
  font-size: 12.5px;
  min-width: 14px;
  text-align: center;
}

.cart-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.cart-item__price {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.cart-item__remove {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}

.cart-item__remove:hover {
  color: var(--accent);
}

.cart-drawer__foot {
  border-top: 1px solid var(--line);
  padding: 22px 28px 28px;
  background: color-mix(in srgb, var(--white) 40%, transparent);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}

.cart-total b {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
}

.cart-total span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.cart-note {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}

/* ---------- page transitions ---------- */
body {
  opacity: 1;
  transition: opacity 0.5s ease;
}

body.page-enter {
  opacity: 0;
}

body.page-leave {
  opacity: 0;
}

/* ---------- campaign reel (model shots, abstract) ---------- */
.reel {
  margin-top: clamp(90px, 12vw, 200px);
  overflow: hidden;
}

.reel__head {
  padding: 0 var(--pad);
  margin-bottom: clamp(24px, 3vw, 44px);
}

.reel__track {
  display: flex;
  gap: 2px;
  width: max-content;
  animation: reel-scroll 60s linear infinite;
}

.reel:hover .reel__track {
  animation-play-state: paused;
}

.reel__item {
  margin: 0;
  flex: 0 0 auto;
  width: clamp(220px, 26vw, 440px);
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
  background: var(--paper-3);
}

.reel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reel__item:hover img {
  transform: scale(1.04);
}

@keyframes reel-scroll {
  to {
    /* one full set = half the duplicated track */
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reel__track {
    animation: none;
    overflow-x: auto;
  }
}

/* ---------- giant CTA ---------- */
.cta-giant {
  display: block;
  text-align: center;
  padding: clamp(90px, 13vw, 220px) var(--pad);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(44px, 8.5vw, 150px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
  transition: color 0.5s ease;
}

.cta-giant i {
  font-weight: 400;
  color: var(--accent);
  transition: padding 0.8s var(--ease);
}

.cta-giant:hover {
  color: var(--accent);
}

.cta-giant:hover i {
  color: var(--ink);
  padding-left: 0.12em;
}

.cta-giant small {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--muted);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 220;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 14px 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- product page (Jacquemus split: campaign left, 2×2 grid right) ---------- */
.product {
  padding-top: 0;
}

.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--paper);
}

.product-split__hero {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--paper-2);
}

.product-split__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

/* campaign model shot: full-bleed photo, no blend */
.product-split__hero.has-model {
  background: var(--paper-3);
}

.product-split__hero.has-model img {
  mix-blend-mode: normal;
  object-position: center 28%;
}

.product-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.product-cell {
  background: var(--paper-2);
  aspect-ratio: 1 / 1.04;
  overflow: hidden;
  margin: 0;
}

.product-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-cell:hover img {
  transform: scale(1.04);
}

/* editorial close-up crops used to top the grid up to four cells */
.product-cell.crop-a img { object-position: 22% 68%; transform: scale(1.9); }
.product-cell.crop-b img { object-position: 78% 45%; transform: scale(1.9); }
.product-cell.crop-c img { object-position: 50% 80%; transform: scale(2.1); }
.product-cell.crop-d img { object-position: 30% 40%; transform: scale(1.7); }

.product-cell.crop-a:hover img { transform: scale(1.96); }
.product-cell.crop-b:hover img { transform: scale(1.96); }
.product-cell.crop-c:hover img { transform: scale(2.16); }
.product-cell.crop-d:hover img { transform: scale(1.76); }

.product-split__right .product__info {
  padding: clamp(40px, 5vw, 90px) clamp(24px, 4vw, 80px) clamp(60px, 7vw, 110px);
  position: static;
}

@media (max-width: 880px) {
  .product-split {
    display: block;
  }

  .product-split__hero {
    position: static;
    height: 68svh;
  }
}

.product__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 90px);
  align-items: start;
}

@media (max-width: 880px) {
  .product__layout {
    grid-template-columns: 1fr;
  }
}

.product__gallery {
  display: grid;
  gap: clamp(14px, 1.6vw, 26px);
}

.product__shot {
  background: var(--paper-2);
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
}

.product__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 1.4s var(--ease);
}

.product__shot:hover img {
  transform: scale(1.035);
}

.product__info {
  position: sticky;
  top: 110px;
  padding-bottom: 60px;
}

@media (max-width: 880px) {
  .product__info {
    position: static;
  }
}

.product__crumb {
  margin-bottom: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.product__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 14px 0 10px;
}

.product__color {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.product__price {
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 500;
  margin: 26px 0 34px;
}

.product__lead {
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 36px;
}

.opt-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.opt-label small {
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 11.5px;
}

.sizes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.size-btn {
  border: 1px solid var(--line);
  padding: 13px 22px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.size-btn:hover {
  border-color: var(--ink);
}

.size-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.product__actions {
  display: grid;
  gap: 10px;
  margin-bottom: 44px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion .acc-item {
  border-bottom: 1px solid var(--line);
}

.accordion .acc-summary {
  width: 100%;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 2px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  text-align: left;
  color: var(--ink);
  transition: color 0.3s;
}

.accordion .acc-summary:hover {
  color: var(--accent);
}

.accordion .acc-summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

/* open row shows × */
.accordion .acc-item:not(.acc-collapsed) .acc-summary::after {
  transform: rotate(45deg);
}

html[dir="rtl"] .accordion .acc-summary {
  text-align: right;
}

/* smooth collapse via max-height (panels are short; 360px covers the tallest) */
.accordion .acc-body {
  overflow: hidden;
  max-height: 360px;
  opacity: 1;
  transition: max-height 0.5s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.4s ease;
}

.accordion .acc-item.acc-collapsed .acc-body {
  max-height: 0;
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .accordion .acc-body {
    transition: none;
  }
}

.accordion .acc-inner {
  min-height: 0;
}

.accordion .acc-pad {
  padding: 0 2px 24px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 52ch;
}

.acc-body ul li {
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.acc-body ul li:first-child {
  border-top: 0;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.size-table th,
.size-table td {
  text-align: left;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
}

.size-table th {
  color: var(--muted);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.size-table thead tr th {
  border-top: 0;
}

html[dir="rtl"] .size-table th,
html[dir="rtl"] .size-table td {
  text-align: right;
}

/* related */
.related {
  margin-top: clamp(80px, 10vw, 150px);
}

/* ---------- gift certificate ---------- */
.gift-cert {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}

.gift-cert__media {
  background: var(--paper-2);
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
}

.gift-cert__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gift-cert .sizes {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .gift-cert {
    grid-template-columns: 1fr;
  }

  .gift-cert__media {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- checkout ---------- */
.checkout {
  padding-top: clamp(110px, 14vh, 170px);
}

.checkout__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 90px);
  align-items: start;
}

@media (max-width: 880px) {
  .checkout__layout {
    grid-template-columns: 1fr;
  }
}

.checkout h1 {
  margin-bottom: clamp(30px, 4vw, 54px);
}

.form-block {
  margin-bottom: 38px;
}

.form-block > .eyebrow {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
}

.field {
  position: relative;
  margin-bottom: 14px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line);
  padding: 16px 16px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.3s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.field input.invalid {
  border-color: var(--accent);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.radio-card {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  padding: 18px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color 0.3s, background 0.3s;
}

.radio-card:hover {
  border-color: var(--ink);
}

.radio-card.active {
  border-color: var(--ink);
  background: color-mix(in srgb, var(--white) 55%, transparent);
}

.radio-card input {
  position: absolute;
  opacity: 0;
}

.radio-card b {
  font-weight: 500;
  font-size: 14px;
  display: block;
}

.radio-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.radio-card .price {
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
}

.summary {
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 40px);
  background: color-mix(in srgb, var(--white) 45%, transparent);
  position: sticky;
  top: 110px;
}

.summary h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 18px;
}

.summary-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
}

.summary-item img {
  background: var(--paper-2);
  mix-blend-mode: multiply;
  aspect-ratio: 3/3.4;
  object-fit: cover;
  width: 100%;
}

.summary-item b {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  display: block;
}

.summary-item small {
  color: var(--muted);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-soft);
}

.summary-row.total {
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  margin-top: 6px;
  padding-top: 18px;
}

.summary-row.total b {
  font-family: var(--font-serif);
  font-size: 24px;
}

.pay-note {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.7;
}

/* ---------- success / legal ---------- */
.page-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(130px, 18vh, 220px) var(--pad) 80px;
}

.page-narrow h1 {
  margin-bottom: 30px;
}

.legal-body {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.legal-body p {
  margin-bottom: 0.9em;
}

.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 1.8em 0 0.7em;
}

.success-icon {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 90px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
}

/* ============================================================
   Tenor Sans everywhere — final cascade overrides.
   Tenor Sans ships only weight 400 and no italics:
   never synthesize bold or oblique.
   ============================================================ */
b,
strong,
h1,
h2,
h3,
.display,
.h2,
.h3,
.serif,
.chapter__title,
.card__title,
.product__title,
.product__price,
.quote blockquote,
.cta-giant,
.footer-mark,
.marquee span,
.cart-drawer__head h2,
.cart-item__title,
.summary h2,
.summary-item b,
.craft-list b,
.contact__links b,
.info-card h3,
.accordion summary,
.card__price,
.cart-item__price,
.summary-row.total,
.radio-card b,
.cart-empty p,
.cart-total b {
  font-weight: 400;
}

.eyebrow,
.section-head__meta,
.chapter__color,
.chapter__link,
.story__sign,
.break p,
.hero__caption,
.success-icon,
.cta-giant small,
.cta-giant i,
.display .it,
.hero__title .it,
.quote blockquote i,
.marquee span:nth-child(even),
.chapter__num,
.splash__word em,
.story__sign {
  font-style: normal;
}

/* accents speak through colour, not italics */
.quote blockquote i,
.cta-giant i {
  color: var(--accent);
  font-style: normal;
}

.hero__title .it {
  color: inherit;
  opacity: 0.82;
}

html[lang="ru"] .display,
html[lang="en"] .display {
  letter-spacing: -0.01em;
}

/* Amiri stays for Arabic */
html[lang="ar"] body {
  --font-serif: "Amiri", serif;
  --font-sans: "Amiri", "Tenor Sans", sans-serif;
}
