/* ==========================================================================
   CANSOOTHE
   Flat colour fields, very large type, asymmetric editorial layout.
   No card borders, no drop shadows, no gradient buttons. Scroll-driven
   animation where the browser supports it, JS fallback where it doesn't.
   ========================================================================== */

:root {
  --lilac:      #a99cd4;
  --lilac-mid:  #8d7fc2;
  --lilac-deep: #6d5da6;
  --lilac-ink:  #453a6b;
  --lilac-wash: #e9e4f5;
  --lilac-mist: #f3f0fa;

  --navy:  #2c3e5c;
  --ink:   #221f2e;
  --grey:  #635e78;
  --faint: #9c96b0;
  --hair:  rgba(69, 58, 107, 0.14);

  --paper: #fbf9fd;
  --page:  #f4f1f8;
  --sand:  #efe9e2;

  --mint:  #cfe6d9;
  --blush: #f6dcd0;
  --sky:   #d3e6f1;
  --peach: #f9e6d2;
  --rose:  #f0d4e6;

  --display: "Bricolage Grotesque", "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Cormorant Garamond", Garamond, Georgia, serif;

  --wrap: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* fine grain, so flat colour fields don't read as flat vector */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 200; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.042em;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 8.4vw, 7.6rem); }
h2 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); }
h3 { font-size: clamp(1.35rem, 1.9vw, 1.85rem); letter-spacing: -0.03em; line-height: 1.02; }
h4 {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--lilac-deep); font-weight: 500; margin: 0 0 14px;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 760px; }
section { padding: clamp(70px, 11vh, 150px) 0; position: relative; }

/* ---------- editorial helpers ---------- */

.eyebrow {
  display: block;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lilac-deep); font-weight: 500; margin: 0 0 1.6em;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.6); }

.lede { font-size: clamp(1.08rem, 1.5vw, 1.42rem); line-height: 1.42; color: var(--grey); max-width: 34ch; letter-spacing: -0.018em; }
.lede--wide { max-width: 46ch; }

/* asymmetric section head: label left, statement right */
.head {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 70px);
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 78px);
}
.head__label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); padding-top: 0.9em; }
.head__body { max-width: 22ch; }
.head__body.is-wide { max-width: 30ch; }
.head p { margin-top: 0.9em; max-width: 40ch; color: var(--grey); font-size: 1.02rem; }

/* ---------- links & buttons: flat, no shadow ---------- */

.btn {
  display: inline-block;
  padding: 18px 34px;
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  background: var(--lilac-ink); color: var(--paper);
  border: 0; border-radius: 100px; cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--outline { background: transparent; color: var(--lilac-ink); box-shadow: inset 0 0 0 1px var(--hair); }
.btn--outline:hover { background: var(--lilac-ink); color: var(--paper); box-shadow: none; }
.btn--light { background: var(--paper); color: var(--lilac-ink); }
.btn--light:hover { background: var(--lilac-wash); color: var(--lilac-ink); }

.ln {
  display: inline-block;
  font-size: 0.82rem; letter-spacing: -0.01em; font-weight: 500;
  color: var(--lilac-ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  padding-bottom: 3px;
  transition: background-size 0.45s var(--ease);
}
.ln:hover { background-size: 0% 1px; background-position: 100% 100%; }

/* ---------- announce + header ---------- */

.announce {
  background: var(--lilac-ink); color: rgba(255, 255, 255, 0.78);
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center; padding: 11px var(--gutter);
}
.announce span { opacity: 0.4; padding: 0 8px; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(244, 241, 248, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.wordmark { display: flex; align-items: center; gap: 11px; }
.wordmark__leaf { width: 26px; flex: none; }
.wordmark__text { display: flex; flex-direction: column; line-height: 1; }
.wordmark__parent { font-size: 0.5rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.wordmark__name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--grey); }
.wordmark__name b { font-weight: 500; color: var(--lilac); }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a {
  font-size: 0.76rem; letter-spacing: -0.005em; color: var(--ink); padding: 6px 0;
  opacity: 0.62; transition: opacity 0.35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 1.4px; background: var(--ink); margin: 5px 0; transition: transform 0.4s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.4px) rotate(-45deg); }

/* ---------- hero: type-led, product bleeding off the grid ---------- */

.hero { padding: clamp(30px, 6vh, 80px) 0 clamp(40px, 6vh, 70px); position: relative; overflow: hidden; }
.hero__type { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 0.22em; }
.hero h1 em { font-style: normal; color: var(--lilac); }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(24px, 5vw, 80px); align-items: end; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 2.2em; }

/* ---------- trust ticker: prominent, icon-led, own band ---------- */

.ticker {
  background: var(--lilac-ink);
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}
.ticker__track { display: flex; width: max-content; }
.ticker__group { display: flex; align-items: center; animation: ticker-scroll 32s linear infinite; }
.ticker__item {
  display: flex; align-items: center; gap: 16px;
  padding: clamp(24px, 3.2vw, 36px) clamp(26px, 3.6vw, 52px);
  white-space: nowrap;
}
.ticker__item svg { width: 30px; height: 30px; stroke: rgba(255, 255, 255, 0.86); flex: none; }
.ticker__item b {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.2rem, 2.1vw, 1.66rem); letter-spacing: -0.024em; color: #fff;
}

/* ---------- cert badges: icon-led, near the top of a product's content ---------- */

.cert-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 2.4em; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lilac-wash); color: var(--lilac-ink);
  padding: 10px 16px 10px 12px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 500;
}
.cert-badge svg { width: 18px; height: 18px; stroke: var(--lilac-deep); flex: none; }
.field--ink .cert-badge { background: rgba(255, 255, 255, 0.1); color: #fff; }
.field--ink .cert-badge svg { stroke: rgba(255, 255, 255, 0.85); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__group { animation: none; }
  .ticker__group[aria-hidden="true"] { display: none; }
}

/* ---------- single call-to-action band ---------- */

.cta-band { text-align: center; }
.cta-band h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 0.4em; }
.cta-band p { color: var(--grey); max-width: 42ch; margin: 0 auto 2em; }

/* ---------- big number proof ---------- */

.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); }
.proof > div { background: var(--page); padding: clamp(28px, 3vw, 48px) clamp(20px, 2.4vw, 40px) clamp(32px, 4vw, 56px); }
.proof__fig {
  display: block; font-family: var(--display); font-weight: 500;
  font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 0.9;
  letter-spacing: -0.055em; color: var(--lilac-ink); margin-bottom: 0.42em;
}
.proof p { color: var(--grey); font-size: 0.98rem; max-width: 34ch; }
.proof__tag { display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.6em; }

/* ---------- colour field bands ---------- */

.field { background: var(--lilac-wash); }
.field--sand { background: var(--sand); }
.field--mist { background: var(--lilac-mist); }
.field--ink { background: var(--lilac-ink); color: rgba(255, 255, 255, 0.74); }
.field--ink h1, .field--ink h2, .field--ink h3 { color: #fff; }
.field--ink .lede { color: rgba(255, 255, 255, 0.66); }
.field--ink .head__label { color: rgba(255, 255, 255, 0.42); }

/* ---------- symptom list: type-led rows, no pills ---------- */

.symptoms { border-top: 1px solid var(--hair); }
.symptom {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline; gap: 20px;
  padding: clamp(18px, 2.2vw, 30px) 0;
  border-bottom: 1px solid var(--hair);
  transition: padding-left 0.5s var(--ease), color 0.4s var(--ease);
}
.symptom:hover { padding-left: 18px; }
.symptom__q {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 2rem); letter-spacing: -0.032em; line-height: 1.06;
  color: var(--ink);
}
.symptom:hover .symptom__q { color: var(--lilac-deep); }
.symptom__a { font-size: 0.78rem; color: var(--grey); white-space: nowrap; letter-spacing: -0.01em; }

/* ---------- product rail ---------- */

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 25%);
  gap: clamp(12px, 1.6vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 16px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--lilac) transparent;
}
.rail::-webkit-scrollbar { height: 3px; }
.rail::-webkit-scrollbar-thumb { background: var(--lilac); border-radius: 3px; }
.rail::-webkit-scrollbar-track { background: var(--hair); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }

/* card: flat tinted block, no border, no shadow */
.product-card { scroll-snap-align: start; display: flex; flex-direction: column; }
.product-card__media {
  background: var(--tint, var(--lilac-wash));
  border-radius: clamp(14px, 1.6vw, 22px);
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .product-card__media { transform: scale(0.975); }
.product-card__media img { width: 46%; height: auto; position: relative; z-index: 2; transition: transform 0.7s var(--ease); }
.product-card:hover .product-card__media img { transform: translateY(-8px); }

/* Real photography sits contained within its tinted panel, true to its own
   proportions, background showing all around it — the same relationship the
   drawn packs have. Padding on the panel (not a percentage on the image)
   creates the margin, so sizing never depends on the replaced-element
   percentage-height quirk that made some photos overflow their box. A
   studio "scene" shot (styled, already framed) is the one exception and
   runs full-bleed instead, no padding. */
.product-card__media.has-photo:not(.is-scene) { padding: clamp(22px, 9%, 46px); }
.pdp__media.has-photo:not(.is-scene) { padding: clamp(30px, 11%, 70px); }
/* Absolute + inset:0 sizes against the padding box directly, which is
   always definite — a percentage width/height on a plain grid item is not,
   in this context, and silently resolves against the image's own intrinsic
   size instead, which is how the earlier attempt overflowed its container. */
.product-card__media.has-photo:not(.is-scene) img,
.pdp__media.has-photo:not(.is-scene) img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
}
.product-card:hover .product-card__media.has-photo:not(.is-scene) img { transform: translateY(-6px); }

.product-card__media.has-photo.is-scene img,
.pdp__media.has-photo.is-scene img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  transform: scale(1.06);
}
.product-card:hover .product-card__media.is-scene img { transform: scale(1.1); }
.product-card__leaf { position: absolute; width: 62%; right: -14%; bottom: -18%; opacity: 0.2; z-index: 1; }
.product-card__body { padding: 18px 2px 0; display: flex; flex-direction: column; flex: 1; }
.product-card__kicker { font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint); margin: 0 0 8px; }
.product-card__body h3 { font-size: clamp(1.08rem, 1.4vw, 1.34rem); margin-bottom: 0.4em; }
.product-card__body p { font-size: 0.9rem; color: var(--grey); margin-bottom: 1em; max-width: 34ch; }
.product-card__meta { margin-top: auto; font-size: 0.74rem; color: var(--faint); }
.tag-row { display: none; }

/* ---------- refused claims ---------- */

.claims { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.claims div {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  padding: clamp(16px, 2vw, 26px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  align-items: baseline;
}
.claims b {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  letter-spacing: -0.03em; color: #fff;
}
.claims s { color: rgba(255, 255, 255, 0.42); font-size: clamp(1.05rem, 1.8vw, 1.5rem); font-family: var(--display); letter-spacing: -0.03em; text-decoration-thickness: 1px; }

/* ---------- exclusions ---------- */

.excl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); }
.excl { background: var(--page); padding: clamp(24px, 2.6vw, 40px) clamp(18px, 2vw, 32px); }
.field .excl, .field--mist .excl { background: var(--lilac-mist); }
.excl b {
  display: block; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.15rem, 1.9vw, 1.6rem); letter-spacing: -0.032em;
  color: var(--lilac-ink); margin-bottom: 10px;
}
.excl span { font-size: 0.9rem; color: var(--grey); }

/* ---------- product detail ---------- */

.breadcrumb { font-size: 0.7rem; letter-spacing: 0.06em; color: var(--faint); padding: 22px 0 0; }
.breadcrumb i { font-style: normal; padding: 0 8px; opacity: 0.5; }

.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 80px); padding-top: 26px; align-items: start; }
.pdp__media {
  background: var(--tint, var(--lilac-wash));
  border-radius: clamp(18px, 2vw, 30px);
  aspect-ratio: 4 / 5; position: sticky; top: 96px;
  display: grid; place-items: center; overflow: hidden;
}
.pdp__media img { width: 46%; height: auto; position: relative; z-index: 2; }
.pdp__media .bigleaf { position: absolute; width: 76%; right: -16%; bottom: -20%; opacity: 0.2; }
.pdp__title { font-size: clamp(2rem, 4.2vw, 3.4rem); margin-bottom: 0.3em; }
.pdp__sub { font-size: clamp(1.02rem, 1.4vw, 1.24rem); color: var(--grey); line-height: 1.42; margin-bottom: 1.8em; max-width: 40ch; letter-spacing: -0.016em; }
.pdp__claims { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 2.4em; }
.pdp__claim { font-size: 0.86rem; color: var(--lilac-deep); }
.pdp__claim::before { content: "— "; opacity: 0.5; }

.sec-label {
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--faint);
  border-top: 1px solid var(--hair); padding-top: 14px; margin: 2.6em 0 1.1em;
}

.ing-list { list-style: none; margin: 0 0 8px; padding: 0; }
.ing-list li {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--hair); font-size: 0.96rem;
}
.ing-list li span { color: var(--lilac-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }

.base-ing { font-size: 0.9rem; color: var(--grey); line-height: 1.6; }
.base-ing__note { font-size: 0.84rem; color: var(--grey); margin-top: 12px; }
.base-ing__note a { color: var(--lilac-deep); text-decoration: underline; text-underline-offset: 3px; }

.spec { display: grid; gap: 0; margin: 0; }
.spec-row { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.spec-row dt { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.spec-row dd { margin: 0; font-size: 0.94rem; color: var(--grey); }

.callout { background: var(--lilac-mist); border-radius: 18px; padding: 26px 28px; margin: 26px 0; font-size: 0.94rem; color: var(--grey); }
.callout strong { display: block; color: var(--lilac-ink); margin-bottom: 6px; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.caution { background: var(--sand); border-radius: 18px; padding: 24px 28px; margin: 26px 0; font-size: 0.9rem; color: #6d4b38; }
.caution strong { display: block; margin-bottom: 5px; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.7rem; }

.cert-line { font-size: 0.74rem; letter-spacing: 0.06em; color: var(--grey); margin: 26px 0 0; text-transform: uppercase; }
.cert-line a { color: var(--lilac-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-line { font-size: 0.72rem; color: var(--faint); margin-top: 10px; }

/* ---------- what each ingredient does ---------- */

.does { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(24px, 4vw, 64px); }
.does__row {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px; align-items: baseline;
  padding: clamp(14px, 1.6vw, 20px) 0;
  border-top: 1px solid var(--hair);
}
.does__row b {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(0.98rem, 1.25vw, 1.16rem); letter-spacing: -0.025em;
  color: var(--lilac-ink);
}
.does__row span { font-size: 0.92rem; color: var(--grey); }

@media (max-width: 900px) {
  .does { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .does__row { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- editorial article ---------- */

.page-head { padding: clamp(50px, 9vh, 130px) 0 clamp(24px, 4vw, 54px); }
.page-head .lede { max-width: 40ch; margin-top: 1.2em; }
.article { font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.62; color: var(--grey); letter-spacing: -0.014em; }
.article h2 { margin-top: 1.9em; color: var(--ink); }
.article p { margin-bottom: 1.1em; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); }
.info-card { background: var(--page); padding: clamp(24px, 2.6vw, 40px) clamp(18px, 2vw, 32px); }
.field--ink .info-card { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); border-radius: 0; }
.info-card p, .info-card address { font-size: 0.93rem; color: var(--grey); font-style: normal; margin: 0; }
.field--ink .info-card p, .field--ink .info-card address { color: rgba(255,255,255,0.7); }
.field--ink .info-card h4 { color: rgba(255,255,255,0.86); }

.soft-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.soft-table th { text-align: left; font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint); padding: 0 20px 14px 0; font-weight: 500; }
.soft-table td { padding: 18px 20px 18px 0; color: var(--grey); border-top: 1px solid var(--hair); vertical-align: top; }
.field--ink .soft-table td { border-color: rgba(255,255,255,0.16); color: rgba(255,255,255,0.7); }
.field--ink .soft-table th { color: rgba(255,255,255,0.42); }

/* ---------- SKU accordion ---------- */

.sku { border-bottom: 1px solid var(--hair); }
.sku summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; position: relative; }
.sku summary::-webkit-details-marker { display: none; }
.sku summary b { font-family: var(--display); font-weight: 400; font-size: clamp(1.1rem, 1.7vw, 1.5rem); letter-spacing: -0.032em; color: var(--ink); }
.sku summary i { font-style: normal; font-size: 0.76rem; color: var(--faint); }
.sku summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; border-right: 1.4px solid var(--lilac-deep); border-bottom: 1.4px solid var(--lilac-deep); transform: translateY(-70%) rotate(45deg); transition: transform 0.4s var(--ease); }
.sku[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.sku__body { padding: 0 0 26px; font-size: 0.92rem; color: var(--grey); max-width: 90ch; }
.sku__body p { margin-bottom: 0.7em; }
.sku__body b { color: var(--faint); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 2px; }

/* ---------- forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-w { display: flex; flex-direction: column; gap: 8px; }
.field-w--full { grid-column: 1 / -1; }
.field-w label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.field-w input, .field-w select, .field-w textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 15px 0; border: 0; border-bottom: 1px solid var(--hair);
  background: transparent; border-radius: 0;
  transition: border-color 0.4s var(--ease);
}
.field-w input:focus, .field-w select:focus, .field-w textarea:focus { outline: none; border-color: var(--lilac-deep); }
.field-w textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--faint); }
.form-status { margin-top: 18px; font-size: 0.92rem; color: var(--lilac-ink); background: var(--lilac-wash); border-radius: 16px; padding: 18px 22px; display: none; }
.form-status.is-visible { display: block; }

/* ---------- footer ---------- */

.site-footer { background: var(--lilac-ink); color: rgba(255,255,255,0.6); padding: clamp(60px, 9vh, 120px) 0 30px; font-size: 0.9rem; position: relative; overflow: hidden; }
.site-footer a { color: rgba(255,255,255,0.6); }
.site-footer a:hover { color: #fff; }
.site-footer .bigleaf { position: absolute; width: 340px; right: -80px; top: -70px; opacity: 0.07; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; position: relative; }
.footer-col h4 { color: rgba(255,255,255,0.85); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-brand .wordmark__name { color: rgba(255,255,255,0.7); }
.footer-brand .wordmark__name b { color: #fff; }
.footer-brand .wordmark__parent { color: rgba(255,255,255,0.4); }
.footer-brand p { margin-top: 18px; max-width: 32ch; font-size: 0.88rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; font-size: 0.74rem; color: rgba(255,255,255,0.4); position: relative; }

/* ==========================================================================
   MOTION LAYER
   Pointer-driven behaviour is added by JS only on fine pointers with motion
   allowed, so touch and reduced-motion users never meet any of it.
   ========================================================================== */

/* trailing cursor */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 300;
  pointer-events: none; opacity: 0;
  transition: opacity 0.35s var(--ease);
  mix-blend-mode: multiply;
}
.cursor.is-on { opacity: 1; }
.cursor__ring {
  display: block; width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: var(--lilac);
  opacity: 0.55;
  transition: width 0.45s var(--ease), height 0.45s var(--ease),
              margin 0.45s var(--ease), opacity 0.45s var(--ease);
}
.cursor.is-big .cursor__ring { width: 76px; height: 76px; margin: -38px 0 0 -38px; opacity: 0.4; }
.cursor__label {
  position: absolute; top: 0; left: 0;
  transform: translate(-50%, -50%);
  font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lilac-ink); white-space: nowrap;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.cursor.has-label .cursor__label { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

/* the pack that follows the pointer along the symptom list */
.peek {
  position: fixed; top: 0; left: 0; z-index: 250;
  width: 132px; pointer-events: none;
  opacity: 0; scale: 0.82;
  transition: opacity 0.4s var(--ease), scale 0.5s var(--ease);
  will-change: transform;
}
.peek.is-on { opacity: 1; scale: 1; }
.peek img { width: 100%; filter: drop-shadow(0 20px 30px rgba(69, 58, 107, 0.28)); }
@media (pointer: coarse) { .peek { display: none; } }

/* headline words rise in on load */
h1 .w {
  display: inline-block;
  opacity: 0; transform: translateY(0.42em) rotate(1.2deg);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
h1.is-lit .w { opacity: 1; transform: none; }

/* magnetic elements need a transition on release */
.btn, .nav a, .ln { will-change: transform; transition: transform 0.6s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), background-size 0.45s var(--ease); }

/* tilt surfaces */
.product-card__media { will-change: transform; transition: transform 0.65s var(--ease); }
.product-card__media img,
.product-card__leaf { transition: transform 0.65s var(--ease); }
.product-card:hover .product-card__media { transform: none; }

/* pointer-led light inside colour fields */
.field--mist, .field--ink, .hero__stage { position: relative; isolation: isolate; }
.field--mist::before, .field--ink::before, .hero__stage::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(300px circle at var(--px, 50%) var(--py, 50%),
              rgba(169, 156, 212, 0.26), transparent 68%);
  opacity: 0; transition: opacity 0.5s var(--ease); pointer-events: none;
}
.field--ink::before { background: radial-gradient(340px circle at var(--px, 50%) var(--py, 50%), rgba(169, 156, 212, 0.32), transparent 66%); }
.field--mist:hover::before, .field--ink:hover::before, .hero__stage:hover::before { opacity: 1; }
.field--mist > *, .field--ink > *, .hero__stage > * { position: relative; z-index: 1; }

.hero__stage .bigleaf, .hero__stage img { transition: transform 0.7s var(--ease); }

/* proof figures settle as they scramble */
.proof__fig { font-variant-numeric: tabular-nums; }

/* ---------- scroll-driven reveal, with JS fallback ---------- */

@media (scripting: enabled) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 1; transform: none; transition: none;
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 26%;
    }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  h1 .w { opacity: 1; transform: none; transition: none; }
  .cursor, .peek { display: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .proof, .excl-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero__row { grid-template-columns: 1fr; gap: 24px; }
  .head { grid-template-columns: 1fr; gap: 10px; }
  .head__label { padding-top: 0; }
  .head__body, .head__body.is-wide { max-width: none; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__media { position: static; aspect-ratio: 3 / 2; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rail { grid-auto-columns: minmax(200px, 62%); }
}

@media (max-width: 620px) {
  .nav-toggle { display: block; }
  .site-header { position: relative; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 4px var(--gutter) 18px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--hair); opacity: 1; }

  .grid-4, .proof, .excl-grid, .info-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .claims div { grid-template-columns: 1fr; gap: 2px; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .symptom { grid-template-columns: 1fr; gap: 4px; }
  .symptom:hover { padding-left: 8px; }
  .announce { font-size: 0.56rem; letter-spacing: 0.06em; }
}
