/* ==========================================================================
   SLEEPKRAFT · style.css
   Every colour, type and easing decision lives in :root. Nothing hard-codes.
   ========================================================================== */

:root {
  /* --- brand: purple sampled off the SLEEPKRAFT wordmark (#84368C) --------- */
  --brand:       #84368C;
  --brand-lift:  #9A4CA2;
  --brand-soft:  #C9A3CE;
  --brand-wash:  #F6EEF7;
  --brand-deep:  #5E2465;
  --pine-deep:   #2B1233;   /* deepest field: loader, footer, curtains */

  /* --- the star: orange, the other half of the mark (#FB9D22) ------------ */
  --wave:        #FB9D22;
  --wave-lt:     #FFC062;
  --wave-ink:    #9A5A0A;   /* AA on porcelain: 5.2:1 */
  --wave-wash:   #FFF3E3;

  /* --- navy, carried over from the old sleepkraft.com bands -------------- */
  --navy:        #203864;
  --navy-deep:   #16284A;
  --navy-wash:   #EEF1F8;

  /* --- gradient partners: purple to navy, one cool ramp ------------------ */
  --teal:        #5F3282;
  --slate:       #203864;

  /* --- neutrals: cool, so the purple reads clean against white ----------- */
  --white:       #FFFFFF;
  --porcelain:   #FBFAFC;
  --mist:        #F3F1F6;
  --line:        #E5E1EA;
  --line-soft:   #EFECF2;
  --ink:         #1E1727;
  --ink-2:       #43394D;
  --muted:       #6B6375;   /* AA on porcelain: 5.4:1 */

  /* --- gradients ---------------------------------------------------------- */
  --grad:        linear-gradient(115deg, var(--brand) 0%, var(--teal) 52%, var(--navy) 100%);
  --grad-soft:   linear-gradient(115deg, #9A4CA2 0%, #6F3F92 50%, #34507F 100%);
  --grad-deep:   linear-gradient(155deg, #203864 0%, #2E2C68 48%, #2B1233 100%);
  --grad-wave:   linear-gradient(115deg, var(--wave-lt) 0%, var(--wave) 55%, #E8850F 100%);
  --grad-text:   linear-gradient(100deg, #6E2A76 0%, #4F2F82 48%, #203864 100%);

  /* --- shadow ladder, cast in purple rather than neutral black ----------- */
  --sh-1: 0 1px 2px rgba(60,24,64,.04), 0 4px 14px rgba(60,24,64,.05);
  --sh-2: 0 2px 6px rgba(60,24,64,.05), 0 14px 34px rgba(60,24,64,.08);
  --sh-3: 0 4px 12px rgba(60,24,64,.06), 0 30px 64px rgba(60,24,64,.13);
  --sh-brand: 0 12px 30px rgba(132,54,140,.26);
  /* --- type -------------------------------------------------------------- */
  --display: "Schibsted Grotesk", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* --- motion ------------------------------------------------------------ */
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --ease-out:  cubic-bezier(.16, .84, .30, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
  --dur:       .8s;

  /* --- rhythm ------------------------------------------------------------ */
  /* One measure for the whole site. The header, the hero and every .wrap read
     from it, so the page never disagrees with itself about where the edge is. */
  --wrap: 1660px;
  --pad:  clamp(18px, 3.4vw, 56px);
  --gap:  clamp(18px, 2.4vw, 30px);
  --sect: clamp(76px, 10vw, 148px);
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
}

/* ==========================================================================
   RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: -.006em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.is-loading { overflow: hidden; }
body.is-locked  { overflow: hidden; }

img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p, dl, dd, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input { font: inherit; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ==========================================================================
   TYPE SCALE
   ========================================================================== */
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -.038em;
  color: var(--ink);
  max-width: 16ch;
}
.h2--sm     { font-size: clamp(1.85rem, 3.6vw, 2.85rem); max-width: 18ch; }
.h2--inv    { color: #fff; }
.h2--center { margin-inline: auto; text-align: center; max-width: 20ch; }

.lede {
  font-size: clamp(1rem, 1.25vw, 1.115rem);
  line-height: 1.72;
  color: var(--muted);
  max-width: 52ch;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: .705rem;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow__rule {
  display: block;
  width: 32px; height: 1px;
  background: var(--grad);
  transform-origin: left;
  animation: ruleDraw 1s var(--ease-out) both;
}
.eyebrow--center  { justify-content: center; }
.eyebrow--wave    { color: var(--wave-lt); }
.eyebrow--wave .eyebrow__rule { background: var(--grad-wave); }

/* ==========================================================================
   KEYFRAMES
   ========================================================================== */
@keyframes ruleDraw  { from { transform: scaleX(0); opacity: 0 } to { transform: scaleX(1); opacity: 1 } }
@keyframes sheen     { 0% { transform: translateX(-130%) skewX(-18deg) } 55%, 100% { transform: translateX(230%) skewX(-18deg) } }
@keyframes drift     { 0%, 100% { transform: translate3d(0,0,0) scale(1) } 50% { transform: translate3d(2%, -3%, 0) scale(1.07) } }
@keyframes floaty    { 0%, 100% { transform: translateY(0) rotate(0deg) } 50% { transform: translateY(-14px) rotate(-.28deg) } }
@keyframes ping      { 0% { transform: scale(.6); opacity: .65 } 70% { opacity: 0 } 100% { transform: scale(2.4); opacity: 0 } }
@keyframes marquee   { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes shimmer   { 0% { background-position: 0% 50% } 100% { background-position: 200% 50% } }
@keyframes barGrow   { from { transform: scaleY(.55); opacity: .4 } to { transform: scaleY(1); opacity: 1 } }

/* ==========================================================================
   ANIMATION ENGINE
   `data-anim` is set in markup, `--d` (delay) is set inline by JS.
   The attribute is stripped once the transition ends, so component hover
   transitions are never shadowed by the reveal transition.
   ========================================================================== */
.js [data-anim] {
  opacity: 0;
  transition:
    opacity     var(--dur) var(--ease-out),
    transform   var(--dur) var(--ease-out),
    clip-path   var(--dur) var(--ease-out),
    filter      var(--dur) var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-anim="up"]    { transform: translateY(30px); }
.js [data-anim="left"]  { transform: translateX(-26px); }
.js [data-anim="right"] { transform: translateX(26px); }
.js [data-anim="scale"] { transform: scale(.955); }
.js [data-anim="rise"]  { transform: translateY(58px) scale(.972); filter: blur(6px); }
.js [data-anim="fade"]  { transform: none; }
.js [data-anim="clip"]  { clip-path: inset(0 0 100% 0); transform: scale(1.05); }

.js [data-anim].is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
  clip-path: inset(0 0 0 0);
}

/* word-split headings */
.w      {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  /* Padding widens the clip box so no face's ascenders or descenders are cut;
     the matching negative margin keeps layout identical. Font-agnostic. */
  padding: .18em .05em .38em;
  margin:  -.18em -.05em -.38em;
}
.js .w > i, .w > i {
  display: inline-block;
  font-style: inherit;
  padding-bottom: .28em;
  margin-bottom: -.28em;
  transform: translateY(112%) rotate(3deg);
  transition: transform .95s var(--ease-out);
  transition-delay: var(--wd, 0ms);
}
.js .is-in .w > i, .js .w.is-in > i { transform: none; }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
html:not(.js) .loader { display: none; }
.loader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: var(--pine-deep);
}
/* a slow pine bloom behind the mark, so the field is never flat */
.loader::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(42% 46% at 50% 42%, rgba(95,50,130,.55), transparent 66%),
    radial-gradient(38% 40% at 22% 78%, rgba(32,56,100,.22), transparent 68%),
    radial-gradient(30% 34% at 82% 18%, rgba(251,157,34,.18), transparent 70%);
  animation: drift 14s ease-in-out infinite;
}
/* A vignette pulls the eye to the middle third and stops the corners going
   muddy where the two blooms overlap. */
.loader::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(72% 62% at 50% 46%, transparent 40%, rgba(20,8,26,.62) 100%);
}

/* ── three wave echoes, swelling rather than scrolling ─────────────────
   The same trick as the section dividers, slowed right down: scale and
   opacity only, so it costs one composited layer each and nothing reflows. */
.loader__echoes {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center;
  overflow: hidden;
}
.loader__echoes i { position: absolute; display: block; width: 150%; opacity: 0; }
.loader__echoes svg { width: 100%; height: auto; }
.loader__echoes i:nth-child(1) { color: rgba(251,157,34,.30); animation: echo 7.5s var(--ease-soft)  .30s infinite; }
.loader__echoes i:nth-child(2) { color: rgba(251,157,34,.20); animation: echo 8.8s var(--ease-soft) 1.35s infinite; }
.loader__echoes i:nth-child(3) { color: rgba(255,192,98,.14); animation: echo 10.4s var(--ease-soft) 2.40s infinite; }
@keyframes echo {
  0%   { opacity: 0;   transform: scale(.62) translateY(14px); }
  22%  { opacity: 1; }
  100% { opacity: 0;   transform: scale(1.9) translateY(-26px); }
}

/* A very fine grain over the field. Flat dark green banded badly on the
   client's display; this breaks it up for the cost of one tiled SVG. */
.loader__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.loader__curtain {
  position: absolute; left: 0; width: 100%; height: 50.5%;
  background: var(--pine-deep);
  transition: transform 1.05s cubic-bezier(.76, 0, .24, 1);
}
.loader__curtain--a { top: 0; }
.loader__curtain--b { bottom: 0; }

.loader__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  width: clamp(210px, 34vw, 320px);
  transition: opacity .45s ease, transform .7s var(--ease);
}

/* the wave paints itself left to right, the way it was drawn */
.loader__wave { position: relative; display: block; width: 100%; color: var(--wave); overflow: hidden; }
.loader__wave svg { width: 100%; height: auto; }
.loader__wave {
  clip-path: inset(0 100% 0 0);
  animation: wavePaint .95s var(--ease-out) .12s forwards;
}
@keyframes wavePaint { from { clip-path: inset(0 100% 0 0) } to { clip-path: inset(0 0 0 0) } }

.loader__word {
  width: 84%; margin-top: 12px;
  clip-path: inset(0 0 100% 0);
  transform: translateY(16px);
  animation: wordRise .85s var(--ease-out) .62s forwards;
}
@keyframes wordRise {
  from { clip-path: inset(0 0 100% 0); transform: translateY(16px) }
  to   { clip-path: inset(0 0 0 0);    transform: none }
}
/* A single sheen crosses the mark once it has finished painting. It lives on
   .loader__wave, which is already clipped and overflow-hidden, so the light is
   bounded by the wave rather than sliding across the whole field as a bar. */
.loader__wave::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 42%, rgba(255,255,255,.5) 50%, transparent 58%);
  mix-blend-mode: overlay; opacity: 0;
  animation: sheen 1.5s var(--ease-out) 1.25s;
}
@keyframes sheen {
  0%   { opacity: 0; transform: translateX(-60%); }
  18%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(60%); }
}

.loader__tag {
  margin-top: 14px;
  font-family: var(--display); font-size: .58rem; font-weight: 500;
  text-transform: uppercase; color: var(--wave-lt);
  letter-spacing: 1.1em; text-indent: 1.1em;
  opacity: 0;
  animation: tagSettle 1s var(--ease-out) .98s forwards;
}
@keyframes tagSettle {
  from { opacity: 0; letter-spacing: 1.1em; text-indent: 1.1em }
  to   { opacity: 1; letter-spacing: .34em; text-indent: .34em }
}

/* The two-part hairline off the brand sheet, drawn out from the centre once
   the tagline has settled. Deliberately uneven, as it is on the sheet. */
.loader__rule {
  display: flex; justify-content: center; gap: 10px;
  width: 76%; margin-top: 20px;
}
.loader__rule i {
  display: block; height: 1px; flex: 1;
  transform: scaleX(0);
  animation: ruleDraw .9s var(--ease-out) 1.62s forwards;
}
.loader__rule i:first-child  { flex: 1.6; background: linear-gradient(90deg, transparent, var(--wave)); transform-origin: right; }
.loader__rule i:last-child   { flex: 1;   background: linear-gradient(90deg, var(--wave), transparent); transform-origin: left; }
@keyframes ruleDraw { to { transform: scaleX(1) } }

.loader__meter {
  width: 100%; height: 1px; margin-top: 34px;
  overflow: hidden;
  background: rgba(255,255,255,.14);
}
.loader__fill {
  display: block; width: 0%; height: 100%;
  background: linear-gradient(90deg, var(--wave), var(--wave-lt));
  transition: width .28s var(--ease-soft);
}
.loader__note {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; margin-top: 11px;
  font-family: var(--mono); font-size: .6rem;
  letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.44);
  opacity: 0; animation: fadeUp .6s var(--ease-out) 1.25s forwards;
}
.loader__note em { font-style: normal; color: var(--wave-lt); font-variant-numeric: tabular-nums; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }

/* A lit seam sits on the centre line and flares as the curtains part, so the
   split reads as the page opening rather than two panels sliding off. */
.loader__seam {
  position: absolute; left: 0; top: 50%; z-index: 3;
  width: 100%; height: 1px;
  transform: translateY(-50%) scaleX(0);
  background: linear-gradient(90deg, transparent, var(--wave-lt) 30%, #fff 50%, var(--wave-lt) 70%, transparent);
  opacity: 0;
}
.loader.is-done .loader__seam { animation: seam .95s var(--ease-out) forwards; }
@keyframes seam {
  0%   { opacity: 0; transform: translateY(-50%) scaleX(0);   }
  26%  { opacity: 1; transform: translateY(-50%) scaleX(1);   }
  100% { opacity: 0; transform: translateY(-50%) scaleX(1.1); }
}

.loader.is-done .loader__inner   { opacity: 0; transform: translateY(-18px) scale(.97); }
.loader.is-done .loader__echoes  { opacity: 0; transition: opacity .45s ease; }
.loader.is-done .loader__grain   { opacity: 0; transition: opacity .45s ease; }
.loader.is-done .loader__curtain--a { transform: translateY(-101%); }
.loader.is-done .loader__curtain--b { transform: translateY(101%); }
.loader.is-done::before { opacity: 0; transition: opacity .5s ease; }
.loader.is-done::after  { opacity: 0; transition: opacity .4s ease; }
.loader.is-gone { visibility: hidden; pointer-events: none; }

/* ==========================================================================
   SCROLL PROGRESS
   ========================================================================== */
.progress {
  position: fixed; top: 0; left: 0; z-index: 90;
  width: 100%; height: 2px;
  pointer-events: none;
}
.progress span {
  display: block; width: 100%; height: 100%;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .12s linear;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.head {
  position: fixed; top: 0; left: 0; z-index: 80;
  width: 100%;
  padding: clamp(12px, 1.6vw, 20px) 0;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.head::before {
  content: ""; position: absolute; inset: 0;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  background: rgba(251, 250, 247, .82);
  opacity: 0; transition: opacity .5s var(--ease);
}
.head.is-stuck { padding: 10px 0; border-bottom-color: var(--line); }
.head.is-stuck::before { opacity: 1; }
.head.is-hidden { transform: translateY(-102%); transition: transform .5s var(--ease), background .5s var(--ease); }

.head__in {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--pad);
  /* Three tracks, with the outer two forced equal, so the nav sits on the
     page's centre line rather than on the midpoint between the logo and the
     buttons — those two are different widths, which is what pulled it left. */
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(14px, 2.4vw, 38px);
}
.head__logo { justify-self: start; }
.head__logo img {
  width: clamp(124px, 12vw, 152px);
  transition: transform .5s var(--ease), opacity .3s ease;
}
.head__logo:hover img { transform: scale(1.035); }

.head__nav { display: flex; align-items: center; justify-content: center; gap: clamp(6px, 1.4vw, 22px); }
.head__nav a {
  position: relative;
  padding: 8px 2px;
  font-size: .845rem; font-weight: 600; letter-spacing: -.008em;
  color: var(--ink-2);
  transition: color .32s var(--ease);
  overflow: hidden;
}
.head__nav a > span { display: block; transition: transform .42s var(--ease-out); }
.head__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 1.5px; border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.head__nav a:hover { color: var(--brand); }
.head__nav a:hover > span { transform: translateY(-1px); }
.head__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.head__nav a.is-active { color: var(--brand); }
.head__nav a.is-active::after { transform: scaleX(1); }

.head__act { display: flex; align-items: center; justify-content: flex-end; gap: 8px; grid-column: 3; }
.ico {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.6);
  transition: color .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.ico svg { width: 17px; height: 17px; }
.ico:hover { color: var(--brand); border-color: var(--brand-soft); background: var(--brand-wash); transform: translateY(-2px); }

.burger {
  display: none; position: relative;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.6);
}
.burger span {
  position: absolute; left: 50%; width: 16px; height: 1.6px; border-radius: 2px;
  background: var(--ink);
  transition: transform .42s var(--ease), width .42s var(--ease);
}
.burger span:nth-child(1) { top: 16px; transform: translateX(-50%); }
.burger span:nth-child(2) { top: 22px; width: 11px; transform: translateX(-50%); }
.burger:hover span:nth-child(2) { width: 16px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 100px;
  font-size: .875rem; font-weight: 700; letter-spacing: -.008em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .42s var(--ease), box-shadow .42s var(--ease), color .32s var(--ease), background .32s var(--ease), border-color .32s var(--ease);
}
.btn > span, .btn > svg { position: relative; z-index: 2; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, transparent 18%, rgba(255,255,255,.4) 50%, transparent 82%);
  transform: translateX(-130%) skewX(-18deg);
  transition: transform .85s var(--ease-out);
}
.btn:hover::before { transform: translateX(230%) skewX(-18deg); }
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn__arw { width: 16px; height: 16px; transition: transform .42s var(--ease); }
.btn:hover .btn__arw { transform: translateX(4px); }
.btn__pin { width: 16px; height: 16px; }
.btn--sm { padding: 11px 20px; font-size: .81rem; }

.btn--brand {
  color: #fff;
  background: var(--grad);
  background-size: 180% 180%;
  box-shadow: var(--sh-brand);
}
.btn--brand:hover { box-shadow: 0 16px 38px rgba(132,54,140,.34); background-position: 100% 50%; }

.btn--wave {
  color: #2B1233;
  background: var(--grad-wave);
  box-shadow: 0 12px 30px rgba(32,56,100,.3);
}
.btn--wave:hover { box-shadow: 0 16px 38px rgba(32,56,100,.4); }

.btn--line {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
.btn--line:hover { border-color: var(--brand-soft); color: var(--brand); box-shadow: var(--sh-2); }

.btn--glass {
  color: #fff;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255,255,255,.17); border-color: rgba(255,255,255,.44); }

/* arrow links */
.link-arw {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .85rem; font-weight: 700; color: var(--brand);
  transition: gap .38s var(--ease), color .32s var(--ease);
}
.link-arw svg { width: 15px; height: 15px; transition: transform .42s var(--ease); }
.link-arw:hover { gap: 13px; }
.link-arw:hover svg { transform: translateX(2px); }
.link-arw--sm { font-size: .8rem; }

/* ==========================================================================
   DRAWER
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer[hidden] { display: none; }
.drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(11, 26, 22, .55);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  opacity: 0; transition: opacity .5s var(--ease);
}
.drawer__panel {
  position: absolute; top: 0; right: 0;
  width: min(400px, 88vw); height: 100%;
  display: flex; flex-direction: column;
  padding: 26px clamp(22px, 5vw, 34px) 30px;
  background: var(--grad-deep);
  color: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .6s var(--ease-out);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }

.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.drawer__logo { width: 138px; opacity: .95; }
.drawer__close {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: #fff; border: 1px solid rgba(255,255,255,.2);
  transition: background .32s var(--ease), transform .5s var(--ease), border-color .32s var(--ease);
}
.drawer__close svg { width: 19px; height: 19px; }
.drawer__close:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); transform: rotate(90deg); }

.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  font-family: var(--display); font-size: 1.28rem; font-weight: 600; letter-spacing: -.028em;
  opacity: 0; transform: translateX(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s ease, padding-left .38s var(--ease);
}
.drawer.is-open .drawer__nav a { opacity: 1; transform: none; }
.drawer__nav a em {
  font-family: var(--mono); font-style: normal;
  font-size: .62rem; letter-spacing: .18em;
  color: var(--wave-lt); opacity: .8;
}
.drawer__nav a:hover { color: var(--wave-lt); padding-left: 12px; }

.drawer__foot { margin-top: auto; padding-top: 30px; }
.drawer__cta { width: 100%; }
.drawer__meta { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 20px; }
.drawer__meta a {
  display: flex; align-items: center; gap: 10px;
  font-size: .855rem; color: rgba(255,255,255,.82);
  transition: color .3s ease;
}
.drawer__meta a svg { width: 15px; height: 15px; color: var(--wave-lt); flex: none; }
.drawer__meta a:hover { color: #fff; }
.drawer__social { display: flex; gap: 9px; }
.drawer__social a {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  transition: background .32s var(--ease), transform .38s var(--ease), border-color .32s var(--ease);
}
.drawer__social a svg { width: 16px; height: 16px; }
.drawer__social a:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); transform: translateY(-3px); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(126px, 15vw, 172px) 0 0;
  overflow: hidden;
  background: var(--white);
}
.hero__aura { position: absolute; inset: -12% -10% 0; pointer-events: none; }
.aura { position: absolute; border-radius: 50%; filter: blur(78px); opacity: .62; }
.aura--1 { top: -6%;  left: 8%;   width: 44vw; height: 44vw; background: radial-gradient(circle, rgba(32,56,100,.44), transparent 68%); animation: drift 17s ease-in-out infinite; }
.aura--2 { top: 12%;  right: 2%;  width: 40vw; height: 40vw; background: radial-gradient(circle, rgba(251,157,34,.40), transparent 68%); animation: drift 21s ease-in-out -6s infinite; }
.aura--3 { top: 46%;  left: 32%;  width: 46vw; height: 34vw; background: radial-gradient(circle, rgba(132,54,140,.34), transparent 70%); animation: drift 25s ease-in-out -12s infinite; }

.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(132,54,140,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(132,54,140,.055) 1px, transparent 1px);
  background-size: clamp(52px, 6vw, 86px) clamp(52px, 6vw, 86px);
  mask-image: radial-gradient(120% 82% at 50% 24%, #000 12%, transparent 74%);
  -webkit-mask-image: radial-gradient(120% 82% at 50% 24%, #000 12%, transparent 74%);
}

.hero__in {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--pad);
  text-align: center;
}

.hero__title {
  margin: 0 auto 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.75rem, 8.8vw, 7.4rem);
  line-height: .98;
  letter-spacing: -.052em;
  color: var(--ink);
  max-width: 14ch;
}
.hero__title .w:last-child > i {
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 11s ease-in-out infinite alternate;
}

.hero__lede {
  margin: 0 auto;
  max-width: 52ch;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.68;
  color: var(--muted);
}

.hero__cta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 30px;
}

/* --- product stage ------------------------------------------------------ */
.stage {
  position: relative;
  margin: clamp(34px, 5vw, 58px) auto 0;
  max-width: 1080px;
  padding-bottom: clamp(96px, 12vw, 150px);
}
.stage__glow {
  position: absolute; left: 50%; top: 46%;
  width: 86%; height: 72%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(132,54,140,.30), rgba(32,56,100,.14) 44%, transparent 72%);
  filter: blur(46px);
}
.stage__plinth {
  position: absolute; left: 50%; bottom: clamp(88px, 11.4vw, 138px);
  width: min(74%, 720px); height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(60,24,64,.24), transparent 70%);
  filter: blur(14px);
}
.stage__product {
  position: relative; margin: 0;
  animation: floaty 8.5s ease-in-out 1.4s infinite;
  transition: transform .9s var(--ease);
}
.stage__product img {
  width: 100%;
  filter: drop-shadow(0 34px 48px rgba(60,24,64,.20));
}

/* hotspot · anchored to .stage, never to the floating figure */
.stage { --spot-y: 33%; }
.spot {
  position: absolute; left: 50.5%; top: var(--spot-y);
  z-index: 5;
  width: 38px; height: 38px;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
}
.spot__dot {
  position: relative; z-index: 2;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 4px 14px rgba(132,54,140,.5);
  transition: transform .42s var(--ease);
}
.spot__ping {
  position: absolute; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--brand-lift);
  animation: ping 2.8s var(--ease-out) infinite;
}
.spot:hover .spot__dot, .spot.is-on .spot__dot { transform: scale(1.28); }

.tip {
  position: absolute; left: 50.5%; top: var(--spot-y);
  width: min(310px, 78vw);
  transform: translate(-50%, 8px) scale(.95);
  margin-top: 30px;
  opacity: 0; visibility: hidden;
  transition: opacity .42s var(--ease), transform .42s var(--ease-out), visibility .42s;
  z-index: 6;
}
.tip.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.tip__card {
  position: relative;
  padding: 18px 20px 19px;
  text-align: left;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sh-3);
}
.tip__no {
  font-family: var(--mono); font-size: .615rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brand);
}
.tip__ttl { margin-top: 5px; font-family: var(--display); font-size: 1.06rem; font-weight: 700; letter-spacing: -.024em; }
.tip__txt { margin-top: 7px; font-size: .82rem; line-height: 1.6; color: var(--muted); }
.tip__x {
  position: absolute; top: 12px; right: 12px;
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  color: var(--muted); background: var(--mist);
  transition: background .3s ease, color .3s ease, transform .45s var(--ease);
}
.tip__x svg { width: 13px; height: 13px; }
.tip__x:hover { background: var(--brand-wash); color: var(--brand); transform: rotate(90deg); }

/* --- firmness gauge ----------------------------------------------------- */
.gauge {
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: min(420px, 92%);
  padding: 18px 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 6px 18px rgba(60,24,64,.07), 0 28px 60px rgba(60,24,64,.16);
  text-align: center;
}
.gauge__lbl {
  font-family: var(--mono); font-size: .625rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.gauge__dials {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px; margin: 12px 0 10px;
  padding: 4px;
  border-radius: 100px;
  background: var(--mist);
}
.gauge__ink {
  position: absolute; top: 4px; left: 4px;
  width: calc((100% - 8px) / 3); height: calc(100% - 8px);
  border-radius: 100px;
  background: var(--grad);
  box-shadow: 0 4px 14px rgba(132,54,140,.32);
  transition: transform .55s var(--ease-out);
}
.dial {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 8px 4px 7px;
  border-radius: 100px;
  color: var(--muted);
  transition: color .38s var(--ease);
}
.dial em {
  font-family: var(--display); font-style: normal;
  font-size: 1.14rem; font-weight: 700; line-height: 1;
}
.dial span { font-family: var(--mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; }
.dial:hover { color: var(--brand); }
.dial.is-on, .dial.is-on:hover { color: #fff; }
.gauge__note { margin-top: 2px; font-size: .795rem; color: var(--muted); min-height: 1.3em; transition: opacity .3s ease; }
.gauge__note.is-fade { opacity: 0; }

/* --- trust ticker ------------------------------------------------------- */
.ticker {
  position: relative; z-index: 3;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.6);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
}
.ticker__track {
  display: flex; align-items: center; gap: 30px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span {
  font-family: var(--mono); font-size: .68rem; font-weight: 400;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.ticker__track i { width: 4px; height: 4px; border-radius: 50%; background: var(--brand-soft); flex: none; }

/* ==========================================================================
   SECTION SHELL
   ========================================================================== */
.sect { position: relative; padding: var(--sect) 0; }
.sect--inside  { background: var(--porcelain); }
.sect--range   { background: var(--mist); }
.sect--advisor { background: var(--white); }
.sect--acc     { background: var(--porcelain); }
.sect--advice  { background: var(--white); }

.sect--inside::before,
.sect--acc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(58% 44% at 88% 6%, rgba(32,56,100,.08), transparent 68%),
    radial-gradient(50% 40% at 4% 92%, rgba(251,157,34,.08), transparent 68%);
}
.sect > .wrap { position: relative; z-index: 2; }

.head-row {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 68px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 66px);
}
.head-row--split { grid-template-columns: 1fr auto; align-items: end; }
/* .head-row__r takes a bare <p> or a <p> + link. Both need the same measure. */
.head-row__r { font-size: .975rem; line-height: 1.72; color: var(--muted); max-width: 52ch; }
.head-row__r > p + .link-arw { margin-top: 16px; }

/* ==========================================================================
   SIGNATURE · exploded cross-section
   ========================================================================== */
.section-x {
  display: grid; grid-template-columns: minmax(280px, .82fr) 1fr;
  gap: clamp(30px, 4.6vw, 68px);
  align-items: center;
}

.xsec {
  position: relative;
  padding: 26px 26px 26px 62px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, #fff, var(--mist));
  box-shadow: var(--sh-2);
}
.xsec__stack {
  display: flex; flex-direction: column; gap: 5px;
  height: clamp(310px, 40vw, 424px);
  perspective: 900px;
}
.band {
  position: relative;
  display: block;
  border-radius: 9px;
  overflow: hidden;
  transform-origin: left center;
  box-shadow: 0 2px 8px rgba(60,24,64,.09);
  transition:
    transform .62s var(--ease-out),
    opacity   .48s var(--ease),
    box-shadow .62s var(--ease),
    filter    .48s var(--ease);
}
.band > i {
  position: absolute; inset: 0;
  opacity: .9;
}
/* proportional to the real build: 4 / 5 / 2 / 3 / 10 / 4 cm = 28 cm */
.band[data-band="1"] { flex: 4;  background: linear-gradient(120deg, #FFFFFF, #F4F2F6); }
.band[data-band="2"] { flex: 5;  background: linear-gradient(120deg, #EDE7F1, #D3C4DA); }
.band[data-band="3"] { flex: 2;  background: linear-gradient(120deg, #FFE9C7, #FBBE6A); }
.band[data-band="4"] { flex: 3;  background: linear-gradient(120deg, #E2D9F0, #B49BD4); }
.band[data-band="5"] { flex: 10; background: linear-gradient(120deg, #8A4A92, var(--brand-deep)); }
.band[data-band="6"] { flex: 4;  background: linear-gradient(120deg, #3D2A64, var(--pine-deep)); }

/* material textures, drawn not decorated */
.band[data-band="1"] > i {
  background-image:
    repeating-linear-gradient( 46deg, rgba(132,54,140,.14) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-46deg, rgba(132,54,140,.14) 0 1px, transparent 1px 22px);
}
.band[data-band="2"] > i,
.band[data-band="4"] > i {
  background-image: radial-gradient(rgba(255,255,255,.7) 1px, transparent 1.6px);
  background-size: 9px 9px;
}
.band[data-band="3"] > i {
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 1px, transparent 1px 14px);
}
.band[data-band="5"] > i {
  background-image: repeating-radial-gradient(circle at 12px 50%, rgba(255,255,255,.34) 0 1px, transparent 1px 9px);
  background-size: 24px 100%;
}
.band[data-band="6"] > i {
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 2px, transparent 2px 10px);
}

.xsec__stack.is-live .band { opacity: .48; filter: saturate(.72); }
.xsec__stack.is-live .band.is-on {
  opacity: 1; filter: saturate(1.06);
  transform: translateX(16px) scaleY(1.035);
  box-shadow: 0 10px 26px rgba(60,24,64,.2);
  z-index: 3;
}

.xsec__caliper {
  position: absolute; left: 26px; top: 26px; bottom: 26px;
  width: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.xsec__caliper i { flex: 1; width: 1px; background: linear-gradient(var(--brand-soft), var(--line)); }
.xsec__caliper em {
  font-family: var(--mono); font-style: normal;
  font-size: .58rem; letter-spacing: .14em; color: var(--muted);
  writing-mode: vertical-rl; transform: rotate(180deg);
}
.xsec__caliper::before, .xsec__caliper::after {
  content: ""; position: absolute; left: 3px; width: 13px; height: 1px; background: var(--brand-soft);
}
.xsec__caliper::before { top: 0; }
.xsec__caliper::after  { bottom: 0; }

/* --- layer rows --------------------------------------------------------- */
.layers { display: flex; flex-direction: column; gap: 3px; }
.layer {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: start; gap: clamp(14px, 1.8vw, 24px);
  padding: 17px clamp(14px, 1.8vw, 22px);
  border-radius: var(--r);
  cursor: pointer;
  transition: background .48s var(--ease), transform .48s var(--ease-out), box-shadow .48s var(--ease);
}
.layer::before {
  content: ""; position: absolute; left: 0; top: 12%;
  width: 2.5px; height: 76%; border-radius: 3px;
  background: var(--grad);
  transform: scaleY(0); transform-origin: center;
  transition: transform .5s var(--ease-out);
}
.layer:not(:last-child)::after {
  content: ""; position: absolute; left: clamp(14px, 1.8vw, 22px); right: clamp(14px, 1.8vw, 22px); bottom: 0;
  height: 1px; background: var(--line-soft);
}
.layer__n {
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .1em; color: var(--wave-ink);
  padding-top: 4px;
  transition: color .4s var(--ease);
}
.layer__b h3 {
  font-family: var(--display); font-size: 1.09rem; font-weight: 700;
  letter-spacing: -.022em; color: var(--ink);
  transition: color .4s var(--ease);
}
.layer__b p { margin-top: 3px; font-size: .875rem; line-height: 1.6; color: var(--muted); }
.layer__mm {
  font-family: var(--mono); font-size: .655rem; letter-spacing: .08em;
  color: var(--muted); padding-top: 5px; white-space: nowrap;
  transition: color .4s var(--ease);
}
.layer:hover { background: rgba(255,255,255,.72); }
.layer.is-on {
  background: #fff;
  box-shadow: var(--sh-2);
  transform: translateX(4px);
}
.layer.is-on::before { transform: scaleY(1); }
.layer.is-on::after  { opacity: 0; }
.layer.is-on .layer__n  { color: var(--brand); }
.layer.is-on .layer__mm { color: var(--brand); }

/* ==========================================================================
   RANGE
   ========================================================================== */
.range {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.prod {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease), border-color .5s var(--ease);
}
.prod__hit { position: absolute; inset: 0; z-index: 4; }
.prod::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s var(--ease);
}
.prod:hover { transform: translateY(-7px); box-shadow: var(--sh-3); }
.prod:hover::after { opacity: 1; }

.prod__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.05s var(--ease-out); }
.prod:hover .prod__media img { transform: scale(1.06); }
.prod__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(60,24,64,.16));
  opacity: 0; transition: opacity .55s var(--ease);
}
.prod:hover .prod__media::after { opacity: 1; }

.prod__body { display: flex; flex-direction: column; gap: 11px; padding: clamp(18px, 2vw, 24px); flex: 1; }
.prod__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prod__top h3 {
  font-family: var(--display); font-size: 1.38rem; font-weight: 700; letter-spacing: -.032em;
}
.prod__body > p { font-size: .885rem; line-height: 1.66; color: var(--muted); flex: 1; }
.prod__body .link-arw { margin-top: 2px; }

.chip {
  padding: 5px 11px; border-radius: 100px;
  font-family: var(--mono); font-size: .615rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-wash); border: 1px solid #E3D3E6;
  white-space: nowrap;
}
.chip--wave { color: var(--wave-ink); background: var(--wave-wash); border-color: #F5DDB8; }

.scale { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.scale i {
  display: block; width: var(--w); height: 100%; border-radius: 4px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--ease-out) .2s;
}
.prod.is-seen .scale i { transform: scaleX(1); }

.prod--hero { border-color: transparent; box-shadow: var(--sh-2); }
.prod--hero::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  border-radius: inherit; pointer-events: none; padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .55; transition: opacity .5s var(--ease);
}
.prod--hero:hover::before { opacity: 0; }
.prod--hero .prod__media { aspect-ratio: 4 / 3.2; }
.ribbon {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  padding: 6px 13px; border-radius: 100px;
  font-family: var(--mono); font-size: .59rem; letter-spacing: .14em; text-transform: uppercase;
  color: #2B1233; background: var(--grad-wave);
  box-shadow: 0 6px 16px rgba(32,56,100,.34);
}

/* ==========================================================================
   ADVISOR
   ========================================================================== */
.advisor {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 78px); align-items: center;
}
.advisor__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stats {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: clamp(20px, 3vw, 44px);
  justify-content: start;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stats dt {
  font-family: var(--display); font-size: clamp(1.65rem, 2.9vw, 2.2rem);
  font-weight: 700; line-height: 1; letter-spacing: -.042em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stats dd {
  margin-top: 6px;
  font-family: var(--mono); font-size: .625rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}

.advisor__fig { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3); }
.advisor__fig > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.advisor__fig:hover > img { transform: scale(1.045); }
.advisor__badge {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 13px;
  padding: 12px 15px; border-radius: var(--r);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--sh-2);
  transform: translateY(0); transition: transform .55s var(--ease-out);
}
.advisor__fig:hover .advisor__badge { transform: translateY(-4px); }
.advisor__badge img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.advisor__badge strong { display: block; font-size: .875rem; font-weight: 700; letter-spacing: -.012em; }
.advisor__badge span   { font-size: .765rem; color: var(--muted); }

/* ==========================================================================
   ACCESSORIES
   ========================================================================== */
.acc { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.tile {
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff; overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease), border-color .5s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: #D9CFE0; }
.tile__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--mist); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.05s var(--ease-out); }
.tile:hover .tile__media img { transform: scale(1.07); }
.tile__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.tile__body h3 { font-family: var(--display); font-size: 1.05rem; font-weight: 700; letter-spacing: -.026em; }
.tile__body p  { font-size: .83rem; line-height: 1.58; color: var(--muted); flex: 1; }
.tile__go {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 6px;
  font-size: .775rem; font-weight: 700; color: var(--brand);
  transition: gap .38s var(--ease);
}
.tile__go svg { width: 14px; height: 14px; transition: transform .42s var(--ease); }
.tile:hover .tile__go { gap: 11px; }
.tile:hover .tile__go svg { transform: translateX(2px); }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.sect--reviews {
  position: relative;
  padding: var(--sect) 0;
  background: var(--grad-deep);
  color: #fff;
  overflow: hidden;
}
.reviews__aura {
  position: absolute; top: -20%; left: 50%; width: 90vw; height: 70vw;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(95,50,130,.34), transparent 62%);
  filter: blur(70px); pointer-events: none;
  animation: drift 24s ease-in-out infinite;
}
.sect--reviews .wrap { position: relative; z-index: 2; }
.sect--reviews .head-row { align-items: center; }

.score { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; }
.score__n {
  font-family: var(--display); font-size: clamp(2.3rem, 4.4vw, 3.2rem);
  font-weight: 700; line-height: 1; letter-spacing: -.045em;
  background: var(--grad-wave); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.score__stars { display: flex; gap: 3px; color: var(--wave-lt); }
.score__stars svg, .quote__stars svg { width: 15px; height: 15px; }
.score__m { font-size: .765rem; color: rgba(255,255,255,.62); max-width: 22ch; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.quote {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .55s var(--ease-out), background .5s var(--ease), border-color .5s var(--ease);
}
.quote:hover { transform: translateY(-6px); background: rgba(255,255,255,.095); border-color: rgba(255,255,255,.26); }
.quote__stars { display: flex; gap: 3px; color: var(--wave-lt); }
.quote__stars .is-off { color: rgba(255,255,255,.24); }
.quote blockquote {
  font-family: var(--display); font-size: 1.02rem; font-weight: 500;
  line-height: 1.6; letter-spacing: -.018em; color: rgba(255,255,255,.94);
  flex: 1;
}
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.av {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .05em;
  color: #fff; background: var(--grad);
}
.quote figcaption strong { display: block; font-size: .86rem; font-weight: 700; }
.quote figcaption small  { font-size: .735rem; color: rgba(255,255,255,.58); }

/* ==========================================================================
   ADVICE
   ========================================================================== */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.post {
  display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--sh-1);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease), border-color .5s var(--ease);
}
.post:hover { transform: translateY(-7px); box-shadow: var(--sh-3); border-color: #D9CFE0; }
.post__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.05s var(--ease-out); }
.post:hover .post__media img { transform: scale(1.06); }
.post__tag {
  position: absolute; top: 13px; left: 13px;
  padding: 5px 11px; border-radius: 100px;
  font-family: var(--mono); font-size: .585rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.post__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.post__body h3 {
  font-family: var(--display); font-size: 1.11rem; font-weight: 700;
  line-height: 1.32; letter-spacing: -.026em;
  transition: color .38s var(--ease);
}
.post:hover .post__body h3 { color: var(--brand); }
.post__body p { font-size: .85rem; line-height: 1.62; color: var(--muted); flex: 1; }
.post__read {
  margin-top: 4px;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wave-ink);
}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  position: relative;
  padding: clamp(70px, 9vw, 122px) 0;
  background: var(--grad);
  background-size: 200% 200%;
  color: #fff; overflow: hidden;
  animation: shimmer 16s ease-in-out infinite alternate;
}
.cta-band__aura {
  position: absolute; inset: 0;
  background:
    radial-gradient(46% 62% at 16% 8%,  rgba(255,255,255,.24), transparent 62%),
    radial-gradient(52% 68% at 86% 96%, rgba(60,24,64,.36), transparent 66%);
}
.cta-band__in { position: relative; z-index: 2; text-align: center; }
.cta-band__lede {
  margin: 18px auto 0; max-width: 52ch;
  font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,.86);
}
.cta-band__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot {
  position: relative;
  padding: clamp(60px, 7vw, 92px) 0 0;
  background: var(--pine-deep);
  color: rgba(255,255,255,.72);
  overflow: hidden;
}
.foot::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(64% 46% at 12% 0%, rgba(132,54,140,.34), transparent 64%);
  pointer-events: none;
}
.foot .wrap { position: relative; z-index: 2; }

.foot__cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.35fr;
  gap: clamp(24px, 3vw, 46px);
  padding-bottom: clamp(38px, 5vw, 58px);
}
.foot__logo { width: 152px; margin-bottom: 16px; opacity: .95; }
.foot__brand > p { font-size: .845rem; line-height: 1.68; max-width: 34ch; }
.foot__line {
  display: flex; align-items: center; gap: 9px;
  margin-top: 11px; font-size: .845rem;
  transition: color .3s ease;
}
.foot__line svg { width: 15px; height: 15px; color: var(--wave-lt); flex: none; }
.foot__line:hover { color: #fff; }
.foot__social { display: flex; gap: 9px; margin-top: 20px; }
.foot__social a {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.8);
  transition: background .34s var(--ease), transform .4s var(--ease), color .3s ease, border-color .34s var(--ease);
}
.foot__social a svg { width: 16px; height: 16px; }
.foot__social a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.36); color: #fff; transform: translateY(-3px); }

.foot__col { display: flex; flex-direction: column; }
.foot__col h3, .foot__letter h3 {
  margin-bottom: 15px;
  font-family: var(--mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--wave-lt);
}
.foot__col a {
  padding: 6px 0; font-size: .855rem;
  transition: color .3s ease, transform .38s var(--ease);
}
.foot__col a:hover { color: #fff; transform: translateX(4px); }
.foot__letter > p { font-size: .845rem; line-height: 1.66; max-width: 30ch; }

.sub {
  display: flex; gap: 6px; margin-top: 15px;
  padding: 5px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.sub:focus-within { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.09); }
.sub input {
  flex: 1; min-width: 0;
  padding: 9px 14px; border: 0; background: none;
  font-size: .84rem; color: #fff; outline: none;
}
.sub input::placeholder { color: rgba(255,255,255,.42); }
.sub button {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  color: #fff; background: var(--grad);
  transition: transform .42s var(--ease), box-shadow .42s var(--ease);
}
.sub button svg { width: 16px; height: 16px; transition: transform .38s var(--ease); }
.sub button:hover { transform: scale(1.06); box-shadow: 0 6px 18px rgba(132,54,140,.5); }
.sub button:hover svg { transform: translateX(2px); }
.sub__msg {
  min-height: 1.2em; margin-top: 9px;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--wave-lt); opacity: 0; transform: translateY(-4px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.sub__msg.is-on { opacity: 1; transform: none; }
.sub__msg.is-err { color: #FFB4A8; }

.foot__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .78rem; color: rgba(255,255,255,.52);
}
.foot__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.foot__legal a { transition: color .3s ease; }
.foot__legal a:hover { color: #fff; }

.foot__mark {
  position: relative; z-index: 1;
  display: flex; justify-content: center;
  padding: 0 var(--pad);
  pointer-events: none; overflow: hidden;
}
.foot__mark span {
  display: block;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.1rem, 10vw, 8.6rem);
  line-height: .8; letter-spacing: .12em;
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,0) 82%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .18em; margin-bottom: -.18em;
  transform: translateY(14%);
}

.totop {
  position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px);
  z-index: 70;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  color: #fff; background: var(--grad);
  box-shadow: var(--sh-brand);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .45s var(--ease), transform .45s var(--ease-out), visibility .45s, box-shadow .4s var(--ease);
}
.totop svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { box-shadow: 0 16px 38px rgba(132,54,140,.42); }
.totop:hover svg { transform: translateY(-2px); }

/* ==========================================================================
   WAVE RULE
   The mark, used as the page's own divider. Three passes at different scales
   and speeds so the band breathes instead of scrolling.
   ========================================================================== */
.waverule {
  position: relative;
  height: clamp(76px, 9vw, 132px);
  background: var(--porcelain);
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
}
.waverule i {
  position: absolute; left: 50%; top: 50%;
  display: block; width: 128%;
  transform: translate(-50%, -50%);
  color: var(--wave);
}
.waverule i svg { width: 100%; height: auto; }
.waverule i:nth-child(1) { opacity: .30; animation: swell 13s ease-in-out infinite; }
.waverule i:nth-child(2) { opacity: .18; width: 150%; animation: swell 19s ease-in-out -5s infinite reverse; }
.waverule i:nth-child(3) { opacity: .10; width: 176%; animation: swell 27s ease-in-out -11s infinite; }
@keyframes swell {
  0%, 100% { transform: translate(-50%, -50%) translateX(-1.4%) scaleY(1) }
  50%      { transform: translate(-50%, -50%) translateX(1.4%)  scaleY(1.16) }
}

/* ==========================================================================
   PRICE ROW
   ========================================================================== */
.prod__body > .prod__price {
  display: flex; align-items: baseline; gap: 8px;
  flex: none;                 /* must beat .prod__body > p { flex: 1 } */
  padding-top: 2px; margin: 0;
}
.prod__body > .prod__price b {
  font-family: var(--display); font-size: 1.16rem; font-weight: 700;
  letter-spacing: -.03em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.prod__body > .prod__price span {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

/* ==========================================================================
   BRAND MARK IN THE HEADER AND FOOTER
   ========================================================================== */
.foot__mark { align-items: center; gap: 0; flex-direction: column; }
.foot__mark .foot__wave {
  display: block; width: min(58%, 520px);
  font-size: 0;               /* cancels the display size inherited from `span` */
  background: none;           /* and the clipped gradient meant for the wordmark */
  color: rgba(255,192,98,.16);
  margin: 0 0 clamp(2px, .8vw, 12px);
}
.foot__mark .foot__wave svg { width: 100%; height: auto; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .head__nav { gap: 12px; }
  .head__nav a { font-size: .8rem; }
  .foot__cols { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 40px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__letter { grid-column: 1 / -1; }
  .foot__letter > p { max-width: 44ch; }
  .sub { max-width: 420px; }
}

@media (max-width: 1020px) {
  html { scroll-padding-top: 88px; }
  .head__nav, .ico--hide { display: none; }
  .burger { display: block; }
  /* nav removed: fall back to logo | actions */
  .head__in { grid-template-columns: auto 1fr; }
  .head__act { grid-column: 2; }

  .head-row, .head-row--split { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .section-x { grid-template-columns: 1fr; gap: 30px; }
  .xsec { order: 2; }
  .xsec__stack { height: clamp(230px, 40vw, 300px); }
  .layers { order: 1; }

  .range, .posts, .quotes { grid-template-columns: 1fr 1fr; }
  .prod--hero .prod__media { aspect-ratio: 4 / 3; }
  .acc { grid-template-columns: 1fr 1fr; }
  .advisor { grid-template-columns: 1fr; }
  .advisor__fig { order: -1; }
  .advisor__fig > img { aspect-ratio: 16 / 11; }
  .score { align-items: flex-start; text-align: left; }
  .sect--reviews .head-row { gap: 26px; }
}

@media (max-width: 760px) {
  .head__cta { display: none; }
  .waverule { height: 64px; }
  .loader__word { width: 92%; }
  .hero { padding-top: clamp(104px, 24vw, 132px); }
  .stage { padding-bottom: 0; }
  .gauge { position: static; transform: none; width: 100%; margin-top: 26px; }
  .stage__plinth { bottom: -6px; }
  .stage { --spot-y: 44%; }

  .range, .posts, .quotes, .acc { grid-template-columns: 1fr; }
  .prod, .post, .tile { max-width: 520px; margin-inline: auto; width: 100%; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .layer { grid-template-columns: auto 1fr; row-gap: 6px; }
  .layer__mm {
    grid-column: 2; padding: 3px 9px; justify-self: start;
    border-radius: 100px; background: var(--brand-wash); color: var(--brand);
  }
  .prod__body > .prod__price b { font-size: 1.08rem; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .hero__cta, .cta-band__btns { flex-direction: column; align-items: stretch; }
  .hero__cta .btn, .cta-band__btns .btn, .advisor__cta .btn { width: 100%; }
  .advisor__cta { flex-direction: column; }
  .foot__cols { grid-template-columns: 1fr; }
  .foot__bar { flex-direction: column; align-items: flex-start; }
  .xsec { padding: 18px 18px 18px 50px; }
  .xsec__caliper { left: 18px; top: 18px; bottom: 18px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader__echoes, .loader__grain, .loader__seam { display: none; }
  .loader__rule i { transform: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-anim] { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
  .js .w > i { transform: none !important; }
  .loader { display: none; }
  .ticker__track { animation: none; }
  .waverule i { animation: none; }
  .loader__wave, .loader__word, .loader__tag, .loader__note { animation: none; }
}

/* ==========================================================================
   INTERACTION EXTRAS
   Hover and pointer easing lives here so timings stay in sync across the page.
   ========================================================================== */
.stage__product img { transition: transform .9s var(--ease), filter .6s var(--ease); }
.stage__glow        { transition: transform 1.1s var(--ease); }
.layer              { outline-offset: -2px; }
.prod__hit:focus-visible { outline-offset: -4px; }

/* skip the no-js duplicate block, superseded by the html.js scoping above */

/* ==========================================================================
   PAGE SHELL · inner pages
   ========================================================================== */
.pagehead {
  position: relative;
  padding: clamp(118px, 14vw, 168px) 0 clamp(30px, 4vw, 52px);
  background: var(--white);
  overflow: hidden;
}
.pagehead::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 46% at 88% 0%, rgba(32,56,100,.10), transparent 66%),
    radial-gradient(46% 40% at 4% 100%, rgba(132,54,140,.07), transparent 68%);
}
.pagehead .wrap { position: relative; z-index: 2; }
.pagehead__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(22px, 4vw, 64px); align-items: end; }
.pagehead__r { font-size: 1.02rem; line-height: 1.74; color: var(--muted); max-width: 56ch; }

.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 16px;
  font-family: var(--mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.crumb a { transition: color .3s ease; }
.crumb a:hover { color: var(--brand); }
.crumb i { font-style: normal; opacity: .45; }
.crumb span { color: var(--ink-2); }

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ==========================================================================
   PRODUCT CARD
   ========================================================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: var(--gap);
}
.card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: #D9CFE0; }

/* the grid re-renders on every filter change, so the entry animation runs from
   a class rather than the scroll observer, which would never see them */
.js .card--in { opacity: 0; animation: cardIn .55s var(--ease-out) var(--d, 0ms) forwards; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }

.card__flag {
  position: absolute; top: 13px; right: 13px; z-index: 3;
  padding: 5px 11px; border-radius: 100px;
  font-family: var(--mono); font-size: .565rem; letter-spacing: .14em; text-transform: uppercase;
  color: #2B1233; background: var(--grad-wave);
  box-shadow: 0 6px 16px rgba(32,56,100,.3);
}
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.05s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.055); }

.card__body { display: flex; flex-direction: column; gap: 9px; padding: 18px 20px 20px; flex: 1; }
.card__coll {
  font-family: var(--mono); font-size: .585rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--wave-ink);
}
.card__ttl {
  font-family: var(--display); font-size: 1.24rem; font-weight: 700; letter-spacing: -.03em;
  line-height: 1.2;
}
.card__ttl a { transition: color .32s var(--ease); }
.card__ttl a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.card:hover .card__ttl a { color: var(--brand); }

.card__specs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 1px;
}
.card__specs li {
  display: flex; flex-direction: column; gap: 1px;
  padding: 6px 10px; border-radius: 10px;
  background: var(--mist);
}
.card__specs em {
  font-style: normal; font-family: var(--display); font-size: .8rem; font-weight: 700;
  letter-spacing: -.018em; color: var(--ink);
}
.card__specs span {
  font-family: var(--mono); font-size: .5rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

.card__foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 13px;
  border-top: 1px solid var(--line-soft);
}
.card__price b {
  display: block;
  font-family: var(--display); font-size: 1.2rem; font-weight: 700;
  letter-spacing: -.032em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.card__price span {
  font-family: var(--mono); font-size: .5rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
/* the enquire button must sit above the card-wide title link */
.card__foot .btn { position: relative; z-index: 3; flex: none; }

/* ==========================================================================
   LISTING · rail + results
   ========================================================================== */
.shop { display: grid; grid-template-columns: minmax(268px, 300px) 1fr; gap: clamp(24px, 3vw, 46px); align-items: start; }

.rail {
  position: sticky; top: 104px;
  max-height: calc(100vh - 128px);
  overflow-y: auto; overscroll-behavior: contain;
  padding-right: 4px;
}
.rail__hd { display: none; }
.rail__top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.rail__top h2 {
  font-family: var(--mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
}
#clear {
  font-family: var(--mono); font-size: .585rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--wave-ink); transition: color .3s ease;
}
#clear:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.fgrp { border-bottom: 1px solid var(--line-soft); }
.fgrp__hd {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 16px 2px;
  font-size: .92rem; font-weight: 700; letter-spacing: -.012em; color: var(--ink);
}
.fgrp__hd svg { width: 15px; height: 15px; color: var(--muted); transition: transform .4s var(--ease); }
.fgrp.is-shut .fgrp__hd svg { transform: rotate(-90deg); }
.fgrp__bd {
  display: flex; flex-direction: column; gap: 2px;
  padding-bottom: 14px;
  overflow: hidden;
}
.fgrp.is-shut .fgrp__bd { display: none; }

.fopt {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 2px;
  cursor: pointer;
  transition: opacity .3s ease;
}
.fopt input { position: absolute; opacity: 0; width: 0; height: 0; }
.fopt__box {
  flex: none; width: 17px; height: 17px; border-radius: 5px;
  border: 1.5px solid var(--line); background: #fff;
  transition: background .28s var(--ease), border-color .28s var(--ease);
}
.fopt__box::after {
  content: ""; display: block; width: 100%; height: 100%;
  background: no-repeat center/10px 10px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 7'/%3E%3C/svg%3E");
  opacity: 0; transform: scale(.7); transition: opacity .22s ease, transform .28s var(--ease-out);
}
.fopt:hover .fopt__box { border-color: var(--brand-soft); }
.fopt input:checked + .fopt__box { background: var(--brand); border-color: var(--brand); }
.fopt input:checked + .fopt__box::after { opacity: 1; transform: none; }
.fopt input:focus-visible + .fopt__box { outline: 2px solid var(--brand); outline-offset: 3px; }
/* The label takes the slack and the count stays pinned right, so nothing in
   the rail clips no matter how long the option reads. */
.fopt__lbl { flex: 1; min-width: 0; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.fopt__n {
  flex: none;
  font-family: var(--mono); font-size: .645rem; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.fopt.is-nil { opacity: .38; }

/* dual-thumb price range: two sliders stacked on one track */
.frange { padding: 6px 2px 18px; }
.frange__out {
  display: block; margin-bottom: 12px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .04em;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.frange__track { position: relative; height: 26px; }
.frange__track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 12px;
  height: 3px; border-radius: 3px; background: var(--line);
}
.frange input {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 26px; margin: 0;
  background: none; -webkit-appearance: none; appearance: none;
  pointer-events: none;
}
.frange input::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto;
  width: 17px; height: 17px; border-radius: 50%;
  border: 0; background: var(--brand); cursor: grab;
  box-shadow: 0 0 0 3px #fff, 0 3px 10px rgba(132,54,140,.4);
  transition: transform .25s var(--ease);
}
.frange input::-webkit-slider-thumb:active { transform: scale(1.16); cursor: grabbing; }
.frange input::-moz-range-thumb {
  pointer-events: auto;
  width: 17px; height: 17px; border-radius: 50%;
  border: 0; background: var(--brand); cursor: grab;
  box-shadow: 0 0 0 3px #fff, 0 3px 10px rgba(132,54,140,.4);
}
.frange input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--brand); outline-offset: 3px; }

/* results head */
.results__hd {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 16px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
#count { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.results__tools { display: flex; align-items: center; gap: 10px; }
.sortwrap { position: relative; display: flex; align-items: center; }
.sortwrap svg { position: absolute; right: 12px; width: 14px; height: 14px; color: var(--muted); pointer-events: none; }
#sort {
  appearance: none; -webkit-appearance: none;
  padding: 9px 34px 9px 14px; border-radius: 100px;
  border: 1px solid var(--line); background: #fff;
  font-family: var(--sans); font-size: .805rem; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: border-color .3s var(--ease);
}
#sort:hover { border-color: var(--brand-soft); }

.railbtn { display: none; }

.chipbar { display: none; padding: 14px 0 0; }
.chipbar.is-on { display: block; }
/* the chips live one level down, so that element carries the flex, not .chipbar */
.chipbar__in { display: flex; flex-wrap: wrap; gap: 8px; }
.results { min-width: 0; }   /* grid child must be allowed to shrink */
.chip--x {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 100px;
  font-family: var(--mono); font-size: .585rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-wash); border: 1px solid #E3D3E6;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.chip--x svg { width: 11px; height: 11px; }
.chip--x:hover { background: #EBDDEE; border-color: var(--brand-soft); }

.results__grid { padding-top: 22px; }
.empty {
  padding: clamp(40px, 7vw, 82px) 24px; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--r-lg); background: var(--porcelain);
}
.empty h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 700; letter-spacing: -.026em; }
.empty p { margin-top: 7px; font-size: .885rem; color: var(--muted); }

/* ==========================================================================
   COLLECTION TILES
   ========================================================================== */
.ctiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.ctile {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease), border-color .5s var(--ease);
}
.ctile:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: #D9CFE0; }
.ctile__wave {
  position: absolute; right: -14%; top: -6%; width: 76%;
  color: rgba(251,157,34,.16);
  transition: transform .9s var(--ease-out), color .5s var(--ease);
}
.ctile__wave svg { width: 100%; height: auto; }
.ctile:hover .ctile__wave { transform: translateX(-5%) scaleY(1.2); color: rgba(251,157,34,.26); }
.ctile h3 {
  position: relative;
  font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.034em;
}
.ctile__n { font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wave-ink); }
.ctile__meta { display: flex; gap: 26px; margin-top: 12px; padding-top: 15px; border-top: 1px solid var(--line-soft); }
.ctile__meta dt { font-family: var(--mono); font-size: .55rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ctile__meta dd {
  margin-top: 4px;
  font-family: var(--display); font-size: 1.18rem; font-weight: 700; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.ctile__go {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: .8rem; font-weight: 700; color: var(--brand);
  transition: gap .38s var(--ease);
}
.ctile__go svg { width: 14px; height: 14px; }
.ctile:hover .ctile__go { gap: 12px; }

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.pd__top { padding-top: clamp(104px, 12vw, 148px); }
.pd__hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 66px); align-items: start; }
@media (min-width: 1021px) {
  /* the details column is the taller of the two; the gallery holds its place */
  .pgal { position: sticky; top: 104px; }
}
.pd__from {
  margin-top: 18px;
  font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700;
  line-height: 1; letter-spacing: -.042em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
  padding-bottom: .1em; margin-bottom: -.1em;
}
.pd__from span {
  display: block; margin-top: 8px;
  font-family: var(--mono); font-size: .6rem; font-weight: 400; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); -webkit-text-fill-color: var(--muted);
}
.pd__specs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 26px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line);
}
.pd__specs dt { font-family: var(--mono); font-size: .565rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pd__specs dd { margin-top: 5px; font-size: .93rem; font-weight: 600; color: var(--ink); }
.pd__cta { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.pd__note { margin-top: 16px; font-size: .79rem; line-height: 1.6; color: var(--muted); max-width: 44ch; }

.pd__sizes, .pd__rel { padding-top: var(--sect); }
.ptable {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh-1);
  overflow: auto;
  overscroll-behavior-x: contain;
}
.ptable table { width: 100%; border-collapse: collapse; min-width: 620px; }
.ptable th, .ptable td {
  padding: 13px 16px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-soft);
}
.ptable thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--brand); color: #fff;
  font-family: var(--mono); font-size: .6rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
}
.ptable thead th span { display: block; margin-top: 3px; opacity: .6; font-size: .92em; letter-spacing: .1em; }
.ptable thead th:first-child, .ptable tbody th { text-align: left; }
.ptable tbody th {
  font-family: var(--display); font-size: .93rem; font-weight: 700; letter-spacing: -.022em; color: var(--ink);
}
.ptable tbody th span {
  display: block; margin-top: 2px;
  font-family: var(--mono); font-size: .545rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.ptable tbody td { font-size: .885rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ptable tbody td i { font-style: normal; color: var(--brand-soft); }
.ptable tbody tr { transition: background .28s var(--ease); }
.ptable tbody tr:hover { background: var(--brand-wash); }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: 0; }
.ptable .mm { font-family: var(--mono); font-size: .68rem; color: var(--muted); }
.ptable .act { padding-left: 6px; }
.lnk {
  font-family: var(--mono); font-size: .585rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--wave-ink);
  transition: color .28s ease;
}
.lnk:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.missing { padding: clamp(140px, 18vw, 220px) 0 var(--sect); }
.missing .lede { margin: 14px 0 26px; }

/* ==========================================================================
   ENQUIRY DIALOG
   ========================================================================== */
.enq { position: fixed; inset: 0; z-index: 300; }
.enq[hidden] { display: none; }
.enq__scrim {
  position: absolute; inset: 0;
  background: rgba(11, 26, 22, .58);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .45s var(--ease);
}
.enq.is-open .enq__scrim { opacity: 1; }
.enq__panel {
  position: absolute; left: 50%; top: 50%;
  width: min(680px, calc(100vw - 32px));
  max-height: min(88vh, 860px);
  overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--r-lg);
  background: var(--porcelain);
  box-shadow: var(--sh-3);
  transform: translate(-50%, -46%) scale(.97);
  opacity: 0;
  transition: opacity .42s var(--ease), transform .52s var(--ease-out);
}
.enq.is-open .enq__panel { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.enq__x {
  position: absolute; top: 16px; right: 16px;
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  color: var(--muted); background: var(--mist);
  transition: background .3s ease, color .3s ease, transform .45s var(--ease);
}
.enq__x svg { width: 15px; height: 15px; }
.enq__x:hover { background: var(--brand-wash); color: var(--brand); transform: rotate(90deg); }
.enq__lede { margin-top: 12px; font-size: .9rem; line-height: 1.68; color: var(--muted); max-width: 46ch; }

.enq__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld--full { grid-column: 1 / -1; }
.fld label {
  font-family: var(--mono); font-size: .555rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.fld label span { color: var(--wave-ink); }
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--sans); font-size: .885rem; color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.fld textarea { resize: vertical; min-height: 78px; line-height: 1.6; }
.fld select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364736C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 15px;
  padding-right: 34px;
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(132,54,140,.12);
}
.fld input[readonly] { background: var(--mist); color: var(--ink-2); cursor: default; }
.enq__act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.enq__msg {
  flex: 1; min-width: 200px;
  font-size: .795rem; line-height: 1.55; color: var(--brand);
  opacity: 0; transform: translateY(-3px);
  transition: opacity .38s var(--ease), transform .38s var(--ease);
}
.enq__msg.is-on { opacity: 1; transform: none; }
.enq__msg.is-err { color: #B03A2E; }

/* ==========================================================================
   ABOUT + CONTACT
   ========================================================================== */
.prose { max-width: 68ch; }
.prose p { margin-top: 16px; font-size: 1rem; line-height: 1.78; color: var(--ink-2); }
.prose p:first-child { margin-top: 0; }
.prose h3 {
  margin-top: 34px;
  font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.028em;
}

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.fact {
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff;
  box-shadow: var(--sh-1);
}
.fact dt {
  font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700;
  line-height: 1; letter-spacing: -.044em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
  padding-bottom: .08em; margin-bottom: -.08em;
}
.fact dd {
  margin-top: 10px;
  font-family: var(--mono); font-size: .585rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted);
}

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 62px); align-items: start; }
.cbox {
  display: flex; gap: 15px;
  padding: 20px 22px;
  border-radius: var(--r); border: 1px solid var(--line); background: #fff;
  box-shadow: var(--sh-1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), border-color .45s var(--ease);
}
.cbox + .cbox { margin-top: 12px; }
.cbox:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #D9CFE0; }
.cbox__ico {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 12px;
  color: #fff; background: var(--grad);
}
.cbox__ico svg { width: 18px; height: 18px; }
.cbox h3 { font-family: var(--display); font-size: 1.02rem; font-weight: 700; letter-spacing: -.024em; }
.cbox p { margin-top: 4px; font-size: .845rem; line-height: 1.6; color: var(--muted); }
.cbox a { color: var(--brand); font-weight: 600; transition: color .3s ease; }
.cbox a:hover { text-decoration: underline; text-underline-offset: 3px; }

.cpanel {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--grad-deep);
  color: #fff;
  box-shadow: var(--sh-3);
}
.cpanel .h2 { color: #fff; }
.cpanel .eyebrow { color: var(--wave-lt); }
.cpanel .eyebrow__rule { background: var(--grad-wave); }
.cpanel p { margin-top: 12px; font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.78); }
.cpanel .btn { margin-top: 24px; }

.hours { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: .85rem; }
.hours dt { color: rgba(255,255,255,.66); }
.hours dd { color: #fff; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   PRODUCT GALLERY
   Four stills, not a carousel: a mattress has no motion worth animating, and a
   grid of thumbnails lets a reader jump straight to the view they want.
   ========================================================================== */
.pgal { position: relative; }
.pgal__stage {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--mist);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
}
.pgal__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.pgal__img.is-swap { animation: pgalIn .5s var(--ease-out) both; }
@keyframes pgalIn {
  from { opacity: 0; transform: scale(1.02); }
  to   { opacity: 1; transform: none; }
}
.pgal__flag {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  padding: 6px 13px; border-radius: 100px;
  font-family: var(--mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: var(--grad-wave);
  box-shadow: 0 4px 14px rgba(60,24,64,.18);
}

.pgal__thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 12px;
}
.pgal__thumb {
  position: relative; padding: 0;
  border-radius: var(--r-sm); overflow: hidden;
  border: 1px solid var(--line); background: var(--mist);
  transition: border-color .34s var(--ease), transform .4s var(--ease-out), box-shadow .4s var(--ease);
}
.pgal__thumb img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.pgal__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(251,250,252,.42);
  transition: opacity .34s var(--ease);
}
.pgal__thumb:hover { transform: translateY(-2px); box-shadow: var(--sh-1); }
.pgal__thumb:hover::after { opacity: .4; }
.pgal__thumb.is-on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.pgal__thumb.is-on::after { opacity: 0; }

/* ==========================================================================
   PRODUCT DETAIL · lede, trust list, layer cards
   ========================================================================== */
.pd__lede {
  margin-top: 14px; max-width: 46ch;
  font-size: 1.02rem; line-height: 1.72; color: var(--ink-2);
}
.pd__trust { margin-top: 22px; display: flex; flex-direction: column; gap: 9px; }
.pd__trust li {
  position: relative; padding-left: 24px;
  font-size: .85rem; line-height: 1.55; color: var(--muted);
}
.pd__trust li::before {
  content: ""; position: absolute; left: 0; top: .34em;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand-wash) no-repeat center/9px 9px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2384368C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 7'/%3E%3C/svg%3E");
}

.pd__story { padding-top: var(--sect); }
.pfeats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.pfeat {
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh-1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), border-color .45s var(--ease);
}
.pfeat:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #D9CFE0; }
.pfeat__n {
  display: block; margin-bottom: 10px;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; color: var(--wave-ink);
}
.pfeat h3 {
  font-family: var(--display); font-size: 1.12rem; font-weight: 700; letter-spacing: -.028em;
}
.pfeat p { margin-top: 8px; font-size: .875rem; line-height: 1.66; color: var(--muted); }

/* ==========================================================================
   COLLECTION BANDS  ·  /collections/
   One band per tier. The meta strip is the tier's own numbers, pulled from the
   price list at render time rather than typed in here.
   ========================================================================== */
.collband { padding-top: clamp(56px, 7vw, 96px); }
.collband__meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.4vw, 34px);
  margin-bottom: clamp(30px, 4vw, 46px);
  padding: clamp(20px, 2.4vw, 28px) clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
}
.collband__meta dt {
  font-family: var(--mono); font-size: .575rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted);
}
.collband__meta dd {
  margin-top: 7px;
  font-family: var(--display); font-size: clamp(1rem, 1.5vw, 1.24rem); font-weight: 700;
  letter-spacing: -.028em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   RESPONSIVE · catalogue
   ========================================================================== */
@media (max-width: 1020px) {
  .pagehead__in { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .ctiles { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .pd__hero { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }

  .shop { grid-template-columns: 1fr; }
  .railbtn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 9px 16px; border-radius: 100px;
    border: 1px solid var(--line); background: #fff;
    font-size: .805rem; font-weight: 700; color: var(--ink);
    transition: border-color .3s var(--ease);
  }
  .railbtn svg { width: 15px; height: 15px; color: var(--muted); }
  .railbtn:hover { border-color: var(--brand-soft); }

  /* the rail becomes a sheet */
  .rail {
    position: fixed; inset: 0 auto 0 0; z-index: 210;
    width: min(340px, 88vw); max-height: none; height: 100%;
    padding: 22px 22px 40px;
    background: var(--porcelain);
    box-shadow: 0 0 60px rgba(60,24,64,.28);
    transform: translateX(-101%);
    transition: transform .5s var(--ease-out), visibility .5s;
    visibility: hidden;
  }
  .rail.is-open { transform: none; visibility: visible; }
  .rail__hd {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding-bottom: 16px; margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
  }
  .rail__hd h2 { font-family: var(--display); font-size: 1.1rem; font-weight: 700; letter-spacing: -.026em; }
  #railClose {
    display: grid; place-items: center;
    width: 34px; height: 34px; border-radius: 50%;
    color: var(--muted); background: var(--mist);
    transition: background .3s ease, color .3s ease, transform .45s var(--ease);
  }
  #railClose svg { width: 15px; height: 15px; }
  #railClose:hover { background: var(--brand-wash); color: var(--brand); transform: rotate(90deg); }
}

@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
  .card__body { padding: 15px 16px 17px; }
  .card__ttl { font-size: 1.1rem; }
  .card__foot { flex-direction: column; align-items: stretch; gap: 11px; }
  .card__foot .btn { width: 100%; }
  .ctiles, .facts { grid-template-columns: 1fr; }
  .pd__specs { grid-template-columns: 1fr 1fr; }
  .enq__form { grid-template-columns: 1fr; }
  .results__hd { align-items: stretch; }
  .ptable .mm { display: none; }
}

@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .card__foot { flex-direction: row; align-items: flex-end; }
  .card__foot .btn { width: auto; }
  .pd__cta { flex-direction: column; align-items: stretch; }
  .pd__cta .btn { width: 100%; }
  .pd__lede { font-size: .96rem; }
}

@media (max-width: 1020px) {
  .collband__meta { grid-template-columns: repeat(2, 1fr); }
  .pfeats { grid-template-columns: repeat(2, 1fr); }
  /* the gallery leads on a narrow screen; the details follow it */
  .pd__hero { gap: 26px; }
  .pgal { order: -1; }
  .pd__lede { max-width: none; }
}

@media (max-width: 760px) {
  /* The page head is the first thing a phone reader sees; give it room and
     stop the eyebrow rule from eating half the line. */
  .pagehead__in { gap: 14px; }
  .pagehead__r { font-size: .95rem; max-width: none; }
  .crumb { margin-bottom: 12px; }

  .results__hd { flex-wrap: wrap; gap: 14px; }
  .results__tools { width: 100%; justify-content: space-between; }
  .sortwrap, #sort { flex: 1; min-width: 0; }

  .collband__meta { padding: 18px 20px; gap: 16px 18px; }
  .collband__meta dd { font-size: 1.02rem; }

  /* Long size/price tables scroll rather than squeeze. */
  .ptable { -webkit-overflow-scrolling: touch; }

  .pfeats { grid-template-columns: 1fr; }
  .pgal__thumbs { gap: 8px; }
  .pd__trust { gap: 7px; }
}

@media (max-width: 440px) {
  .collband__meta { grid-template-columns: 1fr; }
  .results__tools { flex-wrap: wrap; }
  .railbtn, .sortwrap { width: 100%; }
  .railbtn { justify-content: center; }
  #sort { width: 100%; }
  .ctile__meta { gap: 18px; }
  .crumb { font-size: .58rem; letter-spacing: .1em; }
}

@media (prefers-reduced-motion: reduce) {
  .card--in { opacity: 1 !important; animation: none !important; }
  .pgal__img.is-swap { animation: none !important; }
}


/* ==========================================================================
   SLEEPKRAFT · additions
   Preloader mark, star rule, category chips, price-on-request, feature badges,
   accessories, showrooms, testimonials, the management team.
   ========================================================================== */

/* --- preloader: the star draws, the wordmark rises under it -------------- */
.loader__echoes i {
  width: 34vmin; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255,192,98,.55);
}
.loader__echoes i:nth-child(1) { animation: echo 6.5s var(--ease-soft)  .30s infinite; }
.loader__echoes i:nth-child(2) { animation: echo 7.8s var(--ease-soft) 1.35s infinite; border-color: rgba(201,163,206,.5); }
.loader__echoes i:nth-child(3) { animation: echo 9.4s var(--ease-soft) 2.40s infinite; border-color: rgba(255,192,98,.35); }
.loader__mark {
  position: relative; display: block; width: 26%; color: var(--wave); overflow: visible;
  transform: scale(.2) rotate(-70deg); opacity: 0;
  animation: starIn 1s var(--ease-out) .12s forwards;
  filter: drop-shadow(0 10px 30px rgba(251,157,34,.45));
}
.loader__mark svg { width: 100%; height: auto; }
@keyframes starIn {
  0%   { transform: scale(.2) rotate(-70deg); opacity: 0; }
  60%  { transform: scale(1.12) rotate(6deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.loader__word { width: 100%; margin-top: 18px; }
.loader__inner { width: clamp(230px, 36vw, 360px); }
.loader__tag { color: var(--wave-lt); font-size: .62rem; letter-spacing: .2em; text-transform: none; white-space: nowrap; }
@keyframes tagSettle {
  from { opacity: 0; letter-spacing: .6em; text-indent: .6em }
  to   { opacity: 1; letter-spacing: .2em; text-indent: .2em }
}

/* --- section rule: two hairlines meeting at the star -------------------- */
.waverule {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  height: clamp(56px, 6vw, 92px);
  padding: 0 var(--pad);
  mask-image: none; -webkit-mask-image: none;
  overflow: visible;
}
.waverule i {
  position: static; transform: none; width: auto;
  flex: 1; max-width: 340px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-soft));
  animation: none; opacity: 1;
}
.waverule i:nth-child(3) { background: linear-gradient(90deg, var(--brand-soft), transparent); }
.waverule i:nth-child(2) {
  flex: none; width: 22px; height: 22px; max-width: none;
  background: none; color: var(--wave);
}
.waverule i:nth-child(2) svg { width: 100%; height: 100%; }

/* --- footer ghost --------------------------------------------------------- */
.foot__mark span { letter-spacing: .06em; }
.quote__stars svg { width: 14px; height: 14px; }

/* --- hero stage: a real product, not a render ---------------------------- */
.stage__product img { filter: drop-shadow(0 40px 60px rgba(60,24,64,.28)); }
.stage { --spot-y: 38%; }

/* --- category chips (home, mattresses rail) ------------------------------ */
.cats {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: clamp(22px, 3vw, 34px);
}
.cats--center { justify-content: center; }
.cat {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px 11px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink);
  font-family: var(--display); font-weight: 600; font-size: .9rem; letter-spacing: -.01em;
  transition: transform .42s var(--ease), border-color .3s ease, background .3s ease, color .3s ease;
}
.cat i {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-wash); color: var(--brand);
  font-family: var(--mono); font-style: normal; font-size: .68rem;
}
.cat:hover { transform: translateY(-2px); border-color: var(--brand-soft); }
.cat.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.cat.is-on i { background: rgba(255,255,255,.18); color: #fff; }

/* --- cards: price on request -------------------------------------------- */
.card__flag--req { background: var(--navy); color: #fff; }
.card__price--range b { font-size: 1.02rem; }
.card__cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.card__cats span {
  font-size: .7rem; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px;
  background: var(--mist); color: var(--ink-2);
}
.pd__req {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--navy-wash); color: var(--navy);
  font-size: .82rem; font-weight: 600;
}
.pd__req::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }

/* --- feature badges on the product page --------------------------------- */
.feats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.feat {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px 8px 9px; border-radius: 999px;
  background: var(--wave-wash); color: var(--wave-ink);
  font-size: .8rem; font-weight: 600;
}
.feat svg { width: 18px; height: 18px; }
.feat--brand { background: var(--brand-wash); color: var(--brand); }
.feat--navy  { background: var(--navy-wash); color: var(--navy); }

/* --- accessories ----------------------------------------------------------- */
.acc { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap); }
.acc .card__price b { font-size: 1.15rem; }

/* --- showrooms --------------------------------------------------------------- */
.rooms { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: var(--gap); align-items: start; }
.rooms__map {
  position: relative; min-height: 520px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--navy-wash); border: 1px solid var(--line);
  box-shadow: var(--sh-2);
}
.rooms__map > div { position: absolute; inset: 0; }
.rooms__map .leaflet-container { background: var(--navy-wash); font-family: var(--sans); }
.rooms__fallback {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  padding: var(--pad); color: var(--muted); font-size: .9rem;
}
.rooms__map.is-live .rooms__fallback { display: none; }
.pin {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--wave); border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(251,157,34,.28), 0 6px 14px rgba(32,56,100,.35);
}
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: var(--sh-2); }
.leaflet-popup-content { margin: 12px 16px; font-size: .88rem; }
.leaflet-popup-content b { display: block; font-family: var(--display); font-size: 1rem; color: var(--navy); }
.states { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.state svg { width: 18px; height: 18px; flex: none; color: var(--brand); }
.rooms__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rooms__svg text { font-family: var(--sans); font-size: 11px; fill: var(--ink-2); }
.rooms__svg .dot { fill: var(--wave); stroke: #fff; stroke-width: 2; }
.rooms__svg .dot.is-on { fill: var(--brand); }
.rooms__svg .halo { fill: rgba(251,157,34,.18); }
.rooms__map.is-svg .rooms__fallback { display: none; }
.state {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--line);
  font-size: .92rem; cursor: pointer; text-align: left; width: 100%;
  transition: border-color .3s ease, transform .35s var(--ease), background .3s ease;
}
.state b { font-family: var(--display); font-weight: 600; color: var(--ink); }
.state small { color: var(--muted); font-size: .78rem; }
.state:hover, .state.is-on { border-color: var(--brand-soft); background: var(--brand-wash); transform: translateX(4px); }
.states__note { margin-top: 12px; font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* --- testimonials: the dark navy band, as on the old site ---------------- */
.sect--reviews { background: var(--grad-deep); }
.quote__ttl { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: #fff; margin-bottom: 8px; }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.reviews__more { margin-top: 26px; text-align: center; }

/* --- testimonial slider ---------------------------------------------------- */
.slider { position: relative; }
.slider__track {
  display: flex; grid-template-columns: none; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 4px 4px 8px; margin: -4px -4px 0;
  -webkit-overflow-scrolling: touch;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > .quote {
  flex: 0 0 calc((100% - 2 * var(--gap)) / 3);
  scroll-snap-align: start; display: flex; flex-direction: column;
}
.slider__track > .quote blockquote { flex: 1; }
.slider__track:focus-visible { outline: 2px solid var(--wave-lt); outline-offset: 6px; border-radius: var(--r); }
.slider__ctl { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.slider__btns { display: flex; gap: 8px; }
.slider__btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.06);
  transition: background .3s ease, border-color .3s ease, transform .3s var(--ease);
}
.slider__btn svg { width: 18px; height: 18px; }
.slider__btn:hover { background: var(--wave); color: #2B1233; border-color: var(--wave); transform: translateY(-2px); }
.slider__btn[disabled] { opacity: .35; pointer-events: none; }
.slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.slider__dots button {
  width: 8px; height: 8px; border-radius: 50%; padding: 0;
  background: rgba(255,255,255,.3); transition: background .3s ease, transform .3s var(--ease);
}
.slider__dots button.is-on { background: var(--wave); transform: scale(1.35); }
@media (max-width: 1100px) { .slider__track > .quote { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (max-width: 700px)  { .slider__track > .quote { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .slider__track { scroll-behavior: auto; } }

/* --- management team ---------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.person {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start;
  padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
}
.person img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--brand-wash); }
.person h3 { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.person__role { color: var(--brand); font-size: .82rem; font-weight: 600; margin: 4px 0 12px; }
.person p { font-size: .92rem; line-height: 1.66; color: var(--ink-2); }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.pillar { padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r-lg); background: var(--brand-wash); }
.pillar h3 { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--brand-deep); margin-bottom: 10px; }
.pillar p { color: var(--ink-2); line-height: 1.66; }

/* --- popular products: the three Latexa tiles from the old home ---------- */
.pops { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.pop {
  position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden;
  background: var(--mist); border: 1px solid var(--line);
}
.pop img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.05s var(--ease-out); }
.pop:hover img { transform: scale(1.05); }
.pop__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px;
  background: linear-gradient(180deg, transparent, rgba(30,18,40,.78));
  color: #fff;
}
.pop__cap b { display: block; font-family: var(--display); font-size: 1.2rem; font-weight: 700; }
.pop__cap span { font-size: .8rem; opacity: .85; }


/* --- collection tiles: a small star in the corner, not a wave across ------- */
.ctile__wave { right: 18px; top: 18px; width: 30px; color: rgba(251,157,34,.55); }
.ctile:hover .ctile__wave { transform: rotate(18deg) scale(1.15); color: var(--wave); }

/* --- hero title: one voice, no single-word accent ------------------------ */
.hero__title .w:last-child > i { background: none; color: var(--ink); animation: none; -webkit-text-fill-color: initial; }
.hero__title { max-width: 20ch; font-size: clamp(2.5rem, 7.6vw, 6.6rem); text-wrap: balance; }

@media (max-width: 900px) {
  .rooms { grid-template-columns: 1fr; }
  .rooms__map { min-height: 380px; }
  .states { grid-template-columns: 1fr; }
  .person { grid-template-columns: 88px 1fr; gap: 16px; }
  .person img { width: 88px; height: 88px; }
}
