/* ==========================================================================
   PURENE — stylesheet
   Mobile-first. Sections follow the page order in index.html.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #2B5860;          /* brand teal: headings, primary buttons */
  --ink-deep: #1F444B;
  --ink-soft: #4F7A82;
  --page: #F5FCFF;         /* page background */
  --mist: #EAF4F6;         /* soft panels */
  --mist-2: #DAE9EC;       /* pill / card tint */
  --text: #5D5E5E;         /* body copy */
  --line: #C7D5D8;
  --red: #E5414D;
  --white: #FFFFFF;

  --font: "Albert Sans", "Helvetica Neue", Arial, sans-serif;

  --fs-h1: clamp(2.6rem, 5.3vw, 5.25rem);
  --fs-h2: clamp(2.1rem, 4.2vw, 4rem);
  --fs-statement: clamp(1.75rem, 3.9vw, 3.6rem);
  --fs-h3: clamp(1.4rem, 2.4vw, 2.2rem);
  --fs-lead: clamp(1rem, 1.35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .875rem;

  --gutter: clamp(20px, 5.6vw, 80px);
  --maxw: 1440px;
  --radius-lg: clamp(24px, 2.8vw, 40px);
  --radius-md: 22px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 76px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.has-smooth { scroll-behavior: auto; }   /* JS smooth scroller takes over */
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
cite { font-style: normal; }
h1, h2, h3 { color: var(--ink); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px; transform: translateY(-160%); transition: transform .3s; }
.skip-link:focus { transform: none; }

.eyebrow { font-size: clamp(1.1rem, 1.9vw, 1.75rem); color: var(--ink); letter-spacing: -.01em; line-height: 1.3; }

/* ---------- 3. Buttons ---------- */
.btn {
  --ripple: var(--ink);            /* colour that spreads on hover */
  --ripple-time: .7s;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  height: 64px; padding: 0 52px; border-radius: 999px;
  font-size: 1rem; letter-spacing: .01em;
  transition: color .45s var(--ease-in-out) .1s, border-color .45s var(--ease-in-out);
}

/* the ripple: a circle that grows from the centre */
.btn::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1;
  width: 120%; aspect-ratio: 1; border-radius: 50%;
  background: var(--ripple);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  /* hover OUT: fade the ripple away, then reset its size once it's invisible */
  transition: opacity .45s var(--ease-out), transform 0s linear .45s;
}
.btn:hover::before,
.btn:focus-visible::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  /* hover IN: grow from the centre */
  transition: transform var(--ripple-time) cubic-bezier(.65, 0, .35, 1), opacity .15s ease;
}

/* arrow turns from ↗ to → */
.btn__arrow { transition: transform var(--ripple-time) cubic-bezier(.65, 0, .35, 1); }
.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow { transform: rotate(45deg); }

/* ghost button: label changes colour only after the ripple has filled it */
.btn--ghost {
  background: var(--mist-2); border: 1px solid var(--ink); color: var(--ink); --ripple: var(--ink);
  transition: color .35s var(--ease-out);                      /* hover out: back to teal right away */
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  color: #fff;
  transition: color .35s var(--ease-out) calc(var(--ripple-time) * .55);  /* hover in: wait for the fill */
}

.btn--solid { background: var(--ink); color: #fff; --ripple: #3F6E76; }

.btn--light { background: var(--page); color: var(--ink); --ripple: #fff; }

.arrow-btn {
  --ripple-time: 1s;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink);
  transition: color .5s var(--ease-in-out), border-color .8s var(--ease-in-out);
}
.arrow-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: 50%; background: var(--ink);
  transform: scale(0); opacity: 0;
  transition: opacity .6s var(--ease-out), transform 0s linear .6s;
}
.arrow-btn:hover::before, .arrow-btn:focus-visible::before {
  transform: scale(1); opacity: 1;
  transition: transform var(--ripple-time) cubic-bezier(.65, 0, .35, 1), opacity .2s ease;
}
.arrow-btn:hover, .arrow-btn:focus-visible {
  color: #fff; border-color: var(--ink);
  transition: color .5s var(--ease-in-out) calc(var(--ripple-time) * .4), border-color .8s var(--ease-in-out);
}
.arrow-btn svg { transition: transform 1s cubic-bezier(.65, 0, .35, 1); }
.arrow-btn:hover svg { transform: translateX(var(--nudge, 4px)); }
[data-shop-prev]:hover, [data-review-prev]:hover { --nudge: -4px; }

/* ---------- 4. Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .5s, box-shadow .5s, transform .6s var(--ease-out), opacity .8s var(--ease-out);
}
.nav__inner {
  height: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: clamp(20px, 2.8vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav.is-scrolled { background: rgba(245, 252, 255, .78); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 rgba(43, 88, 96, .08); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { width: clamp(112px, 11vw, 160px); }
.nav__list { display: flex; flex-direction: column; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: .95rem; letter-spacing: .03em; color: var(--ink); padding: 8px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__drop-toggle svg { transition: transform .4s var(--ease-out); }
.nav__dropdown.is-open .nav__drop-toggle svg { transform: rotate(180deg); }
.nav__sub { display: grid; gap: 2px; padding: 4px 0 8px 14px; }
.nav__sub a { display: block; padding: 6px 0; font-size: .92rem; color: var(--ink-soft); transition: color .3s; }
.nav__sub a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__cart { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; color: var(--ink); font-size: .95rem; letter-spacing: .03em; }
.nav__cart-count { display: inline-block; font-variant-numeric: tabular-nums; }
.nav__cart-count.pop { animation: count-pop .5s var(--ease-out); }
@keyframes count-pop { 40% { transform: translateY(-4px) scale(1.25); } }

/* ---------- Cart dropdown ---------- */
.cart { position: relative; }
.cart__panel {
  position: fixed; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); left: 12px; right: 12px;
  max-height: calc(100svh - var(--nav-h) - 24px); display: flex; flex-direction: column;
  padding: 22px 22px 20px; border-radius: 24px;
  background: rgba(245, 252, 255, .97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px -24px rgba(31, 68, 75, .4);
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top right;
  transition: opacity .45s var(--ease-out), transform .6s var(--ease-out), visibility .45s;
}
.cart.is-open .cart__panel { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 900px) {
  .cart__panel { position: absolute; top: calc(100% + 14px); left: auto; right: -8px; width: 380px; max-height: min(70vh, 560px); }
}

.cart__head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart__title { font-size: 1.25rem; color: var(--ink); letter-spacing: -.01em; }
.cart__items-label { font-size: .85rem; color: var(--text); }

.cart__list { overflow-y: auto; margin: 0 -6px; padding: 0 6px; overscroll-behavior: contain; }
.cart__item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 4px 14px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  animation: cart-in .5s var(--ease-out);
}
@keyframes cart-in { from { opacity: 0; transform: translateY(8px); } }
.cart__item.is-removing { animation: cart-out .35s ease forwards; }
@keyframes cart-out { to { opacity: 0; transform: translateX(16px); } }
.cart__thumb { grid-row: span 2; width: 64px; height: 80px; border-radius: 14px; background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.cart__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; } /* shows the coloured head */
.cart__name { font-size: .95rem; color: var(--ink); line-height: 1.3; }
.cart__variant { font-size: .8rem; color: var(--text); font-weight: 300; }
.cart__price { font-size: .95rem; color: var(--ink); text-align: right; }
.cart__controls { grid-column: 2 / 4; display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); font-size: 1.05rem; transition: background-color .3s; }
.qty button:hover { background: var(--mist); }
.qty span { min-width: 22px; text-align: center; font-size: .9rem; font-variant-numeric: tabular-nums; }
.cart__remove { font-size: .8rem; color: var(--text); text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
.cart__remove:hover { color: var(--red); }

.cart__empty { display: grid; justify-items: center; gap: 4px; padding: 34px 0 18px; text-align: center; }
.cart__empty-title { font-size: 1.05rem; color: var(--ink); }
.cart__empty-text { font-size: .9rem; color: var(--text); font-weight: 300; }
.cart__shop-link { margin-top: 12px; font-size: .9rem; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.cart__foot { padding-top: 16px; }
.cart__subtotal { display: flex; justify-content: space-between; align-items: baseline; color: var(--ink); }
.cart__subtotal strong { font-weight: 400; font-size: 1.15rem; }
.cart__note { margin: 4px 0 16px; font-size: .8rem; color: var(--text); font-weight: 300; }
.cart__checkout { width: 100%; height: 56px; }

/* empty vs filled */
.cart[data-empty="true"] .cart__foot,
.cart[data-empty="true"] .cart__list { display: none; }
.cart[data-empty="false"] .cart__empty { display: none; }
.nav__cart.bump svg { animation: bump .6s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.3) rotate(-8deg); } }

.nav__burger { width: 40px; height: 40px; display: grid; place-content: center; gap: 7px; }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease-out); }
.nav.menu-open .nav__burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav.menu-open .nav__burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* mobile menu panel */
.nav__menu {
  position: fixed; inset: var(--nav-h) 12px auto; padding: 18px 24px 22px;
  background: rgba(245, 252, 255, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 24px; box-shadow: 0 20px 60px -20px rgba(31, 68, 75, .35);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), visibility .45s;
}
.nav.menu-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__sub { display: none; }
.nav__dropdown.is-open .nav__sub { display: grid; }

@media (min-width: 900px) {
  .nav__burger { display: none; }
  .nav__menu {
    position: static; inset: auto; padding: 0; background: none; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    opacity: 1; visibility: visible; transform: none; margin-left: auto; margin-right: clamp(40px, 13vw, 200px);
  }
  .nav__list { flex-direction: row; gap: clamp(28px, 4.4vw, 64px); }
  .nav__dropdown { position: relative; }
  .nav__sub {
    display: grid; position: absolute; top: calc(100% + 10px); left: -20px; min-width: 230px;
    padding: 12px 20px; background: rgba(245, 252, 255, .95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-radius: 18px; box-shadow: 0 18px 50px -18px rgba(31, 68, 75, .3);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility .4s;
  }
  .nav__dropdown:hover .nav__sub, .nav__dropdown.is-open .nav__sub, .nav__dropdown:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: clip;
  background: url("../images/hero-bg.svg") center / cover no-repeat, linear-gradient(170deg, var(--mist-2), var(--page) 75%);
  padding-top: var(--nav-h);
}
.hero__inner {
  position: relative; max-width: var(--maxw); margin-inline: auto; min-height: calc(100svh - var(--nav-h));
  display: grid; grid-template-areas: "content" "media" "trust";
  padding: 28px var(--gutter) 40px; gap: 28px;
}
.hero__content { grid-area: content; }
.hero__title { font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -.025em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { margin-top: 20px; font-size: var(--fs-lead); font-weight: 300; line-height: 1.6; max-width: 29em; }
.hero__rule { margin: 32px 0 26px; border: 0; height: 1px; background: var(--line); transform-origin: left; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.checks li { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 300; color: var(--text); }
.checks li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.7 2.6L13 6.4' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E") center/100% no-repeat;
}
.hero__tag { display: none; }

.hero__media { grid-area: media; position: relative; margin-inline: calc(var(--gutter) * -1); min-height: 420px; }
.hero__photo { position: absolute; inset: 0 auto 0 -8%; width: 92%; }
.hero__photo img { width: 100%; height: 100%; object-fit: contain; object-position: left bottom;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }
.hero__heart { position: absolute; left: -2%; top: 2%; width: clamp(130px, 30vw, 240px); filter: drop-shadow(0 18px 30px rgba(229, 65, 77, .18)); }

.hero__shop {
  position: absolute; right: 8%; top: 46%; width: clamp(128px, 14vw, 200px); aspect-ratio: 1;
  border-radius: 50%; display: grid; place-items: center; color: var(--ink);
  background: radial-gradient(circle at 40% 35%, #fff, #EEF8FB 70%);
  box-shadow: 0 30px 60px -24px rgba(31, 68, 75, .35);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.hero__shop-label { font-size: clamp(.95rem, 1.3vw, 1.2rem); letter-spacing: .01em; }
.hero__shop-ring { position: absolute; inset: -12%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .9); transition: transform 1s var(--ease-out), opacity 1s; }
.hero__shop-arrow {
  position: absolute; top: 3%; right: -2%; width: 26%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  transition: transform .7s var(--ease-out);
}
.hero__shop:hover { transform: scale(1.04); box-shadow: 0 36px 70px -24px rgba(31, 68, 75, .45); }
.hero__shop:hover .hero__shop-ring { transform: scale(1.08); opacity: .4; }
.hero__shop:hover .hero__shop-arrow { transform: rotate(45deg); }

/* Shop Now button: hidden until JS reveals it (after the heart) */
.hero__shop:not(.is-in) { opacity: 0; transform: scale(.6); }
.hero__shop {
  transition:
    opacity .8s var(--ease-out),
    transform 1s cubic-bezier(.34, 1.4, .64, 1),
    box-shadow .7s var(--ease-out);
}

.hero__trust { grid-area: trust; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.avatars { display: flex; flex: none; }
.avatars img { width: clamp(48px, 4.5vw, 64px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 2px solid var(--page); }
.avatars img + img { margin-left: -18px; }
.hero__trust-note { font-size: clamp(.85rem, 1.1vw, 1.05rem); color: var(--text); }
.hero__trust-stat { margin-top: 4px; font-size: clamp(1.25rem, 2.25vw, 2.1rem); color: var(--ink); line-height: 1.15; letter-spacing: -.015em; max-width: 13em; }
.counter { font-variant-numeric: tabular-nums; }

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 46% 1fr; grid-template-rows: 1fr auto;
    grid-template-areas: "media content" "media trust";
    padding: 0 var(--gutter) 0 0; gap: 0;
  }
  .hero__media { margin: 0; min-height: 0; }
  .hero__photo { inset: 2% auto 0 0; width: 100%; }
  .hero__photo img { object-position: right bottom; }
  .hero__heart { left: -1%; top: 7%; width: clamp(160px, 22vw, 330px); }
  .hero__shop { right: 2%; top: auto; bottom: 22%; }
  .hero__content { padding: clamp(24px, 4vh, 48px) 0 0 14%; align-self: start; }
  .hero__lead { margin-top: clamp(20px, 3.4vh, 36px); }
  .hero__rule { margin: clamp(28px, 6vh, 64px) 0 clamp(28px, 7vh, 66px); }
  .hero__tag { display: block; position: absolute; left: 47.8%; top: clamp(30px, 6.5vh, 60px); transform: translateX(-100%); font-size: clamp(1.1rem, 1.5vw, 1.45rem); color: var(--ink); }
  .hero__trust { padding: 0 0 clamp(40px, 11vh, 110px) 0; margin-left: -7%; }
}

/* hero intro choreography */
[data-intro] { transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), clip-path 1.6s var(--ease-out), filter 1.2s var(--ease-out); }
.is-loading .hero__photo { opacity: 0; transform: translateY(80px); }
.hero__photo[data-intro] {
  transition:
    opacity 1.4s cubic-bezier(.65, 0, .35, 1),
    transform 1.8s cubic-bezier(.16, 1, .3, 1);
}
.is-loading .hero__title [data-intro] { transform: translateY(110%); }
.is-loading .hero__lead, .is-loading .checks li, .is-loading .hero__tag, .is-loading .hero__trust { opacity: 0; transform: translateY(24px); filter: blur(6px); }
.is-loading .hero__rule { transform: scaleX(0); }

.hero__heart { opacity: 0; transform: translate(-20px, 40px) scale(.4) rotate(-25deg); }
.hero__heart.is-in { animation: heart-in 1.3s var(--ease-out) forwards, heart-float 5s ease-in-out 1.3s infinite; }
@keyframes heart-in {
  0% { opacity: 0; transform: translate(-20px, 40px) scale(.4) rotate(-25deg); }
  60% { opacity: 1; transform: translate(0, -6px) scale(1.06) rotate(3deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes heart-float { 50% { transform: translateY(-12px) rotate(-3deg); } }

.nav { opacity: 0; transform: translateY(-24px); }
.nav.is-in { opacity: 1; transform: none; }
.nav.is-in.is-hidden { transform: translateY(-100%); }

/* ---------- 6. Intro / statement ---------- */
.intro { position: relative; padding-bottom: clamp(100px, 16vw, 230px); }
.intro__gallery { border-bottom: 1px solid var(--line); }
.intro__frame {
  display: flex; justify-content: flex-end; gap: clamp(10px, 1.4vw, 20px);
  padding: clamp(56px, 6vw, 80px) var(--gutter) clamp(40px, 5.6vw, 80px);
  border-top: 1px solid var(--line);
}
.intro__card { position: relative; width: clamp(140px, 17.4vw, 250px); aspect-ratio: 1; }
.intro__card--product::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); background: var(--mist-2); }
.intro__card--product { clip-path: inset(-60% -20% 0 -20% round 0 0 var(--radius-lg) var(--radius-lg)); }
.intro__shower { position: absolute; left: 26%; top: -14%; width: 64%; max-width: none; }
.intro__card--drops { border-radius: var(--radius-lg); overflow: hidden; background: #E9F1F3; }
.intro__card--drops img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 2.4s var(--ease-out); }
.intro__card--drops.is-visible img { transform: scale(1); }

@media (min-width: 900px) {
  .intro__frame { margin-left: 50%; border-left: 1px solid var(--line); }
}

.intro__text { padding-top: clamp(64px, 6.5vw, 96px); }
.statement { margin-top: clamp(24px, 3vw, 44px); font-size: var(--fs-statement); line-height: 1.24; letter-spacing: -.022em; color: var(--ink); max-width: 17em; }
.statement em { font-style: italic; font-weight: 500; transition: color .4s var(--ease-out) .15s; }
.statement em.is-active { color: var(--red); transition: color .5s var(--ease-out) var(--pill-color-delay); }

/* icon pill: a liquid "blob" slides between icons, then the icon changes colour */
.icon-pill {
  --cell: 1.35em;                 /* width of one icon slot */
  --gap: .1em;                    /* inner padding of the pill */
  --n: 3;                         /* number of icons */
  --lead: .55s;                   /* front edge of the blob */
  --trail: .75s;                  /* back edge (follows a little later = stretch) */
  --trail-delay: .12s;
  --pill-color-delay: .6s;        /* icon/word colour changes after the move */
  position: relative; display: inline-flex; vertical-align: -.14em; margin: 0 .12em;
  padding: var(--gap); border-radius: 999px; background: var(--mist-2);
}
.icon-pill__icon {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: var(--cell); height: .74em; color: var(--ink);
  transition: color .35s var(--ease-out) .15s;          /* old icon fades back once the blob leaves */
}
.icon-pill__icon svg { width: .44em; height: .44em; }
.icon-pill__icon.is-active { color: #fff; transition: color .45s var(--ease-out) var(--pill-color-delay); }

.icon-pill__thumb {
  position: absolute; top: var(--gap); bottom: var(--gap);
  left: calc(var(--gap) + var(--i, 0) * var(--cell));
  right: calc(var(--gap) + (var(--n) - 1 - var(--i, 0)) * var(--cell));
  border-radius: 999px; background: var(--ink);
  transition: left var(--lead) cubic-bezier(.5, 0, .2, 1), right var(--lead) cubic-bezier(.5, 0, .2, 1);
}
/* moving right: right edge leads, left edge trails */
.icon-pill.is-right .icon-pill__thumb {
  transition:
    right var(--lead) cubic-bezier(.5, 0, .2, 1),
    left var(--trail) cubic-bezier(.6, 0, .2, 1) var(--trail-delay);
}
/* moving left: left edge leads, right edge trails */
.icon-pill.is-left .icon-pill__thumb {
  transition:
    left var(--lead) cubic-bezier(.5, 0, .2, 1),
    right var(--trail) cubic-bezier(.6, 0, .2, 1) var(--trail-delay);
}
/* a soft squash while it stretches, like a drop of liquid */
.icon-pill__thumb.is-squish { animation: pill-squish calc(var(--trail) + var(--trail-delay)) cubic-bezier(.45, 0, .55, 1); }
@keyframes pill-squish {
  0%, 100% { transform: scaleY(1); }
  45%      { transform: scaleY(.84); }
  75%      { transform: scaleY(1.04); }
}

.intro__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: clamp(28px, 3.4vw, 48px); font-size: clamp(1rem, 1.6vw, 1.5rem); color: var(--ink); }
.intro__line { width: clamp(40px, 7vw, 100px); height: 1px; background: currentColor; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease-out) .4s; }
.intro__foot.is-visible .intro__line { transform: scaleX(1); }
.tag-red { display: inline-flex; padding: .35em .9em; border: 1px solid var(--red); border-radius: 999px; color: var(--red); }
.intro__text .btn { margin-top: clamp(48px, 6vw, 88px); }

/* ---------- 7. System (locked) ---------- */
.system { position: relative; height: 440vh; background: var(--mist); }
.system__inner { position: absolute; inset: 0; transform-origin: 50% 45%; will-change: transform, opacity, filter; }
.system__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.system__stage { position: absolute; inset: 0; display: grid; place-items: center; }

.filter {
  --lift: -22vh;                                   /* how far parts rise in stage 3 */
  --bounce: cubic-bezier(.3, 1.25, .5, 1);         /* fallback for older browsers */
  --smooth: cubic-bezier(.65, 0, .35, 1);
  --move: 1.8s;                                    /* length of each part's movement */
  position: relative; width: min(84vw, 900px); aspect-ratio: 2778 / 867;
}
/* real spring curve: one soft overshoot that settles naturally */
@supports (transition-timing-function: linear(0, 1)) {
  .filter { --bounce: linear(0, 0.028, 0.101, 0.203, 0.32, 0.443, 0.562, 0.674, 0.773, 0.857, 0.927, 0.982, 1.024, 1.053, 1.071, 1.081, 1.084, 1.081, 1.075, 1.066, 1.057, 1.046, 1.036, 1.027, 1.019, 1.012, 1.006, 1.001, 0.998, 0.996, 0.994, 0.993, 0.993, 0.993, 0.994, 0.994, 0.995, 0.996, 0.997, 0.998, 1); }
}
.filter__assembled {
  position: absolute; left: 0; top: -2.19%; width: 100%; max-width: none;
  transition: opacity 1s var(--smooth), scale 1.4s cubic-bezier(.16, 1, .3, 1);
  will-change: scale, opacity;
  backface-visibility: hidden;
}
.filter__exploded { position: absolute; inset: 0; }

/* each part sits at its exploded position (% of the full filter width) */
.filter__part {
  --x: 0%;   /* horizontal offset (stage 1 = tucked in) */
  --y: 0px;  /* vertical lift (stage 3) */
  --s: 1.08; /* scale: starts at the zoomed-in size of the stage 1 image */
  --fade-time: .5s;   /* add this */
  position: absolute; top: 0; height: 100%; max-width: none;
  opacity: 0;
  transform: translate3d(var(--x), var(--y), 0) scale(var(--s));
  transition:
    transform var(--move) var(--bounce) var(--delay, 0s),
    opacity var(--fade-time) var(--smooth) var(--fade-delay, 0s);
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.filter__part--1 { left: 0;      width: 17.96%; --x: 34%;   --order: 2; --i: 0; }
.filter__part--2 { left: 17.94%; width: 19.37%; --x: 17%;   --order: 1; --i: 1; }
.filter__part--3 { left: 37.26%; width: 12.64%; --x: 7.6%;  --order: 0; --i: 2; }
.filter__part--4 { left: 49.71%; width: 19.37%; --x: -7.3%; --order: 0; --i: 3; }
.filter__part--5 { left: 69.44%; width: 12.64%; --x: -30%;  --order: 1; --i: 4; }
.filter__part--6 { left: 82.04%; width: 17.96%; --x: -34%;  --order: 2; --i: 5; }

/* stage 1 → 2: assembled fades, parts bounce outward from the centre */
.system[data-stage="2"] .filter__assembled,
.system[data-stage="3"] .filter__assembled { opacity: 0; scale: 1.08; }
.system[data-stage="2"] .filter__part,
.system[data-stage="3"] .filter__part { --x: 0%; --s: 1; opacity: 1; }
.system[data-stage="2"] .filter__part { --delay: calc(var(--order) * 60ms); }

/* 1 → 2: the assembled filter springs up first, then the parts burst out */
.filter {
  --pre-zoom: .55s;      /* how long the zoom plays before the parts move */
  --zoom-time: 1.2s;     /* length of the spring zoom */
  --zoom-spring: cubic-bezier(.3, 1.5, .5, 1);   /* fallback for older browsers */
}
@supports (animation-timing-function: linear(0, 1)) {
  .filter {
    --zoom-spring: linear(0, 0.039, 0.141, 0.285, 0.448, 0.615, 0.772, 0.910, 1.023, 1.108, 1.165, 1.196, 1.205, 1.197, 1.176, 1.147, 1.113, 1.079, 1.046, 1.018, 0.995, 0.978, 0.966, 0.960, 0.958, 0.960, 0.964, 0.970, 0.977, 0.984, 0.991, 0.996, 1.001, 1.005, 1.007, 1.008, 1.009, 1.008, 1.007, 1.006, 1.005, 1.003, 1.002, 1.001, 1);
  }
}

.system.is-bursting .filter__assembled {
  animation:
    filter-zoom var(--zoom-time) var(--zoom-spring) both,
    filter-fade-out .45s ease-in calc(var(--pre-zoom) - .1s) both;
}
.system.is-bursting .filter__part {
  --delay: calc(var(--pre-zoom) + var(--order) * 60ms);
  --fade-delay: calc(var(--pre-zoom) - .1s);
}

/* 2 → 1: the assembled filter springs back in */
.system.is-assembling .filter__assembled {
  animation:
    filter-unzoom var(--zoom-time) var(--zoom-spring) both,
    filter-fade-in .45s ease-out both;
}

@keyframes filter-zoom     { from { scale: 1; }    to { scale: 1.08; } }
@keyframes filter-unzoom   { from { scale: 1.08; } to { scale: 1; } }
@keyframes filter-fade-out { from { opacity: 1; }  to { opacity: 0; } }
@keyframes filter-fade-in  { from { opacity: 0; }  to { opacity: 1; } }

/* stage 0: blank — the filter waits small and invisible, then fades + zooms in for stage 1 */
.system[data-stage="0"] .filter__assembled { opacity: 0; scale: .86; }

/* stage 2 → 3: parts rise one by one, left to right */
.system[data-stage="3"] .filter__part {
  --y: var(--lift);
  --delay: calc(var(--i) * 90ms);   /* parts still rise one by one */
  --fade-delay: 0s;                 /* but selection fades all happen together */
  --fade-time: .9s;                 /* slower, smoother highlight change */
}

/* stage 3: highlight the selected layer, everything else (caps included) fades */
.system[data-stage="3"] .filter__part { opacity: .3; }
.system[data-stage="3"] .filter[data-active="0"] [data-part="0"],
.system[data-stage="3"] .filter[data-active="1"] [data-part="1"],
.system[data-stage="3"] .filter[data-active="2"] [data-part="2"] { opacity: 1; }

/* stage 3: the selected part breathes (slow, endless zoom in/out) */
.filter { --breathe-scale: 1.07; --breathe-time: 3.2s; }
.system[data-stage="3"] .filter[data-active="0"] [data-part="0"],
.system[data-stage="3"] .filter[data-active="1"] [data-part="1"],
.system[data-stage="3"] .filter[data-active="2"] [data-part="2"] {
  z-index: 1;
  animation: part-breathe var(--breathe-time) cubic-bezier(.45, 0, .55, 1) .45s infinite;
}
@keyframes part-breathe {
  0%, 100% { scale: 1; }
  50%      { scale: var(--breathe-scale); }
}

.system__hint { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font-size: .85rem; letter-spacing: .04em; color: var(--ink-soft); transition: opacity .6s; }
/* mouse icon with a looping scroll wheel */
.mouse {
  position: relative; flex: none;
  width: 20px; height: 30px;
  border: 1.5px solid var(--ink-soft);
  border-radius: 999px;
}
.mouse__wheel {
  position: absolute; left: 50%; top: 6px;
  width: 3px; height: 6px; margin-left: -1.5px;
  border-radius: 999px; background: var(--ink-soft);
  animation: mouse-wheel 1.8s cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes mouse-wheel {
  0%   { transform: translateY(0);    opacity: 0; }
  20%  { transform: translateY(0);    opacity: 1; }
  70%  { transform: translateY(9px);  opacity: 0; }
  100% { transform: translateY(9px);  opacity: 0; }
}
/* hint stays on stages 0–2, hides on stage 3 (cards take that space) */
.system[data-stage="3"] .system__hint { opacity: 0; }

.system__cards {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform 1.1s cubic-bezier(.65, 0, .35, 1);
}
.system[data-stage="3"] .system__cards { transform: none; transition: transform 1.3s cubic-bezier(.34, 1.25, .64, 1) .35s; }

/* both labels sit in the same spot and crossfade */
.system__hint-labels { display: grid; }
.system__hint-label {
  grid-area: 1 / 1;
  white-space: nowrap;
  transition: opacity .6s var(--ease-in-out), transform .8s var(--ease-out);
}
.system__hint-label--details { opacity: 0; transform: translateY(6px); }

.system[data-stage="2"] .system__hint-label--inside  { opacity: 0; transform: translateY(-6px); }
.system[data-stage="2"] .system__hint-label--details { opacity: 1; transform: none; }

.layer-card {
  position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title num" "desc desc";
  align-items: center; gap: 6px 16px; text-align: left; padding: 18px var(--gutter);
  background: var(--mist); color: var(--ink); border-top: 1px solid var(--line);
  transition: background-color .9s var(--ease-in-out), color .9s var(--ease-in-out);
  overflow: hidden;
}
.layer-card:first-child { border-top: 0; }
.layer-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 85% 0%, #5B848B 0%, var(--ink) 55%, #24505A 100%);
  opacity: 0; transition: opacity .9s var(--ease-in-out);
}
.layer-card > * { position: relative; }
.layer-card__num {
  grid-area: num; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--ink); font-size: .95rem; transition: background-color .9s var(--ease-in-out), color .9s var(--ease-in-out), border-color .9s var(--ease-in-out);
}
.layer-card__title { grid-area: title; font-size: clamp(1.25rem, 2.6vw, 2.4rem); line-height: 1.15; letter-spacing: -.015em; }
.layer-card__desc {
  grid-area: desc; font-size: .9rem; font-weight: 300; line-height: 1.55; color: rgba(255, 255, 255, .78); max-width: 30em;
  max-height: 0; overflow: hidden; opacity: 0; transition: opacity .9s var(--ease-in-out), max-height .9s var(--ease-in-out), margin .9s var(--ease-in-out);
}
.layer-card.is-active { color: #DCEBEE; }
.layer-card.is-active::before { opacity: 1; }
.layer-card.is-active .layer-card__num { background: var(--page); color: var(--ink); border-color: var(--page); }
.layer-card.is-active .layer-card__desc { opacity: 1; max-height: 9em; }
.layer-card:not(.is-active):hover { background: #E1EEF1; }

@media (min-width: 900px) {
  .system__cards { grid-template-columns: repeat(3, 1fr); height: clamp(260px, 47vh, 400px); }
  .layer-card {
    grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; grid-template-areas: "num" "." "title" "desc";
    align-items: end; padding: clamp(24px, 4.2vh, 40px) clamp(24px, 5.6vw, 80px) clamp(28px, 4.8vh, 44px);
    border-top: 0; border-left: 1px solid var(--line);
  }
  .layer-card:first-child { border-left: 0; }
  .layer-card__num { justify-self: end; width: clamp(56px, 5.6vw, 80px); height: clamp(56px, 5.6vw, 80px); font-size: clamp(1rem, 1.9vw, 1.75rem); }
  .layer-card.is-active .layer-card__desc { margin-top: 18px; }
  .layer-card__title { font-weight: 300; }
  .layer-card:not(.is-active) .layer-card__title { font-weight: 400; }
}
@media (max-width: 899px) {
  .filter { --lift: -20vh; }
}

/* ---------- 8. Benefits + Install (overlap) ---------- */
/* benefits slides up over the pinned section 3 */
.benefits {
  position: relative; z-index: 2; background: var(--page);
  margin-top: -100vh; margin-top: -100svh;
  padding-top: clamp(80px, 9vw, 130px);
}
.benefits__inner { display: grid; grid-template-columns: 1fr; }
.benefits__media { position: relative; overflow: hidden; min-height: 520px; }
.benefits__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.benefits__panel {
  position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(28px, 3.6vw, 44px) clamp(20px, 2.8vw, 40px);
  background: rgba(245, 240, 238, .55); backdrop-filter: blur(22px) saturate(1.1); -webkit-backdrop-filter: blur(22px) saturate(1.1);
}
.benefits__title { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.025em; }
.note { display: flex; gap: 14px; align-items: baseline; margin-top: 22px; padding: 14px 20px; border-radius: 16px; background: var(--page); font-size: .85rem; font-weight: 300; line-height: 1.45; }
.note__label { color: var(--red); font-size: 1.35rem; font-weight: 400; }

/* benefits accordion — no borders; the dark panel "pours" in from the +/− icon */
.accordion--benefits {
  --pad-x: clamp(20px, 5.6vw, 80px);
  --pad-y: clamp(28px, 4.4vw, 60px);
  --acc-ease: cubic-bezier(.65, 0, .35, 1);
  --acc-time: 1s;
  display: flex; flex-direction: column; background: var(--mist);
}
.accordion--benefits .acc-item {
  position: relative; isolation: isolate; overflow: hidden;
  flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center;
  background: var(--mist);
  transition: background-color .6s var(--ease-out);
}
/* the dark fill: a circle that grows out of the icon */
.accordion--benefits .acc-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 140% at 90% 0%, #4A747B 0%, var(--ink) 45%, #24505A 100%);
  clip-path: circle(0% at calc(100% - var(--pad-x) - 17px) 50%);
  transition: clip-path var(--acc-time) var(--acc-ease);
}
.accordion--benefits .acc-item.is-open::before { clip-path: circle(150% at calc(100% - var(--pad-x) - 17px) 50%); }

.accordion--benefits .acc-item__head {
  padding: var(--pad-y) var(--pad-x); font-size: var(--fs-h3);
  transition: color .7s var(--acc-ease) .1s, transform .8s var(--ease-out), padding var(--acc-time) var(--acc-ease);
}
.accordion--benefits .acc-item__body { transition: grid-template-rows var(--acc-time) var(--acc-ease); }
.accordion--benefits .acc-item__body > div { padding: 0 var(--pad-x); }
.accordion--benefits .acc-item__body p {
  padding: 0 0 var(--pad-y);
  color: rgba(255, 255, 255, .78); font-size: .95rem; font-weight: 300; max-width: 26em;
  opacity: 0; transform: translateY(14px); filter: blur(6px);
  transition: opacity .5s ease, transform .6s var(--ease-out), filter .5s ease;
}
.accordion--benefits .acc-item.is-open .acc-item__head { color: #DCEBEE; font-weight: 300; padding-bottom: calc(var(--pad-y) * .4); }
.accordion--benefits .acc-item.is-open .acc-item__body p {
  opacity: 1; transform: none; filter: none;
  transition: opacity .8s ease .35s, transform 1s var(--ease-out) .35s, filter .8s ease .35s;
}

/* icon: spins as it turns from + to − */
.accordion--benefits .acc-icon { transition: transform var(--acc-time) var(--acc-ease); }
.accordion--benefits .acc-item.is-open .acc-icon { transform: rotate(180deg); }

/* hover on closed items: title nudges, icon turns a quarter */
.accordion--benefits .acc-item:not(.is-open):hover { background: #E3EFF2; }
.accordion--benefits .acc-item:not(.is-open):hover .acc-item__head { transform: translateX(10px); }
.accordion--benefits .acc-item:not(.is-open):hover .acc-icon { transform: rotate(90deg); }
.accordion--benefits .acc-item:not(.is-open):hover { background: #E1EEF1; }

@media (min-width: 900px) {
  .benefits__inner { grid-template-columns: 1fr 1fr; min-height: min(850px, 92vh); }
  .benefits__media { min-height: 0; }
}

/* shared accordion mechanics */
.acc-item__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left;
  color: var(--ink); letter-spacing: -.015em; line-height: 1.2; transition: color .5s var(--ease-out);
}
.acc-item h3 { font-size: inherit; }
.acc-icon { position: relative; flex: none; width: 34px; height: 34px; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .6s var(--ease-out); }
.acc-icon::after { transform: rotate(90deg); }
.acc-item.is-open .acc-icon::after { transform: rotate(0deg); }
.acc-item__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.acc-item__body > div { overflow: hidden; }
.acc-item__body p { padding-top: 14px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .7s var(--ease-out); }
.acc-item.is-open .acc-item__body { grid-template-rows: 1fr; }
.acc-item.is-open .acc-item__body p { opacity: 1; transform: none; transition-delay: .15s; }

.install { position: relative; z-index: 2; background: var(--page); padding: clamp(110px, 14vw, 200px) 0 clamp(90px, 11vw, 160px); }
.install__grid { display: grid; gap: 22px; }
.install__title { font-size: var(--fs-h2); line-height: 1.12; max-width: 12.5em; margin-bottom: clamp(36px, 7vw, 90px); }

.steps { display: grid; gap: 14px; align-content: start; }

.steps {
  --step-ease: cubic-bezier(.65, 0, .35, 1);
  --step-in: 2.4s;
  --step-open: 3.2s;
  --step-text: 2.4s;
  --step-text-delay: .2s;
}

.step {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--step-in) var(--step-ease), transform var(--step-in) var(--step-ease);
}
.step.is-in { opacity: 1; transform: none; }

.step__inner {
  --pad: clamp(24px, 3vw, 40px);
  --title-w: 5.6em;
  --radius: var(--radius-md);
  position: relative; display: flex; align-items: center; gap: var(--pad);
  min-height: clamp(104px, 10.4vw, 150px); padding: 20px var(--pad);
  font-size: var(--fs-h3); text-align: left; color: var(--ink);
  background: var(--mist); border-radius: var(--radius);
  clip-path: inset(0 calc(100% - var(--title-w) - var(--pad) * 2) 0 0 round var(--radius));
  transition: clip-path var(--step-open) var(--step-ease);
  will-change: clip-path;
}
.step.is-open .step__inner { clip-path: inset(0 0 0 0 round var(--radius)); }
.step__title { flex: 0 0 var(--title-w); font-size: 1em; line-height: 1.1; letter-spacing: -.015em; }
.step__desc {
  flex: 1; max-width: 30em; font-size: .9rem; font-weight: 300; line-height: 1.5; color: var(--text);
  opacity: 0; transform: translateX(-32px);
  transition: opacity var(--step-text) var(--step-ease) var(--step-text-delay), transform var(--step-text) var(--step-ease) var(--step-text-delay);
  will-change: opacity, transform;
}
.step.is-open .step__desc { opacity: 1; transform: none; }

@media (hover: hover) {
  .step__inner { transition: clip-path var(--step-open) var(--step-ease), transform .8s cubic-bezier(.33, 1, .68, 1); }
  .step__inner:hover { transform: translateY(-6px); }
}

.install__side { display: grid; gap: 28px; justify-items: start; margin-top: 28px; }
.install__media { width: 100%; aspect-ratio: 5 / 3; border-radius: var(--radius-lg); overflow: hidden; }
.install__media img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .install__grid { grid-template-columns: 37.5% 17.2% 1fr; column-gap: 0; }
  .install__eyebrow { grid-column: 1; padding-top: .6em; }
  .install__title { grid-column: 2 / 4; }
  .steps { grid-column: 1 / 3; padding-right: clamp(24px, 4vw, 70px); }
  .install__side { grid-column: 3; margin-top: 0; grid-template-rows: auto 1fr; }
  .install__side .btn { align-self: end; }
}

/* zoom-on-hover images */
.zoom img { transition: transform 2.2s var(--ease-out); }
.zoom:hover img { transform: scale(1.07); }

/* ---------- 9. Shop (one product, three colours) ---------- */
.shop { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 9vw, 120px); }
.shop__grid {
  position: relative; display: grid; gap: 16px;
  grid-template-columns: 1fr auto;
  grid-template-areas: "head arrows" "stage stage" "buy buy" "swatch swatch";
}
.shop__head { grid-area: head; }

.shop__title { margin-top: 10px; font-size: var(--fs-h2); line-height: 1.08; }
.shop__arrows { grid-area: arrows; position: relative; z-index: 2; display: flex; gap: 10px; align-self: end; }

.shop__watermark {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 52%;
  width: calc(100% - var(--gutter) * 2); transform: translateY(-50%);
  opacity: .085; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent 92%); mask-image: linear-gradient(to bottom, #000 25%, transparent 92%);
}

/* product: slow reveal from below → endless float → colour crossfade */
.shop__stage { grid-area: stage; position: relative; height: clamp(380px, 60vh, 640px); pointer-events: none; } /* never blocks the arrows/buttons */
.shop__reveal { position: absolute; inset: 0; }
.shop__reveal[data-reveal] {
  --ry: 140px;
  transition: opacity 1.8s cubic-bezier(.65, 0, .35, 1), transform 2.4s cubic-bezier(.16, 1, .3, 1), filter 1.8s ease;
}
.shop__float { position: absolute; inset: 0; animation: shop-float 6s ease-in-out infinite; }
@keyframes shop-float {
  0%, 100% { transform: translateY(-12px) rotate(-.6deg); }
  50%      { transform: translateY(12px)  rotate(.6deg); }
}
.shop__img {
  position: absolute; left: 50%; top: 0; height: 100%; width: auto; max-width: none;
  opacity: 0; filter: blur(6px);
  transform: translateX(calc(-50% + var(--from, 40px)));
  transition: opacity .9s cubic-bezier(.65, 0, .35, 1), transform 1.2s cubic-bezier(.16, 1, .3, 1), filter .9s ease;
}
.shop__img.is-active { opacity: 1; filter: none; transform: translateX(-50%); }
.shop__img.is-leaving { opacity: 0; filter: blur(6px); transform: translateX(calc(-50% + var(--to, -40px))); }

/* colour swatches */
.swatches { grid-area: swatch; display: flex; gap: 12px; align-items: center; }
.swatch { width: clamp(44px, 5.6vw, 80px); aspect-ratio: 1; border-radius: 50%; border: 3px solid transparent; background-clip: padding-box; transition: border-color .6s var(--ease-out), transform .6s var(--ease-out); }
.swatch:hover { transform: scale(1.06); }
.swatch.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--page); }
.swatch--pearl { background: repeating-linear-gradient(135deg, #F1F3F3 0 8px, #DCE0E0 8px 10px); }
.swatch--mist { background: repeating-linear-gradient(135deg, #CFE6E6 0 8px, #A9D3D3 8px 10px); }
.swatch--graphite { background: repeating-linear-gradient(135deg, #3A3D3E 0 8px, #4C5051 8px 10px); }

/* name, colour, price, add to cart */
.shop__buy { grid-area: buy; justify-self: end; width: min(100%, 520px); }
.shop__name { font-size: clamp(1.5rem, 3vw, 2.6rem); color: var(--ink); letter-spacing: -.015em; line-height: 1.15; }
.shop__finish { margin-top: 6px; font-size: .95rem; font-weight: 300; color: var(--text); }
.shop__finish span { display: inline-block; transition: opacity .35s ease, transform .5s var(--ease-out); }
.shop__finish.is-swapping span { opacity: 0; transform: translateY(8px); }
.shop__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.shop__price { font-size: clamp(1.4rem, 2.3vw, 2rem); font-weight: 300; color: var(--text); }

/* Add to Cart: ripple from the centre, + keeps its own spin */
.btn-cart {
  --ripple: #3F6E76; --ripple-time: .7s;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 56px; height: 64px; padding: 0 4px 0 38px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 1rem;
}
.btn-cart::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1;
  width: 120%; aspect-ratio: 1; border-radius: 50%; background: var(--ripple);
  transform: translate(-50%, -50%) scale(0); opacity: 0;
  transition: opacity .45s var(--ease-out), transform 0s linear .45s;
}
.btn-cart:hover::before, .btn-cart:focus-visible::before {
  transform: translate(-50%, -50%) scale(1); opacity: 1;
  transition: transform var(--ripple-time) cubic-bezier(.65, 0, .35, 1), opacity .15s ease;
}
.btn-cart__plus { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--mist-2); transition: transform .6s var(--ease-out); }
.btn-cart__plus::before, .btn-cart__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.btn-cart__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.btn-cart:hover .btn-cart__plus { transform: rotate(90deg); }

@media (min-width: 900px) {
  .shop { min-height: 100vh; display: flex; align-items: center; }
  .shop__grid {
    grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto;
    grid-template-areas: "head arrows" "stage stage" "swatch buy";
  }
  .shop__arrows { justify-self: end; align-self: end; margin-bottom: .2em; }
  .shop__stage { margin-top: -14vh; margin-bottom: -10vh; height: min(70vh, 660px); }
  .swatches { align-self: end; }

  /* lift the colour swatches + name/button up to the bottom of the PURENE watermark */
  .swatches,
  .shop__buy { translate: 0 -13vh; }
}

/* ---------- Shop — mobile layout (keep this AFTER the other shop rules) ---------- */
.btn-cart { white-space: nowrap; flex: none; }
@media (max-width: 899px) {
  .shop__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "stage" "swatch" "buy";   /* colours above the product name */
    row-gap: 20px;
  }

  /* "Shop" on the far left, title on the right, full width */
  .shop__head {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
    width: 100%; text-align: left;
  }
  .shop__head .eyebrow { padding-top: .5em; }
  .shop__title { margin-top: 0; text-align: left; }

  /* arrows on the left and right of the product */
  .shop__arrows {
    grid-area: stage; align-self: center; justify-self: stretch;
    display: flex; justify-content: space-between; pointer-events: none;
  }
  .shop__arrows .arrow-btn {
    pointer-events: auto; width: 52px; height: 52px;
    background: rgba(245, 252, 255, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }

  /* colour swatches, then name / colour / button + price (original design) */
  .swatches { grid-area: swatch; }
  .shop__buy { grid-area: buy; justify-self: stretch; width: 100%; }

  /* centre the colour swatches, the product name and the "Colour:" label */
  .swatches { justify-content: center; }
  .shop__name, .shop__finish { text-align: center; }
}

/* ---------- 10. Reviews ---------- */
.reviews { padding: clamp(80px, 11vw, 160px) 0; }
.reviews__grid { display: grid; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reviews__left { display: grid; gap: 32px; padding: 32px var(--gutter); border-bottom: 1px solid var(--line); }
.reviews__photo { position: relative; width: clamp(160px, 17.4vw, 250px); aspect-ratio: 1; border-radius: 30px; overflow: hidden; background: var(--mist-2); }
.reviews__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.reviews__title { font-size: var(--fs-h2); line-height: 1.08; }
.reviews__right { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 40px; padding: 32px var(--gutter) 40px; }
.reviews__top { display: flex; justify-content: space-between; align-items: center; }
.reviews__num { font-size: clamp(2.2rem, 4vw, 3.6rem); color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.reviews__current { display: inline-block; transition: transform .6s var(--ease-out), opacity .4s; }
.reviews__num.is-swapping .reviews__current { transform: translateY(-40%); opacity: 0; }
.reviews__total { margin-left: .35em; font-size: .42em; font-weight: 300; letter-spacing: 0; color: var(--text); }
.reviews__num.is-swapping span { transform: translateY(-40%); opacity: 0; }
.reviews__arrows { display: flex; gap: 10px; }
.reviews__track { position: relative; display: grid; align-items: end; }
.review { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); filter: blur(4px); pointer-events: none; transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), filter .8s; }
.review.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.review__name { display: block; font-size: clamp(1.15rem, 1.9vw, 1.75rem); color: var(--ink); }
.review__body { display: flex; gap: clamp(16px, 3vw, 44px); margin-top: 22px; }
.review__mark { flex: none; align-self: flex-start; width: clamp(44px, 4.4vw, 64px); height: auto; margin-top: -.4em; color: var(--red); }
.review__body p { font-size: clamp(1.15rem, 1.9vw, 1.75rem); font-weight: 300; line-height: 1.45; color: var(--text); max-width: 17em; }
.reviews__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; overflow: hidden; } /* spans the whole right column, on the bottom line */
.reviews__progress span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.reviews__progress.is-running span { animation: progress var(--dur, 5s) linear forwards; }
.reviews__progress.is-paused span { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

@media (min-width: 900px) {
  .reviews__grid { grid-template-columns: 1fr 1fr; min-height: 600px; }
  .reviews__left { grid-template-rows: auto 1fr; padding: 40px var(--gutter) 40px; border-bottom: 0; border-right: 1px solid var(--line); }
  .reviews__photo { justify-self: end; margin-right: 3%; }
  .reviews__title { align-self: end; }
  .reviews__right { padding: 40px var(--gutter) 40px clamp(32px, 5.6vw, 80px); }
}

/* ---------- 11. FAQ ---------- */
.faq { padding: clamp(40px, 6vw, 80px) 0 clamp(100px, 13vw, 190px); }
.faq__inner { max-width: calc(800px + var(--gutter) * 2); }
.faq__title { text-align: center; font-size: var(--fs-h2); line-height: 1.08; margin-bottom: clamp(40px, 5.6vw, 72px); }

/* FAQ — the dark panel moves like liquid to the new question, then the labels change */
.accordion--faq { position: relative; display: grid; gap: 8px; }

/* the moving liquid panel (created by JS) */
.faq-blob {
  position: absolute; left: 0; top: 0; width: 100%; height: 0; z-index: 0;
  background: var(--ink); border-radius: var(--radius-md);
  opacity: 0; pointer-events: none; will-change: transform, height;
}
.accordion--faq.is-animating .faq-blob { opacity: 1; }

.accordion--faq .acc-item {
  --pad-y: clamp(24px, 3vw, 38px);
  --pad-x: clamp(20px, 3.4vw, 40px);
  --q-size: clamp(1.15rem, 1.8vw, 1.6rem);
  --liquid: cubic-bezier(.65, 0, .35, 1);
  position: relative; z-index: 1; isolation: isolate;
  border-bottom: 1px solid var(--line);
  transition:
    border-color .4s var(--ease-out),
    opacity 1.1s var(--ease-out) var(--d, 0s),
    transform 1.3s var(--ease-out) var(--d, 0s),
    filter 1.1s var(--ease-out) var(--d, 0s);
}
/* hide the grey line on the open item, the item above it, and all lines while the liquid moves */
.accordion--faq .acc-item.is-open,
.accordion--faq .acc-item:has(+ .acc-item.is-open),
.accordion--faq .acc-item.is-crossed { border-color: transparent; }   /* only lines the liquid passes over */

/* resting dark background of the open item (hidden while the liquid is moving) */
.accordion--faq .acc-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: var(--radius-md); background: var(--ink); opacity: 0;
}
.accordion--faq .acc-item.is-open::before { opacity: 1; }
.accordion--faq.is-animating .acc-item::before { opacity: 0; }

/* question */
.accordion--faq .acc-item__head {
  padding: var(--pad-y) 0; font-size: var(--q-size);
  transition: padding .7s var(--liquid), color .35s ease;
}
.accordion--faq .acc-item.is-open .acc-item__head {
  color: #fff; padding: var(--pad-y) var(--pad-x) 0;
  transition: padding .55s var(--liquid), color .4s ease .05s;
}

/* answer */
.accordion--faq .acc-item__body { transition: grid-template-rows .65s var(--liquid); }
.accordion--faq .acc-item__body > div { padding: 0; transition: padding .7s var(--liquid); }
.accordion--faq .acc-item.is-open .acc-item__body > div { padding: 0 var(--pad-x) var(--pad-y); }
.accordion--faq .acc-item__body p {
  color: rgba(255, 255, 255, .85); font-size: .95rem; font-weight: 300; max-width: 40em;
  opacity: 0; transform: translateY(10px); filter: blur(4px);
  transition: opacity .3s ease, transform .4s var(--ease-out), filter .3s ease, color .35s ease;
}
.accordion--faq .acc-item.is-open .acc-item__body p {
  opacity: 1; transform: none; filter: none;
  transition: opacity .5s ease .15s, transform .7s var(--ease-out) .15s, filter .5s ease .15s, color .35s ease;
}
.accordion--faq .acc-item__body a { text-decoration: underline; text-underline-offset: 3px; }

/* the previous question while the liquid travels away: readable dark text on the light background */
.accordion--faq .acc-item.is-leaving .acc-item__head { color: var(--ink); }
.accordion--faq .acc-item.is-leaving .acc-item__body p { color: var(--text); }

/* hover: label slides right, icon slides left */
.accordion--faq .acc-item:not(.is-open) .acc-item__head:hover {
  padding-left: 12px;
  padding-right: 12px;
}

/* +/− icon */
.accordion--faq .acc-icon { width: 22px; height: 22px; transition: transform .9s var(--liquid); }
.accordion--faq .acc-item.is-open .acc-icon { transform: rotate(180deg); }

/* FAQ cards: blur + fade in from below, one by one */
.accordion--faq .acc-item[data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(48px);
  filter: blur(12px);
}

/* CTA buttons row */
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* "Get Updates" → newsletter field */
.subscribe {
  --w-closed: 236px;
  --w-open: var(--w-fit, 560px);
  --morph: cubic-bezier(.65, 0, .35, 1);
  position: relative; isolation: isolate;
  width: var(--w-closed); height: 64px;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--mist-2);
  transition: width .8s var(--morph), border-color .4s ease;
}
.subscribe.is-open { width: var(--w-open); }

/* closed state: looks like a ghost button, with the centre ripple on hover */
.subscribe__toggle {
  position: absolute; inset: 0; z-index: 2; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  border-radius: inherit; color: var(--ink); font-size: 1rem; letter-spacing: .01em;
  transition: opacity .35s ease, transform .5s var(--morph), color .35s ease;
}
.subscribe__toggle::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1;
  width: 120%; aspect-ratio: 1; border-radius: 50%; background: var(--ink);
  transform: translate(-50%, -50%) scale(0); opacity: 0;
  transition: opacity .45s var(--ease-out), transform 0s linear .45s;
}
.subscribe__toggle:hover::before { transform: translate(-50%, -50%) scale(1); opacity: 1; transition: transform .7s var(--morph), opacity .15s ease; }
.subscribe__toggle:hover { color: #fff; transition: color .35s ease .38s; }
.subscribe__toggle .btn__arrow { transition: transform .7s var(--morph); }
.subscribe__toggle:hover .btn__arrow { transform: rotate(45deg); }
.subscribe.is-open .subscribe__toggle { opacity: 0; transform: translateX(-16px); pointer-events: none; }

/* open state: email field + round submit */
.subscribe__input {
  position: absolute; inset: 0; width: 100%;
  padding: 0 76px 0 26px; border: 0; border-radius: inherit; background: transparent;
  font: inherit; font-size: 1rem; color: var(--ink); outline: none;
  opacity: 0; transition: opacity .35s ease;
}
.subscribe__input::placeholder { color: #8A9A9D; }
.subscribe.is-open .subscribe__input { opacity: 1; transition: opacity .5s ease .45s; }
.subscribe:focus-within { border-color: var(--ink-deep); }

.subscribe__submit {
  position: absolute; top: 4px; right: 4px; bottom: 4px; aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); color: #fff;
  transform: scale(0); transition: transform .4s var(--morph), background-color .4s ease;
}
.subscribe.is-open .subscribe__submit { transform: scale(1); transition: transform .7s cubic-bezier(.34, 1.4, .64, 1) .5s, background-color .4s ease; }
.subscribe__submit svg { transition: transform .6s var(--morph); }
.subscribe__submit:hover { background: var(--ink-deep); }
.subscribe__submit:hover svg { transform: translateX(3px); }

/* feedback */
.subscribe__msg {
  position: absolute; left: 26px; top: calc(100% + 10px);
  font-size: .85rem; color: var(--text); opacity: 0; transform: translateY(-4px);
  transition: opacity .4s ease, transform .5s var(--ease-out);
}
.subscribe__msg.is-shown { opacity: 1; transform: none; }
.subscribe.is-error { border-color: var(--red); animation: sub-shake .45s ease; }
.subscribe.is-error .subscribe__msg { color: var(--red); }
@keyframes sub-shake {
  20% { translate: -6px 0; } 40% { translate: 5px 0; } 60% { translate: -3px 0; } 80% { translate: 2px 0; }
}

/* ---------- 12. Finale: CTA + footer (one background) ---------- */
.finale {
  position: relative; overflow: hidden; isolation: isolate;
  background: url("../images/footer-bg.webp") right bottom / cover no-repeat, linear-gradient(var(--page), #DCE9EC);
  color: var(--ink);
}
/* the woman, fading into the background at the bottom-left */
.finale__woman {
  position: absolute; z-index: -1; left: 0; bottom: 0;
  width: min(36vw, 520px); height: auto; max-width: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 96%); mask-image: linear-gradient(to bottom, #000 55%, transparent 96%);
}
.finale__woman[data-reveal] {
  --ry: 120px;
  transition: opacity 1.8s cubic-bezier(.65, 0, .35, 1), transform 2.4s cubic-bezier(.16, 1, .3, 1), filter 1.8s ease;
}

.finale__grid {
  display: grid; grid-template-columns: 1fr;
  padding-top: clamp(100px, 16vw, 230px);
  padding-bottom: clamp(80px, 12vw, 160px);
}

/* CTA */
.cta__title { font-size: var(--fs-h2); line-height: 1.08; }
.cta__text { margin: 24px 0 36px; font-size: clamp(.95rem, 1.2vw, 1.05rem); font-weight: 300; color: var(--text); }

/* ---------- Footer ---------- */
/* lives inside .finale, so it shares the CTA's background */
.footer {
  position: relative;
  background: linear-gradient(to bottom, rgba(218, 233, 236, 0) 0%, #DAE9EC 100%);
  padding: 0 0 calc(clamp(40px, 4vw, 56px) + env(safe-area-inset-bottom, 0px));
  font-size: .95rem; letter-spacing: .02em; color: var(--text);
}
/* gradient blur: clear at the top, frosted at the bottom */
.footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
}
.footer__inner {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
.footer__mark { width: clamp(60px, 5.5vw, 80px); height: auto; }

.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.footer__cols address { grid-column: 1 / -1; }
.footer__col { display: grid; align-content: start; gap: 8px; }
.footer__label { font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: #8A9A9D; margin-bottom: 2px; }
.footer__col a { justify-self: start; color: var(--text); line-height: 1.35; transition: color .3s, transform .4s var(--ease-out); }
.footer__col a:hover { color: var(--ink); transform: translateX(4px); }

.footer__copy { font-size: .9rem; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { transition: color .3s; }
.footer__legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__social { display: flex; gap: 6px; }
.footer__social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--text); transition: color .3s, background-color .4s; }
.footer__social a:hover { color: var(--ink); background: rgba(43, 88, 96, .08); }

/* ---------- Finale — mobile layout (matches footer-mobile design) ---------- */
@media (max-width: 899px) {
  /* ripple background sits behind the footer */
  .finale { background-position: 62% bottom, 0 0; }

  /* photo on top, overlapping the heading slightly */
  .finale__woman {
    position: relative; display: block; z-index: 0;
    width: 74vw; margin: 56px auto -22vw;
  }
  .finale__grid { padding-top: 0; padding-bottom: clamp(56px, 14vw, 80px); }

  /* CTA: centred heading, text and stacked buttons */
  .cta { text-align: center; min-width: 0; }                   /* never wider than the screen */
  .cta__title { font-size: clamp(2.1rem, 10vw, 2.8rem); font-weight: 500; max-width: min(8.6em, 100%); margin-inline: auto; }
  .cta__title br { display: none; }                 /* let it wrap as "Start every day / with better water." */
  .cta__text { max-width: 22em; margin: 20px auto 32px; }
  .cta__actions { flex-direction: column; align-items: center; gap: 12px; }
  .cta__actions .btn { width: 250px; padding: 0; }
  .subscribe { --w-closed: 250px; }

  /* footer order: logo → links → legal → socials → copyright */
  .footer__inner {
    grid-template-areas: "mark" "cols" "legal" "social" "copy";
    gap: 36px;
    font-size: .85rem;
  }
  .footer__mark   { grid-area: mark; width: 52px; }
  .footer__cols   { grid-area: cols; grid-template-columns: 44% 1fr; column-gap: 0; row-gap: 32px; }
  .footer__col    { gap: 6px; }
  .footer__legal  { grid-area: legal; }
  .footer__social { grid-area: social; gap: 18px; margin-left: -8px; }
  .footer__social a { width: 44px; height: 44px; color: var(--text); }
  .footer__social svg { width: 28px; height: 28px; }
  .footer__copy   { grid-area: copy; }
}

@media (min-width: 900px) {
  .finale { min-height: 100vh; display: flex; flex-direction: column; }
  .finale__grid {
    /* left column = space for the woman / logo, right column = text */
    flex: 1; align-content: center;
    grid-template-columns: 37.5% 1fr;
    padding-top: clamp(160px, 20vh, 240px);
    padding-bottom: clamp(110px, 14vh, 170px);
  }
  .cta { grid-column: 2; }
  .footer__inner {
    grid-template-columns: 37.5% 1fr auto;          /* logo | links | socials — same column as the CTA text */
    grid-template-areas:
      "mark cols cols"
      "copy legal social";
    column-gap: 0; row-gap: clamp(70px, 8vw, 110px);
    align-items: center;
  }
  .footer__mark   { grid-area: mark; align-self: start; }
  .footer__cols   { grid-area: cols; align-self: start; grid-template-columns: auto auto 1fr; column-gap: clamp(48px, 5.6vw, 80px); }
  .footer__cols address { grid-column: auto; }
  .footer__copy   { grid-area: copy; }
  .footer__legal  { grid-area: legal; }
  .footer__social { grid-area: social; }
}

/* ---------- 13. Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 120;
  padding: 14px 24px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .92rem;
  transform: translate(-50%, 140%); opacity: 0; transition: transform .7s var(--ease-out), opacity .5s;
}
.toast.is-shown { transform: translate(-50%, 0); opacity: 1; }

/* ---------- 14. Scroll reveals ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(var(--ry, 56px)); filter: blur(6px);
  transition: opacity 1.1s var(--ease-out) var(--d, 0s), transform 1.4s var(--ease-out) var(--d, 0s), filter 1.1s var(--ease-out) var(--d, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }
[data-reveal="image"] { opacity: 1; filter: none; transform: none; clip-path: inset(18% 0 0 0); transition: clip-path 1.6s var(--ease-out) var(--d, 0s); }
[data-reveal="image"] > img { transform: scale(1.18); transition: transform 2s var(--ease-out); }
[data-reveal="image"].is-visible { clip-path: inset(0 0 0 0); }
[data-reveal="image"].is-visible > img { transform: scale(1); }
[data-reveal="image"].is-visible.zoom:hover > img { transform: scale(1.07); }
.reviews__photo[data-reveal="image"] > img { transform: none; }

/* ---------- 15. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal], [data-reveal="image"] { opacity: 1; transform: none; filter: none; clip-path: none; }
  .hero__heart { opacity: 1; transform: none; }
}
