/* ══════════════════════════════════════════════════════════════════
   RITAM — Rhythm, kept.
   Design tokens from the approved Phase 1 direction board.
   Bone-first · 70/20/10 · brass reserved for the buy action.
   ══════════════════════════════════════════════════════════════════ */
:root {
  --bone: #F2EDE3;
  --bone-raised: #FAF6EE;
  --stone: #CDC5B4;
  --indigo: #262E3D;
  --indigo-deep: #1C2330;
  --brass: #A99052;
  --brass-bright: #C2AA6A;
  --clay: #9C6B4F;
  --vetiver: #6A705C;
  --sacred: #B5432A; /* deep saffron-ruby — logo dot + ember only */
  --ink: var(--indigo);
  --muted: #6E6A5C;
  --line: rgba(38, 46, 61, .16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Satoshi", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --measure: 62ch;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 { font-weight: 400; text-wrap: balance; margin: 0; }
.eyebrow {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass);
}
.muted { color: var(--muted); }

/* ── Reveal-on-scroll (direction-aware) ───────────────────────── */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
body.scroll-up .rv:not(.in) { transform: translateY(-34px); }
.rv.in { opacity: 1; transform: none !important; }
.rv-d1 { transition-delay: .1s; } .rv-d2 { transition-delay: .2s; } .rv-d3 { transition-delay: .3s; }
/* beats glide in from the sides, following the story left↔right */
.beat .beat-art.rv:not(.in) { transform: translateX(-56px); }
.beat .beat-copy.rv:not(.in) { transform: translateX(56px); }
.beat:nth-child(even) .beat-art.rv:not(.in) { transform: translateX(56px); }
.beat:nth-child(even) .beat-copy.rv:not(.in) { transform: translateX(-56px); }

/* ── 3D ritual objects ────────────────────────────────────────── */
.r3d-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.r3d-card {
  background: var(--bone-raised); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.r3d-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -18px rgba(38,46,61,.3); }
.r3d-card model-viewer {
  width: 100%; height: 300px; background: transparent;
  --poster-color: transparent;
}
.r3d-card .meta { padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.r3d-card .meta .name { font-size: 1.05rem; }
.r3d-card .meta .row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-family: var(--sans); }
.r3d-hint { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; margin-top: 22px; }

/* ── Header ───────────────────────────────────────────────────── */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background .35s, box-shadow .35s, padding .35s;
}
.site-head.solid {
  background: rgba(242, 237, 227, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px var(--gutter);
}
.head-logo { display: flex; align-items: center; gap: 12px; }
.head-logo svg { display: block; }
.head-logo .word {
  font-family: var(--serif); font-size: 1.15rem; letter-spacing: .34em; margin-left: 2px;
}
/* brand accent dot — quietly completes the wordmark */
.head-logo .word::after, .foot-brand .word::after {
  content: ""; display: inline-block; width: .26em; height: .26em; border-radius: 50%;
  background: var(--sacred); margin-left: .16em; vertical-align: .04em;
}

/* ── Animated incense logo ────────────────────────────────────── */
.logo-mark .lm-stick { stroke: var(--indigo); stroke-width: 2.4; stroke-linecap: round; }
.logo-mark .lm-smoke path { stroke: var(--indigo); stroke-width: 1.4; fill: none; stroke-linecap: round; }
.logo-mark .lm-s1 { opacity: .8; }
.logo-mark .lm-s2 { opacity: .4; }
.logo-mark .lm-ember { fill: var(--sacred); animation: lm-ember 5s ease-in-out infinite; }
.logo-mark .lm-smoke {
  transform-origin: 12px 26px;
  animation: lm-sway 9s ease-in-out infinite;
}
.logo-mark .lm-smoke path {
  stroke-dasharray: 1; stroke-dashoffset: 0;
  animation: lm-flow 7s linear infinite;
}
.logo-mark .lm-s2 { animation-duration: 9.5s; animation-delay: -3.5s; }
@keyframes lm-sway { 0%, 100% { transform: rotate(-3.5deg); } 50% { transform: rotate(3.5deg); } }
@keyframes lm-flow { from { stroke-dashoffset: 2; } to { stroke-dashoffset: 0; } }
@keyframes lm-ember { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.foot-brand .logo-mark .lm-stick { stroke: var(--bone); }
.foot-brand .logo-mark .lm-smoke path { stroke: var(--brass-bright); }

/* ── Ambient florals — sacred, faint, breathing ───────────────── */
section, footer { position: relative; }
.flora {
  position: absolute; pointer-events: none; z-index: 0;
  color: var(--indigo); opacity: .06;
  animation: flora-breathe 16s ease-in-out infinite;
}
.flora svg { width: 100%; height: auto; display: block; }
.flora-late { animation-delay: -8s; }
.night .flora, footer .flora { color: var(--stone); opacity: .08; }
section > .inner, section > .night-grid, footer > .foot-grid, footer > .foot-base { position: relative; z-index: 1; }
@keyframes flora-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-9px) scale(1.02); }
}
.head-nav { display: flex; gap: clamp(16px, 3vw, 38px); font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .08em; }
.head-nav a { position: relative; padding: 6px 0; }
.head-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.head-nav a:hover::after, .head-nav a:focus-visible::after, .head-nav a.active::after { transform: scaleX(1); }
.cart-btn {
  position: relative; background: none; border: none; padding: 6px;
  font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .08em;
  display: flex; align-items: center; gap: 8px; color: var(--ink);
}
.cart-pip {
  min-width: 20px; height: 20px; border-radius: 50%;
  background: var(--brass); color: var(--bone);
  font-size: .7rem; font-weight: 700; display: grid; place-items: center;
  transition: transform .3s var(--ease);
}
.cart-pip.bump { transform: scale(1.35); }
.cart-pip.empty { background: var(--stone); color: var(--indigo); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh; position: relative; overflow: hidden;
  display: grid; align-items: center;
  padding: 120px var(--gutter) 80px;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  max-width: 1280px; margin: 0 auto; width: 100%;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.06; letter-spacing: .01em;
}
.hero h1 em { font-style: italic; color: var(--brass); }
.hero .lede { max-width: 44ch; margin: 22px 0 34px; font-size: 1.06rem; color: var(--muted); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-art { position: relative; justify-self: center; width: min(100%, 460px); }
.hero-frame {
  position: relative; background: var(--bone-raised);
  padding: 4.5%;
  border: 1px solid rgba(38,46,61,.22);
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 24px 60px -18px rgba(38, 46, 61, .38),
    0 6px 18px -8px rgba(38, 46, 61, .28);
}
.hero-frame::after {
  content: ""; position: absolute; inset: 3.2%; pointer-events: none;
  border: 1px solid rgba(169, 144, 82, .5);
}
.hero-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-family: var(--sans); font-size: .68rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column;
  align-items: center; gap: 10px;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 44px; background: var(--brass);
  animation: drip 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ── Buttons — brass is the ONLY saturated element per screen ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: .84rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; padding: 16px 32px; border: 1px solid transparent;
  transition: background .3s, color .3s, border-color .3s, transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-brass { background: var(--brass); color: var(--bone-raised); }
.btn-brass:hover { background: #937c43; }
.btn-ghost { background: transparent; border-color: var(--indigo); color: var(--indigo); }
.btn-ghost:hover { background: var(--indigo); color: var(--bone); }
.btn-line {
  background: none; border: none; padding: 6px 0; color: var(--indigo);
  font-family: var(--sans); font-size: .84rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; border-bottom: 1px solid var(--brass);
}
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ── Sections ─────────────────────────────────────────────────── */
section { padding: clamp(72px, 10vw, 130px) var(--gutter); }
.inner { max-width: 1280px; margin: 0 auto; }
.sec-head { max-width: var(--measure); margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.15; margin-top: 14px; }
.sec-head p { color: var(--muted); margin: 16px 0 0; }

/* ── Hero product beats (one per viewport) ────────────────────── */
.beat {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 90px); align-items: center;
  max-width: 1280px; margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 0;
}
.beat + .beat { border-top: 1px solid var(--line); }
.beat:nth-child(even) .beat-art { order: 2; }
.beat-art { position: relative; }
.beat-art .frame {
  background: var(--bone-raised); padding: 4%;
  border: 1px solid rgba(38,46,61,.2);
  box-shadow: 0 20px 50px -16px rgba(38,46,61,.32);
  will-change: transform;
}
.beat-art .frame img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.beat-art .frame.wide img { aspect-ratio: 16/9; }
.beat-copy .price-row { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 26px; font-family: var(--sans); }
.price { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.mrp { color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; font-size: .95rem; }
.beat-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 10px 0 6px; }
.beat-copy .blurb { font-style: italic; color: var(--clay); }
.beat-copy p { max-width: 46ch; }

/* ── Ivory Editions row ───────────────────────────────────────── */
.ivory-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.4vw, 44px); }
.ivory-item { display: block; text-align: center; }
.ivory-item .frame {
  background: var(--bone-raised); padding: 5.5%;
  border: 1px solid rgba(38,46,61,.2);
  box-shadow: 0 18px 44px -16px rgba(38,46,61,.3);
  will-change: transform;
}
.ivory-item .frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.ivory-item .cap { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font-size: 1rem; }
.ivory-item .cap b { font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--muted); }
@media (max-width: 700px) { .ivory-row { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; } }

/* ── Family shelf (horizontal rail) ───────────────────────────── */
.shelf-wrap { overflow-x: auto; scrollbar-width: thin; padding-bottom: 18px; scroll-snap-type: x mandatory; }
.shelf { display: flex; gap: 22px; min-width: max-content; padding: 4px; }
.shelf .tile { scroll-snap-align: start; }

/* ── Product tiles (shelf + shop grid) ────────────────────────── */
.tile {
  width: 260px; background: var(--bone-raised); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -18px rgba(38,46,61,.3); }
.tile .ph { aspect-ratio: 4/5; overflow: hidden; background: var(--bone); position: relative; }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover .ph img { transform: scale(1.045); }
.tile .ph .icon-ph { position: absolute; inset: 0; display: grid; place-items: center; }
.tile .meta { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tile .meta .name { font-size: 1.05rem; }
.tile .meta .sub { font-family: var(--sans); font-size: .74rem; letter-spacing: .06em; color: var(--muted); }
.tile .meta .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; font-family: var(--sans); }
.tile .add {
  background: none; border: 1px solid var(--brass); color: var(--brass);
  font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: 8px 14px; transition: background .3s, color .3s;
}
.tile .add:hover { background: var(--brass); color: var(--bone-raised); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px; }
.grid .tile { width: auto; }

/* ── Five gifts / story strip ─────────────────────────────────── */
.gifts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px; margin-top: 30px; }
.gift {
  border: 1px solid var(--line); background: var(--bone-raised); padding: 26px 22px;
  text-align: center;
}
.gift svg { margin: 0 auto 14px; display: block; }
.gift .g-name { font-size: 1.02rem; }
.gift .g-note { font-family: var(--sans); font-size: .78rem; color: var(--muted); margin-top: 6px; }
.eco-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.eco-tag {
  font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--vetiver);
  border: 1px solid var(--vetiver); padding: 8px 16px; border-radius: 100px;
}

/* ── Night section (the ritual) ───────────────────────────────── */
.night { background: var(--indigo-deep); color: var(--bone); }
.night .eyebrow { color: var(--brass-bright); }
.night .muted { color: var(--stone); }
.night-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 80px); align-items: center; max-width: 1280px; margin: 0 auto; }
.night-art { position: relative; }
.night-art img { width: min(100%, 420px); margin: 0 auto; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.night h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.ritual-steps { list-style: none; margin: 30px 0 0; padding: 0; counter-reset: rs; }
.ritual-steps li {
  counter-increment: rs; display: grid; grid-template-columns: 48px 1fr; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid rgba(242,237,227,.14);
}
.ritual-steps li:last-child { border-bottom: none; }
.ritual-steps li::before {
  content: counter(rs, decimal-leading-zero);
  font-family: var(--sans); font-size: .74rem; letter-spacing: .12em; color: var(--brass-bright); padding-top: 5px;
}

/* ── Reviews ──────────────────────────────────────────────────── */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review { background: var(--bone-raised); border: 1px solid var(--line); padding: 28px 30px; display: flex; flex-direction: column; gap: 14px; }
.stars { color: var(--brass); letter-spacing: .2em; font-size: .9rem; }
.review p { margin: 0; font-size: .98rem; }
.review .who { font-family: var(--sans); font-size: .78rem; color: var(--muted); margin-top: auto; }

/* ── Trust strip ──────────────────────────────────────────────── */
.trust {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 26px var(--gutter);
}
.trust .inner {
  display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: center;
  font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: .08em; color: var(--muted);
}
.trust .inner span { display: flex; align-items: center; gap: 10px; }
.trust svg { color: var(--brass); flex: none; }

/* ── Bundle / offer ───────────────────────────────────────────── */
.bundle {
  max-width: 900px; margin: 0 auto; text-align: center;
  border: 1px solid var(--brass); background: var(--bone-raised);
  padding: clamp(44px, 6vw, 80px) clamp(24px, 5vw, 72px);
}
.bundle h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 14px 0 10px; }
.bundle .price-row { justify-content: center; display: flex; align-items: baseline; gap: 14px; font-family: var(--sans); margin: 20px 0 30px; }

/* ── Footer ───────────────────────────────────────────────────── */
footer { background: var(--indigo-deep); color: var(--stone); padding: clamp(56px, 8vw, 96px) var(--gutter) 40px; }
.foot-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
.foot-grid h4 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-bright); margin: 0 0 18px; }
.foot-grid a, .foot-grid p { display: block; font-size: .92rem; color: var(--stone); margin: 0 0 10px; }
.foot-grid a:hover { color: var(--bone); }
.foot-brand .word { font-size: 1.3rem; letter-spacing: .34em; color: var(--bone); margin: 14px 0 6px; }
.foot-brand .tag { font-style: italic; color: var(--brass-bright); }
.newsletter { display: flex; border: 1px solid rgba(242,237,227,.25); margin-top: 16px; }
.newsletter input {
  flex: 1; background: none; border: none; color: var(--bone); padding: 12px 16px;
  font-family: var(--sans); font-size: .85rem; min-width: 0;
}
.newsletter input::placeholder { color: rgba(205,197,180,.6); }
.newsletter button { background: var(--brass); border: none; color: var(--bone-raised); padding: 0 18px; font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .12em; }
.foot-base { max-width: 1280px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(242,237,227,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--sans); font-size: .74rem; color: rgba(205,197,180,.65); }

/* ── Cart drawer ──────────────────────────────────────────────── */
.cart-veil { position: fixed; inset: 0; background: rgba(28,35,48,.45); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .35s; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); z-index: 90;
  background: var(--bone); border-left: 1px solid var(--line);
  transform: translateX(102%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column;
}
body.cart-open .cart-veil { opacity: 1; pointer-events: auto; }
body.cart-open .cart-drawer { transform: none; }
body.cart-open { overflow: hidden; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1.2rem; }
.cart-close { background: none; border: none; font-size: 1.4rem; line-height: 1; color: var(--ink); padding: 4px 8px; }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 26px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 80px; object-fit: cover; background: var(--bone-raised); }
.cart-item .ci-name { font-size: .98rem; }
.cart-item .ci-sub { font-family: var(--sans); font-size: .72rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-family: var(--sans); font-size: .85rem; }
.qty button { width: 24px; height: 24px; border: 1px solid var(--line); background: none; color: var(--ink); line-height: 1; }
.ci-price { font-family: var(--sans); font-weight: 600; font-variant-numeric: tabular-nums; }
.ci-remove { background: none; border: none; font-family: var(--sans); font-size: .68rem; letter-spacing: .08em; color: var(--muted); text-decoration: underline; padding: 0; margin-top: 6px; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 20px; font-style: italic; }
.cart-foot { padding: 22px 26px 26px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; font-family: var(--sans); font-weight: 600; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.cart-note { font-family: var(--sans); font-size: .74rem; color: var(--muted); margin: 0 0 16px; }
.cart-foot .btn { width: 100%; }

/* ── Shop page ────────────────────────────────────────────────── */
.page-head { padding: 150px var(--gutter) 40px; }
.page-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-top: 12px; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; padding: 0 var(--gutter) 34px; max-width: 1280px; margin: 0 auto; }
.filters .inner-f { display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
  font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 10px 20px; border-radius: 100px;
  border: 1px solid var(--line); background: none; color: var(--muted);
  transition: all .3s;
}
.chip.on { background: var(--indigo); border-color: var(--indigo); color: var(--bone); }

/* ── PDP ──────────────────────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 6vw, 90px); max-width: 1280px; margin: 0 auto; padding: 140px var(--gutter) 80px; align-items: start; }
.pdp-art { position: sticky; top: 110px; }
.pdp-art .frame { background: var(--bone-raised); padding: 4%; border: 1px solid rgba(38,46,61,.2); box-shadow: 0 24px 60px -18px rgba(38,46,61,.34); }
.pdp-art .frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.pdp-art .frame.wide img { aspect-ratio: 16/9; }
.pdp-thumbs { display: flex; gap: 12px; margin-top: 16px; }
.pdp-thumb { width: 72px; height: 88px; padding: 0; border: 1px solid var(--line); background: var(--bone-raised); overflow: hidden; opacity: .65; transition: opacity .3s, border-color .3s; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.on, .pdp-thumb:hover { opacity: 1; border-color: var(--brass); }
.pdp-copy h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 8px 0 4px; }
.pdp-copy .blurb { font-style: italic; color: var(--clay); font-size: 1.1rem; }
.pdp-copy .price-row { display: flex; align-items: baseline; gap: 14px; margin: 22px 0; font-family: var(--sans); }
.pdp-copy .price { font-size: 1.5rem; }
.size-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 26px; }
.size-opt {
  font-family: var(--sans); font-size: .8rem; padding: 10px 16px;
  border: 1px solid var(--line); background: none; color: var(--ink); transition: all .25s;
}
.size-opt.on { border-color: var(--indigo); background: var(--indigo); color: var(--bone); }
.pdp-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0 34px; }
.pdp-block { border-top: 1px solid var(--line); padding: 24px 0; }
.pdp-block h3 { font-size: 1.1rem; margin-bottom: 10px; }
.pdp-block p, .pdp-block li { font-size: .96rem; color: var(--muted); }
.pdp-block ul { padding-left: 1.1em; margin: .4em 0; }
.spec-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 26px; font-family: var(--sans); font-size: .88rem; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; }
.related { padding: 40px var(--gutter) 110px; }

/* sticky mobile buy bar */
.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(250,246,238,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 12px var(--gutter);
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: space-between; gap: 16px;
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.buy-bar.show { transform: none; }
.buy-bar .bb-name { font-size: .95rem; }
.buy-bar .bb-price { font-family: var(--sans); font-weight: 600; font-variant-numeric: tabular-nums; }
.buy-bar .btn { padding: 12px 22px; }

/* ── Toast ────────────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 140%);
  background: var(--indigo); color: var(--bone); z-index: 100;
  font-family: var(--sans); font-size: .84rem; letter-spacing: .04em;
  padding: 14px 26px; transition: transform .45s var(--ease);
}
.toast.show { transform: translate(-50%, 0); }

/* ── WhatsApp chip ────────────────────────────────────────────── */
.wa-chip {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  display: flex; align-items: center; gap: 10px;
  background: var(--bone-raised); border: 1px solid var(--line);
  box-shadow: 0 10px 30px -10px rgba(38,46,61,.3);
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  padding: 12px 18px; border-radius: 100px; color: var(--ink);
  transition: transform .3s var(--ease);
}
.wa-chip:hover { transform: translateY(-3px); }
.wa-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vetiver); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid, .beat, .night-grid, .pdp { grid-template-columns: 1fr; }
  .beat:nth-child(even) .beat-art { order: 0; }
  .hero { padding-top: 110px; }
  .hero-art { width: min(100%, 360px); }
  .head-nav { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pdp-art { position: static; }
  .pdp { padding-top: 110px; }
  .buy-bar { display: flex; }
  .wa-chip span.txt { display: none; }
  .hero-scroll { display: none; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .tile { width: 220px; }
  .hero h1 { font-size: clamp(2rem, 10.5vw, 2.6rem); }
  .hero h1 br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero-scroll::after { animation: none; }
  .flora, .logo-mark .lm-smoke, .logo-mark .lm-smoke path, .logo-mark .lm-ember { animation: none; }
  * { transition-duration: .01ms !important; }
}
