/* ruwayda.co storefront — Dawn Lilac identity. Single light theme by design (brand world). */
:root {
  --bone: #F7F3EE;
  --lilac: #C4B6E3;
  --plum: #3A2F4D;
  --sand: #D8B48E;
  --mist: #E9E3F2;
  --stone: #8F8A9B;
  --moss: #3F6B55;
  --brick: #A4423A;
  --white: #FFFFFF;
  --ink-soft: #6F667A;
  --line: #E2DAEA;
  --shadow: 0 18px 40px -24px rgba(58, 47, 77, .35);

  --font-head: "Sora", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Nunito Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.4vw, 5.25rem);

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --radius: 22px;
  --section: clamp(4rem, 3rem + 4vw, 7.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bone); color: var(--plum);
  font: 400 var(--step-0)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration-color: var(--lilac); text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--plum); }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 300; letter-spacing: -.015em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.narrow { max-width: 720px; }
.eyebrow { font: 700 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.star { color: var(--lilac); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: var(--bone); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 1px solid var(--plum);
  background: var(--plum); color: var(--bone); font: 600 .95rem/1 var(--font-body); letter-spacing: .02em;
  padding: 1rem 1.6rem; border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.btn:hover { background: #2A2139; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--plum); }
.btn--ghost:hover { background: var(--plum); color: var(--bone); }
.btn--sand { background: var(--sand); border-color: var(--sand); color: var(--plum); }
.btn--sand:hover { background: #CDA67D; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* Announcement + header */
.announce { background: var(--mist); color: var(--plum); font-size: var(--step--1); text-align: center; padding: .55rem var(--gutter); letter-spacing: .02em; }
.announce span + span::before { content: "✦"; color: var(--lilac); margin: 0 .8em; }
@media (max-width: 600px) { .announce span:nth-child(3) { display: none; } }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(247, 243, 238, .92);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent;
  transition: border-color .3s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: 72px; }
.header__logo { justify-self: center; display: block; width: clamp(150px, 18vw, 196px); }
.header__logo svg { width: 100%; height: auto; display: block; }
.header__nav { display: flex; gap: clamp(.9rem, 1.6vw, 1.6rem); font-size: .92rem; white-space: nowrap; }
.header__tools .header__nav { margin-right: .8rem; }
.header__nav a { text-decoration: none; padding: .4rem 0; position: relative; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--plum); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.header__nav a:hover::after, .header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__tools { justify-self: end; display: flex; align-items: center; gap: .4rem; }
.icon-btn { background: none; border: 0; color: var(--plum); width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; cursor: pointer; position: relative; }
.icon-btn:hover { background: var(--mist); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--lilac); color: var(--plum); font: 700 .68rem/18px var(--font-body); text-align: center; }
.cart-count[data-count="0"] { display: none; }
.menu-btn { display: none; }

@media (max-width: 1260px) {
  .header__row { grid-template-columns: auto 1fr auto; }
  .header__nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header__logo { justify-self: center; }
}

/* Mobile menu + cart drawer */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(58, 47, 77, .35); opacity: 0; transition: opacity .35s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; bottom: 0; width: min(420px, 100%); background: var(--bone); display: flex; flex-direction: column;
  padding: calc(1.2rem + env(safe-area-inset-top, 0px)) 1.4rem calc(1.2rem + env(safe-area-inset-bottom, 0px)); transition: transform .45s var(--ease); box-shadow: var(--shadow); }
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); padding-right: max(1.4rem, env(safe-area-inset-right, 0px)); }
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); padding-left: max(1.4rem, env(safe-area-inset-left, 0px)); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.drawer__head h2 { font-size: var(--step-1); }
.mobile-nav { display: grid; gap: .1rem; font: 300 1.45rem/1.3 var(--font-head); overflow-y: auto; }
.mobile-nav a { text-decoration: none; padding: .35rem 0; }
.cart-lines { flex: 1; overflow-y: auto; display: grid; align-content: start; gap: 1rem; margin: 0 -.2rem; padding: 0 .2rem; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: .9rem; align-items: center; }
.cart-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; background: var(--mist); }
.cart-line h3 { font: 600 .95rem/1.3 var(--font-body); letter-spacing: 0; }
.cart-line p { font-size: var(--step--1); color: var(--ink-soft); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.qty button { background: none; border: 0; width: 34px; height: 34px; color: var(--plum); cursor: pointer; font-size: 1rem; border-radius: 999px; }
.qty button:hover { background: var(--mist); }
.qty output, .qty input { width: 28px; text-align: center; font-weight: 700; border: 0; background: transparent; color: var(--plum); font-family: var(--font-body); }
.cart-empty { color: var(--ink-soft); padding: 2rem 0; }
.cart-foot { border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .8rem; }
.ship-meter { font-size: var(--step--1); color: var(--ink-soft); }
.ship-meter__bar { height: 4px; background: var(--mist); border-radius: 999px; overflow: hidden; margin-top: .4rem; }
.ship-meter__bar span { display: block; height: 100%; background: var(--lilac); transform-origin: left; transition: transform .5s var(--ease); }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; }
.cart-note { font-size: .78rem; color: var(--ink-soft); text-align: center; }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; min-height: min(86vh, 780px); }
.hero__copy { display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; padding: var(--section) clamp(1rem, 4vw, 4rem) var(--section) max(var(--gutter), calc((100vw - 1280px) / 2 + 16px)); }
.hero__copy h1 { font-size: var(--step-4); }
.hero__copy h1 em { font-style: normal; color: var(--ink-soft); }
.hero__copy p { font-size: var(--step-1); max-width: 30ch; color: var(--ink-soft); }
.hero__media { position: relative; overflow: hidden; border-bottom-left-radius: 48px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__tag { position: absolute; left: 1.2rem; bottom: 1.2rem; background: rgba(247, 243, 238, .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: .6rem 1rem; border-radius: 999px; font-size: var(--step--1); }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 4 / 4.2; border-radius: 0 0 36px 36px; }
  .hero__copy { padding: 2.2rem var(--gutter-r) 3rem var(--gutter); }
}

/* Sections */
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--plum { background: var(--plum); color: var(--bone); }
.section--plum .eyebrow { color: var(--lilac); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.8rem, 3vw, 3rem); }
.section-head h2 { font-size: var(--step-3); max-width: 18ch; }
.section-head p { max-width: 44ch; color: var(--ink-soft); }
.section--plum .section-head p { color: #D8D0E6; }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.4rem); }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; background: var(--mist); }
.tile img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile__label { position: absolute; left: .8rem; right: .8rem; bottom: .8rem; display: flex; justify-content: space-between; align-items: center;
  background: rgba(247, 243, 238, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 999px; padding: .7rem 1.1rem; font-weight: 600; }
.tile__label::after { content: "→"; transition: transform .3s var(--ease); }
.tile:hover .tile__label::after { transform: translateX(4px); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Product cards + tabs */
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.tab { font: 600 .9rem/1 var(--font-body); border: 1px solid var(--line); background: var(--white); color: var(--plum); border-radius: 999px; padding: .75rem 1.2rem; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.tab:hover { border-color: var(--plum); }
.tab[aria-selected="true"] { background: var(--plum); color: var(--bone); border-color: var(--plum); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(215px, 100%), 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .8rem; } .card__foot { flex-direction: column; align-items: stretch; } .card__body h3 { font-size: 1.02rem; } }
.card { position: relative; display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.card__media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.card__media img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.035); }
.card__badge { position: absolute; top: .8rem; left: .8rem; background: var(--bone); border-radius: 999px; padding: .35rem .75rem; font: 700 .7rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.card__body { display: grid; gap: .3rem; }
.card__body h3 { font: 400 1.18rem/1.25 var(--font-head); }
.card__body h3 a { text-decoration: none; }
.card__body h3 a::after { content: ""; position: absolute; inset: 0; }
.card__sub { color: var(--ink-soft); font-size: .92rem; }
.card__foot { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: .2rem; }
.price { font-weight: 700; }
.price s { color: var(--stone); font-weight: 400; margin-left: .4rem; }
.card__add { position: relative; z-index: 2; padding: .7rem 1.1rem; font-size: .85rem; }
.panel[hidden] { display: none !important; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.feature { border-top: 1px solid rgba(196, 182, 227, .45); padding-top: 1.2rem; display: grid; gap: .6rem; }
.feature h3 { font-size: var(--step-1); }
.feature p { color: #D8D0E6; font-size: .95rem; }
.feature .star { font-size: 1.2rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1rem; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

.band { position: relative; border-radius: var(--radius); overflow: hidden; }
.band img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
@media (max-width: 700px) { .band img { aspect-ratio: 4 / 3; } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.1rem 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 2.4rem; font: 300 var(--step-2)/1 var(--font-head); animation: drift 48s linear infinite; padding-left: 2.4rem; }
.marquee__track span::after { content: "✦"; color: var(--lilac); margin-left: 2.4rem; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } * { transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Ingredients */
.ingredients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.ingredient { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.ingredient img { aspect-ratio: 1; object-fit: cover; }
.ingredient__swatch { aspect-ratio: 1; display: grid; place-items: center; background: linear-gradient(160deg, var(--mist), var(--lilac)); font: 300 3rem/1 var(--font-head); color: var(--plum); }
.ingredient__body { padding: 1.1rem 1.2rem 1.4rem; display: grid; gap: .45rem; }
.ingredient__body h3 { font-size: 1.15rem; }
.ingredient__body p { color: var(--ink-soft); font-size: .93rem; }
.ingredient__inci { font-size: .78rem; color: var(--stone); }
@media (max-width: 900px) { .ingredients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ingredients { grid-template-columns: 1fr; } }

/* Split (story teaser, standards) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__copy { display: grid; gap: 1.2rem; }
.split__copy h2 { font-size: var(--step-3); }
.split__copy p { color: var(--ink-soft); font-size: 1.05rem; max-width: 52ch; }
.arabic { font-family: "Noto Naskh Arabic", "Geeza Pro", serif; font-size: 1.6rem; color: var(--plum); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Newsletter */
.signup { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.signup h2 { font-size: var(--step-3); }
.signup form { display: flex; gap: .6rem; flex-wrap: wrap; }
.signup input { flex: 1 1 220px; min-width: 0; font: 400 1rem var(--font-body); padding: 1rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--plum); }
.signup input:focus { outline: 2px solid var(--lilac); border-color: var(--plum); }
.signup__msg { font-size: .9rem; color: var(--moss); margin-top: .6rem; min-height: 1.4em; }
.signup small { color: var(--ink-soft); display: block; margin-top: .6rem; }
@media (max-width: 900px) { .signup { grid-template-columns: 1fr; } }

/* Footer: the back of a product label, in plum. Soft frame, a contact card
   and the live Australia seal (seal styles live in funnel.css). */
/* Depth ("lit from above"): plum lit from the top right (behind the seal) and softly behind the logo,
   sinking to aubergine at the base; a lilac cloud bank (sky only) echoing the hero; fine grain;
   a raised, frosted label with one soft border and a long shadow. Rules are fading hairlines. */
.footer { --f-line: rgba(196, 182, 227, .3); --f-rule: rgba(196, 182, 227, .26); --f-soft: #CFC6DD; --f-deep: #1A1424;
  --f-hair: linear-gradient(90deg, transparent, var(--f-rule) 10%, var(--f-rule) 90%, transparent);
  position: relative; isolation: isolate; color: var(--bone);
  background:
    radial-gradient(65% 85% at 88% 0%, rgba(196, 182, 227, .5), transparent 70%),
    radial-gradient(45% 60% at 18% 18%, rgba(160, 130, 205, .24), transparent 70%),
    radial-gradient(60% 75% at 4% 100%, rgba(122, 92, 160, .5), transparent 72%),
    linear-gradient(180deg, #54456E 0%, var(--plum) 45%, var(--f-deep) 100%);
  box-shadow: inset 0 40px 60px -40px rgba(10, 6, 18, .6);
  padding: clamp(2.6rem, 5vw, 4.5rem) 0 calc(2rem + env(safe-area-inset-bottom, 0px)); }
.footer::before, .footer::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.footer::before { bottom: 40%; background: url("img/brand/hero-clouds.jpg") 50% 0% / cover no-repeat; opacity: .34; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 55%, transparent 100%); }
.footer::after { opacity: .22; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.footer a { color: var(--bone); text-decoration: none; }
.footer a:hover { text-decoration: underline; text-decoration-color: var(--lilac); text-underline-offset: .25em; }
.footer__label { position: relative; border: 1px solid var(--f-line); border-radius: 16px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, .13), transparent 60%),
    linear-gradient(180deg, rgba(80, 64, 106, .55), rgba(26, 20, 36, .78));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -40px 80px rgba(0, 0, 0, .25),
    0 50px 90px -30px rgba(8, 4, 16, .85), 0 10px 24px -8px rgba(8, 4, 16, .45);
  padding: clamp(1.4rem, 3.4vw, 3rem); }
.footer__brand svg { filter: drop-shadow(0 0 22px rgba(196, 182, 227, .35)) drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.footer__head, .footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .7rem 2rem;
  font: 500 .8rem/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--f-soft); }
.footer__head { padding: 0 clamp(150px, 12vw, 180px) 1.2rem 0; background: var(--f-hair) left bottom / 100% 1px no-repeat; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr; grid-template-areas: "brand shop learn help" "contact shop learn help";
  gap: 1.6rem clamp(1.6rem, 3vw, 3rem); padding: clamp(2rem, 3.4vw, 3rem) 0; align-items: start; }
.footer__brand { grid-area: brand; }
.footer__brand svg { width: clamp(170px, 15vw, 220px); height: auto; display: block; }
/* Contact card: a pale lilac "sticker" on the plum label, under the logo. On hover (or keyboard focus inside)
   it lifts, its shadow deepens, a sheen sweeps across, the star turns and the arrow nudges forward.
   Motion uses transform/opacity only; the deeper shadow is a pseudo-element faded in. */
.footer__contact { --c-ink: var(--plum); --c-ease: cubic-bezier(.2, .8, .2, 1);
  grid-area: contact; position: relative; isolation: isolate; display: grid; gap: .6rem; justify-items: start; max-width: 330px;
  padding: 1.4rem 1.5rem 1.5rem; border-radius: 14px; color: var(--c-ink);
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .55), transparent 60%), linear-gradient(160deg, #E4DCF2, var(--lilac));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 24px 44px -22px rgba(8, 4, 16, .8);
  transition: transform .5s var(--c-ease); }
.footer__contact::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  box-shadow: 0 34px 60px -24px rgba(8, 4, 16, .9), 0 0 0 1px rgba(255, 255, 255, .35), 0 0 40px -6px rgba(196, 182, 227, .55);
  opacity: 0; transition: opacity .5s var(--c-ease); }
.footer__contact::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .6) 50%, transparent 62%) 130% 0 / 260% 100% no-repeat;
  opacity: 0; transition: background-position 1s var(--c-ease), opacity .3s; }
.footer .footer__contact h4 { color: var(--c-ink); margin-bottom: .3rem; }
.footer .footer__contact h4::before { color: var(--c-ink); display: inline-block; transition: transform .6s var(--c-ease); }
.footer__contact p { margin: 0; }
.footer__contact-lede { font-size: .98rem; line-height: 1.45; text-wrap: balance; }
.footer .footer__email { font: 400 1.2rem/1.25 var(--font-head); color: var(--c-ink); text-decoration: underline;
  text-decoration-color: rgba(58, 47, 77, .35); text-underline-offset: .3em; overflow-wrap: anywhere; }
.footer .footer__email:hover { text-decoration-color: var(--c-ink); }
.footer__contact-note { display: inline-flex; align-items: center; gap: .4rem; font: 400 .74rem/1.3 var(--mono); letter-spacing: .02em;
  color: rgba(58, 47, 77, .78); }
.footer__contact-note svg { flex: none; }
.footer .footer__contact-link { margin-top: .5rem; display: inline-flex; align-items: center; gap: .45rem; padding: .62rem 1.1rem;
  border-radius: 999px; background: var(--c-ink); color: var(--bone); font: 600 .92rem/1 var(--font-body); transition: background .3s; }
.footer .footer__contact-link span { display: inline-block; transition: transform .45s var(--c-ease); }
.footer .footer__contact-link:hover { background: #2A2139; text-decoration: none; }
.footer .footer__contact-link:focus-visible, .footer .footer__email:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 3px; }
@media (hover: hover) {
  .footer__contact:hover, .footer__contact:focus-within { transform: translateY(-6px); }
  .footer__contact:hover::before, .footer__contact:focus-within::before { opacity: 1; }
  .footer__contact:hover::after, .footer__contact:focus-within::after { opacity: 1; background-position: -30% 0; }
  .footer .footer__contact:hover h4::before, .footer .footer__contact:focus-within h4::before { transform: rotate(90deg) scale(1.15); }
  .footer .footer__contact:hover .footer__contact-link span, .footer .footer__contact:focus-within .footer__contact-link span { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .footer__contact, .footer__contact::before, .footer__contact::after, .footer .footer__contact h4::before,
  .footer .footer__contact-link span { transition: none; }
  .footer__contact:hover, .footer__contact:focus-within { transform: none; }
  .footer__contact:hover::after, .footer__contact:focus-within::after { opacity: 0; }
  .footer .footer__contact:hover h4::before, .footer .footer__contact:focus-within h4::before,
  .footer .footer__contact:hover .footer__contact-link span, .footer .footer__contact:focus-within .footer__contact-link span { transform: none; }
}
.footer__col--shop { grid-area: shop; } .footer__col--learn { grid-area: learn; } .footer__col--help { grid-area: help; }
.footer h4 { display: flex; align-items: center; gap: .55rem; font: 500 .8rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--lilac); margin: 0 0 1.2rem; }
.footer h4::before { content: "✦"; content: "✦" / ""; color: var(--lilac); font: 400 .8rem/1 var(--font-body); letter-spacing: 0; } /* the logo's star; empty alt so it isn't read aloud */
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; font-size: 1.02rem; }
.footer__col--shop ul { grid-template-columns: 1fr 1fr; column-gap: 1.6rem; }
/* wide screens: the seal is stamped over the label's top-right corner; narrower screens put it in the grid */
.footer__sealbox { position: absolute; top: calc(-1 * clamp(48px, 4.2vw, 64px)); right: clamp(1.4rem, 3.4vw, 3rem);
  width: clamp(110px, 9vw, 136px); aspect-ratio: 1; }
.footer__sealbox .seal { position: absolute; inset: 0; width: 100%;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .5)) drop-shadow(0 0 30px rgba(196, 182, 227, .45)); }
.footer__base { padding-top: 1.2rem; background: var(--f-hair) left top / 100% 1px no-repeat; letter-spacing: .06em; text-transform: none; }
.footer__pay { display: flex; flex-wrap: wrap; gap: .45rem; }
.footer__pay span { border: 1px solid var(--f-line); border-radius: 4px; padding: .3rem .55rem; color: var(--bone); }
@media (max-width: 1100px) {
  .footer__head { padding-right: 0; }
  .footer__top { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) auto; grid-template-rows: auto auto;
    grid-template-areas: "brand brand brand seal" "contact contact contact seal" "shop learn help help"; }
  .footer__sealbox { position: relative; top: auto; right: auto; grid-area: seal; width: 120px; }
  .footer__contact { max-width: 460px; }
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none;
    grid-template-areas: "brand seal" "contact contact" "shop shop" "learn help"; gap: 1.8rem 1.2rem; align-items: center; }
  .footer__contact { max-width: none; align-self: start; }
  .footer__col { align-self: start; }
  .footer__sealbox { width: 96px; justify-self: end; }
  .footer ul { font-size: .98rem; }
}

/* Page hero (inner pages) */
.page-hero { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero h1 { font-size: var(--step-4); max-width: 16ch; }
.page-hero p { margin-top: 1.2rem; font-size: var(--step-1); color: var(--ink-soft); max-width: 46ch; }
.crumbs { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 1.2rem; }
.crumbs a { text-decoration: none; }
.crumbs span { margin: 0 .5em; color: var(--lilac); }

/* Filter chips */
.chips { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 2rem; }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start; padding-bottom: var(--section); }
.gallery { display: grid; gap: .8rem; position: sticky; top: 96px; }
.gallery__main { border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.gallery__main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--mist); }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--plum); }
.gallery__thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery__note { font-size: .75rem; color: var(--stone); }
.buybox { display: grid; gap: 1.3rem; }
.buybox h1 { font-size: var(--step-3); }
.buybox__sub { color: var(--ink-soft); font-size: 1.05rem; }
.buybox__price { display: flex; align-items: baseline; gap: .8rem; font-size: 1.5rem; font-weight: 700; }
.buybox__price small { font-size: .9rem; font-weight: 400; color: var(--ink-soft); }
.benefits { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.benefits li { background: var(--mist); border-radius: 999px; padding: .45rem .9rem; font-size: .88rem; }
.benefits li::before { content: "✦"; color: var(--lilac); margin-right: .45em; }
.benefits li.label-note { background: #F6EEDF; color: var(--warn, #875A12); }
.benefits li.label-note::before { content: "i"; font: 700 .72rem/1 var(--font-body); color: inherit; border: 1px solid currentColor; border-radius: 999px; width: 1.1em; height: 1.1em; display: inline-grid; place-items: center; }
.buyrow { display: flex; gap: .8rem; align-items: stretch; flex-wrap: wrap; }
.buyrow .qty { height: auto; }
.buyrow .btn { flex: 1 1 220px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; font-size: .82rem; color: var(--ink-soft); }
.trust div { background: var(--white); border-radius: 14px; padding: .8rem; text-align: center; }
.trust b { display: block; color: var(--plum); font-size: .88rem; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font: 300 1.4rem/1 var(--font-head); transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0 1.3rem; color: var(--ink-soft); display: grid; gap: .7rem; }
.accordion ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; }
.inci { font-size: .88rem; line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: .6rem; counter-increment: step; }
.step::before { content: "0" counter(step); font: 300 2.2rem/1 var(--font-head); color: var(--lilac); }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } .gallery { position: static; } .steps { grid-template-columns: 1fr; } }
.bundle-items { display: grid; gap: .6rem; }
.bundle-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .8rem; align-items: center; background: var(--white); border-radius: 16px; padding: .6rem; }
.bundle-item img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.bundle-item span { font-size: .9rem; color: var(--ink-soft); }

/* FAQ + prose pages */
.faq { max-width: 820px; }
.prose { max-width: 720px; display: grid; gap: 1.1rem; font-size: 1.05rem; }
.prose h2 { font-size: var(--step-2); margin-top: 1.6rem; }
.prose p, .prose li { color: #4E4461; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .5rem; margin: 0; }
.notice { background: var(--mist); border-radius: 16px; padding: 1rem 1.2rem; font-size: .92rem; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: .8rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-weight: 700; }
.table-wrap { overflow-x: auto; }
.standards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.standard { background: var(--white); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: .6rem; }
.standard h3 { font-size: 1.25rem; }
.standard p { color: var(--ink-soft); }
@media (max-width: 700px) { .standards { grid-template-columns: 1fr; } }
.contact-form { display: grid; gap: .9rem; max-width: 560px; }
.contact-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.contact-form input, .contact-form textarea, .contact-form select { font: 400 1rem var(--font-body); padding: .9rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--white); color: var(--plum); }
.contact-form textarea { min-height: 140px; resize: vertical; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.toast { position: fixed; left: 50%; bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); background: var(--plum); color: var(--bone);
  padding: .8rem 1.2rem; border-radius: 999px; font-size: .9rem; z-index: 70; transition: transform .45s var(--ease), visibility 0s .45s; max-width: calc(100% - 32px); visibility: hidden; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease), visibility 0s; }

/* =====================================================================
   v2: mega menus, live hero, floating product stages, motion
   ===================================================================== */

/* Announcement marquee */
.announce { overflow: hidden; padding: .55rem 0; white-space: nowrap; }
.announce__track { display: inline-flex; gap: 3rem; animation: drift 38s linear infinite; padding-left: 3rem; }
.announce__track span::after { content: "✦"; color: var(--lilac); margin-left: 3rem; }
.announce span + span::before { content: none; }
.announce:hover .announce__track { animation-play-state: paused; }
@media (max-width: 600px) { .announce span:nth-child(3) { display: inline; } }

/* Header + nav items */
.header { position: sticky; }
.header__left { display: flex; align-items: center; gap: .4rem; }
.nav-item { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: .3rem; text-decoration: none; padding: 1.55rem 0; position: relative; font-size: .92rem; }
.nav-link .chev { width: 10px; height: 10px; transition: transform .35s var(--ease); opacity: .6; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 14px; bottom: 1.15rem; height: 1px; background: var(--plum); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-item.is-open .nav-link::after, .nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-item.is-open .chev { transform: rotate(180deg); opacity: 1; }
.header__nav { gap: clamp(.9rem, 1.5vw, 1.5rem); }
.header__nav a { padding: 1.55rem 0; }
.header__nav a::after { display: none; }
.header__nav .nav-link::after { display: block; }

/* Mega panels */
.megas { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; }
.mega-scrim { z-index: 1; }
.mega { position: absolute; left: 0; right: 0; top: 0; background: var(--bone); border-top: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(58, 47, 77, .45); opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s; }
.mega__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 190px)) 1fr; gap: 2.4rem; padding-block: 2.2rem 2.6rem; }
.mega__col h4 { font: 700 .7rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 1rem; min-height: .7rem; }
.mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.mega__col a { display: flex; justify-content: space-between; gap: .8rem; text-decoration: none; padding: .38rem 0; font-size: .95rem; position: relative; transition: transform .3s var(--ease), color .3s; }
.mega__col a span { color: var(--stone); font-size: .8rem; }
.mega__col a:hover { transform: translateX(6px); }
.mega__col a::before { content: "✦"; position: absolute; left: -16px; color: var(--lilac); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s var(--ease); }
.mega__col a:hover::before { opacity: 1; transform: scale(1); }
.mega__featured { display: flex; justify-content: flex-end; gap: 1rem; grid-column: -2 / -1; }
.mega__card { width: 180px; text-decoration: none; display: grid; gap: .3rem; font-size: .88rem; }
.mega__card .stage { aspect-ratio: 4 / 5; border-radius: 18px; }
.mega__card b { font: 400 1rem/1.25 var(--font-head); margin-top: .4rem; }
.mega__card span:last-child { color: var(--ink-soft); }
.mega .mega__inner > * { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.mega.is-open .mega__inner > * { opacity: 1; transform: none; }
.mega.is-open .mega__inner > *:nth-child(2) { transition-delay: .05s; }
.mega.is-open .mega__inner > *:nth-child(3) { transition-delay: .1s; }
.mega.is-open .mega__inner > *:nth-child(4) { transition-delay: .15s; }
.mega-scrim { position: fixed; left: 0; right: 0; top: 100%; height: 100vh; background: rgba(58, 47, 77, .18); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; pointer-events: none; }
.header.menu-open .mega-scrim { opacity: 1; visibility: visible; transition: opacity .35s; }
@media (max-width: 1260px) { .megas, .mega-scrim { display: none; } }

/* Mobile accordion menu */
.mobile-nav { font: 400 1rem/1.4 var(--font-body); gap: 0; }
.mnav { border-bottom: 1px solid var(--line); }
.mnav summary { list-style: none; cursor: pointer; padding: .95rem 0; font: 300 1.35rem/1.2 var(--font-head); display: flex; justify-content: space-between; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: "+"; transition: transform .3s var(--ease); }
.mnav[open] summary::after { transform: rotate(45deg); }
.mnav__body { padding: 0 0 1rem; display: grid; gap: .8rem; }
.mnav__body .mega__col h4 { margin: .6rem 0 .4rem; }
.mnav__body .mega__col a { padding: .25rem 0; }
.mnav__body .mega__featured { justify-content: flex-start; overflow-x: auto; }
.mnav__body .mega__card { width: 140px; flex: none; }
.mnav__all { font-weight: 700; text-decoration: none; }

/* Live product stage: background layer + light + floating item + shadow */
.stage { position: relative; display: block; overflow: hidden; isolation: isolate; --tilt-x: 0deg; --tilt-y: 0deg; --mx: 0px; --my: 0px; }
.stage__bg { position: absolute; inset: -20%; z-index: 0; background:
  radial-gradient(60% 50% at 30% 30%, rgba(255,255,255,.7), transparent 70%),
  radial-gradient(50% 60% at 75% 70%, var(--tone-2), transparent 70%), var(--tone-1);
  animation: bg-drift 16s ease-in-out infinite alternate; transform: translate3d(calc(var(--mx) * -.6), calc(var(--my) * -.6), 0); }
.stage__light { position: absolute; inset: -10%; z-index: 1; background: url("img/brand/caustic.jpg") center/cover; mix-blend-mode: soft-light; opacity: .55;
  animation: light-pan 22s ease-in-out infinite alternate; }
.stage__item { position: absolute; z-index: 3; left: 50%; bottom: 14%; height: 70%; width: auto; max-width: 70%; object-fit: contain;
  transform: translate3d(calc(-50% + var(--mx)), var(--my), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  filter: drop-shadow(0 26px 22px rgba(58,47,77,.22)); animation: bob 6s ease-in-out infinite; animation-delay: var(--delay, 0s); transition: height .6s var(--ease); }
.stage__shadow { position: absolute; z-index: 2; left: 50%; bottom: 9%; width: 42%; height: 7%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(58,47,77,.32), transparent); animation: shadow 6s ease-in-out infinite; animation-delay: var(--delay, 0s); }
.stage--lilac { --tone-1: #DCD2F0; --tone-2: #C4B6E3; }
.stage--mist { --tone-1: #EEE9F5; --tone-2: #DCD2EC; }
.stage--bone { --tone-1: #F3EEE7; --tone-2: #E6DCEB; }
.stage--sand { --tone-1: #F1E6DA; --tone-2: #E2CDB6; }
.stage--plum { --tone-1: #D9D0E6; --tone-2: #B9AACD; }
.stage--group .stage__item { height: 58%; }
.stage--group .stage__item--0 { left: 34%; bottom: 16%; --delay: -1.5s; }
.stage--group .stage__item--1 { left: 52%; bottom: 13%; height: 64%; z-index: 4; --delay: -3s; }
.stage--group .stage__item--2 { left: 70%; bottom: 17%; height: 54%; --delay: -4.5s; }
.stage--big .stage__item { height: 74%; }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -1.2deg; } 50% { translate: 0 -4.5%; rotate: 1.2deg; } }
@keyframes shadow { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: .82; opacity: .7; } }
@keyframes bg-drift { 0% { background-position: 0 0, 0 0, 0 0; translate: -3% -2%; } 100% { translate: 3% 2%; } }
@keyframes light-pan { 0% { transform: translate3d(-4%, -3%, 0) scale(1.05); } 100% { transform: translate3d(4%, 3%, 0) scale(1.12); } }

/* Cards and tiles use stages */
.card__media { perspective: 900px; }
.card__media .stage { aspect-ratio: 1; }
.card:hover .stage__item, .tile:hover .stage__item, .mega__card:hover .stage__item { height: 76%; }
.card:hover .stage--group .stage__item, .tile:hover .stage--group .stage__item { height: 62%; }
.stage .stage__item, .card__media .stage__item, .tile .stage__item { width: auto; aspect-ratio: auto; object-fit: contain; }
.card:hover .card__media .stage__item, .tile:hover .stage__item, .stage .stage__item {
  transform: translate3d(calc(-50% + var(--mx)), var(--my), 0); }
.tile .stage { aspect-ratio: 4 / 5; }
.tile .stage__item { height: 62%; }
.tile:hover .stage__item { height: 68%; }

/* Live hero */
.hero--live { display: block; min-height: min(92vh, 860px); position: relative; overflow: hidden; background: var(--mist); }
/* Spare 24% above the hero; JS caps the scroll lag at 18% of the layer height, so no edge ever shows. */
.hero__bg { position: absolute; inset: -24% 0 -2% 0; z-index: 0; will-change: translate; }
.hero__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,243,238,.92) 0%, rgba(247,243,238,.7) 34%, rgba(247,243,238,0) 62%), linear-gradient(0deg, rgba(247,243,238,.55), transparent 30%); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: min(92vh, 860px); gap: 2rem; }
.hero--live .hero__copy { padding: 4rem 0; }
.hero__copy h1 .line { display: inline-block; opacity: 0; transform: translateY(30px); animation: rise 1.2s var(--ease) forwards; }
.hero__copy h1 em.line { animation-delay: .18s; }
.hero__copy > p, .hero__ctas, .hero__copy .eyebrow { opacity: 0; animation: rise 1.2s var(--ease) .35s forwards; }
.hero__ctas { display: flex; gap: .7rem; flex-wrap: wrap; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero__product { position: relative; height: min(66vh, 600px); display: grid; place-items: center; --mx: 0px; --my: 0px; }
/* Hero bottle has its own motion (the store cards use `bob`): it settles in, then levitates and sways
   like a pendulum around its base, with a glint across the glass. Bottle, glint and shadow share one
   wrapper, so mouse-follow and scroll-tilt move them together and the shadow stays under the base. */
.hero__float { position: relative; z-index: 2; height: 70%; aspect-ratio: 306 / 917; --scroll: 0;
  transform: translate3d(var(--mx), var(--my), 0) rotate(calc(var(--scroll) * 6deg)); transform-origin: 50% 100%;
  transition: transform .7s var(--ease); }
.hero__bottlebox { position: absolute; inset: 0; transform-origin: 50% 100%;
  animation: hero-settle 1.8s var(--ease) .15s backwards, hero-levitate 9s ease-in-out 1.95s infinite; }
.hero__bottle { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(58,47,77,.14)); }
.hero__glint { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--cut) center / contain no-repeat; mask: var(--cut) center / contain no-repeat;
  background: linear-gradient(100deg, transparent 38%, rgba(255,255,255,.75) 49%, rgba(255,255,255,0) 60%) no-repeat;
  background-size: 300% 100%; background-position: 150% 0; animation: hero-glint 7s ease-in-out 2.6s infinite; }
@keyframes hero-settle { 0% { opacity: 0; translate: 0 -14%; scale: .94; filter: blur(6px); }
  60% { opacity: 1; translate: 0 1.5%; scale: 1.01; filter: blur(0); } 100% { translate: 0 0; scale: 1; } }
@keyframes hero-levitate { 0%, 100% { translate: 0 0; rotate: 0deg; } 25% { translate: 0 -3.5%; rotate: -2.4deg; }
  50% { translate: 0 -6%; rotate: 0deg; } 75% { translate: 0 -3.5%; rotate: 2.4deg; } }
@keyframes hero-glint { 0%, 55% { background-position: 150% 0; } 85%, 100% { background-position: -50% 0; } }
.hero__halo { position: absolute; z-index: 1; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.75), rgba(196,182,227,.25) 60%, transparent);
  animation: pulse 9s ease-in-out infinite; transform: translate3d(calc(var(--mx) * -.5), calc(var(--my) * -.5), 0); }
@keyframes pulse { 0%, 100% { scale: 1; opacity: .9; } 50% { scale: 1.08; opacity: 1; } }
.hero__shadow { position: absolute; left: 50%; top: 100%; width: 92%; height: 9%; translate: -50% -55%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(58,47,77,.38), rgba(58,47,77,.12) 60%, transparent);
  animation: hero-shadow-in 1.8s var(--ease) .15s backwards, hero-shadow 9s ease-in-out 1.95s infinite; }
@keyframes hero-shadow { 0%, 100% { scale: 1; opacity: 1; } 25%, 75% { scale: .9; opacity: .8; } 50% { scale: .8; opacity: .6; } }
@keyframes hero-shadow-in { from { opacity: 0; scale: .5; } }
.hero--live .hero__tag { position: absolute; z-index: 3; right: 6%; bottom: 14%; left: auto; text-decoration: none; animation: bob 9s ease-in-out infinite reverse; box-shadow: var(--shadow); }
.hero__sparkles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__sparkles i { position: absolute; width: 14px; height: 14px; background: var(--white); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); opacity: 0; animation: twinkle 7s ease-in-out infinite; }
.hero__sparkles i:nth-child(1) { left: 58%; top: 22%; animation-delay: 0s; }
.hero__sparkles i:nth-child(2) { left: 84%; top: 34%; animation-delay: 1.2s; width: 10px; height: 10px; }
.hero__sparkles i:nth-child(3) { left: 66%; top: 72%; animation-delay: 2.4s; }
.hero__sparkles i:nth-child(4) { left: 92%; top: 64%; animation-delay: 3.6s; width: 9px; height: 9px; }
.hero__sparkles i:nth-child(5) { left: 74%; top: 12%; animation-delay: 4.8s; width: 8px; height: 8px; }
.hero__sparkles i:nth-child(6) { left: 52%; top: 52%; animation-delay: 6s; width: 11px; height: 11px; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: translateY(0) scale(.4) rotate(0); } 40% { opacity: .95; transform: translateY(-14px) scale(1) rotate(45deg); } 70% { opacity: 0; transform: translateY(-26px) scale(.6) rotate(90deg); } }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 1.4rem; width: 26px; height: 42px; border: 1.5px solid var(--plum); border-radius: 20px; transform: translateX(-50%); opacity: .6; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px; background: var(--plum); transform: translateX(-50%); animation: scrolldot 2s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 100% { opacity: 0; top: 24px; } }
@media (max-width: 900px) {
  .hero--live, .hero__grid { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; padding-top: 1rem; }
  .hero__product { order: -1; height: 52vh; }
  .hero__veil { background: linear-gradient(0deg, rgba(247,243,238,.95) 38%, rgba(247,243,238,.2) 70%); }
  .hero--live .hero__copy { padding: 0 0 4rem; }
  .hero__scroll { display: none; }
}

/* Tilt + depth on hover */
[data-tilt] { transform-style: preserve-3d; transition: transform .6s var(--ease); }
.ingredient { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.ingredient:hover { box-shadow: var(--shadow); }
.ingredient__media { overflow: hidden; }
.ingredient__media img { transition: transform 1.4s var(--ease); }
.ingredient:hover .ingredient__media img { transform: scale(1.08); }
.ingredient__swatch span { animation: bob 6s ease-in-out infinite; display: inline-block; }
.name-card { box-shadow: var(--shadow); }
.name-card img { aspect-ratio: 4 / 3; }
.band, .split__media { overflow: hidden; }
[data-parallax] { will-change: transform; }

/* Gallery stage */
.gallery__main { position: relative; }
.gallery__stage .stage { aspect-ratio: 1; }
.gallery__main.is-photo .gallery__stage { display: none; }
.thumb-stage .stage { aspect-ratio: 1; }
.thumb-stage .stage__item { animation: none; }

/* Reveal stagger */
.grid .reveal:nth-child(4n+2) { transition-delay: .06s; }
.grid .reveal:nth-child(4n+3) { transition-delay: .12s; }
.grid .reveal:nth-child(4n+4) { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  .announce__track, .stage__bg, .stage__light, .stage__item, .stage__shadow, .hero__bottlebox, .hero__glint, .hero__halo, .hero__shadow,
  .hero__sparkles i, .hero--live .hero__tag, .hero__scroll span, .ingredient__swatch span { animation: none !important; }
  .hero__copy h1 .line, .hero__copy > p, .hero__ctas, .hero__copy .eyebrow { opacity: 1; animation: none; transform: none; }
}

/* ---------- variant picker (one product page, several strengths) ---------- */
.variant-pick { margin: 1.2rem 0 .4rem; }
.variant-pick__label { margin: 0 0 .55rem; font-size: var(--step--1); letter-spacing: .02em; }
.variant-pick__opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-pick button { min-width: 72px; min-height: 44px; padding: .6rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--plum); font: 600 .95rem/1 var(--font-body); cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.variant-pick button:hover { border-color: var(--plum); }
.variant-pick button[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: var(--bone); }

/* ---------- home mission statement ---------- */
.mission { max-width: 760px; margin: 0 auto; text-align: center; display: grid; gap: 1.2rem; justify-items: center; }
.mission h2 { font-size: var(--step-3); max-width: 18ch; }
.mission p:not(.eyebrow) { font-size: var(--step-1); color: var(--ink-soft); max-width: 44ch; }

/* ---------- inner-page title with a still photo (fills the empty right half) ---------- */
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.page-hero__media { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); box-shadow: var(--shadow); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { aspect-ratio: 16 / 10; border-radius: 22px; }
}

/* ---------- category guide: find the right one + how to use ---------- */
.guide { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(2rem, 4vw, 3rem); align-items: start; }
.guide h3 { font: 400 var(--step-1)/1.2 var(--font-head); margin: 0 0 1rem; }
.guide__list { list-style: none; margin: 0; padding: 0; display: grid; }
.guide__list li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.guide__list li:last-child { border-bottom: 1px solid var(--line); }
.guide__list b { font-weight: 600; }
.guide__how { background: var(--bone); border-radius: 22px; padding: clamp(1.2rem, 3vw, 1.8rem); }
.guide__how p { margin: 0; color: var(--ink-soft); }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; } .guide__list li { grid-template-columns: 1fr; gap: .3rem; } }

/* ---------- page graphics: icon rows, photo bands, photo splits, photo cards ---------- */
.icon { width: 28px; height: 28px; }
.icon-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.icon-item { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem 1.3rem; display: grid; gap: .55rem; align-content: start; }
.icon-item__mark { width: 52px; height: 52px; border-radius: 50%; background: var(--mist); color: var(--plum); display: grid; place-items: center; margin-bottom: .3rem; }
.icon-item h3 { font: 400 1.12rem/1.25 var(--font-head); margin: 0; }
.icon-item p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.photo-band { position: relative; min-height: clamp(320px, 42vw, 560px); display: grid; align-items: center; overflow: hidden; background: var(--mist); }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,243,238,.9) 0%, rgba(247,243,238,.55) 38%, rgba(247,243,238,0) 68%); }
.photo-band__copy { position: relative; z-index: 1; display: grid; gap: 1rem; }
.photo-band__copy h2 { font-size: var(--step-4); max-width: 13ch; }
.photo-band__copy p { font-size: var(--step-1); color: var(--ink-soft); max-width: 32ch; }

.photo-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.photo-split--reverse .photo-split__media { order: -1; }
.photo-split--solo { grid-template-columns: minmax(0, 720px); }
.photo-split__copy { display: grid; gap: 1.1rem; font-size: 1.05rem; }
.photo-split__copy h2 { font-size: var(--step-3); }
.photo-split__media { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--mist); }
.photo-split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.photo-cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-card { background: var(--white); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; }
.photo-card__media { aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.photo-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.photo-card:hover .photo-card__media img { transform: scale(1.05); }
.photo-card__body { padding: 1.3rem 1.3rem 1.5rem; display: grid; gap: .5rem; align-content: start; }
.photo-card__num { font: 300 1.6rem/1 var(--font-head); color: var(--stone); }
.photo-card h3 { font: 400 1.2rem/1.25 var(--font-head); margin: 0; }
.photo-card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

.side-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.side-layout__aside { position: sticky; top: 110px; display: grid; gap: 1rem; }
.side-layout__aside .photo-split__media { aspect-ratio: 4 / 5; }
.aside-card { background: var(--mist); border-radius: 22px; padding: 1.4rem; display: grid; gap: .6rem; }
.aside-card h3 { font: 400 1.2rem/1.25 var(--font-head); margin: 0; }
.aside-card p { margin: 0; color: var(--ink-soft); }

.routine-band { border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 6; margin-bottom: 1.6rem; background: var(--mist); }
.routine-band img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cta-band { position: relative; overflow: hidden; border-radius: 32px; min-height: 340px; display: grid; align-items: center; background: var(--mist); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,243,238,.92), rgba(247,243,238,.5) 55%, rgba(247,243,238,.1)); }
.cta-band__copy { position: relative; z-index: 1; padding: clamp(2rem, 5vw, 4rem); display: grid; gap: 1rem; max-width: 560px; }
.cta-band__copy h2 { font-size: var(--step-3); }

@media (max-width: 900px) {
  .photo-split, .side-layout { grid-template-columns: 1fr; }
  .photo-split--reverse .photo-split__media { order: 0; }
  .photo-split__media { aspect-ratio: 4 / 3; }
  .side-layout__aside { position: static; }
  .photo-cards, .photo-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-band::after { background: linear-gradient(0deg, rgba(247,243,238,.92) 30%, rgba(247,243,238,.3) 80%); }
  .photo-band { align-items: end; padding-bottom: 2rem; }
  .routine-band { aspect-ratio: 16 / 8; }
}
@media (max-width: 560px) { .photo-cards, .photo-cards--4, .photo-cards--2 { grid-template-columns: 1fr; } }
