/* ==========================================================================
   LUME — Apple design language, LUME palette.
   Chassis per DESIGN-apple.md: edge-to-edge alternating tiles, tight display
   type, one accent, pill CTAs, exactly one drop-shadow (product photos only),
   no decorative gradients, no shadows on chrome.
   Accent substitution: Action Blue -> LUME rose. Parchment -> LUME cream.
   ========================================================================== */

:root {
  /* ── accent (replaces Apple's single Action Blue) ── */
  --accent: hsl(350 45% 58%);
  --accent-focus: hsl(350 48% 52%);
  --accent-on-dark: hsl(350 70% 78%);

  /* ── surfaces ── */
  --canvas: #ffffff;
  --parchment: hsl(30 40% 97%);        /* LUME cream in Apple's #f5f5f7 slot */
  --pearl: hsl(30 40% 99%);
  --tile-1: hsl(350 10% 15%);          /* LUME near-black */
  --tile-2: hsl(350 10% 17%);
  --tile-3: hsl(350 10% 13%);
  --nav-black: hsl(350 12% 9%);

  /* ── text ── */
  --ink: hsl(350 10% 15%);
  --ink-80: hsl(350 8% 28%);
  --ink-48: hsl(350 6% 48%);
  --on-dark: #ffffff;
  --muted-on-dark: hsl(350 10% 82%);

  /* ── hairlines ── */
  --hairline: hsl(30 18% 89%);
  --divider-soft: hsl(30 20% 94%);

  /* ── type ── */
  --sans: "SF Pro Text", system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  --display: "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  --wordmark: "Cormorant Garamond", Georgia, serif;   /* logo only */

  /* ── radii ── */
  --r-sm: 8px;
  --r-md: 11px;
  --r-lg: 18px;
  --pill: 9999px;

  /* ── spacing ── */
  --s-xs: 8px;
  --s-sm: 12px;
  --s-md: 17px;
  --s-lg: 24px;
  --s-xl: 32px;
  --s-xxl: 48px;
  --section: 80px;

  /* the one shadow in the system — product photography only */
  --product-shadow: rgba(0, 0, 0, .22) 3px 5px 30px 0;

  --nav-h: 44px;
  --subnav-h: 52px;
  --gutter: clamp(22px, 5vw, 48px);
  --maxw: 1440px;
  --readw: 980px;
}

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;                      /* Apple runs body at 17, not 16 */
  font-weight: 400;
  line-height: 1.44;                    /* Inter substitute: 1.47 - 0.03 */
  letter-spacing: -.374px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

/* ── type scale ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; margin: 0; }

.t-hero    { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.07; letter-spacing: -.02em; }
.t-display { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.1;  letter-spacing: -.015em; }
.t-section { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2;  letter-spacing: -.374px; font-weight: 600; }
.t-lead    { font-size: clamp(21px, 2vw, 28px);  line-height: 1.14; letter-spacing: .196px; font-weight: 400; font-family: var(--display); }
.t-airy    { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5;  font-weight: 300; }
.t-tagline { font-size: 21px; line-height: 1.19; letter-spacing: .231px; font-weight: 600; font-family: var(--display); }
.t-body    { font-size: 17px; line-height: 1.44; letter-spacing: -.374px; }
.t-strong  { font-size: 17px; line-height: 1.24; letter-spacing: -.374px; font-weight: 600; }
.t-caption { font-size: 14px; line-height: 1.43; letter-spacing: -.224px; }
.t-caption-strong { font-size: 14px; line-height: 1.29; letter-spacing: -.224px; font-weight: 600; }
.t-fine    { font-size: 12px; line-height: 1.4; letter-spacing: -.12px; }
.t-legal   { font-size: 10px; line-height: 1.3; letter-spacing: -.08px; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-focus); outline-offset: 3px; }

.muted { color: var(--ink-48); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 50%; top: -80px; transform: translateX(-50%); z-index: 200; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: 8px; }

/* ── tiles: the core rhythm. color change IS the divider ─────────────────── */
.tile { padding-block: clamp(56px, 8vw, var(--section)); position: relative; }
.tile--white      { background: var(--canvas); color: var(--ink); }
.tile--parchment  { background: var(--parchment); color: var(--ink); }
.tile--dark       { background: var(--tile-1); color: var(--on-dark); }
.tile--dark-2     { background: var(--tile-2); color: var(--on-dark); }
.tile--dark-3     { background: var(--tile-3); color: var(--on-dark); }
.tile--flush { padding-block: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--read { max-width: var(--readw); }

/* centered stack: headline -> tagline -> CTAs -> product render */
.stack { text-align: center; max-width: 900px; margin-inline: auto; }
.stack > * + * { margin-top: var(--s-md); }
.stack .ctas { margin-top: var(--s-lg); }

.tile--dark .muted, .tile--dark-2 .muted, .tile--dark-3 .muted { color: var(--muted-on-dark); }

/* ── buttons ────────────────────────────────────────────────────────────── */
.ctas { display: flex; gap: var(--s-lg); justify-content: center; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-size: 17px; line-height: 1.2; letter-spacing: -.374px; font-weight: 400;
  padding: 11px 22px;
  border-radius: var(--pill);
  min-height: 44px;
  transition: transform .18s ease, background .2s ease, opacity .2s ease;
}
.btn:active { transform: scale(.95); }          /* system-wide micro-interaction */
.btn:hover { background: var(--accent-focus); }
.btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

.btn--ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.btn--ghost:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.btn--on-dark-ghost { background: transparent; color: var(--accent-on-dark); box-shadow: inset 0 0 0 1px var(--accent-on-dark); }
.btn--on-dark-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--lg { font-size: 18px; font-weight: 300; padding: 14px 28px; }
.btn--utility { background: var(--ink); color: #fff; font-size: 14px; letter-spacing: -.224px; padding: 8px 15px; border-radius: var(--r-sm); min-height: 0; }
.btn--wa { background: #25d366; }
.btn--wa:hover { background: #1fbe5a; }
.btn--wa svg { fill: currentColor; stroke: none; width: 17px; height: 17px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn[disabled]:active { transform: none; }

.link { color: var(--accent); font-size: 17px; letter-spacing: -.374px; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { text-decoration: underline; }
.link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.tile--dark .link, .tile--dark-2 .link, .tile--dark-3 .link { color: var(--accent-on-dark); }

/* ── global nav (thin, near-black) ──────────────────────────────────────── */
.gnav { position: sticky; top: 0; z-index: 80; background: var(--nav-black); color: #fff; }
.gnav__inner { display: flex; align-items: center; gap: var(--s-lg); height: var(--nav-h); max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.gnav a, .gnav button { font-size: 12px; line-height: 1; letter-spacing: -.12px; color: rgba(255, 255, 255, .88); transition: color .2s; }
.gnav a:hover, .gnav button:hover { color: #fff; }
.gnav__spacer { flex: 1; }
.gnav .wordmark { font-family: var(--wordmark); font-size: 19px; letter-spacing: .14em; color: #fff; }
.gnav__icon { display: grid; place-items: center; width: 32px; height: 32px; position: relative; }
.gnav__icon svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.cart-count {
  position: absolute; top: -1px; right: -2px;
  min-width: 15px; height: 15px; padding: 0 4px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 600; line-height: 1; border-radius: var(--pill);
  transform: scale(0); transition: transform .25s ease;
}
.cart-count.is-on { transform: scale(1); }

/* ── sub-nav (frosted parchment) ────────────────────────────────────────── */
.subnav {
  position: sticky; top: var(--nav-h); z-index: 70;
  background: color-mix(in srgb, var(--parchment) 80%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.subnav__inner { display: flex; align-items: center; gap: var(--s-lg); height: var(--subnav-h); max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.subnav__name { font-family: var(--wordmark); font-size: 21px; letter-spacing: .14em; font-weight: 600; color: var(--ink); }
.subnav__links { display: flex; gap: var(--s-lg); margin-left: auto; align-items: center; }
.subnav__links a { font-size: 14px; letter-spacing: -.224px; color: var(--ink-80); transition: color .2s; }
.subnav__links a:hover, .subnav__links a[aria-current="page"] { color: var(--ink); }
.subnav .btn { padding: 7px 16px; font-size: 14px; min-height: 0; }

.burger { display: none; flex-direction: column; align-items: center; justify-content: center; width: 30px; height: 30px; }
.burger i { display: block; width: 17px; height: 1.5px; background: currentColor; transition: transform .3s ease, opacity .2s; }
.burger i + i { margin-top: 5px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.tray {
  position: fixed; inset: calc(var(--nav-h) + var(--subnav-h)) 0 auto; z-index: 65;
  background: var(--parchment);
  border-bottom: 1px solid var(--hairline);
  padding: var(--s-lg) var(--gutter) var(--s-xl);
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s ease, transform .3s ease, visibility .28s;
}
.tray.is-open { opacity: 1; visibility: visible; transform: none; }
.tray a { font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -.015em; padding: 10px 0; border-bottom: 1px solid var(--hairline); }

/* ── product imagery: the one shadow ────────────────────────────────────── */
.render { margin-top: var(--s-xxl); }
.render img { margin-inline: auto; filter: drop-shadow(var(--product-shadow)); }
.render--full img { width: 100%; }
.render--bleed { margin-top: var(--s-xl); }
/* never upscale past the source's natural width — soft renders break the look */
.render--bleed img { width: min(800px, 100%); }
.render img { max-width: 800px; }

/* full-bleed photographic tile */
.photo-tile { position: relative; min-height: min(660px, 78vh); display: grid; place-items: center; overflow: hidden; }
.photo-tile__img { position: absolute; inset: 0; }
.photo-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.5) 100%); }
.photo-tile .wrap { position: relative; z-index: 1; }
.photo-tile, .photo-tile .stack { color: #fff; }
.photo-tile .muted { color: rgba(255, 255, 255, .82); }

/* ── quote grid (reviews) ───────────────────────────────────────────────── */
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-xl); margin-top: var(--s-xxl); }
.quote p { font-size: 17px; line-height: 1.44; letter-spacing: -.374px; }
.quote__title { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: .231px; margin-bottom: var(--s-sm); }
.quote cite { display: block; margin-top: var(--s-md); font-size: 14px; letter-spacing: -.224px; font-style: normal; opacity: .62; }
.stars { display: inline-flex; gap: 2px; margin-bottom: var(--s-sm); }
.stars svg { width: 13px; height: 13px; fill: var(--accent-on-dark); stroke: none; }
.tile--white .stars svg, .tile--parchment .stars svg { fill: var(--accent); }

/* ── step / feature columns ─────────────────────────────────────────────── */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-xl); margin-top: var(--s-xxl); }
.cols--4 { grid-template-columns: repeat(4, 1fr); }
.col__media { margin-bottom: var(--s-lg); }
.col__media img { width: 100%; border-radius: var(--r-lg); }
.col__eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-xs); }
.col h3 { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: .231px; margin-bottom: 6px; }
.col p { font-size: 17px; line-height: 1.44; letter-spacing: -.374px; color: var(--ink-48); }
.tile--dark .col p, .tile--dark-2 .col p, .tile--dark-3 .col p { color: var(--muted-on-dark); }
.col__icon { margin-bottom: var(--s-md); }
.col__icon svg { width: 26px; height: 26px; stroke: var(--accent-on-dark); fill: none; stroke-width: 1.4; }
.tile--white .col__icon svg, .tile--parchment .col__icon svg { stroke: var(--accent); }

/* ── utility cards (store grammar) ──────────────────────────────────────── */
.ucards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-lg); margin-top: var(--s-xxl); }
.ucard { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: var(--s-lg); }
.ucard dt { font-size: 14px; letter-spacing: -.224px; color: var(--ink-48); margin-bottom: 4px; }
.ucard dd { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.374px; }

/* ── product page ───────────────────────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.gallery__main { position: relative; aspect-ratio: 1; background: var(--parchment); border-radius: var(--r-lg); overflow: hidden; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.gallery__main img.is-active { opacity: 1; }
.gallery__ctrl { position: absolute; inset: auto 0 var(--s-lg); display: flex; justify-content: space-between; padding-inline: var(--s-lg); }
.gallery__ctrl button {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(210, 210, 215, .64); backdrop-filter: blur(8px);
  border-radius: 50%; color: var(--ink);
  transition: transform .18s ease;
}
.gallery__ctrl button:active { transform: scale(.95); }
.gallery__ctrl svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-sm); margin-top: var(--s-sm); }
.thumb { aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; opacity: .5; transition: opacity .2s, box-shadow .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-selected="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--accent-focus); }
.thumb:hover { opacity: 1; }

.pdp__price { font-family: var(--display); font-size: clamp(28px, 3vw, 34px); font-weight: 600; letter-spacing: -.374px; }
.chips { display: flex; gap: var(--s-sm); flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--canvas);
  border: 1px solid var(--hairline); border-radius: var(--pill);
  font-size: 14px; letter-spacing: -.224px;
  transition: transform .18s ease, border-color .2s;
}
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"] { border: 2px solid var(--accent-focus); padding: 11px 15px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--hairline); border-radius: var(--pill); background: var(--canvas); }
.qty button { width: 42px; height: 44px; display: grid; place-items: center; font-size: 18px; transition: transform .18s ease; }
.qty button:active { transform: scale(.9); }
.qty output { min-width: 32px; text-align: center; font-size: 17px; }

.trust { display: flex; flex-wrap: wrap; gap: var(--s-lg); font-size: 14px; letter-spacing: -.224px; color: var(--ink-48); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 15px; height: 15px; stroke: var(--accent); fill: none; stroke-width: 1.8; }

/* floating sticky bar */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: var(--s-lg);
  height: 64px; padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--parchment) 88%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(0, 0, 0, .08);
  transform: translateY(110%);
  transition: transform .35s ease;
}
.sticky.is-on { transform: none; }
.sticky .btn { margin-left: auto; padding: 9px 20px; font-size: 14px; min-height: 0; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { max-width: var(--readw); margin-inline: auto; margin-top: var(--s-xxl); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.tile--dark .faq__item { border-bottom-color: rgba(255, 255, 255, .14); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--s-lg); width: 100%; padding: 22px 0; text-align: left; font-size: 21px; font-family: var(--display); font-weight: 600; letter-spacing: .231px; }
.faq__q svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; transition: transform .3s ease; }
.faq__q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s ease; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 22px; color: var(--ink-48); max-width: 70ch; }
.tile--dark .faq__a p { color: var(--muted-on-dark); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ── forms ──────────────────────────────────────────────────────────────── */
.field { display: grid; gap: 6px; margin-bottom: var(--s-md); }
.field label { font-size: 14px; letter-spacing: -.224px; color: var(--ink-48); }
.field input, .field textarea, .field select {
  padding: 12px 20px; min-height: 44px;
  background: var(--canvas); color: var(--ink);
  border: 1px solid rgba(0, 0, 0, .08); border-radius: var(--pill);
  font-size: 17px; letter-spacing: -.374px;
  transition: border-color .2s;
}
.field textarea { border-radius: var(--r-lg); min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent-focus); }
.field.is-bad input, .field.is-bad textarea { border-color: var(--accent); }
.field__err { display: none; font-size: 12px; color: var(--accent-focus); }
.field.is-bad .field__err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-md); }
.tile--dark .field input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.tile--dark .field input::placeholder { color: rgba(255, 255, 255, .5); }

.inline-form { display: flex; gap: var(--s-sm); justify-content: center; flex-wrap: wrap; max-width: 560px; margin-inline: auto; }
.inline-form .field { flex: 1 1 300px; margin: 0; }

/* ── cart drawer ────────────────────────────────────────────────────────── */
.scrim { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.scrim.is-open { opacity: 1; visibility: visible; }
.cart { position: fixed; top: 0; right: 0; z-index: 96; width: min(420px, 100%); height: 100%; display: flex; flex-direction: column; background: var(--canvas); transform: translateX(102%); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.cart.is-open { transform: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-lg); border-bottom: 1px solid var(--hairline); }
.cart__head h2 { font-size: 21px; letter-spacing: .231px; }
.cart__head button { width: 44px; height: 44px; display: grid; place-items: center; }
.cart__head svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.cart__body { flex: 1; overflow-y: auto; padding: var(--s-lg); }
.cart__foot { padding: var(--s-lg); border-top: 1px solid var(--hairline); background: var(--parchment); }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: var(--s-md); }
.line img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
.line h4 { font-size: 17px; font-weight: 600; letter-spacing: -.374px; margin: 0 0 2px; }
.line small { font-size: 14px; color: var(--ink-48); }
.line .qty { margin-top: var(--s-sm); transform: scale(.85); transform-origin: left; }
.line__right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.line__rm { font-size: 14px; color: var(--accent); }
.cart-empty { text-align: center; padding: var(--s-xxl) 0; color: var(--ink-48); }
.totals { display: flex; justify-content: space-between; font-size: 21px; font-weight: 600; letter-spacing: .231px; margin-bottom: var(--s-md); }
.note { display: flex; gap: 8px; margin-top: var(--s-sm); font-size: 12px; line-height: 1.4; color: var(--ink-48); }
.note svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ── footer (parchment, dense links) ────────────────────────────────────── */
.footer { background: var(--parchment); color: var(--ink-80); padding-block: 64px 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s-xl); }
.footer h4 { font-size: 14px; font-weight: 600; letter-spacing: -.224px; color: var(--ink); margin-bottom: 4px; }
.footer li a, .footer li { font-size: 17px; line-height: 2.41; letter-spacing: -.374px; }
.footer a:hover { color: var(--accent); }
.footer .wordmark { font-family: var(--wordmark); font-size: 24px; letter-spacing: .14em; color: var(--ink); display: block; }
.footer .wordmark small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-48); margin-top: 2px; }
.footer__legal { margin-top: var(--s-xl); padding-top: var(--s-lg); border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; gap: var(--s-md); justify-content: space-between; font-size: 12px; color: var(--ink-48); }
.socials { display: flex; gap: var(--s-sm); margin-top: var(--s-md); }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .05); transition: transform .18s ease, background .2s; }
.socials a:active { transform: scale(.95); }
.socials a:hover { background: var(--accent); color: #fff; }
.socials svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ── floating WhatsApp ──────────────────────────────────────────────────── */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #25d366; transition: transform .18s ease; }
.wa:active { transform: scale(.95); }
.wa svg { width: 24px; height: 24px; fill: #fff; }

/* ── toast ──────────────────────────────────────────────────────────────── */
.toasts { position: fixed; z-index: 120; bottom: 24px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { padding: 12px 20px; background: var(--ink); color: #fff; border-radius: var(--pill); font-size: 14px; letter-spacing: -.224px; animation: tin .3s ease both; }
.toast.out { animation: tout .25s ease both; }
@keyframes tin { from { opacity: 0; transform: translateY(10px); } }
@keyframes tout { to { opacity: 0; transform: translateY(6px); } }

/* ── reveal (restrained: opacity + 12px only) ───────────────────────────── */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── responsive (breakpoints per spec) ──────────────────────────────────── */
@media (max-width: 1068px) {
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .ucards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 833px) {
  .subnav__links { display: none; }
  .subnav__links.subnav__links--cta { display: flex; }
  .burger { display: flex; }
  .cols, .cols--4 { grid-template-columns: 1fr; gap: var(--s-xxl); }
  .pdp { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .sticky { display: flex; }
}
@media (max-width: 640px) {
  .quotes { grid-template-columns: 1fr; }
  .ucards { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-lg); }
  .ctas .btn { flex: 1 1 100%; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .wa { bottom: 76px; }
}
@media (max-width: 419px) {
  .tile { padding-block: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
