/* ==========================================================================
   Shree Jewels — home page
   Palette: ivory ground, wine/maroon ink, antique gold. Logo colours
   (brown #6A3621, saffron #F1901B, gold #FCD067) are used as accents only.
   ========================================================================== */

:root {
  --ivory: #FBF6EE;
  --sand: #F3EADC;
  --blush: #F7E3DA;
  --wine: #2B0A12;
  --wine-deep: #1D060B;
  --maroon: #5A1626;
  --maroon-2: #7A2334;
  --gold: #B8893B;
  --gold-lt: #DDBB74;
  --gold-pale: #EEDCB0;
  --saffron: #E8912A;
  --brown: #6A3621;
  --ink: #2A1A15;
  --muted: #6E5A50;
  --line: rgba(106, 54, 33, .18);
  --line-light: rgba(238, 220, 176, .2);

  --f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-caps: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --f-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-gu: "Noto Serif Gujarati", "Shruti", serif;

  --pad: clamp(20px, 5vw, 64px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
/* <picture> is only a wrapper for srcset — it must not affect layout, so the
   img keeps sizing against the real container (.float, .hero__slides, …). */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { list-style: none; padding: 0; }
em { font-style: italic; }
::selection { background: var(--gold-pale); color: var(--wine); }

:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }

.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--pad); }

.visually-hidden {
  position: absolute !important; 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; left: 16px; top: -60px; z-index: 200; padding: 10px 18px;
  background: var(--wine); color: var(--ivory); font-family: var(--f-caps); transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Brand mark (cropped from logo.png: mark box x176–327, y59–268) ---------- */
.brand-mark {
  --h: 30px;
  display: inline-block;
  flex: none;
  height: var(--h);
  width: calc(var(--h) * 152 / 210);
  background: url(../img/logo.png) no-repeat;
  background-size: calc(var(--h) * 500 / 210) auto;
  background-position: calc(var(--h) * -176 / 210) calc(var(--h) * -59 / 210);
}
.brand-mark--lg { --h: 64px; }
.brand-mark--xl { --h: 96px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-caps); font-weight: 400; font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--brown); margin-bottom: 22px;
}
.eyebrow--light { color: var(--gold-lt); }
.eyebrow__dot { width: 7px; height: 7px; background: var(--saffron); transform: rotate(45deg); }

.h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.04; letter-spacing: -.01em;
  color: var(--wine);
}
.h2 em { color: #8A5A1E; font-weight: 400; }
.h2--light { color: var(--ivory); }
/* SplitText line masks: give italics and descenders room so they aren't clipped */
.sl-mask { padding: 0 .08em .1em; margin: 0 -.08em -.1em; }
.h2--light em { color: var(--gold-lt); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; min-height: 52px;
  font-family: var(--f-caps); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--small { padding: 12px 20px; min-height: 44px; font-size: .7rem; }

.btn--gold { background: linear-gradient(120deg, #C99A4A, #E6C57E 55%, #C18F3E); color: var(--wine); }
.btn--gold::before { background: var(--ivory); }

.btn--ghost-light { border-color: rgba(251, 246, 238, .45); color: var(--ivory); }
.btn--ghost-light::before { background: var(--ivory); }
.btn--ghost-light:hover { color: var(--wine); }

.btn--maroon { background: var(--maroon); color: var(--ivory); }
.btn--maroon::before { background: var(--wine); }

.btn--ghost { border-color: var(--maroon); color: var(--maroon); }
.btn--ghost::before { background: var(--maroon); }
.btn--ghost:hover { color: var(--ivory); }

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at center, #3d0f1b 0%, var(--wine) 55%, var(--wine-deep) 100%);
  color: var(--ivory);
}
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.preloader__inner .brand-mark { filter: drop-shadow(0 8px 30px rgba(232, 145, 42, .35)); }
.preloader__word {
  font-family: var(--f-caps); font-size: clamp(1.3rem, 3vw, 1.8rem); letter-spacing: .34em;
  text-transform: uppercase; padding-left: .34em;
}
.preloader__welcome { font-family: var(--f-gu); color: var(--gold-lt); font-size: 1.05rem; letter-spacing: .06em; }
.preloader__line { position: relative; width: 170px; height: 1px; background: rgba(238, 220, 176, .2); margin-top: 8px; overflow: hidden; }
.preloader__line span { position: absolute; inset: 0; background: var(--gold-lt); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   Cursor (fine pointers only, enabled by JS)
   ========================================================================== */
.cursor { display: none; }
.has-cursor .cursor {
  position: fixed; left: 0; top: 0; z-index: 140; pointer-events: none;
  display: grid; place-items: center;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--gold-lt);
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .4s;
}
.has-cursor .cursor.is-label {
  width: 96px; height: 96px; margin: -48px 0 0 -48px;
  background: rgba(221, 187, 116, .92); backdrop-filter: blur(4px);
}
.cursor__label {
  font-family: var(--f-caps); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  color: var(--wine); opacity: 0; transition: opacity .15s;
}
/* label only fades in once the circle has grown, so it never spills outside it */
.cursor.is-label .cursor__label { opacity: 1; transition: opacity .3s .25s; }
.cursor.is-hidden { opacity: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--pad);
  color: var(--ivory);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease), box-shadow .5s;
}
.site-header.is-solid {
  background: rgba(251, 246, 238, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 12px; padding-block: 2px; } /* keeps the logo link at a 44px tap target */
.brand__badge {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--blush);
  box-shadow: inset 0 0 0 1px rgba(184, 137, 59, .35);
}
.brand__badge .brand-mark { --h: 31px; }
.brand__badge--lg { width: 76px; height: 76px; }
.brand__badge--lg .brand-mark { --h: 52px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.brand__name { font-family: var(--f-caps); font-size: 1.18rem; letter-spacing: .1em; text-transform: uppercase; }
.brand__tag { font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; opacity: .72; margin-top: 3px; }

.nav ul { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav a {
  position: relative; display: inline-flex; align-items: center;
  font-family: var(--f-caps); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase;
  padding-block: 14px; /* 44px tap target; the underline stays on the text */
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.icon-link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; opacity: .85; transition: opacity .3s, background-color .3s; }
.icon-link:hover { opacity: 1; }
.icon-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.icon-link svg .fill { fill: currentColor; stroke: none; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }
.menu-open .site-header { color: var(--ivory); background: transparent; box-shadow: none; backdrop-filter: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--pad) 40px;
  background: var(--wine); color: var(--ivory);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { display: grid; gap: 6px; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 16px; font-family: var(--f-display); font-size: clamp(2.4rem, 9vw, 3.4rem); line-height: 1.2; }
.mobile-menu small { font-family: var(--f-caps); font-size: .72rem; letter-spacing: .2em; color: var(--gold-lt); }
.mobile-menu__foot { display: grid; gap: 4px; justify-items: start; font-family: var(--f-caps); letter-spacing: .12em; color: var(--gold-pale); }
.mobile-menu__foot a:not(.btn) { padding: 10px 0; } /* 44px tap target */
.mobile-menu__foot .btn { justify-self: start; margin-bottom: 18px; color: var(--wine); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 600px) {
  :root { --header-h: 70px; }
  .header__actions .btn, .header__actions .icon-link { display: none; }
  .brand__badge { width: 40px; height: 40px; }
  .brand__badge .brand-mark { --h: 27px; }
  .brand__name { font-size: 1rem; }
}
/* On a 320px screen the brand's nowrap text was 258px wide and pushed the
   burger off the edge. Tighten the wordmark rather than hiding the 916 tag. */
@media (max-width: 390px) {
  .site-header { gap: 10px; }
  .brand { gap: 9px; }
  .brand__name { font-size: .92rem; letter-spacing: .05em; }
  .brand__tag { font-size: .52rem; letter-spacing: .14em; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  --arch-w: min(30vw, calc((100svh - 220px) * .66), 470px);
  position: relative;
  height: 100svh; min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 50% 45%, rgba(122, 35, 52, .55), transparent 70%),
    radial-gradient(ellipse at 50% 120%, #3a0d18, transparent 60%),
    var(--wine);
  color: var(--ivory);
}
.hero__sparkle { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

.hero__stage {
  position: absolute; left: 0; right: 0; top: var(--header-h); bottom: 124px; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  gap: calc(var(--arch-w) + 6vw);
  padding-inline: var(--pad);
}
.hero__word {
  flex: 1 1 0; min-width: 0;
  font-family: var(--f-display); font-weight: 300;
  font-size: min(9rem, calc((100vw - var(--arch-w)) / 9.6));
  line-height: 1; letter-spacing: -.02em;
  white-space: nowrap;
}
.hero__word > span { display: inline-block; }
.hero__word--l { text-align: right; }
.hero__word--r { text-align: left; font-style: italic; color: var(--gold-lt); }

.hero__arch {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: var(--arch-w); height: calc(var(--arch-w) * 1.5);
  z-index: 1;
}
.hero__arch-line {
  position: absolute; inset: -14px; border: 1px solid rgba(221, 187, 116, .55);
  border-radius: 999px 999px 0 0; border-bottom: 0; pointer-events: none;
}
.hero__arch-frame {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: #1a0509;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.hero__slides { position: absolute; inset: 0; isolation: isolate; }
.hero__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__slides picture:not(:first-child) img { clip-path: inset(100% 0 0 0); }
.hero__veil { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(29, 6, 11, .62), rgba(29, 6, 11, .9)); opacity: 0; }
.hero__reveal {
  position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; z-index: 2;
  text-align: center; font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 6.4rem); line-height: 1.02; color: var(--ivory);
  opacity: 0; padding-inline: var(--pad);
}
.hero__reveal em { color: var(--gold-lt); }

.hero__eyebrow {
  position: absolute; left: 50%; bottom: 44px; translate: -50% 0; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-caps); font-size: .74rem; letter-spacing: .36em; text-transform: uppercase; color: var(--gold-pale);
  white-space: nowrap;
}
.hero__eyebrow i { width: 5px; height: 5px; background: var(--saffron); transform: rotate(45deg); }

.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 32px; z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding-inline: var(--pad);
  pointer-events: none;
}
.hero__foot > * { pointer-events: auto; }
.hero__lede { max-width: min(360px, calc(50vw - var(--arch-w) / 2 - var(--pad) - 40px)); font-size: .95rem; line-height: 1.6; color: rgba(251, 246, 238, .78); }
.hero__lede strong { font-weight: 400; color: var(--ivory); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; max-width: calc(50vw - var(--arch-w) / 2 - var(--pad) - 30px); }

.hero__cta .btn { padding-inline: 22px; }
@media (max-width: 1320px) and (min-width: 900px) {
  .hero__cta .btn--ghost-light { display: none; }
}

@media (max-width: 899px) {
  .hero {
    --arch-w: min(60vw, 30svh, 340px);
    height: auto; min-height: 100svh;
    display: flex; flex-direction: column; align-items: center;
    padding: calc(var(--header-h) + 18px) var(--pad) 30px;
  }
  .hero__eyebrow { position: static; translate: none; order: 0; font-size: .7rem; letter-spacing: .22em; gap: 10px; margin-bottom: 18px; }
  .hero__stage {
    position: relative; inset: auto; flex: 1; width: 100%;
    flex-direction: column; gap: 14px; padding: 0;
  }
  .hero__word { flex: none; font-size: clamp(3rem, 15vw, 5.2rem); text-align: center; }
  .hero__arch { position: relative; left: auto; top: auto; translate: none; margin: 10px 0; }
  .hero__foot { position: static; flex-direction: column; align-items: center; text-align: center; margin-top: 22px; gap: 20px; }
  .hero__lede, .hero__cta { max-width: 420px; justify-content: center; }
}
@media (max-width: 600px) {
  .hero__cta .btn--ghost-light { display: none; }
}

/* ==========================================================================
   Story
   ========================================================================== */
.story { padding-block: clamp(96px, 13vw, 190px) clamp(80px, 10vw, 150px); position: relative; }
.story__statement {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2rem, 4.3vw, 4.25rem); line-height: 1.12; letter-spacing: -.01em;
  color: var(--wine); max-width: 17em;
}
.story__statement em { color: #8A5A1E; }

.story__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 8vw, 130px); align-items: center;
  margin-top: clamp(64px, 8vw, 120px);
}
.story__figure figcaption {
  margin-top: 16px; font-family: var(--f-caps); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.arch-img {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: var(--sand);
}
.arch-img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }

.story__copy .lead { font-family: var(--f-display); font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.45; color: var(--wine); margin-bottom: 22px; }
.story__copy > p:not(.lead) { color: var(--muted); max-width: 54ch; }

.metals { margin-top: 44px; border-top: 1px solid var(--line); }
.metals li { display: flex; align-items: center; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.metals h3 { font-family: var(--f-caps); font-weight: 400; font-size: 1.05rem; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); }
.metals p { font-size: .95rem; color: var(--muted); }
.metals__swatch { width: 46px; height: 46px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 6px 18px -8px rgba(0, 0, 0, .35); }
.metals__swatch--gold { background: conic-gradient(from 200deg, #9C6B22, #F3D58C, #B8893B, #FFE9A8, #9C6B22); }
.metals__swatch--silver { background: conic-gradient(from 200deg, #8C8C8C, #F4F4F4, #B3B3B3, #FFFFFF, #8C8C8C); }
.metals__swatch--diamond { background: conic-gradient(from 45deg, #E9F4FF, #FFFFFF, #CFE3F5, #FFFFFF, #E1D7F4, #FFFFFF, #E9F4FF); }

@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__figure { max-width: 440px; }
}

/* ==========================================================================
   Collections
   ========================================================================== */
.collections { background: var(--sand); position: relative; }
.collections__pin {
  --card-w: clamp(230px, min(24vw, calc((100svh - 450px) * .75)), 380px);
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: calc(var(--header-h) + 10px) 40px;
  overflow: hidden;
}
.collections__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  margin-bottom: clamp(28px, 4vh, 52px);
}
.collections__head .h2 { max-width: 12em; font-size: clamp(2.3rem, 4.2vw, 4rem); }
.collections__note { max-width: 36ch; color: var(--muted); font-size: .95rem; }

/* Natively scrollable by default (mobile, reduced motion, no JS);
   main.js adds .is-pinned when the horizontal scroll scene takes over. */
.collections__track {
  display: flex; gap: clamp(20px, 2.4vw, 36px);
  padding-inline: var(--pad); padding-bottom: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  scrollbar-width: thin; scrollbar-color: rgba(106, 54, 33, .35) transparent;
}
.collections.is-pinned .collections__track { width: max-content; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
.col-card { scroll-snap-align: start; }
.col-card { width: var(--card-w); flex: none; }
.col-card__media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0;
  background: var(--ivory);
}
.col-card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform 1.4s var(--ease);
}
.col-card__media:hover img { transform: scale(1.14); }
.col-card__media::after {
  content: "Enquire ↗"; position: absolute; left: 50%; bottom: 18px; translate: -50% 12px;
  padding: 8px 16px; background: var(--ivory); color: var(--wine);
  font-family: var(--f-caps); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; transition: opacity .4s, translate .5s var(--ease);
}
.col-card__media:hover::after, .col-card__media:focus-visible::after { opacity: 1; translate: -50% 0; }
.col-card__meta { position: relative; padding-top: 18px; }
.col-card__num { font-family: var(--f-caps); font-size: .72rem; letter-spacing: .2em; color: var(--gold); }
.col-card__meta h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 2vw, 1.9rem); color: var(--wine); line-height: 1.2; margin-top: 2px; }
.col-card__meta p { font-size: .92rem; color: var(--muted); }

.col-card--end { align-self: stretch; }
.col-card__end {
  height: 100%; min-height: calc(var(--card-w) * 4 / 3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px;
  padding: 40px 28px;
  border: 1px solid rgba(184, 137, 59, .45); border-radius: 999px 999px 0 0;
  background: var(--ivory);
}
.col-card__end h3 { font-family: var(--f-display); font-weight: 400; font-size: 2.2rem; color: var(--wine); line-height: 1.1; }
.col-card__end p { color: var(--muted); font-size: .95rem; margin-bottom: 10px; }

.collections__progress { display: none; position: relative; height: 1px; margin: 28px var(--pad) 0; background: var(--line); }
.collections.is-pinned .collections__progress { display: block; }
.collections__progress span { position: absolute; inset: 0; background: var(--brown); transform: scaleX(0); transform-origin: left; }

/* Pinned (desktop): the whole scene must fit one screen, or names and headings get
   cut off while it's pinned. main.js moves the heading into the track as its first
   column, and cards are sized from the viewport height (~210px covers the top/bottom
   padding, the card text and the progress bar). */
.collections.is-pinned .collections__pin {
  --card-w: clamp(180px, min(24vw, calc((100svh - var(--header-h) - 210px) * .75)), 400px);
  height: 100svh; min-height: 0;
  padding-block: calc(var(--header-h) + 4px) 24px;
}
.collections.is-pinned .collections__track { align-items: center; }
.collections.is-pinned .collections__head {
  flex: none; width: clamp(300px, 30vw, 470px); max-width: none;
  margin: 0; padding: 0 3vw 0 0;
  flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px;
}
.collections.is-pinned .collections__head .eyebrow { margin-bottom: -6px; }
.collections.is-pinned .collections__head .h2 { max-width: none; font-size: clamp(2.2rem, 3.4vw, 3.7rem); }
@media (max-height: 560px) {
  .collections.is-pinned .col-card__meta p { display: none; }
}

@media (max-width: 899px) {
  .collections__pin { --card-w: 74vw; min-height: 0; padding-block: 96px 64px; }
  .collections__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .collections__track { scrollbar-width: none; }
  .collections__track::-webkit-scrollbar { display: none; }
}

/* ==========================================================================
   Heritage chapters
   ========================================================================== */
.heritage {
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(122, 35, 52, .45), transparent 70%),
    var(--wine);
  color: var(--ivory);
  padding-block: clamp(80px, 10vw, 140px);
}
.heritage__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); }
.heritage__visual {
  position: sticky; top: calc(var(--header-h) + 4vh);
  height: calc(100svh - var(--header-h) - 8vh);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
}
.heritage__frame {
  position: relative; width: min(100%, calc((100svh - var(--header-h) - 8vh - 60px) * .72)); aspect-ratio: 3 / 4.15;
  border-radius: 999px 999px 0 0; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(221, 187, 116, .4), 0 0 0 14px var(--wine), 0 0 0 15px rgba(221, 187, 116, .28);
}
.heritage__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heritage__frame picture:not(:first-child) img { clip-path: inset(100% 0 0 0); }
.heritage__counter { font-family: var(--f-caps); letter-spacing: .24em; font-size: .78rem; color: var(--gold-pale); }
.heritage__current { color: var(--gold-lt); display: inline-block; min-width: 2ch; }

.chapter {
  min-height: 78svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 40px;
  border-top: 1px solid var(--line-light);
}
.heritage__chapters > .eyebrow { margin-bottom: 0; }
.chapter__img { display: none; }
.chapter__num { font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: 1.6rem; color: var(--gold-lt); }
.chapter__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.8rem, 5.4vw, 5.2rem); line-height: 1; margin-top: 6px; }
.chapter__title em { color: var(--gold-lt); }
.chapter__sub { font-family: var(--f-caps); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-pale); margin: 18px 0 22px; }
.chapter p:last-child { color: rgba(251, 246, 238, .72); max-width: 46ch; }

@media (max-width: 899px) {
  .heritage__grid { grid-template-columns: 1fr; }
  .heritage__visual { display: none; }
  .chapter { min-height: 0; padding-block: 48px; }
  /* height:auto is required — the width/height attributes would otherwise set a
     definite height and cancel the aspect-ratio, stretching these to 1333px tall. */
  .chapter__img { display: block; width: 100%; max-width: 420px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; margin-bottom: 28px; }
}

/* ==========================================================================
   Verse
   ========================================================================== */
.verse {
  position: relative; overflow: hidden;
  min-height: 115svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 140px var(--pad);
  text-align: center;
}
.verse__text {
  position: relative; z-index: 2;
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2.3rem, 5.6vw, 5.6rem); line-height: 1.12; letter-spacing: -.01em;
  color: var(--wine);
}
.verse__text em { color: #8A5A1E; }
.verse__sign { position: relative; z-index: 2; margin-top: 36px; font-family: var(--f-caps); font-size: .76rem; letter-spacing: .3em; text-transform: uppercase; color: var(--brown); }

.verse__floats { position: absolute; inset: 0; pointer-events: none; }
.float {
  position: absolute; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 999px 999px 0 0;
  box-shadow: 0 30px 60px -25px rgba(43, 10, 18, .45);
}
/* zoom past the frames baked into the product photos */
.float img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.45); }
/* real, uncropped photos don't need the zoom that hides old product shots' baked-in frames */
.float--photo img { transform: scale(1.06); }
.f1 { width: clamp(110px, 13vw, 210px); left: 6%; top: 10%; }
.f2 { width: clamp(100px, 11vw, 180px); right: 8%; top: 14%; }
.f3 { width: clamp(90px, 10vw, 160px); left: 12%; bottom: 8%; }
.f4 { width: clamp(110px, 12vw, 200px); right: 5%; bottom: 10%; }
.star { position: absolute; fill: var(--gold); opacity: .8; }
.s1 { width: 26px; left: 28%; top: 20%; }
.s2 { width: 18px; right: 26%; bottom: 22%; }
.s3 { width: 34px; right: 22%; top: 30%; fill: var(--saffron); opacity: .55; }

@media (max-width: 700px) {
  .verse { min-height: 0; padding-block: 200px; }
  .f1 { left: -4%; top: 3%; } .f2 { right: -3%; top: 6%; } .f3 { left: 2%; bottom: 3%; } .f4 { right: -4%; bottom: 4%; }
}

/* ==========================================================================
   Instagram reels
   ========================================================================== */
.reels {
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(122, 35, 52, .5), transparent 70%),
    var(--wine-deep);
  color: var(--ivory);
  padding-block: clamp(90px, 10vw, 140px);
  overflow: hidden;
}
.reels__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.reels__side { max-width: 420px; }
.reels__side p { color: rgba(251, 246, 238, .7); margin-bottom: 22px; }
.reels__buttons { display: flex; gap: 12px; align-items: center; }
.reels__toggle {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid rgba(238, 220, 176, .45); color: var(--gold-pale);
  transition: background-color .3s, color .3s;
}
.reels__toggle:hover { background: var(--gold-pale); color: var(--wine); }
.reels__toggle svg { width: 18px; height: 18px; fill: currentColor; }
.reels__toggle .i-play { display: none; }
.reels__toggle[aria-pressed="true"] .i-play { display: block; }
.reels__toggle[aria-pressed="true"] .i-pause { display: none; }

.reels__viewport { position: relative; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.reels__viewport.is-dragging { cursor: grabbing; }
.reels__viewport::before, .reels__viewport::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 8vw; z-index: 2; pointer-events: none;
}
.reels__viewport::before { left: 0; background: linear-gradient(90deg, var(--wine-deep), transparent); }
.reels__viewport::after { right: 0; background: linear-gradient(-90deg, var(--wine-deep), transparent); }

.reels__track {
  display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content; padding-block: 10px; will-change: transform;
  min-height: calc(clamp(180px, 17vw, 260px) * 16 / 9 + 20px); /* reserve height before the feed arrives */
}
.reel-card {
  position: relative; flex: none;
  width: clamp(180px, 17vw, 260px); aspect-ratio: 9 / 16;
  border-radius: 20px; overflow: hidden;
  background: #2a0f16;
  box-shadow: 0 0 0 1px rgba(221, 187, 116, .22), 0 30px 50px -30px rgba(0, 0, 0, .8);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.reel-card:hover { transform: translateY(-8px); box-shadow: 0 0 0 1px rgba(221, 187, 116, .6), 0 40px 60px -30px rgba(0, 0, 0, .9); }
.reel-card button { position: absolute; inset: 0; width: 100%; z-index: 3; }
.reel-card img, .reel-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.reel-card--poster img { animation: kenburns 14s ease-in-out infinite alternate; }
.reel-card:nth-child(3n+2) img { animation-delay: -5s; }
.reel-card:nth-child(3n) img { animation-delay: -9s; }
@keyframes kenburns {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.22) translate(-3%, -4%); }
}
.reel-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 22%, transparent 55%, rgba(20, 4, 8, .85)); pointer-events: none; }
.reel-card__icon { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; z-index: 2; }
.reel-card__meta { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; pointer-events: none; }
.reel-card__caption {
  font-size: .82rem; line-height: 1.45; color: rgba(255, 255, 255, .9);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.reel-card__play {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font-family: var(--f-caps); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-pale);
}
.reel-card__play::before {
  content: ""; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(251, 246, 238, .95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%232B0A12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.reels__noscript { text-align: center; padding: 30px; }
.reels__noscript a { color: var(--gold-lt); border-bottom: 1px solid; }

@media (max-width: 760px) {
  .reels__head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .reel-card { width: 46vw; }
  .reels__track { min-height: calc(46vw * 16 / 9 + 20px); }
}

/* Reel modal */
.reel-modal {
  --modal-w: min(400px, 92vw);
  width: var(--modal-w); max-height: 94svh; padding: 0; border: 0; background: transparent; overflow: visible;
  color: var(--ivory);
}
.reel-modal::backdrop { background: rgba(20, 4, 8, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.reel-modal[open] { animation: modal-in .5s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.reel-modal__body {
  position: relative; width: 100%; height: min(78svh, 740px);
  border-radius: 18px; overflow: hidden; background: #000;
}
.reel-modal__body video, .reel-modal__body iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
/* Instagram's embed = ~80px header + 4:5 video + ~65px "View more" row, then likes/comments.
   Show down to "View more" and clip the rest, so the frame never needs its own scrollbars. */
.reel-modal__body--embed { height: min(88svh, calc((var(--modal-w) - 2px) * 1.25 + 150px)); background: #fff; }
.reel-modal__body--embed iframe { height: 1400px; }
.reel-modal__body video { object-fit: contain; background: #000; }
.reel-modal__close {
  position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(238, 220, 176, .5);
}
.reel-modal__close svg { width: 18px; height: 18px; stroke: var(--gold-pale); stroke-width: 1.6; }
.reel-modal__link { display: block; text-align: center; margin-top: 14px; font-family: var(--f-caps); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-pale); }

/* ==========================================================================
   Promise
   ========================================================================== */
.promise { padding-block: clamp(96px, 11vw, 160px); }
.promise__head { text-align: center; margin-bottom: clamp(56px, 7vw, 90px); }
.promise__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.pillar { text-align: center; padding: 40px 12px 0; border-top: 1px solid var(--line); }
.pillar__icon { width: 72px; height: 72px; margin: 0 auto 26px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-family: var(--f-display); font-weight: 400; font-size: 2.2rem; color: var(--wine); line-height: 1.1; margin-bottom: 12px; }
.pillar p { color: var(--muted); max-width: 32ch; margin-inline: auto; }

@media (max-width: 800px) {
  .promise__grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ==========================================================================
   Visit
   ========================================================================== */
.visit { background: var(--sand); padding-block: clamp(90px, 10vw, 150px); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.visit__lede { color: var(--muted); max-width: 46ch; margin-top: 22px; }
.visit__details { display: grid; gap: 22px; margin: 38px 0 40px; }
.visit__details div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.visit__details dt { font-family: var(--f-caps); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.visit__details dd { color: var(--ink); }
/* Phone and email are the most important taps on the page — give them a real
   44px target. Padding does that without changing how the text looks, and the
   underline is text-decoration so it still hugs the words. */
.visit__details dd.is-stack { display: grid; gap: 6px; justify-items: start; }
.visit__details a {
  display: inline-block; padding: 9px 0;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px;
  transition: text-decoration-color .3s;
}
.visit__details a:hover { text-decoration-color: currentColor; }
.visit__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.visit__map-frame {
  position: relative; aspect-ratio: 4 / 5; max-height: 640px; width: 100%;
  border-radius: 999px 999px 0 0; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(184, 137, 59, .5), 0 0 0 12px var(--sand), 0 0 0 13px rgba(184, 137, 59, .3);
  background: var(--ivory);
}
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.2) saturate(.9); }

@media (max-width: 860px) {
  .visit__grid { grid-template-columns: 1fr; }
  .visit__map-frame { aspect-ratio: 1; max-width: 520px; margin-inline: auto; }
  .visit__details div { grid-template-columns: 1fr; gap: 4px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--wine); color: rgba(251, 246, 238, .75); padding-top: clamp(70px, 8vw, 110px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer__brand p { margin-top: 20px; max-width: 30ch; font-family: var(--f-display); font-size: 1.3rem; line-height: 1.45; color: var(--ivory); }
.footer__col { display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.footer__col h3 { font-family: var(--f-caps); font-weight: 400; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 8px; }
.footer__col a { width: fit-content; padding: 9px 0; transition: color .3s; }
.footer__col a:hover { color: var(--gold-lt); }
.footer__word {
  font-family: var(--f-caps); text-transform: uppercase; white-space: nowrap; text-align: center;
  font-size: clamp(3rem, 12.4vw, 13.5rem); line-height: 1; letter-spacing: .02em;
  margin: clamp(40px, 6vw, 70px) 0 clamp(20px, 3vw, 30px);
  background: linear-gradient(180deg, #F3D58C, #B8893B 70%, #7d5a22);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__word .char { display: inline-block; background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding: 22px 0 30px; border-top: 1px solid var(--line-light); font-size: .82rem; letter-spacing: .04em;
}
.footer__bottom > span:last-child { justify-self: end; }

.footer__credit {
  padding: 0 0 30px; text-align: center;
  font-size: .78rem; letter-spacing: .04em; color: rgba(251, 246, 238, .55);
}
.footer__credit a {
  color: var(--gold-lt);
  border-bottom: 1px solid rgba(221, 187, 116, .35);
  padding: 11px 2px; /* keeps the tap area at 44px without moving the text */
  transition: color .3s, border-color .3s;
}
.footer__credit a:hover { color: var(--gold-pale); border-bottom-color: currentColor; }

@media (max-width: 600px) {
  .footer__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__bottom .to-top { order: -1; }
  .footer__bottom > span:last-child { justify-self: center; }
}

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* WhatsApp */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  transform: scale(0); transition: transform .5s var(--ease);
}
/* ---------- Purity seal ---------- */
.purity-seal {
  position: fixed; right: 22px; bottom: 92px; z-index: 69;
  width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-content: center; gap: 4px; text-align: center;
  color: #4a2f08;
  background: radial-gradient(circle at 32% 26%, #fff3c4 0%, #eac86f 24%, #c2913f 62%, #86601f 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 236, 180, .4), 0 12px 26px -10px rgba(0, 0, 0, .55);
  pointer-events: none; /* informational only — never blocks a tap */
  transform: scale(0) rotate(-12deg);
  transition: transform .55s var(--ease);
}
.purity-seal.is-visible { transform: scale(1) rotate(-6deg); }
.purity-seal::before {
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  border: 1px dashed rgba(74, 47, 8, .45);
}
.purity-seal__label {
  font-family: var(--f-caps); font-size: .5rem; letter-spacing: .16em; text-transform: uppercase;
  opacity: .85;
}
.purity-seal__list { display: grid; gap: 1px; }
.purity-seal__list li {
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
  line-height: 1.15;
}
.purity-seal__list b { font-family: var(--f-caps); font-weight: 400; font-size: .92rem; letter-spacing: .02em; }
.purity-seal__list span { font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
@media (max-width: 600px) {
  /* smaller on phones — it floats over the copy, so it has to stay modest */
  .purity-seal { width: 82px; height: 82px; right: 14px; bottom: 86px; gap: 2px; }
  .purity-seal::before { inset: 5px; }
  .purity-seal__label { font-size: .4rem; letter-spacing: .1em; }
  .purity-seal__list b { font-size: .72rem; }
  .purity-seal__list span { font-size: .44rem; }
}
@media (prefers-reduced-motion: reduce) {
  .purity-seal { transform: scale(1) rotate(-6deg); }
}

.whatsapp-fab.is-visible { transform: scale(1); }
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 30px; height: 30px; fill: currentColor; }
.no-js .whatsapp-fab { transform: scale(1); }

/* ==========================================================================
   Reviews — "a necklace of kind words"
   ========================================================================== */
.stars {
  --size: 20px;
  display: inline-block; width: calc(var(--size) * 5); height: var(--size);
  background: linear-gradient(90deg, var(--gold-lt) calc(var(--rating, 5) / 5 * 100%), rgba(255, 255, 255, .18) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") left / var(--size) var(--size) repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") left / var(--size) var(--size) repeat-x;
}
.stars--sm { --size: 16px; background: linear-gradient(90deg, #C4912F calc(var(--rating, 5) / 5 * 100%), rgba(106, 54, 33, .18) 0); }

.reviews {
  position: relative; overflow: hidden; color: var(--ivory);
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(122, 35, 52, .55), transparent 70%),
    var(--wine-deep);
  padding-block: clamp(90px, 10vw, 140px) clamp(70px, 8vw, 110px);
}
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.score { display: flex; align-items: center; gap: 22px; }
.score__num { font-family: var(--f-display); font-weight: 300; font-size: clamp(4.4rem, 8vw, 7rem); line-height: .85; color: var(--gold-lt); }
.score__side { display: grid; gap: 8px; justify-items: start; }
.score__count { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: rgba(251, 246, 238, .75); }
.g-logo { width: 18px; height: 18px; }
.score__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.necklace {
  --pw: clamp(232px, 19vw, 280px);
  position: relative; height: 560px; /* set exactly by reviews.js from the tallest pendant */
  margin-top: clamp(10px, 2vw, 30px);
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.necklace.is-dragging { cursor: grabbing; }
.necklace__chain { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.necklace__chain path { fill: none; stroke-linecap: round; }
.necklace__chain-shadow { stroke: rgba(0, 0, 0, .35); stroke-width: 5; transform: translateY(6px); }
.necklace__chain-links { stroke: #d6ae5a; stroke-width: 4.5; stroke-dasharray: 11 13; }
.necklace__chain-links--b { stroke: #f4dc98; stroke-width: 1.8; }

.necklace__pendants { position: absolute; inset: 0; }
.pendant { position: absolute; left: 0; top: 0; width: var(--pw); transform-origin: 50% 0; will-change: transform; visibility: hidden; }
.reviews.is-ready .pendant { visibility: visible; }
.pendant__bail {
  display: block; width: 16px; height: 22px; margin: -6px auto 0;
  border: 3px solid #e3c071; border-radius: 50% 50% 45% 45%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .45);
}
.pendant__card {
  position: relative; margin-top: -3px;
  padding: 62px 24px 24px; text-align: center; color: var(--wine);
  background: linear-gradient(180deg, #fffaf1, #f4e8d2);
  border: 2px solid #d4ad5c; border-radius: 999px 999px 18px 18px;
  box-shadow: inset 0 0 0 6px #fffaf1, inset 0 0 0 7px rgba(184, 137, 59, .5), 0 34px 50px -26px rgba(0, 0, 0, .85);
}
/* a small ruby set into the top of every pendant */
.pendant__card::before {
  content: ""; position: absolute; top: 24px; left: 50%; width: 14px; height: 14px; translate: -50% 0; rotate: 45deg;
  background: radial-gradient(circle at 30% 30%, #ff9aa5, #b3122f 58%, #5c0716);
  box-shadow: 0 0 0 2px #e3c071, 0 2px 6px rgba(92, 7, 22, .5);
}
.pendant__text {
  margin: 14px 0 18px; font-family: var(--f-display); font-size: 1.12rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.pendant__by { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: left; font-size: .82rem; line-height: 1.35; }
.pendant__by img, .pendant__initial { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.pendant__initial { display: grid; place-items: center; background: var(--maroon); color: var(--ivory); font-family: var(--f-caps); }
.pendant__by b { display: block; font-weight: 500; color: var(--wine); }
.pendant__by small { color: var(--muted); }
.pendant__more {
  display: inline-block; margin-top: 14px;
  font-family: var(--f-caps); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brown); border-bottom: 1px solid rgba(106, 54, 33, .35);
}
.pendant__icon { width: 42px; height: 42px; margin: 6px auto 12px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pendant__title { font-family: var(--f-display); font-weight: 500; font-size: 1.55rem; line-height: 1.15; color: var(--wine); }
.pendant--theme .pendant__text { font-family: var(--f-body); font-size: .92rem; line-height: 1.6; color: var(--muted); -webkit-line-clamp: 4; margin: 10px 0 14px; }
.pendant__tag { font-family: var(--f-caps); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

.necklace__controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.necklace__caption { color: rgba(251, 246, 238, .6); font-size: .9rem; max-width: 52ch; }
.necklace__buttons { display: flex; gap: 10px; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid rgba(238, 220, 176, .45); color: var(--gold-pale);
  transition: background-color .3s, color .3s;
}
.round-btn:hover { background: var(--gold-pale); color: var(--wine); }
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 860px) {
  .reviews__head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .score { gap: 16px; }
}
@media (max-width: 600px) {
  .necklace { --pw: 236px; }
  .pendant__text { font-size: 1.05rem; -webkit-line-clamp: 7; }
  .necklace__controls { flex-direction: column-reverse; align-items: flex-start; }
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.to-top {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--gold-pale); font-family: var(--f-caps); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase;
}
.to-top__ring {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  border: 1px solid rgba(221, 187, 116, .55);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s, transform .5s var(--ease);
}
.to-top__ring svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover .to-top__ring, .to-top:focus-visible .to-top__ring { background: var(--gold-lt); border-color: var(--gold-lt); color: var(--wine); transform: translateY(-4px); }
.to-top:hover svg { animation: arrow-up .7s var(--ease); }
@keyframes arrow-up {
  45% { transform: translateY(-160%); }
  46% { transform: translateY(160%); }
  100% { transform: translateY(0); }
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
