/* ==========================================================================
   CrystalSora 3D — "editorial" build
   Layout + visual language modelled on thenightsky.com:
   dark cinematic hero, centred serif headlines, pill buttons, 13px UI type,
   horizontal snapping carousels, airy section rhythm, 1000px footer rail.

   Contents
     1.  Tokens
     2.  Reset & base type
     3.  Layout primitives (container, section, eyebrow, rails)
     4.  Buttons, chips, stars, links
     5.  Header / nav / drawers
     6.  Hero
     7.  Ticker + quote marquee
     8.  Configurator — "Capture Your Moment"
     9.  Trust strip
     10. Carousel engine + product cards
     11. Reviews carousel
     12. Editorial split
     13. Steps
     14. Occasions
     15. Feature (Atelier collection)
     16. Quality cards
     17. Craft / conscience
     18. Social grid
     19. Promise + sign-up
     20. Footer
     21. Overlays (cart drawer, search, toast, lightbox)
     22. Product page
     23. Content pages
     24. Motion & reveal
     25. Responsive
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
  /* ink + surfaces -------------------------------------------------------
     Sampled directly off crystalclearmemories.com: #fafafa page, #ffffff
     surfaces, #404041 body copy, #323234 headings and a #3f3f3f dark band
     for the footer / ticker / feature sections. */
  --page:        #fafafa;
  --ink:         #404041;
  --ink-2:       #4f4f50;
  --ink-soft:    #727274;
  --ink-faint:   #a5a5a6;
  --heading:     #323234;
  --deep:        #3f3f3f;
  --deep-2:      #383838;
  --deep-3:      #4a4a4a;
  --paper:       #ffffff;
  --paper-soft:  #f5f5f5;
  --paper-warm:  #fafafa;
  --line:        #e6e6e6;
  --line-mid:    #d9d9d9;
  --line-dark:   rgba(255, 255, 255, 0.16);

  /* accent — sampled from crystalclearmemories.com ------------------------
     #c945c7 magenta and #2e75c1 blue form its gradient, #c94ddc is the
     primary button, #b15db0 the price / link purple, #f4e9f9 the lavender
     tint it uses behind panels. */
  --brand-1:     #c945c7;
  --brand-2:     #2e75c1;
  --brand:       #c94ddc;
  --brand-deep:  #b15db0;
  --brand-soft:  #f4e9f9;
  --brand-line:  #e8d3ee;
  --grad-brand:      linear-gradient(90deg, #c945c7 0%, #2e75c1 100%);
  --grad-brand-soft: linear-gradient(90deg, #f0a4ee 0%, #8ec6f6 100%);

  /* legacy aliases — every existing rule now resolves to the purple system */
  --ice:         #f0a4ee;
  --ice-2:       var(--brand);
  --ice-deep:    var(--brand-deep);
  --ice-soft:    var(--brand-soft);
  --violet:      var(--brand-2);
  --gold:        #c9a227;
  --success:     #2e9e6b;
  --danger:      #c0473f;

  /* type ----------------------------------------------------------------- */
  /* Type stack copied from crystalclearmemories.com: Montserrat for headings,
     buttons and labels, Plus Jakarta Sans for body copy and prices, Caveat for
     handwritten accents. All three are bundled locally (see assets/fonts). */
  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                  'Helvetica Neue', Arial, sans-serif;
  --font-sans:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                  'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', sans-serif;
  --font-script:  'Caveat', 'Snell Roundhand', 'Brush Script MT', cursive;
  --font-serif:   var(--font-display);   /* legacy alias */

  /* geometry ------------------------------------------------------------- */
  --rail:        1500px;   /* header rail            */
  --rail-narrow: 1000px;   /* footer links rail      */
  --rail-wide:   1660px;   /* full-bleed content rail*/
  --gutter:      24px;
  --r-pill:      40px;
  --r-card:      6px;
  --r-soft:      14px;

  --shadow-xs:   0 1px 2px rgba(50, 50, 52, 0.05);
  --shadow-sm:   0 4px 14px rgba(50, 50, 52, 0.07);
  --shadow:      0 14px 40px rgba(50, 50, 52, 0.10);
  --shadow-lg:   0 30px 80px rgba(50, 50, 52, 0.18);

  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:         0.42s;

  --header-h:    74px;
  --announce-h:  41px;                                  /* real height is measured in JS */
  --header-total: calc(var(--header-h) + var(--announce-h));
}

/* 2. Reset & base type
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 0 0 12px;
  color: var(--heading);
}
h1 { font-size: 40px; font-weight: 500; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; font-weight: 600; }
p  { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ice-deep); }
img { max-width: 100%; display: block; border: 0; }
svg { display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; }
em { font-style: italic; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

::selection { background: rgba(201, 69, 199, 0.22); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }

/* Utility ---------------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--deep); color: #fff; padding: 10px 18px; border-radius: var(--r-pill);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* 3. Layout primitives
   ========================================================================== */
.wrap       { width: 100%; max-width: var(--rail-wide); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-rail  { width: 100%; max-width: var(--rail);      margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow{ width: 100%; max-width: var(--rail-narrow); margin: 0 auto; }
.wrap-text  { width: 100%; max-width: 760px; }

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--roomy { padding: 120px 0; }
.section--paper { background: var(--paper); }
.section--soft  { background: var(--paper-soft); }
.section--warm  { background: var(--paper-warm); }
.section--deep  { background: var(--deep); color: rgba(255, 255, 255, 0.82); }
.section--deep h1, .section--deep h2, .section--deep h3, .section--deep h4 { color: #fff; }
.section--deep a { color: #fff; }
.section--deep a:hover { color: var(--ice); }

/* section heading block -------------------------------------------------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0 0 14px;
}
.section--deep .eyebrow { color: #f0a4ee; }

.head-block { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.head-block h2 { font-size: 30px; font-weight: 600; margin-bottom: 10px; }
/* Section titles carry the reference's magenta -> blue gradient type. */
.head-block:not(.head-block--left) h2,
.cta-band h2,
.promise__head h2 {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--brand);
}
/* only the (now unused) dark band keeps the light gradient — the promise and
   CTA bands are light grounds, so they take the full-strength gradient */
.section--deep .head-block h2 {
  background: var(--grad-brand-soft);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.head-block p  { color: var(--ink-soft); font-size: 15px; line-height: 1.7; margin: 0; }
.head-block--left { text-align: left; margin-left: 0; }
.section--deep .head-block p { color: rgba(255, 255, 255, 0.66); }

.head-block--tight { margin-bottom: 28px; }

/* small caps rule used between sections ---------------------------------- */
.rule-label {
  display: flex; align-items: center; gap: 18px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 28px;
}
.rule-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* 4. Buttons, chips, stars
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  line-height: 1; text-align: center; cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--dark   { background: var(--brand); color: #fff; }
.btn--dark:hover { background: #b93fd0; color: #fff; box-shadow: 0 12px 30px rgba(201, 77, 220, 0.35); }

.btn--light  { background: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,0.28); }

.btn--outline { border-color: var(--brand-deep); color: var(--brand-deep); background: transparent; }
.btn--outline:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }

.btn--ghost-light { border-color: rgba(255,255,255,0.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--ice { background: var(--grad-brand); color: #fff; }
.btn--ice:hover { color: #fff; box-shadow: 0 12px 30px rgba(201, 69, 199, 0.38); }

.btn--sm { padding: 11px 22px; font-size: 12px; }
.btn--lg { padding: 19px 40px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.45; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: var(--r-pill);
  border: 1px solid var(--line-mid); background: #fff;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
}
.chip--deep { background: rgba(255,255,255,0.08); border-color: var(--line-dark); color: #fff; }
.chip--ice { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-deep); }

.stars { display: inline-flex; gap: 2px; color: #f0a92b; }
.stars svg { width: 13px; height: 13px; }
.stars--lg svg { width: 16px; height: 16px; }

.rating-line {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; color: var(--ink-soft);
}
.rating-line b { color: var(--ink); font-weight: 600; }
.section--deep .rating-line { color: rgba(255,255,255,0.7); }
.section--deep .rating-line b { color: #fff; }

/* 5. Header / nav
   ========================================================================== */
.header {
  position: fixed; left: 0; right: 0; top: var(--announce-h); z-index: 120;
  background: transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease), top 0.28s var(--ease);
  border-bottom: 1px solid transparent;
}
/* once the promo bar has scrolled past, the header takes the top edge */
.header.is-pinned { top: 0; }
.header__inner {
  max-width: var(--rail); margin: 0 auto; height: var(--header-h);
  padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.header.is-solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.header.is-solid .brand__name,
.header.is-solid .nav__link,
.header.is-solid .icon-btn { color: var(--ink); }
.header.is-solid .icon-btn { border-color: var(--line-mid); }
.header.is-solid .burger span { background: var(--ink); }

/* left */
.header__left { display: flex; align-items: center; gap: 10px; flex: 1 1 0; min-width: 0; }
.burger {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: background var(--dur) var(--ease);
}
.burger:hover { background: rgba(127, 127, 127, 0.14); }
.burger span {
  display: block; width: 17px; height: 1.4px; background: #fff; border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background var(--dur) var(--ease);
}
.header.is-open .burger span:nth-child(1) { transform: translateY(5.4px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-5.4px) rotate(-45deg); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  position: relative; color: #fff; font-size: 13px; font-weight: 400; letter-spacing: 0.01em;
  padding: 8px 0; transition: color var(--dur) var(--ease); white-space: nowrap;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current='page']::after { transform: scaleX(1); }

/* centre brand */
.header__center { display: flex; justify-content: center; flex: 0 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name {
  font-family: var(--font-serif); font-size: 20px; font-weight: 500; letter-spacing: 0.04em;
  color: #fff; line-height: 1; white-space: nowrap;
}
.brand__name small { display: block; font-family: var(--font-sans); font-size: 8.5px;
  letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.72; margin-top: 3px; font-weight: 400; }

/* right */
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: 1 1 0; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-btn:hover { background: rgba(127, 127, 127, 0.16); }
.icon-btn svg { width: 18px; height: 18px; }
.cart-btn { position: relative; }
.cart-btn__count {
  position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--brand); color: #fff;
  font-size: 10px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center;
  transform: scale(0); transition: transform 0.3s var(--ease);
}
.cart-btn__count.is-on { transform: scale(1); }
.header__cta { margin-left: 6px; }

/* mega menu + mobile drawer --------------------------------------------- */
.menu-scrim {
  position: fixed; inset: 0; background: rgba(35, 35, 35, 0.45); z-index: 110;
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur);
  backdrop-filter: blur(2px);
}
.menu-scrim.is-open { opacity: 1; visibility: visible; }

.mega {
  position: fixed; z-index: 130; top: 0; left: 0; height: 100%; width: min(460px, 92vw);
  background: var(--paper); transform: translateX(-102%);
  transition: transform 0.5s var(--ease);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.mega.is-open { transform: translateX(0); }
.mega__head {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; border-bottom: 1px solid var(--line); flex: none;
}
.mega__title { font-family: var(--font-serif); font-size: 18px; }
.mega__body { padding: 26px 24px 40px; overflow-y: auto; flex: 1; }
.mega__group { margin-bottom: 30px; }
.mega__group > h4 {
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px;
}
.mega__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-size: 18px; color: var(--ink);
  transition: padding-left var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mega__list a:hover { padding-left: 8px; color: var(--ice-deep); }
.mega__list small { font-family: var(--font-sans); font-size: 11px; color: var(--ink-faint); letter-spacing: 0.06em; }
.mega__list a.is-active { color: var(--ice-deep); }
.mega__foot { padding-top: 8px; font-size: 12px; color: var(--ink-soft); }

/* 6. Hero
   ========================================================================== */
.hero {
  position: relative; height: min(calc(100vh - var(--announce-h)), 760px); min-height: 520px;
  margin-top: 0; background: var(--deep); color: #fff; overflow: hidden;
  display: grid; place-items: center;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  animation: heroPan 14s var(--ease) both;
}
.hero__slide.is-active img { animation: heroPan 14s ease-out both; }
@keyframes heroPan { from { transform: scale(1.07); } to { transform: scale(1); } }

.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(35,35,35,0.72) 0%, rgba(35,35,35,0.30) 34%, rgba(35,35,35,0.46) 66%, rgba(35,35,35,0.80) 100%),
    radial-gradient(120% 80% at 50% 45%, rgba(35,35,35,0.05) 0%, rgba(35,35,35,0.55) 100%);
}
.hero__inner {
  position: relative; z-index: 3; text-align: center;
  width: 100%; max-width: 900px; padding: 96px 24px 84px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  height: 100%;
}
.hero h1 {
  color: #fff; font-size: clamp(32px, 3.7vw, 52px); font-weight: 500;
  line-height: 1.08; margin: 0 0 18px; max-width: 15ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero__sub {
  color: rgba(255, 255, 255, 0.88); font-size: 15px; font-weight: 300;
  max-width: 46ch; margin: 0 0 30px; line-height: 1.6;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.hero__trust {
  position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
}
.trustpilot {
  display: inline-flex; align-items: center; gap: 11px; color: #fff;
  background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 16px; border-radius: var(--r-pill); backdrop-filter: blur(8px);
}
.trustpilot__star { width: 17px; height: 17px; color: #f0a4ee; }
.trustpilot__meta { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.trustpilot__meta b { font-size: 12px; font-weight: 600; }
.trustpilot__meta span { font-size: 10.5px; color: rgba(255, 255, 255, 0.72); }
.trustpilot__score { font-family: var(--font-serif); font-size: 19px; font-weight: 500; }

.hero__dots {
  position: absolute; z-index: 4; bottom: 30px; right: 28px;
  display: flex; gap: 7px; align-items: center;
}
.hero__dot {
  width: 26px; height: 2px; background: rgba(255, 255, 255, 0.35); border-radius: 2px;
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
.hero__dot.is-active { background: #fff; width: 44px; }

/* 7. Ticker + quote marquee
   ========================================================================== */
/* The promo bar sits at the very top of the document, above the header — the
   reference site's announcement bar does the same. It scrolls away; the header
   is fixed and follows it down until the bar is gone. */
.ticker {
  background: radial-gradient(51.11% 204.44% at 48.89% 100%, #c945c7, #2e75c1);
  color: #fff;
  text-align: center; padding: 10px 16px; font-size: 12px; letter-spacing: 0.05em;
  border-top: 0;
}
.ticker b { color: #fff; font-weight: 700; }
.ticker__link { border-bottom: 1px solid rgba(255,255,255,0.4); }

/* 8. Configurator — "Capture Your Moment"
   ========================================================================== */
/* The configurator used to be a bordered card floating on a white section, which
   read as a widget dropped between full-width bands. It is now a plain tinted
   band like every other section: no border, no card, standard rhythm. */
.config { background: var(--paper-soft); }
.config__card {
  max-width: 1180px; margin: 0 auto;
  border: 0; border-radius: 0; box-shadow: none; background: none;
  padding: 0; text-align: center;
}
.config__card h2 { font-size: clamp(25px, 2.9vw, 33px); font-weight: 600; margin-bottom: 8px; }
.config__lede { color: var(--ink-soft); font-size: 16px; max-width: 56ch; margin: 0 auto 46px; }

.config__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px;
  text-align: left; margin-bottom: 34px;
}
.config__step { position: relative; }
.config__num {
  position: absolute; top: 14px; right: 16px;
  font-family: var(--font-serif); font-size: 30px; color: var(--line-mid); line-height: 1;
}
.field { display: block; }
.field__label {
  display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 9px;
}
.field__control,
.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field select,
.field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-mid); border-radius: 8px;
  background: #fff; font-size: 14px; color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7385' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(201, 77, 220, 0.16);
}
.field__hint { display: block; font-size: 11.5px; color: var(--ink-faint); margin-top: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.config__preview {
  margin-top: 12px; display: grid; grid-template-columns: 168px 1fr; gap: 22px;
  align-items: center; text-align: left;
  border: 1px dashed var(--line-mid); border-radius: 10px; padding: 18px; background: #fff;
}
.config__thumb {
  width: 168px; height: 168px; border-radius: 8px; overflow: hidden; background: var(--paper-soft);
  display: grid; place-items: center; position: relative;
}
.config__thumb img { width: 100%; height: 100%; object-fit: cover; }
.config__thumb span { font-size: 11px; color: var(--ink-faint); text-align: center; padding: 0 12px; line-height: 1.4; }
.config__readout { font-size: 13px; color: var(--ink-2); }
.config__readout dt { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-top: 12px; }
.config__readout dt:first-child { margin-top: 0; }
.config__readout dd { margin: 4px 0 0; font-family: var(--font-serif); font-size: 18px; color: var(--ink); }
.config__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* 10. Carousel engine + product cards
   ========================================================================== */
.carousel { position: relative; }
.carousel__frame { position: relative; }
.carousel__track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 4px var(--gutter) 22px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; flex: none; }
.carousel__nav { display: flex; gap: 8px; }
.carousel__arrow {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-mid);
  display: inline-flex; align-items: center; justify-content: center; background: #fff;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), opacity var(--dur);
}
.carousel__arrow svg { width: 15px; height: 15px; }
.carousel__arrow:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.carousel__arrow[disabled] { opacity: 0.3; pointer-events: none; }
.section--deep .carousel__arrow { background: transparent; border-color: var(--line-dark); color: #fff; }
.section--deep .carousel__arrow:hover { background: #fff; color: var(--ink); }

.carousel__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  max-width: var(--rail-wide); margin: 0 auto 26px; padding: 0 var(--gutter);
}
.carousel__head .head-block { margin: 0; text-align: left; max-width: 620px; }

/* product card ----------------------------------------------------------- */
.pcard {
  width: 320px; display: flex; flex-direction: column;
  border-radius: var(--r-card); overflow: hidden; background: var(--paper);
  transition: transform var(--dur) var(--ease);
}
.pcard:hover { transform: translateY(-4px); }
.pcard__media {
  position: relative; aspect-ratio: 320 / 460; overflow: hidden;
  border-radius: var(--r-card); background: var(--paper-soft);
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  color: var(--ink); font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 6px 11px; border-radius: var(--r-pill);
}
.pcard__tag--ice { background: var(--brand); color: #fff; }
.pcard__body { padding: 16px 2px 0; }
.pcard__title { font-family: var(--font-serif); font-size: 19px; margin: 0 0 4px; }
.pcard__meta { font-size: 12px; color: var(--ink-soft); margin: 0 0 10px; line-height: 1.5; }
.pcard__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pcard__price { font-size: 14px; font-weight: 500; color: var(--brand-deep); }
.pcard__price s { color: var(--ink-faint); margin-right: 7px; font-weight: 400; }
.pcard__swatches { display: flex; gap: 5px; }
.swatch { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); }

/* collection + occasion cards ------------------------------------------- */
.ccard { width: 350px; position: relative; border-radius: var(--r-card); overflow: hidden; }
.ccard__media { aspect-ratio: 350 / 400; overflow: hidden; border-radius: var(--r-card); background: var(--paper-soft); }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ccard:hover .ccard__media img { transform: scale(1.05); }
.ccard__body { padding: 15px 2px 0; }
.ccard__title { font-family: var(--font-serif); font-size: 19px; margin: 0 0 3px; }
.ccard__meta { font-size: 12px; color: var(--ink-soft); margin: 0; }

.ocard { width: 350px; }
.ocard__media { aspect-ratio: 350 / 340; overflow: hidden; border-radius: var(--r-card); background: var(--paper-soft); position: relative; }
.ocard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ocard:hover .ocard__media img { transform: scale(1.05); }
.ocard__quote {
  position: absolute; inset: auto 0 0 0; padding: 30px 18px 14px;
  background: linear-gradient(to top, rgba(10,14,21,0.82), rgba(10,14,21,0));
  font-family: var(--font-serif); font-style: italic; font-size: 14px; color: #fff; margin: 0;
}
.ocard__body { padding: 14px 2px 0; }
.ocard__title { font-family: var(--font-serif); font-size: 19px; margin: 0 0 3px; }
.ocard__meta { font-size: 12px; color: var(--ink-soft); margin: 0; }

/* 12. Editorial split
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 74px); align-items: center; }
.split--flip { direction: rtl; }
.split--flip > * { direction: ltr; }
.split__media { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--deep); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tall img { aspect-ratio: 4 / 5; }
.split__body { max-width: 520px; }
.split__body h2 { font-size: clamp(23px, 2.5vw, 30px); font-weight: 600; margin-bottom: 16px; }
.split__body p { color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.section--deep .split__body p { color: rgba(255,255,255,0.68); }
.split__actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.split__badge {
  position: absolute; left: 20px; top: 20px; z-index: 2;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: var(--r-pill); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}

/* 13. Steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.step { text-align: center; }
.step__media {
  position: relative; border-radius: var(--r-card); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--paper-soft); margin-bottom: 22px;
}
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__num {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.94);
  display: grid; place-items: center; font-family: var(--font-serif); font-size: 15px; color: var(--brand-deep);
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 13.5px; margin: 0 auto; max-width: 34ch; }
.steps__note {
  margin: 40px auto 0; max-width: 720px; text-align: center;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-soft);
  font-size: 13px; color: var(--ink-2);
}
.steps__note strong { font-family: var(--font-serif); font-size: 16px; font-weight: 500; color: var(--ink); }
.steps__cta { text-align: center; margin-top: 34px; }

/* 14. Feature / Atelier
   ========================================================================== */
.feature { position: relative; overflow: hidden; }
.feature__row {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.feature__text h2 { font-size: clamp(25px, 2.9vw, 34px); font-weight: 600; margin-bottom: 18px; }
.feature__text p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.8; }
.feature__stats { display: flex; gap: 44px; margin: 28px 0 30px; flex-wrap: wrap; }
.feature__stat b { display: block; font-family: var(--font-serif); font-size: 30px; color: #f0a4ee; line-height: 1; }
.feature__stat span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.feature__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
.feature__pic { border-radius: var(--r-card); overflow: hidden; background: var(--deep-2); }
.feature__pic img { width: 100%; height: 100%; object-fit: cover; }
.feature__pic:first-child { margin-top: 34px; }

/* 15. Quality cards
   ========================================================================== */
.qgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
/* Text-only cards (no image): two columns so the copy keeps a readable measure. */
.qgrid--text { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.qcard--text .qcard__body { padding: 24px 26px 26px; }

.qcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.qcard__media { aspect-ratio: 1 / 1; background: var(--paper-soft); overflow: hidden; }
.qcard__media img { width: 100%; height: 100%; object-fit: cover; }
.qcard__body { padding: 20px 22px 24px; }
.qcard h3 { font-size: 19px; margin-bottom: 8px; }
.qcard p { font-size: 12.5px; color: var(--ink-soft); margin: 0; line-height: 1.7; }

/* 16. Craft / conscience
   ========================================================================== */
.craft { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.craft__list { display: grid; gap: 0; }
.craft__item { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.craft__item:last-child { border-bottom: 1px solid var(--line); }
.craft__icon {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep);
}
.craft__icon svg { width: 19px; height: 19px; }
.craft__item h3 { font-size: 17px; margin-bottom: 5px; }
.craft__item p { font-size: 12.5px; color: var(--ink-soft); margin: 0; line-height: 1.7; }

/* 17. Social grid
   ========================================================================== */
.social-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr; gap: 14px; max-width: var(--rail); margin: 0 auto;
}
.social-grid a { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 1 / 1; }
.social-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.social-grid a:hover img { transform: scale(1.06); }
.social-grid a::after {
  content: ''; position: absolute; inset: 0; background: rgba(35,35,35,0); transition: background var(--dur) var(--ease);
}
.social-grid a:hover::after { background: rgba(35,35,35,0.22); }
.social-grid__ig {
  position: absolute; z-index: 2; left: 12px; bottom: 12px; color: #fff; opacity: 0;
  transition: opacity var(--dur) var(--ease); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 7px;
}
.social-grid a:hover .social-grid__ig { opacity: 1; }
.social-grid a:nth-child(1), .social-grid a:nth-child(6) { grid-column: span 2; grid-row: span 1; aspect-ratio: 2 / 1; }

/* 18. Promise + sign-up
   ========================================================================== */
.promise { background: var(--deep); color: #fff; }
.promise__head { text-align: center; margin-bottom: 44px; }
.promise__head h2 { font-size: 30px; font-weight: 600; }
.promise__head p { color: rgba(255,255,255,0.62); font-size: 14px; }
.promise__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin-bottom: 52px; }
.promise__item { text-align: center; }
.promise__item h3 {
  font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: #f0a4ee; margin-bottom: 12px;
}
.promise__item p { font-size: 13px; color: rgba(255,255,255,0.68); margin: 0; }

.signup { max-width: 620px; margin: 0 auto; text-align: center; border-top: 1px solid var(--line-dark); padding-top: 46px; }
.signup h3 { font-size: 23px; font-weight: 600; margin-bottom: 10px; }
.signup p { color: rgba(255,255,255,0.62); font-size: 13px; margin-bottom: 22px; }
.signup__form { display: flex; gap: 10px; max-width: 470px; margin: 0 auto; }
.signup__form input {
  flex: 1; padding: 15px 20px; border-radius: var(--r-pill); border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.06); color: #fff; font-size: 13px;
}
.signup__form input::placeholder { color: rgba(255,255,255,0.45); }
.signup__form input:focus { outline: none; border-color: var(--ice-2); background: rgba(255,255,255,0.1); }
.signup__fine { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 16px; }
.signup__fine a { text-decoration: underline; }

/* 19. Footer
   ========================================================================== */
.footer { background: var(--deep); color: rgba(255,255,255,0.72); padding: 58px 0 30px; }
.footer__top {
  max-width: var(--rail); margin: 0 auto 46px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line-dark); padding-bottom: 30px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer__brand .brand__mark { width: 28px; height: 28px; }
.footer__brand b { font-family: var(--font-serif); font-size: 19px; font-weight: 500; }
.footer__brand span { display: block; font-size: 11px; color: rgba(255,255,255,0.5); font-family: var(--font-sans); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-dark);
  display: grid; place-items: center; color: #fff; transition: background var(--dur) var(--ease);
}
.footer__social a:hover { background: rgba(255,255,255,0.14); color: #fff; }
.footer__social svg { width: 16px; height: 16px; }

.footer__links {
  max-width: var(--rail-narrow); margin: 0 auto 44px; padding: 0 var(--gutter);
  display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.footer__col { min-width: 130px; }
.footer__col h4 {
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 16px;
}
.footer__col a { display: block; padding: 6px 0; font-size: 12.5px; color: rgba(255,255,255,0.74); }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  max-width: var(--rail); margin: 0 auto; padding: 22px var(--gutter) 0;
  border-top: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 11px; color: rgba(255,255,255,0.42);
}
.footer__legal { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.footer__legal a { color: rgba(255,255,255,0.55); }
.footer__locale { display: inline-flex; align-items: center; gap: 8px; }
.footer__locale select {
  background: transparent; border: 1px solid var(--line-dark); border-radius: var(--r-pill);
  color: rgba(255,255,255,0.75); padding: 6px 12px; font-size: 11px;
}

/* 20. Overlays
   ========================================================================== */
.scrim {
  position: fixed; inset: 0; background: rgba(35, 35, 35, 0.5); z-index: 140;
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(430px, 94vw); z-index: 150;
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform 0.5s var(--ease); box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  height: var(--header-h); flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px; border-bottom: 1px solid var(--line);
}
.drawer__head h2 { font-size: 18px; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 22px; }
.drawer__foot { flex: none; border-top: 1px solid var(--line); padding: 20px 22px; }
.drawer__close { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.drawer__close:hover { background: var(--paper-soft); }
.drawer__close svg { width: 18px; height: 18px; }

.cart-line { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line__img { width: 74px; height: 92px; border-radius: 5px; overflow: hidden; background: var(--paper-soft); }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__title { font-family: var(--font-serif); font-size: 16px; margin: 0 0 3px; }
.cart-line__meta { font-size: 11.5px; color: var(--ink-soft); margin: 0 0 9px; }
.cart-line__qty { display: inline-flex; align-items: center; border: 1px solid var(--line-mid); border-radius: var(--r-pill); overflow: hidden; }
.cart-line__qty button { width: 36px; height: 36px; display: grid; place-items: center; font-size: 14px; color: var(--ink-2); }
.cart-line__qty button:hover { background: var(--paper-soft); }
.cart-line__qty span { min-width: 24px; text-align: center; font-size: 12px; }
.cart-line__price { font-size: 13px; font-weight: 500; text-align: right; color: var(--brand-deep); }
.cart-line__remove { font-size: 11px; color: var(--ink-faint); text-decoration: underline; margin-top: 8px; }
.cart-empty { text-align: center; padding: 56px 12px; color: var(--ink-soft); }
.cart-empty svg { width: 44px; height: 44px; margin: 0 auto 18px; color: var(--line-mid); }
.cart-ship { font-size: 11.5px; color: var(--ink-2); margin-bottom: 14px; }
.cart-ship__bar { height: 4px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 9px; }
.cart-ship__fill { height: 100%; width: 0; background: var(--grad-brand); transition: width var(--dur) var(--ease); }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.cart-total b { font-family: var(--font-serif); font-size: 22px; font-weight: 500; }

.search-panel {
  position: fixed; inset: 0 0 auto 0; z-index: 150; background: var(--paper);
  border-bottom: 1px solid var(--line); transform: translateY(-102%);
  transition: transform 0.5s var(--ease); box-shadow: var(--shadow);
}
.search-panel.is-open { transform: translateY(0); }
.search-panel__inner { max-width: 760px; margin: 0 auto; padding: 34px var(--gutter) 30px; }
.search-panel__form { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 12px; }
.search-panel__form svg { width: 20px; height: 20px; color: var(--ink-faint); flex: none; }
.search-panel__form input { flex: 1; border: 0; background: none; font-family: var(--font-serif); font-size: 24px; }
.search-panel__form input:focus { outline: none; }
.search-panel__results { margin-top: 22px; display: grid; gap: 2px; max-height: 46vh; overflow-y: auto; }
.search-hit { display: flex; gap: 14px; align-items: center; padding: 11px 8px; border-radius: 8px; }
.search-hit:hover { background: var(--paper-soft); }
.search-hit__img { width: 46px; height: 58px; border-radius: 5px; overflow: hidden; background: var(--paper-soft); flex: none; }
.search-hit__img img { width: 100%; height: 100%; object-fit: cover; }
.search-hit b { font-family: var(--font-serif); font-size: 16px; font-weight: 500; display: block; }
.search-hit span { font-size: 11.5px; color: var(--ink-soft); }
.search-hit__price { margin-left: auto; font-size: 12.5px; color: var(--brand-deep); }
.search-empty { color: var(--ink-faint); font-size: 12.5px; padding: 16px 8px; }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 130%);
  z-index: 200; background: var(--deep); color: #fff; padding: 13px 24px; border-radius: var(--r-pill);
  font-size: 12.5px; box-shadow: var(--shadow-lg); display: inline-flex; align-items: center; gap: 10px;
  transition: transform 0.45s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: #f0a4ee; }

.lightbox {
  position: fixed; inset: 0; z-index: 160; background: rgba(23,26,29,0.94);
  display: grid; place-items: center; padding: 40px 20px; opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: var(--r-card); }
.lightbox__close { position: absolute; top: 22px; right: 24px; color: #fff; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.3); }
.lightbox__close:hover { background: rgba(255,255,255,0.14); }

/* 21. Product page
   ========================================================================== */
.breadcrumbs {
  max-width: var(--rail-wide); margin: 0 auto; padding: calc(30px + var(--header-total)) var(--gutter) 0;
  font-size: 11.5px; color: var(--ink-faint); display: flex; gap: 9px; flex-wrap: wrap;
}
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--ice-deep); }
.breadcrumbs span { opacity: 0.5; }

.pdp {
  max-width: var(--rail-wide); margin: 0 auto; padding: 26px var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 4vw, 64px); align-items: start;
}

/* gallery */
.gallery { position: sticky; top: calc(22px + var(--header-total)); }
.gallery__stage {
  position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--paper-soft);
  aspect-ratio: 4 / 5; cursor: zoom-in;
}
.gallery__stage img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery__thumb {
  border-radius: 5px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--paper-soft);
  border: 1px solid transparent; transition: border-color var(--dur) var(--ease), opacity var(--dur);
  opacity: 0.62;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--ink); opacity: 1; }
.gallery__thumb:hover { opacity: 1; }
.gallery__badge {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px); padding: 7px 13px;
  border-radius: var(--r-pill); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
}

/* buy box */
.buybox { padding-bottom: 40px; }
.buybox h1 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 12px; }
.buybox__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.buybox__price { font-size: 22px; font-family: var(--font-serif); color: var(--brand-deep); }
.buybox__price s { font-size: 15px; color: var(--ink-faint); margin-left: 10px; font-family: var(--font-sans); }
.buybox__lede { color: var(--ink-soft); font-size: 13.5px; line-height: 1.75; margin-bottom: 22px; }

.includes {
  border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; background: var(--paper-warm);
  margin-bottom: 26px;
}
.includes h4 { font-family: var(--font-sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.includes li { display: flex; gap: 10px; font-size: 12.5px; color: var(--ink-2); padding: 3px 0; }
.includes svg { width: 14px; height: 14px; color: var(--success); flex: none; margin-top: 3px; }

/* option groups */
.optgroup { margin-bottom: 26px; }
.optgroup__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.optgroup__head h4 { font-family: var(--font-sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin: 0; }
.optgroup__head span { font-size: 11.5px; color: var(--ink-soft); }
.opt-list { display: grid; gap: 9px; }
.opt-list--sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.opt-list--shapes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.opt {
  position: relative; display: block; cursor: pointer;
  border: 1px solid var(--line-mid); border-radius: 8px; padding: 13px 14px; background: #fff;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.opt:hover { border-color: var(--ink-soft); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt.is-active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: var(--paper-warm); }
.opt__name { font-size: 13px; font-weight: 500; display: block; }
.opt__meta { font-size: 11px; color: var(--ink-soft); display: block; margin-top: 3px; }
.opt__price { font-size: 12px; color: var(--brand-deep); display: block; margin-top: 6px; }
.opt--shape { text-align: center; padding: 14px 8px; }

/* base picker — image cards, 4 across (mirrors the reference site) */
.opt-list--bases { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.opt--base { padding: 0 0 12px; overflow: hidden; text-align: center; }
.opt--base .opt__pic {
  display: block; aspect-ratio: 4 / 3; background: var(--paper-soft);
  margin-bottom: 10px; overflow: hidden;
}
.opt--base .opt__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.opt--base .opt__name {
  font-size: 12.5px; line-height: 1.35; padding: 0 10px;
  min-height: 34px; display: flex; align-items: center; justify-content: center;
}
.opt--base .opt__price { font-size: 12px; margin-top: 2px; }
.opt--base.is-active .opt__pic img { transform: scale(1.03); transition: transform .4s var(--ease); }
@media (max-width: 720px) { .opt-list--bases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.opt--shape svg { width: 30px; height: 34px; margin: 0 auto 7px; color: var(--ink-2); }

/* wizard */
.wizard { border-top: 1px solid var(--line); padding-top: 26px; }
.wstep { margin-bottom: 26px; }
.wstep__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.wstep__num {
  width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 11.5px; font-weight: 600;
}
.wstep__head h4 { font-family: var(--font-sans); font-size: 13px; font-weight: 600; margin: 0; letter-spacing: 0.01em; }
.wstep__head p { margin: 2px 0 0; font-size: 11.5px; color: var(--ink-soft); }

.dropzone {
  border: 1.5px dashed var(--line-mid); border-radius: 10px; padding: 28px 20px; text-align: center;
  cursor: pointer; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  background: var(--paper-warm);
}
.dropzone:hover, .dropzone.is-over { border-color: var(--brand); background: var(--brand-soft); }
.dropzone svg { width: 26px; height: 26px; margin: 0 auto 10px; color: var(--brand-deep); }
.dropzone b { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.dropzone span { font-size: 11.5px; color: var(--ink-soft); }
.dropzone input { display: none; }
.dropzone__thumb { display: flex; align-items: center; gap: 14px; text-align: left; }
.dropzone__thumb img { width: 54px; height: 54px; border-radius: 6px; object-fit: cover; }

.later-note { margin-top: 10px; font-size: 11.5px; color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start; }
.later-note svg { width: 14px; height: 14px; color: var(--brand-deep); flex: none; margin-top: 2px; }

.engraving-input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-mid); border-radius: 8px; font-size: 13px;
}
.engraving-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(201,77,220,0.16); }
.engraving-preview {
  margin-top: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-soft);
  min-height: 86px; display: grid; place-items: center; text-align: center; padding: 14px;
  font-family: var(--font-display); font-weight: 500; font-size: 17px; color: var(--ink);
}
.engraving-preview .ph { font-family: var(--font-sans); font-size: 11.5px; color: var(--ink-faint); }
.font-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.font-chip {
  border: 1px solid var(--line-mid); border-radius: 6px; padding: 7px 12px; font-size: 13px; background: #fff;
  transition: border-color var(--dur) var(--ease);
}
.font-chip.is-active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.font-chip.f-1 { font-family: var(--font-serif); }
.font-chip.f-2 { font-family: var(--font-script); font-size: 19px; font-weight: 600; }
.font-chip.f-3 { font-family: var(--font-sans); }
.font-chip.f-4 { font-family: var(--font-serif); font-style: italic; }
.char-count { font-size: 11px; color: var(--ink-faint); text-align: right; margin-top: 6px; }

.buybar {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.buybar .btn { flex: 1 1 240px; }
.buybar__note { width: 100%; font-size: 11.5px; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; }
.buybar__note svg { width: 14px; height: 14px; color: var(--success); }

.eta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); margin-top: 16px; }
.eta svg { width: 16px; height: 16px; color: var(--brand-deep); }

/* accordions */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 2px; text-align: left; font-size: 13.5px; font-weight: 500;
}
.acc__btn:hover { color: var(--ice-deep); }
.acc__icon { width: 15px; height: 15px; flex: none; position: relative; }
.acc__icon::before, .acc__icon::after {
  content: ''; position: absolute; background: currentColor; border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.acc__icon::before { left: 0; right: 0; top: 50%; height: 1.4px; transform: translateY(-50%); }
.acc__icon::after { top: 0; bottom: 0; left: 50%; width: 1.4px; transform: translateX(-50%); }
.acc__item.is-open .acc__icon::after { transform: translateX(-50%) scaleY(0); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.acc__panel > div { padding: 0 2px 22px; font-size: 13px; color: var(--ink-soft); line-height: 1.8; max-width: 74ch; }
.acc__panel p { margin-bottom: 12px; }

/* product sections ------------------------------------------------------- */
.pdp-sections { padding-top: 90px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.spec-table th { font-weight: 500; color: var(--ink-soft); width: 40%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover { background: var(--paper-soft); }

.fbt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fbt__item { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; text-align: center; background: #fff; }
.fbt__item img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.fbt__body { padding: 14px 16px 18px; }
.fbt__body b { font-family: var(--font-serif); font-size: 16px; font-weight: 500; display: block; }
.fbt__body span { font-size: 12px; color: var(--ink-soft); }
.fbt__body .btn { margin-top: 12px; }

/* 22. Content pages
   ========================================================================== */
.page-hero { background: var(--deep); color: #fff; padding: calc(76px + var(--header-total)) 0 84px; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 14.5px; max-width: 62ch; margin: 0 auto; }
.page-hero--soft { background: var(--paper-warm); color: var(--ink); border-bottom: 1px solid var(--line); }
.page-hero--soft h1 { color: var(--ink); }
.page-hero--soft p { color: var(--ink-soft); }

.prose { max-width: 74ch; margin: 0 auto; font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.prose h2 { font-size: 28px; margin: 46px 0 16px; color: var(--ink); }
.prose h3 { font-size: 20px; margin: 34px 0 12px; color: var(--ink); }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 0; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.prose ul li::before {
  content: ''; position: absolute; left: 6px; top: 11px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand);
}
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before {
  content: counter(n) '.'; position: absolute; left: 0; top: 0;
  font-family: var(--font-serif); color: var(--brand-deep); font-size: 15px;
}
.prose blockquote {
  margin: 34px 0; padding: 26px 32px; border-left: 2px solid var(--brand);
  background: var(--paper-soft); font-family: var(--font-serif); font-size: 19px; font-style: italic;
  color: var(--ink);
}
.prose figure { margin: 34px 0; }
.prose figure img { border-radius: var(--r-card); width: 100%; }
.prose figcaption { font-size: 11.5px; color: var(--ink-faint); margin-top: 10px; text-align: center; }
.prose table { margin: 30px 0; }

.faq-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.faq-nav { position: sticky; top: calc(30px + var(--header-total)); }
.faq-nav h4 { font-family: var(--font-sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.faq-nav a { display: block; padding: 8px 0; font-size: 13px; color: var(--ink-soft); border-left: 2px solid transparent; padding-left: 12px; margin-left: -12px; }
.faq-nav a:hover, .faq-nav a.is-active { color: var(--brand-deep); border-left-color: var(--brand); }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 1px; background: var(--brand-line); }
.timeline__item { position: relative; padding-bottom: 32px; }
.timeline__item::before {
  content: ''; position: absolute; left: -33px; top: 5px; width: 11px; height: 11px; border-radius: 50%;
  background: #fff; border: 2px solid var(--ice-2);
}
.timeline__year { font-family: var(--font-serif); font-size: 20px; margin-bottom: 7px; }
.timeline__item p { font-size: 13px; color: var(--ink-soft); margin: 0; }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; text-align: center; }
.stat b { display: block; font-family: var(--font-serif); font-size: 40px; font-weight: 500; line-height: 1; }
.stat span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .field--full { grid-column: 1 / -1; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-bottom: 44px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; text-align: center; }
.contact-card svg { width: 22px; height: 22px; margin: 0 auto 12px; color: var(--brand-deep); }
.contact-card b { font-family: var(--font-serif); font-size: 17px; font-weight: 500; display: block; margin-bottom: 6px; }
.contact-card p { font-size: 12.5px; color: var(--ink-soft); margin: 0; }

.cta-band { background: var(--deep); color: #fff; text-align: center; padding: 96px 0; }
.cta-band h2 { font-size: clamp(27px, 3.2vw, 40px); font-weight: 600; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.68); font-size: 14px; max-width: 56ch; margin: 0 auto 28px; }

/* 23. Motion
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* 3D crystal stage ------------------------------------------------------- */
.crystal-stage {
  position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--r-card);
  overflow: hidden; background: radial-gradient(60% 60% at 50% 42%, #33373b 0%, #171a1d 70%);
  cursor: grab; touch-action: pan-y;
}
.crystal-stage:active { cursor: grabbing; }
.crystal-stage canvas { width: 100%; height: 100%; display: block; }
.crystal-stage__hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); pointer-events: none; display: inline-flex; gap: 8px; align-items: center;
}
.crystal-stage__hint svg { width: 13px; height: 13px; }
.crystal-stage__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.crystal-stage__fallback img { width: 78%; border-radius: 6px; }

/* 24. Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .nav { gap: 20px; }
  .qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature__row { grid-template-columns: 1fr; }
  .feature__pics { max-width: 620px; }
}

@media (max-width: 1080px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .gallery__stage { aspect-ratio: 1 / 1; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav { position: static; }
  .faq-nav ul { display: flex; gap: 18px; flex-wrap: wrap; }
  .config__grid { grid-template-columns: 1fr; }
  .config__preview { grid-template-columns: 1fr; text-align: center; }
  .config__thumb { margin: 0 auto; }
  .split, .craft { grid-template-columns: 1fr; }
  .split--flip { direction: ltr; }
  .split__body { max-width: none; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .header__left, .header__right { flex: 0 0 auto; }
  .header__center { position: absolute; left: 50%; transform: translateX(-50%); }
  .brand__name { font-size: 17px; }
  .header__cta { display: none; }
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-grid a:nth-child(1), .social-grid a:nth-child(6) { grid-column: span 2; }
  .promise__grid { grid-template-columns: 1fr; gap: 26px; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }
  h1 { font-size: 30px; }
  .section { padding: 64px 0; }
  .section--roomy { padding: 76px 0; }
  .head-block h2 { font-size: 26px; }
  .hero { height: auto; min-height: 0; padding: 96px 0 76px; }
  .hero__inner { padding: 40px 20px 0; height: auto; }
  .hero h1 { font-size: 32px; }
  .hero__trust { position: static; transform: none; margin-top: 34px; }
  .hero__dots { position: static; justify-content: center; margin-top: 22px; }
  .hero__inner { justify-content: center; }
  .pcard { width: 250px; }
  .ccard { width: 260px; }
  .ocard { width: 260px; }
  .qgrid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .opt-list--sizes, .opt-list--shapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fbt { grid-template-columns: 1fr; }
  .signup__form { flex-direction: column; }
  .footer__links { gap: 22px 30px; }
  .footer__col { min-width: 40%; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: calc(44px + var(--header-total)) 0 62px; }
  .breadcrumbs { padding-top: calc(18px + var(--header-total)); }
  .carousel__arrow { display: none; }
  .quotes__track { animation-duration: 34s; }
  .quote { width: 260px; padding: 0 22px; }
}

/* 25. Configurator split layout (two-column: fields | live 3D) */
.config__split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 56px);
  align-items: center; text-align: left;
}
.config__fields { display: grid; gap: 20px; }
.config__stage { aspect-ratio: 4 / 3; max-height: 420px; }
.config__readout {
  display: flex; gap: 30px; flex-wrap: wrap; margin: 22px 0 0;
  border-top: 1px solid var(--line); padding-top: 18px;
}
.config__readout dt {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0;
}
.config__readout dd {
  margin: 5px 0 0; font-family: var(--font-serif); font-size: 17px; color: var(--ink); line-height: 1.25;
}
.config__readout > div { min-width: 118px; }

@media (max-width: 900px) {
  .config__split { grid-template-columns: 1fr; }
  .config__stage { aspect-ratio: 4 / 3; max-height: 420px; }
}

/* Buy box price row spacing */
.buybox__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }

/* 26. Dark-section corrections
   `.section--deep a { color:#fff }` is there for editorial links, but it must
   not reach inside a button — otherwise a light pill renders white-on-white. */
.section--deep .btn--light { color: var(--ink); }
.section--deep .btn--light:hover { color: var(--ink); }
.section--deep .btn--ice { color: #fff; }
.section--deep .btn--outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.section--deep .btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* The promise band is dark but is not `.section--deep`, so its headings need
   their own colour or they inherit the default dark ink. */
.promise__head h2 { color: #fff; }
.signup h3 { color: #fff; }

/* Keep the irregular social mosaic tight (no hole where the wide tiles land). */
.social-grid { grid-auto-flow: dense; }

/* Buy-box 3D stage: wider and shorter than the square configurator stage so it
   does not push the size options below the fold. */
.crystal-stage--buybox { aspect-ratio: 16 / 11; }
@media (max-width: 760px) { .crystal-stage--buybox { aspect-ratio: 4 / 3; } }

/* 27. Engraving-preview typefaces — index 2 uses the reference's handwriting
   face (Caveat) instead of a system script font. */
.engraving-preview.f-1 { font-family: var(--font-display); font-weight: 500; }
.engraving-preview.f-2 { font-family: var(--font-script); font-size: 26px; font-weight: 600; line-height: 1.2; }
.engraving-preview.f-3 { font-family: var(--font-sans); font-weight: 500; }
.engraving-preview.f-4 { font-family: var(--font-display); font-weight: 500; font-style: italic; }

/* 28. Reference type split, refined.
   crystalclearmemories.com puts headings, navigation and the uppercase
   small-caps labels in Montserrat, and everything else — body copy, buttons,
   prices, review text — in Plus Jakarta Sans. These rules finish that mapping. */

/* Montserrat: nav + uppercase labels */
.nav__link,
.mega__group > h4,
.eyebrow,
.rule-label,
.field__label,
.includes h4,
.optgroup__head h4,
.promise__item h3,
.faq-nav h4,
.footer__col h4,
.filter-label {
  font-family: var(--font-display);
}
.nav__link       { font-weight: 500; letter-spacing: 0.02em; }
.mega__group > h4,
.field__label,
.includes h4,
.optgroup__head h4,
.faq-nav h4,
.footer__col h4 { font-weight: 600; }
.eyebrow,
.rule-label      { font-weight: 600; }

/* Plus Jakarta Sans 600: prices and money readouts */
.pcard__price,
.buybox__price,
.opt__price,
.cart-line__price,
.cart-total b,
.search-hit__price,
.pdp .price,
.stat b,
.feature__stat b {
  font-family: var(--font-sans);
  font-weight: 600;
}
.pcard__price { font-size: 14px; }
.buybox__price { font-size: 21px; letter-spacing: -0.01em; }
.stat b, .feature__stat b { font-weight: 700; letter-spacing: -0.02em; }

/* ==========================================================================
   29. Reference type scale
   crystalclearmemories.com measured element by element at 1440px:

     body           Plus Jakarta Sans 400  16px / 1.6
     paragraph      Plus Jakarta Sans 400  16px / 1.7
     hero h1        Montserrat 500         54px / 1.00  ls -0.01em
     section h2     Montserrat 600         48px / 1.04  ls -0.015em
     sub h2         Montserrat 600         32px / 1.30
     card h3        Montserrat 600         18px / 1.30
     nav / eyebrow  Montserrat 700         12px         ls  0.01em
     button         Plus Jakarta Sans 600  16px
     price          Plus Jakarta Sans 600  20px
     quote          Plus Jakarta Sans 400  22.4px / 1.6
     footer link    Plus Jakarta Sans 400  16px / 1.6

   This block lifts the build onto that scale. It is appended (rather than
   edited into every rule above) so the whole change can be audited or reverted
   in one place.
   ========================================================================== */
body { font-size: 16px; line-height: 1.6; }
p { margin-bottom: 18px; }

/* display ---------------------------------------------------------------- */
.hero h1      { font-size: clamp(34px, 4vw, 54px); line-height: 1.06; letter-spacing: -0.01em; }
.hero__sub    { font-size: 16px; line-height: 1.6; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.08; }
.page-hero p  { font-size: 17px; line-height: 1.6; }
.buybox h1    { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; }

/* section headings ------------------------------------------------------- */
.head-block        { max-width: 880px; }
.head-block h2     { font-size: 48px; line-height: 1.08; letter-spacing: -0.015em; }
.head-block p      { font-size: 16px; line-height: 1.7; }
.split__body h2    { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; }
.split__body p     { font-size: 16px; line-height: 1.75; }
.feature__text h2  { font-size: clamp(28px, 3vw, 36px); }
.feature__text p   { font-size: 16px; line-height: 1.75; }
.config__card h2   { font-size: clamp(28px, 3vw, 34px); }
.config__lede      { font-size: 16px; line-height: 1.7; }
.cta-band h2       { font-size: clamp(30px, 3.4vw, 44px); }
.cta-band p        { font-size: 16px; }
.promise__head h2  { font-size: 40px; }
.signup h3         { font-size: 28px; }
.promise__item p   { font-size: 15px; line-height: 1.7; }
.signup p          { font-size: 15px; }

/* labels ---------------------------------------------------------------- */
.eyebrow,
.rule-label,
.field__label,
.includes h4,
.optgroup__head h4,
.faq-nav h4,
.footer__col h4,
.mega__group > h4 { font-size: 12px; letter-spacing: 0.16em; }
.pcard__tag, .gallery__badge { font-size: 11px; }
.chip              { font-size: 12px; }
.breadcrumbs       { font-size: 13px; }

/* navigation ------------------------------------------------------------- */
.brand__name      { font-size: 22px; }
.brand__name small{ font-size: 9px; }
.nav__link        { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.mega__list a     { font-size: 20px; }
.mega__title      { font-size: 20px; }

/* buttons ---------------------------------------------------------------- */
.btn     { font-size: 16px; padding: 17px 34px; }
.btn--sm { font-size: 13px; padding: 12px 24px; }
.btn--lg { font-size: 17px; padding: 20px 44px; }

/* cards ------------------------------------------------------------------ */
.pcard__title, .ccard__title, .ocard__title { font-size: 18px; line-height: 1.3; }
.pcard__meta, .ccard__meta, .ocard__meta    { font-size: 15px; line-height: 1.55; }
.pcard__price      { font-size: 16px; }
.pcard__foot       { align-items: center; }
.ocard__quote      { font-size: 16px; line-height: 1.4; }

/* quotes ----------------------------------------------------------------- */

/* configurator ----------------------------------------------------------- */
.config__readout dd { font-size: 20px; }
.field input[type='text'], .field input[type='email'], .field input[type='tel'],
.field select, .field textarea, .engraving-input { font-size: 16px; }
.field__hint       { font-size: 13px; }

/* product page ----------------------------------------------------------- */
.buybox__lede    { font-size: 16px; line-height: 1.75; }
.buybox__price   { font-size: 20px; }
.includes li     { font-size: 15px; line-height: 1.6; }
.rating-line     { font-size: 14px; }
.opt__name       { font-size: 16px; }
.opt__meta       { font-size: 13px; }
.opt__price      { font-size: 14px; }
.acc__btn        { font-size: 18px; padding: 22px 2px; }
.acc__panel > div{ font-size: 16px; line-height: 1.75; }
.spec-table      { font-size: 15px; }
.eta             { font-size: 14px; }
.dropzone b      { font-size: 15px; }
.dropzone span, .later-note, .char-count { font-size: 13px; }
.engraving-preview { font-size: 20px; min-height: 96px; }
.engraving-preview.f-2 { font-size: 30px; }
.font-chip       { font-size: 15px; }
.font-chip.f-2   { font-size: 21px; }

/* search + cart ---------------------------------------------------------- */
.search-panel__form input { font-size: 28px; }
.search-hit b    { font-size: 18px; }
.search-hit span, .search-empty { font-size: 13px; }
.cart-line__title{ font-size: 18px; }
.cart-line__meta { font-size: 13px; }
.cart-line__price{ font-size: 15px; }
.cart-total b    { font-size: 24px; }
.cart-ship       { font-size: 13px; }
.drawer__head h2 { font-size: 20px; }
.toast           { font-size: 14px; }

/* content pages ---------------------------------------------------------- */
.prose           { font-size: 16.5px; line-height: 1.75; }
.prose h2        { font-size: 32px; margin: 54px 0 18px; }
.prose h3        { font-size: 22px; margin: 40px 0 14px; }
.prose blockquote{ font-size: 22px; line-height: 1.5; }
.prose figcaption{ font-size: 13px; }
.timeline__year  { font-size: 22px; }
.timeline__item p{ font-size: 15px; line-height: 1.7; }
.faq-nav a       { font-size: 15px; }
.contact-card b  { font-size: 20px; }
.contact-card p  { font-size: 15px; }
.stat b          { font-size: 48px; }
.stat span       { font-size: 12px; }
.feature__stat b { font-size: 36px; }
.feature__stat span { font-size: 12px; }
.trustpilot__meta b { font-size: 13px; }
.trustpilot__meta span { font-size: 11px; }
.trustpilot__score { font-size: 21px; }
.step h3         { font-size: 22px; }
.step p          { font-size: 15px; line-height: 1.65; }
.steps__note     { font-size: 15px; }
.steps__note strong { font-size: 18px; }
.qcard h3        { font-size: 20px; }
.qcard p         { font-size: 15px; line-height: 1.7; }
.craft__item h3  { font-size: 18px; }
.craft__item p   { font-size: 15px; line-height: 1.7; }
.footer__col a   { font-size: 15px; padding: 7px 0; }
.footer__bottom  { font-size: 13px; }
.footer__legal a { font-size: 13px; }
.carousel__head .head-block { max-width: 700px; }

/* mobile: roughly the same ratios the reference uses at 375–430px --------- */
@media (max-width: 760px) {
  body         { font-size: 15px; }
  .hero h1     { font-size: 34px; }
  .hero__sub   { font-size: 15px; }
  .head-block h2 { font-size: 30px; }
  .head-block p  { font-size: 15px; }
  .split__body h2, .config__card h2 { font-size: 26px; }
  .split__body p, .feature__text p, .buybox__lede, .acc__panel > div { font-size: 15px; }
  .feature__text h2, .cta-band h2, .prose h2 { font-size: 27px; }
  .promise__head h2 { font-size: 30px; }
  .signup h3   { font-size: 23px; }
  .buybox h1   { font-size: 30px; }
  .btn         { font-size: 15px; padding: 15px 28px; }
  .btn--lg     { font-size: 16px; padding: 17px 32px; }
  .pcard__title, .ccard__title, .ocard__title { font-size: 17px; }
  .pcard__meta, .ccard__meta, .ocard__meta { font-size: 14px; }
  .acc__btn    { font-size: 16px; }
  .prose       { font-size: 16px; }
  .quote       { width: 300px; padding: 0 26px; }
  .stat b      { font-size: 34px; }
  .search-panel__form input { font-size: 22px; }
}

/* Pages that open with content straight after the header (FAQ, contact) need
   the promo bar's height added to their top padding. */
.section--under-header { padding-top: calc(80px + var(--header-total)); }
@media (max-width: 760px) { .section--under-header { padding-top: calc(52px + var(--header-total)); } }

/* ==========================================================================
   30. Light hero
   The carousel panels are bright, white-based compositions (see
   tools/build_hero.py), so the hero switches from white-on-dark to the
   reference site's dark-on-light treatment: dark headline with the
   magenta -> blue gradient on the second clause, quiet sub copy, and a white
   veil over the photography so type always has contrast.
   ========================================================================== */
.hero {
  background: var(--paper-warm);
  height: min(calc(100vh - var(--header-total)), 760px);
  min-height: 500px;
}
.hero::after {
  /* a white pool behind the type instead of an even veil: the centre stays
     readable while the crystals at the edges keep their colour */
  background:
    radial-gradient(58% 74% at 50% 52%,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.80) 38%,
      rgba(255, 255, 255, 0.34) 68%,
      rgba(255, 255, 255, 0.06) 100%),
    linear-gradient(to bottom,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0) 26%,
      rgba(255, 255, 255, 0) 74%,
      rgba(255, 255, 255, 0.55) 100%);
}
.hero h1 {
  color: var(--heading);
  text-shadow: none;
  letter-spacing: -0.015em;
}
/* the accent clause takes the brand gradient, exactly as the reference does */
.hero h1 em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub { color: var(--ink-soft); }

/* dark-on-light controls */
.hero__dot { background: rgba(50, 50, 52, 0.26); }
.hero__dot.is-active { background: var(--heading); }
.trustpilot {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line-mid);
  color: var(--ink);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-xs);
}
.trustpilot__star { color: var(--brand); }
.trustpilot__meta span { color: var(--ink-soft); }
.trustpilot__score { color: var(--heading); }

/* the hero sits under a now-solid white header, so its own panels start lower */
@media (max-width: 760px) {
  .hero { height: auto; }
}

/* ==========================================================================
   31. Everything light
   With the hero bright, the leftover dark bands read as holes in the page. The
   reference site is light top to bottom with a single dark footer, so the quote
   strip, the Prestige feature, the promise band, content-page headers and the
   CTA band all move onto light grounds. The footer and the 3D viewer stay dark,
   which is exactly what the reference does.
   ========================================================================== */

/* --- quote marquee: light ground, dark type ----------------------------- */
/* --- accent bands use the reference's lavender, not a dark slab --------- */
.section--tint { background: var(--brand-soft); color: var(--ink); }
.section--tint .eyebrow { color: var(--brand-deep); }
.section--tint .feature__text p { color: var(--ink-2); }
.section--tint .feature__text h2 { color: var(--heading); }
.section--tint .feature__stat b { color: var(--brand-deep); }
.section--tint .feature__stat span { color: var(--ink-soft); }
.section--tint .btn--light {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.section--tint .btn--light:hover { background: #b93fd0; color: #fff; }

/* --- promise + newsletter ---------------------------------------------- */
.promise { background: var(--paper-soft); color: var(--ink); }
.promise__head h2,
.signup h3 { color: var(--heading); }
.promise__head h2 { background: var(--grad-brand); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent; }
.promise__head p,
.signup p { color: var(--ink-soft); }
.promise__item h3 { color: var(--brand-deep); }
.promise__item p { color: var(--ink-2); }
.signup { border-top-color: var(--line); }
.signup__form input {
  background: #fff; border-color: var(--line-mid); color: var(--ink);
}
.signup__form input::placeholder { color: var(--ink-faint); }
.signup__form input:focus { background: #fff; border-color: var(--brand); }
.signup__fine { color: var(--ink-faint); }

/* --- content-page headers ---------------------------------------------- */
.page-hero { background: var(--paper-warm); color: var(--ink); }
.page-hero h1 { color: var(--heading); }
.page-hero h1,
.page-hero .eyebrow { }
.page-hero p { color: var(--ink-soft); }
.page-hero--soft { background: var(--paper-soft); }

/* --- closing CTA band --------------------------------------------------- */
.cta-band { background: var(--brand-soft); color: var(--ink); }
.cta-band h2 { background: var(--grad-brand); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent; }
.cta-band p { color: var(--ink-2); }
.cta-band .btn--light { background: var(--brand); border-color: var(--brand); color: #fff; }
.cta-band .btn--light:hover { background: #b93fd0; color: #fff; }

/* the footer and the live 3D stage stay dark, as on the reference */
.footer { background: var(--deep); }

/* ==========================================================================
   32. Benefit strip (replaces the old quote marquee)
   Four icon + title + copy columns directly under the hero, on a near-white
   ground. Icons are the reference site's own 26px SVGs (assets/img/icons),
   already drawn in the brand purple.
   ========================================================================== */
.advantages {
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  padding: 46px 0 44px;
}
.advantages__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 38px;
}
.advantage { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 15px; align-items: start; }
.advantage__icon { width: 26px; height: 26px; margin-top: 2px; }
.advantage h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600; line-height: 1.3;
  margin: 0 0 7px; color: var(--heading);
}
.advantage p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

@media (max-width: 1080px) {
  .advantages__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .advantages { padding: 34px 0 32px; }
  .advantages__grid { grid-template-columns: 1fr; gap: 24px; }
  .advantage h3 { font-size: 15px; }
  .advantage p { font-size: 13.5px; }
}

/* ==========================================================================
   33. Bento tile grid — WIP, no markup renders it yet
   Ported from crystalclearmemories.com's `.cards-grid-section`: a six-column
   grid with five pastel tiles of different spans, an alpha cut-out bleeding off
   one edge of each tile, a 36px tulip mark, a short heading, a line of copy and
   a "Shop Now" link. Grid areas, paddings, colours and image placements below
   are the reference's own values.
   ========================================================================== */
.bento { padding: 8.375rem 0; }
.bento__head { max-width: 48.125rem; margin-bottom: 2rem; }
.bento__head h2 { font-size: 40px; margin: 0 0 13px; }
.bento__head h2 strong {
  font-weight: 600;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bento__head p { font-size: 17px; color: var(--ink-soft); margin: 0; max-width: 40rem; }

.bento__grid {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr 1fr 1.4fr 1.4fr;
  grid-template-rows: repeat(6, auto);
  gap: 1.875rem;
}
.bento__tile { position: relative; }
.bento__box {
  position: relative; width: 100%; height: 100%;
  padding: 2.5rem 2.5rem 2.125rem;
  display: flex; z-index: 0; overflow: hidden;
}
.bento__info { position: relative; z-index: 1; }
.bento__info .icon {
  display: block; width: 2.25rem; height: 2.25rem;
  margin-bottom: 1.0625rem;
}
.bento__info h3 { font-size: 20px; margin: 0 0 .5rem; }
.bento__info p { font-size: 14.5px; line-height: 1.62; margin: 0 0 .5rem; color: var(--ink-2); }
.bento__info a {
  font-size: 14px; font-weight: 600; color: var(--brand-deep);
  border-bottom: 1px solid transparent; padding-bottom: 1px;
}
.bento__info a:hover { color: var(--brand); border-bottom-color: currentColor; }

.bento__image {
  display: flex; width: 100%; position: absolute; top: 0; right: 0;
  height: 100%; z-index: -1;
}
.bento__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* 1 — Memorial: tall, art at the top, copy pinned to the bottom ------------- */
.bento__tile:nth-child(1) { grid-area: 1 / 1 / 5 / 3; }
.bento__tile:nth-child(1) .bento__box {
  background: #ecddec; align-items: flex-end;
  padding-top: 70%; padding-bottom: 4.25rem;
}
.bento__tile:nth-child(1) .bento__info { width: 80%; max-width: 13.3125rem; }
.bento__tile:nth-child(1) .bento__image { height: 89%; max-height: 31.4375rem; }
.bento__tile:nth-child(1) .bento__image img { object-position: center; }
.bento__tile:nth-child(1) .bento__image { height: 100%; max-height: none; }
.bento__tile:nth-child(1) .bento__image img { object-fit: cover; object-position: right top; }

/* 2 — Pets: wide banner, art on the right half ------------------------------ */
.bento__tile:nth-child(2) { grid-area: 1 / 3 / 3 / 7; }
.bento__tile:nth-child(2) .bento__box {
  background: #e3e4e4; align-items: flex-end;
  padding-left: 1.5625rem; padding-right: 1.5625rem; min-height: 19.875rem;
}
.bento__tile:nth-child(2) .bento__image { width: 67%; top: unset; bottom: 0; max-height: 19.875rem; }
/* the reference keeps the copy in the left third so it never runs under the
   animal shot — its .info is narrower than the flex row would naturally give */
.bento__tile:nth-child(2) .bento__info { max-width: 38%; }
.bento__tile:nth-child(2) .bento__image img { object-fit: cover; object-position: right center; }

/* 3 — Birthday: small, cake bleeding off the bottom-right ------------------- */
.bento__tile:nth-child(3) { grid-area: 3 / 3 / 5 / 5; }
.bento__tile:nth-child(3) .bento__box { background: #d1f2db; min-height: 18.75rem; }
.bento__tile:nth-child(3) .bento__info { width: 59%; }
.bento__tile:nth-child(3) .bento__image {
  width: 81%; height: auto; top: unset; bottom: -3%; right: -13%; aspect-ratio: 1 / 1;
}
.bento__tile:nth-child(3) .bento__image img { object-position: right center; }

/* 4 — Anniversary: wide, art bottom-left ------------------------------------ */
.bento__tile:nth-child(4) { grid-area: 5 / 1 / 7 / 5; }
.bento__tile:nth-child(4) .bento__box { background: #dcedf9; min-height: 18.75rem; }
.bento__tile:nth-child(4) .bento__info { width: 42%; }
.bento__tile:nth-child(4) .bento__image { width: 60%; top: unset; bottom: 0; max-height: 18.75rem; }
.bento__tile:nth-child(4) .bento__image img { object-position: right center; }
.bento__tile:nth-child(5) .bento__image img { object-fit: cover; object-position: right bottom; }

/* 5 — Just Because: tall right column, art along the bottom ----------------- */
.bento__tile:nth-child(5) { grid-area: 3 / 5 / 7 / 7; }
.bento__tile:nth-child(5) .bento__box { background: #f2e3d1; padding-bottom: 75%; }
.bento__tile:nth-child(5) .bento__info { width: 77%; }
.bento__tile:nth-child(5) .bento__image { top: unset; bottom: 0; height: 75%; max-height: none; }

/* --- tablet / phone: two columns, then one, art below the copy ------------- */
@media (max-width: 1024px) {
  .bento { padding: 5rem 0; }
  .bento__head h2 { font-size: 32px; }
  .bento__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 15px; }
  .bento__tile { grid-area: auto !important; }
  .bento__tile .bento__box {
    display: block; min-height: 0; padding: 1.875rem 1.875rem calc(58% + 1.25rem);
    align-items: flex-start;
  }
  .bento__tile .bento__info { width: auto !important; max-width: 13.75rem; }
  .bento__tile .bento__image {
    width: 100% !important; height: auto !important; max-height: none !important;
    top: unset !important; bottom: 0 !important; right: 0 !important;
    /* !important on the ratio too: the desktop Birthday rule sets 1/1, which
       would blow the cake up over the copy at phone widths */
    aspect-ratio: 335 / 220 !important;
  }
  .bento__tile:nth-child(1) .bento__box { padding-top: calc(65% + 1.25rem); }
  .bento__tile:nth-child(1) .bento__image { height: 100% !important; top: 0 !important; bottom: unset !important; aspect-ratio: auto; }
}
@media (max-width: 700px) {
  .bento__grid { grid-template-columns: 1fr; }
  .bento__head h2 { font-size: 27px; }
  .bento__head p { font-size: 15px; }
}

/* ==========================================================================
   34. Heavier small type
   Plus Jakarta Sans 400 at 11–15px reads thin, especially against the white
   grounds. Everything small or secondary moves up to 500; the lightest ink
   (the hero sub-head) goes from 300 to 400. Body-size paragraphs are left at
   400 so the hierarchy survives.
   ========================================================================== */
.hero__sub,
.advantage p,
.pcard__meta, .ccard__meta, .ocard__meta, .ocard__quote,
.trustpilot__meta span,
.footer__col a, .footer__bottom, .footer__legal a, .footer__legal span,
.ticker,
.field__hint, .opt__meta,
.cart-line__meta, .cart-ship, .search-hit span, .search-empty,
.breadcrumbs, .eta,
.step p, .qcard p, .craft__item p, .promise__item p, .signup p, .signup__fine,
.faq-nav a, .contact-card p, .spec-table, .prose figcaption,
.dropzone span, .later-note, .char-count, .steps__note,
.mega__list small, .mega__foot, .mega__group > h4 + p,
.gallery__badge, .pcard__tag {
  font-weight: 500;
}

/* the tiniest uppercase labels read as hairline at 400 — take them to 600 */
.optgroup__head span,
.optgroup__head h4,
.includes h4,
.field__label,
.footer__col h4,
.rule-label { font-weight: 600; }

/* numbers and money stay a step heavier so they never look washed out */
.pcard__price, .opt__price, .cart-line__price, .search-hit__price { font-weight: 600; }

/* the hero's own secondary line was the lightest thing on the page */
.hero__sub { font-weight: 400; }

/* 35. Anchor targets clear the promo bar + header */
[id] { scroll-margin-top: calc(var(--header-total) + 18px); }

/* ==========================================================================
   32. Homepage FAQ
   Category rail on the left, accordion on the right — the layout used on
   3dcrystalsora.com's own FAQ. Only one category is shown at a time; the
   accordion itself reuses the shared `.acc` component.
   ========================================================================== */
.faq-home__grid {
  display: grid; grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 84px); align-items: start;
}
.faq-home__nav h2 { font-size: 44px; letter-spacing: -0.02em; margin-bottom: 30px; }
.faq-cat {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 2px; border-bottom: 1px solid var(--line); text-align: left;
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  color: var(--brand-deep); transition: color var(--dur) var(--ease);
}
.faq-cat:hover { color: var(--heading); }
.faq-cat svg {
  width: 15px; height: 15px; flex: none; opacity: 0.5;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.faq-cat.is-active { color: var(--heading); }
.faq-cat.is-active svg { transform: rotate(90deg); opacity: 1; }
.faq-home__more { margin: 36px 0 0; font-size: 15px; color: var(--ink-soft); }
.faq-home__more a { color: var(--brand-deep); text-decoration: underline; }

.faq-panel { display: none; }
.faq-panel.is-active { display: block; }
.faq-panel .acc__btn { font-size: 17px; padding: 19px 2px; }
.faq-panel .acc__panel > div { font-size: 15px; }

@media (max-width: 1080px) {
  .faq-home__grid { grid-template-columns: 1fr; gap: 26px; }
  .faq-home__nav h2 { font-size: 34px; margin-bottom: 18px; }
  .faq-home__more { margin-top: 24px; }
}

/* FAQ question rows sit a touch heavier than the default accordion, matching
   the weight used on the reference site's list. */
.acc__btn { font-weight: 600; }
.faq-panel .acc__icon { width: 16px; height: 16px; color: var(--ink-faint); }

/* ==========================================================================
   36. Atomm point-cloud action (wizard step 3)
   ========================================================================== */
.atomm {
  margin-top: 14px; padding: 16px 18px;
  border: 1px solid var(--brand-line); border-radius: 10px;
  background: var(--brand-soft);
}
.atomm__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.atomm__note { font-size: 13px; font-weight: 500; color: var(--brand-deep); }
.atomm__bar {
  margin-top: 12px; height: 4px; border-radius: 3px; overflow: hidden;
  background: rgba(177, 93, 176, 0.18);
}
.atomm__bar i {
  display: block; height: 100%; width: 30%;
  background: var(--grad-brand);
  animation: atommSlide 1.5s var(--ease) infinite;
}
@keyframes atommSlide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(340%); }
}
.atomm__status { margin: 12px 0 0; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.atomm__status.is-err { color: var(--danger); }
.atomm__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.atomm__actions .atomm__note { margin-left: 2px; }

/* Homepage configurator: upload + hint line */
.config__hintline {
  margin: 16px 0 0; font-size: 13px; font-weight: 500;
  color: var(--ink-soft); line-height: 1.55;
}
.config__hintline a { color: var(--brand-deep); text-decoration: underline; }

/* Bare point-cloud stage (homepage configurator): the engraving alone on black,
   no crystal shell and no lit base. */
.crystal-stage[data-bare="1"] {
  /* Sampled off their editor preview: #393b3c, which is lighter and all but
     neutral (blue-red +3). The previous #303236 was a cooler blue-grey (+6)
     and made the whole greyscale render read cold. */
  background: #393b3c;
  border-radius: 10px;
  overflow: hidden;
}
.crystal-stage[data-bare="1"] .crystal-stage__hint { color: rgba(255, 255, 255, 0.42); }

/* ==========================================================================
   Uploaded photo held on the stage while Atomm reconstructs the depth.
   The browser deliberately does NOT guess a point cloud from the photo's
   brightness — that reads as noise. Show the real photograph, sweep a scan
   line so it is obvious something is happening, then crossfade to the cloud.
   ========================================================================== */
.cp-photo {
  position: absolute; inset: 0; margin: auto; z-index: 2;
  max-width: 100%; max-height: 100%;
  object-fit: contain; pointer-events: none;
  opacity: 0; transform: scale(0.986);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.cp-photo.is-in  { opacity: 0.95; transform: scale(1); }
.cp-photo.is-out { opacity: 0; transform: scale(1.012); }

.crystal-stage.is-working::after {
  content: ''; position: absolute; left: 0; right: 0; height: 38%; z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  animation: cpScan 2.6s var(--ease) infinite;
  pointer-events: none;
}
@keyframes cpScan {
  0%   { transform: translateY(-130%); }
  100% { transform: translateY(300%); }
}
@media (prefers-reduced-motion: reduce) {
  .crystal-stage.is-working::after { animation: none; opacity: 0; }
  .cp-photo { transition: none; }
}

/* ==========================================================================
   A [hidden] element must actually be hidden.
   `.btn { display: inline-flex }` outranks the UA stylesheet's
   `[hidden] { display: none }`, so buttons carrying the hidden attribute were
   still rendering — which is how "Try again" showed up after a successful run.
   ========================================================================== */
[hidden] { display: none !important; }

/* The site's own hint has to sit above Atomm's viewer canvas, which is
   absolutely positioned inside the same stage. */
.crystal-stage__hint { z-index: 4; }

/* --------------------------------------------------------------------------
   18. Touch targets
   Small inline links keep their visual size but get a 36 x 36 hit area so a
   thumb can actually land on them. Vertical expansion only, so neighbouring
   links in the same line never steal each other's taps.
   -------------------------------------------------------------------------- */
.ticker__link, .mega__foot a, .bento__info a, .faq-home__more a,
.signup__fine a, .footer__legal a, .link-arrow, .prose a, .footer__col a,
.config__hintline a, .field__hint a {
  position: relative;
}
.ticker__link::after, .mega__foot a::after, .bento__info a::after,
.faq-home__more a::after, .signup__fine a::after, .footer__legal a::after,
.link-arrow::after, .prose a::after, .footer__col a::after,
.config__hintline a::after, .field__hint a::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%); height: 36px; pointer-events: auto;
}

/* The nav underline already owns ::after, so the hit area uses ::before. */
.nav__link::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%); height: 36px;
}

/* Carousel dots are 2px tall marks — give them a real square to hit. */
.hero__dot { position: relative; }
.hero__dot::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 36px; height: 36px; transform: translate(-50%, -50%);
}

.brand { min-height: 36px; align-items: center; }
.footer__locale select, select { min-height: 36px; }

/* Cart drawer: quantity steppers and the remove link get a 36px target too. */
.cart-line__qty { min-height: 36px; }
.cart-line__qty span { min-width: 28px; }
.cart-line__remove, .cart-line__remove a { min-height: 36px; display: inline-flex; align-items: center; }

/* --------------------------------------------------------------------------
   Free-gift reminder shown inside the product-page "Anything we should know?"
   step. Links out to /pages/gift.html, where the customer picks the engraving
   and copies a one-line summary back into the textarea.
   -------------------------------------------------------------------------- */
.gift-note {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1.5px solid #E6E0EE; border-left: 3px solid var(--brand);
  border-radius: 10px; padding: 16px 18px; background: #FAF7FD; margin: 0 0 14px;
}
.gift-note > svg { width: 26px; height: 26px; flex: none; color: var(--brand); margin-top: 1px; }
.gift-note b { display: block; font-size: 14px; margin-bottom: 4px; }
.gift-note p { font-size: 13px; line-height: 1.62; margin: 0; color: var(--ink-soft); }
.gift-note a { color: var(--brand-deep); font-weight: 600; text-decoration: underline; }
.gift-note em { font-style: normal; font-weight: 600; color: var(--brand-deep); }

/* Free-gift threshold hint shown until the cart reaches $99. */
.gift-note__progress {
  font-size: 12.5px; line-height: 1.55; color: var(--ink-soft);
  margin: 0 0 12px; padding: 10px 14px; border-radius: 9px;
  background: var(--paper-soft); border: 1px dashed #DED6E8;
}
.gift-note__progress b { color: var(--ink); }

/* Customer note carried from the product page into the cart line. */
.cart-line__note { display: block; margin-top: 4px; font-size: 11.5px; color: var(--brand-deep); }
