/* ==========================================================================
   LUMÉA — sections.css
   Per-section layout. Sections are numbered to match PLAN.md.
   ========================================================================== */

/* ==========================================================================
   00 — Announcement bar
   ========================================================================== */
.announce {
  position: relative;
  z-index: 60;
  background: var(--black);
  color: var(--text-inv);
}

.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: var(--bar-h);
  padding-block: 9px;
}

.announce__text {
  font-size: 0.8125rem;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.01em;
}
.announce__text strong { font-weight: 600; }

.announce__close {
  position: absolute;
  right: var(--gutter);
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.announce__close:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.announce__close svg { width: 15px; height: 15px; }

.announce[hidden] { display: none; }

@media (max-width: 560px) {
  .announce__close { right: 8px; }
  .announce__inner { padding-inline: 34px; }
  .announce__text { font-size: 0.75rem; }
}

/* ==========================================================================
   01 — Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(13, 13, 13, 0.05), 0 6px 20px rgba(13, 13, 13, 0.04);
  transition: box-shadow var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  /* .header__inner is also .container, so this must re-add the gutter rather
     than replace it — the bar just wants more edge room than the grids do. */
  padding-inline: calc(var(--gutter) + clamp(0.5rem, 0.3rem + 0.6vw, 1rem));
  min-height: var(--header-h);
  transition: min-height var(--dur) var(--ease-out);
}

/* Condensed state, set by main.js past 80px of scroll */
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 2px rgba(13, 13, 13, 0.06), 0 10px 30px rgba(13, 13, 13, 0.08);
}
.header.is-scrolled .header__inner { min-height: 54px; }

/* --- Logo --- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.logo__mark { width: 20px; height: 20px; flex: none; }
.logo__mark path { fill: currentColor; }
.logo__accent { font-style: normal; }

/* --- Primary nav --- */
.nav { justify-self: center; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 9px 16px;
  border-radius: var(--btn-radius);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.nav__link:hover { background: var(--surface); }
.nav__link svg { width: 14px; height: 14px; opacity: 0.55; }

/* --- Header actions (search only — no cart, per brief) --- */
.header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-toggle { display: none; }

/* --- Search drawer --- */
.search {
  display: grid;
  grid-template-rows: 0fr;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: grid-template-rows var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.search.is-open {
  grid-template-rows: 1fr;
  border-bottom-color: var(--border);
}
.search__inner { overflow: hidden; }

.search__form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 18px;
}
.search__form svg { width: 18px; height: 18px; color: var(--text-muted); flex: none; }

.search__input {
  flex: 1;
  border: 0;
  background: none;
  font-size: 1rem;
  padding-block: 6px;
}
.search__input::placeholder { color: var(--text-muted); }
.search__input:focus { outline: none; }

/* --- Mobile menu --- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: none;
  flex-direction: column;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  background: var(--white);
}
.menu.is-open { display: flex; }

.menu__list { display: flex; flex-direction: column; gap: 0.25rem; }

.menu__link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.menu__footer { margin-top: auto; padding-top: 2rem; }

.menu__close {
  position: absolute;
  top: 16px;
  right: var(--gutter);
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .header__inner { grid-template-columns: auto 1fr; }
  .header__actions { grid-column: 2; }
}

/* ==========================================================================
   02 — Hero
   ========================================================================== */
.hero {
  background: var(--white);
  padding-top: clamp(2.25rem, 1.1rem + 3.6vw, 4.5rem);   /* tops out at 72px */
  padding-bottom: clamp(2.5rem, 1.4rem + 3.5vw, 4.5rem);
  text-align: center;
  overflow: hidden;
}

.hero__head {
  max-width: 900px;
  margin-inline: auto;
}

.hero__title {
  font-family: var(--font-hero);
  /* Overrides --fs-h1 (which tops out at 64px) — hero runs 42px → 80px. */
  font-size: clamp(2.625rem, 1.74rem + 3.62vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

/* The headline's two-line break is art direction for wide screens. Below that
   the spans go inline so the text wraps naturally — using a <br> here would
   need display:none, which swallows the word space and jams "StaysWith". */
.hero__line { display: block; }

@media (max-width: 640px) {
  .hero__line { display: inline; }
}

.hero__sub {
  margin: 1.25rem auto 0;
  max-width: 46ch;
  color: var(--text-muted);
}

.hero__cta { margin-top: 2rem; }

/* --- Image strip --- */
.hero__strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: clamp(0.5rem, 0.2rem + 0.9vw, 1rem);
  margin-top: 4px;
  /* Held narrower than the container so the strip reads as a contained band
     rather than running the full page width. */
  margin-inline: var(--band-inset);
}

.hero__figure {
  position: relative;
  /* Grid items default to min-width:auto, which lets the image's intrinsic
     width blow the track out past the viewport on narrow screens. */
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Slightly oversized so the scroll parallax never exposes an edge. */
  scale: 1.12;
  will-change: transform;
}

/* The valley: outer frames tall, centre frames short. */
.hero__figure:nth-child(1),
.hero__figure:nth-child(6) { height: clamp(13.5rem, 5.4rem + 17.5vw, 20.75rem); }

.hero__figure:nth-child(2),
.hero__figure:nth-child(5) { height: clamp(11.5rem, 4.6rem + 15vw, 18.25rem); }

.hero__figure:nth-child(3),
.hero__figure:nth-child(4) { height: clamp(9.5rem, 4rem + 12vw, 15rem); }

@media (max-width: 900px) {
  .hero__strip { grid-template-columns: repeat(3, 1fr); }
  /* Same valley re-cut across three columns: row edges tall, middle short. */
  .hero__figure:nth-child(3n + 1),
  .hero__figure:nth-child(3n)     { height: clamp(11.5rem, 3.6rem + 24vw, 17rem); }
  .hero__figure:nth-child(3n + 2) { height: clamp(9.5rem, 3rem + 20vw, 14rem); }
}

@media (max-width: 560px) {
  /* One row, two frames of equal height. The rest are dropped, not stacked. */
  .hero__strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }
  .hero__figure:nth-child(n + 3) { display: none; }
  .hero__figure:nth-child(1),
  .hero__figure:nth-child(2) { height: 13rem; }
}

/* ==========================================================================
   03 — Marquee ticker
   ========================================================================== */
.marquee {
  overflow: hidden;
  background: var(--black);
  color: var(--text-inv);
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee__group span {
  display: inline-flex;
  align-items: center;
  padding-block: 14px;
  padding-inline: clamp(1rem, 0.6rem + 1.2vw, 1.75rem);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Diamond separator between phrases. */
.marquee__group span::after {
  content: '';
  width: 5px;
  height: 5px;
  margin-left: clamp(1rem, 0.6rem + 1.2vw, 1.75rem);
  background: var(--white);
  opacity: 0.4;
  rotate: 45deg;
}

/* ==========================================================================
   04 — Category split
   ========================================================================== */
.collections__grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  grid-template-rows: repeat(2, clamp(13rem, 5rem + 17vw, 19rem));
  gap: clamp(0.75rem, 0.4rem + 1vw, 1.25rem);
}

.collections__feature,
.collections__tile {
  position: relative;
  min-width: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
}

.collections__feature {
  grid-row: span 2;
  overflow: hidden;
}

/* --- Tile: white card, inset thumbnail, name + arrow beneath --- */
.collections__tile {
  display: flex;
  flex-direction: column;
  padding: 10px;
  overflow: hidden;
}

.collections__thumb {
  display: block;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.collections__feature img,
.collections__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.7s var(--ease-out);
}

/* The thumbnails are wide bands, so portrait sources centre-crop onto
   mid-torso. Pull the focal point up to the shoulders. Retune per photo when
   the client images land. */
.collections__thumb img { object-position: center 18%; }

.collections__tile:hover .collections__thumb img { scale: 1.05; }

.collections__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  /* Top gap, plus a small indent so the name isn't jammed against the card
     edge. Bottom and right stay flush with the tile's own 10px padding. */
  padding: clamp(0.55rem, 0.45rem + 0.3vw, 0.75rem) 0 0 clamp(0.25rem, 0.15rem + 0.3vw, 0.5rem);
}

.collections__name {
  font-family: var(--font-display);
  font-size: clamp(0.9375rem, 0.87rem + 0.25vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.collections__go {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 32px;
  border-radius: 9px;
  background: var(--lavender);
  transition: background-color var(--dur) var(--ease-out);
}
.collections__go svg { width: 15px; height: 15px; }
.collections__tile:hover .collections__go { background: var(--black); color: var(--text-inv); }

/* --- Frosted card on the feature panel --- */
.collections__card {
  position: absolute;
  left: clamp(0.75rem, 0.4rem + 1vw, 1.25rem);
  right: clamp(0.75rem, 0.4rem + 1vw, 1.25rem);
  bottom: clamp(0.75rem, 0.4rem + 1vw, 1.25rem);
  max-width: 27rem;
  padding: clamp(1.25rem, 0.8rem + 1.4vw, 2rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.collections__card h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.5rem, 1.05rem + 1.4vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.collections__card p {
  margin-bottom: 1.35rem;
  font-size: clamp(1rem, 0.93rem + 0.3vw, 1.125rem);
  font-weight: 500;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .collections__grid {
    grid-template-columns: 1fr 1fr;
    /* Row 2 carries the thumbnail plus the name row, so it needs more than the
       old overlay-label tiles did. */
    grid-template-rows: clamp(16rem, 6rem + 26vw, 22rem) clamp(13rem, 5rem + 18vw, 17rem);
  }
  .collections__feature { grid-row: auto; grid-column: span 2; }
}

@media (max-width: 560px) {
  .collections__grid {
    grid-template-columns: 1fr;
    /* Feature needs headroom above the card or the photo is all but hidden. */
    grid-template-rows: 25rem repeat(2, 15rem);
  }
  .collections__feature { grid-column: auto; }
  .collections__card { max-width: none; }
}

/* ==========================================================================
   05 — The Latest Pieces
   ========================================================================== */
.section-head {
  max-width: 46rem;
  margin: 0 auto clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem);
  text-align: center;
}

.section-head h2 {
  /* One display scale for every section heading, above the --fs-h2 token. */
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);
}

.section-head .eyebrow {
  margin-bottom: 1.1rem;
  padding: 9px 16px;
  border-radius: var(--pill);
  background: var(--mint);
}
.section-head .eyebrow svg { width: 12px; height: 12px; }

.section-head .lead { margin: 0.85rem auto 0; }

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 0.5rem + 1.4vw, 1.75rem) clamp(0.9rem, 0.5rem + 1.1vw, 1.5rem);
  /* Same band inset as the hero strip. */
  margin-inline: var(--band-inset);
}

/* Each piece is its own off-white card wrapping a tinted image well. */
.product {
  min-width: 0;
  padding: 12px 12px 18px;
  border-radius: var(--radius-lg);
  background: var(--card);
}

.product__link {
  position: relative;
  display: block;
  margin-bottom: 1rem;
}

.product__media {
  display: block;
  aspect-ratio: 9 / 10;
  overflow: hidden;
  border-radius: 10px;
  background: var(--mint);
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.7s var(--ease-out);
}
.product__link:hover .product__media img { scale: 1.05; }

/* Reference swaps to a second product shot on hover; we only have one photo
   per piece, so the pill carries the interaction instead. */
.product__buy {
  position: absolute;
  left: 50%;
  bottom: 14px;
  translate: -50% 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 10px 18px;
  border-radius: var(--btn-radius);
  background: var(--pure-black);
  color: var(--text-inv);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out), translate var(--dur) var(--ease-out);
}
.product__buy svg { width: 14px; height: 14px; }

.product__link:hover .product__buy,
.product__link:focus-visible .product__buy {
  opacity: 1;
  translate: -50% 0;
}

/* Touch devices never fire hover, so the pill would be unreachable. */
@media (hover: none) {
  .product__buy { opacity: 1; translate: -50% 0; }
}

/* Indented past the image well, as in the reference. Saves wrapping all eight
   cards' text in an extra element. */
.product__name,
.product .price,
.product .swatches { padding-inline: 12px; }

.product__name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.1875rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.product .price {
  margin-top: 0.35rem;
  color: var(--text-muted);
}

.swatches {
  display: flex;
  gap: 6px;
  margin-top: 0.6rem;
}

.swatches li {
  width: 11px;
  height: 11px;
  border-radius: var(--pill);
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(13, 13, 13, 0.15);
}

@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .products { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   06 — Editorial split
   ========================================================================== */
.editorial__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.75rem, 0.4rem + 1vw, 1.25rem);
  margin-inline: var(--band-inset);
}

.ed {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

/* The row is sized by min-height, which isn't a definite height — so a
   percentage-height image would fall back to its intrinsic size and blow the
   row out. Absolute fill sidesteps that and still lets a tall panel grow the row. */
.ed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed--a { grid-column: span 7; min-height: clamp(18rem, 6rem + 26vw, 27rem); }
.ed--b { grid-column: span 5; }
.ed--c { grid-column: span 4; min-height: clamp(14rem, 5rem + 20vw, 21rem); }
.ed--d { grid-column: span 4; }
.ed--e { grid-column: span 4; }

/* --- Copy panels --- */
.panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.25rem, 0.8rem + 1.4vw, 2rem);
  padding: clamp(1.5rem, 0.9rem + 1.8vw, 2.5rem);
}

.panel__body { margin-top: auto; }

.panel h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.625rem, 1.05rem + 1.8vw, 2.375rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.panel p {
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  max-width: 40ch;
}

.panel--dark {
  background: var(--black);
  color: var(--text-inv);
}
.panel--dark p { color: rgba(255, 255, 255, 0.66); }

.panel__mark { width: 26px; height: 26px; }
.panel__mark path { fill: currentColor; }

.panel--light {
  background: var(--mint);
  color: var(--text);
}
.panel--light p { color: var(--text-muted); }

.panel__icon { display: block; }
.panel__icon svg { width: 24px; height: 24px; stroke-width: 1.5; }

@media (max-width: 1000px) {
  .editorial__grid { grid-template-columns: repeat(2, 1fr); }
  .ed--a, .ed--b, .ed--d { grid-column: span 2; }
  .ed--c, .ed--e { grid-column: span 1; min-height: clamp(13rem, 4rem + 24vw, 18rem); }
  .ed--a { min-height: clamp(16rem, 6rem + 28vw, 24rem); }
}

@media (max-width: 640px) {
  .editorial__grid { grid-template-columns: 1fr; }
  .ed--a, .ed--b, .ed--c, .ed--d, .ed--e { grid-column: span 1; }
  .ed--c, .ed--e { min-height: 15rem; }
  /* Panel copy is the point here — don't let it start half-way down a tall box. */
  .panel__body { margin-top: 0; }
}

/* ==========================================================================
   07 — Featured piece  +  08 — Trust row
   ========================================================================== */
/* The dark block is an inset rounded panel. The background lives on an inner
   wrapper rather than the section so its edges stay aligned with the other
   bands — a margin on the full-bleed section would drift past 1500px, where
   the container stops growing but the viewport doesn't. */
.featured__inner {
  /* No side inset — the panel runs the full container width, and the breathing
     room comes from its own padding instead. */
  padding: clamp(3rem, 1.8rem + 4vw, 6rem) clamp(1.5rem, 1rem + 2vw, 3.25rem);
  border-radius: clamp(16px, 1.6vw, 28px);
  background: var(--black);
  color: var(--text-inv);
}

.featured .section-head h2 {
  color: var(--text-inv);
}

.featured .section-head .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-inv);
}

.featured__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(0.75rem, 0.4rem + 1vw, 1.25rem);
}

.featured__card,
.featured__model {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
}

/* --- Left: the product itself --- */
.featured__card {
  display: flex;
  flex-direction: column;
  padding: clamp(0.75rem, 0.4rem + 1vw, 1.25rem);
}

.featured__media {
  display: block;
  flex: 1;
  min-height: clamp(15rem, 5rem + 22vw, 23rem);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: clamp(1.1rem, 0.8rem + 0.8vw, 1.5rem) 0.35rem 0.35rem;
}

.stars {
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  color: #E8B45A;
}

.featured__meta h3 {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  font-weight: 700;
}

.featured__meta .price {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.62);
}

/* --- Right: the model shot --- */
.featured__model { min-height: clamp(20rem, 8rem + 26vw, 32rem); }

.featured__model img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- 08 · Trust row --- */
.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 0.4rem + 1vw, 1.25rem);
  margin-top: clamp(0.75rem, 0.4rem + 1vw, 1.25rem);
}

.perk {
  min-width: 0;
  padding: clamp(1.25rem, 0.9rem + 1vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
}

.perk svg {
  width: 22px;
  height: 22px;
  margin-bottom: clamp(1.5rem, 1rem + 1.6vw, 2.75rem);
  stroke-width: 1.5;
}

.perk h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

.perk p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  .featured__grid { grid-template-columns: 1fr; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .perk svg { margin-bottom: 1.25rem; }
}

@media (max-width: 560px) {
  .perks { grid-template-columns: 1fr; }
  .featured__meta { align-items: flex-start; flex-direction: column; }
}

/* ==========================================================================
   09 — Testimonials
   ========================================================================== */
.reviews {
  overflow: hidden;
}

.reviews__viewport { overflow: visible; }

.reviews__track {
  display: flex;
  gap: clamp(0.75rem, 0.4rem + 1vw, 1.25rem);
  width: max-content;
  padding-inline: var(--gutter);
  will-change: transform;
}

.review {
  display: flex;
  flex-direction: column;
  flex: none;
  width: clamp(19rem, 15rem + 15vw, 29rem);
  padding: clamp(1.5rem, 1rem + 1.8vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(13, 13, 13, 0.04), 0 12px 30px rgba(13, 13, 13, 0.05);
}

.review blockquote {
  margin-block: 1rem 2rem;
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.1875rem);
  line-height: 1.55;
}

.review footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: auto;
}

.review footer strong {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
}

.review footer span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   11 — Support & FAQ
   ========================================================================== */
.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1.5rem, 0.8rem + 2.4vw, 3.5rem);
}

.faq__intro { min-width: 0; }

.faq__intro .eyebrow {
  margin-bottom: 1.1rem;
  padding: 9px 16px;
  border-radius: var(--pill);
  background: var(--mint);
}
.faq__intro .eyebrow svg { width: 12px; height: 12px; }

.faq__intro h2 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem); }

.faq__help {
  margin-top: clamp(2rem, 1.2rem + 2.6vw, 3.5rem);
  padding: clamp(1.5rem, 1rem + 1.8vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: var(--mint);
}

.faq__help h3 { margin-bottom: 0.5rem; }

.faq__help p {
  margin-bottom: 1.35rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* --- Accordion --- */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-width: 0;
}

.faq__item {
  border-radius: var(--radius-lg);
  background: var(--card);
  overflow: hidden;
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: clamp(1.1rem, 0.85rem + 0.8vw, 1.5rem) clamp(1.25rem, 0.9rem + 1.2vw, 1.75rem);
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
  font-weight: 600;
  line-height: 1.35;
}

.faq__q svg {
  flex: none;
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
  transition: rotate var(--dur) var(--ease-out);
}
.faq__item.is-open .faq__q svg { rotate: 135deg; }

/* 0fr → 1fr animates to the answer's natural height without measuring it in JS. */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease-out);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.faq__a > p {
  overflow: hidden;
  padding: 0 clamp(1.25rem, 0.9rem + 1.2vw, 1.75rem);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Padding has to animate too, or a closed panel keeps its dead space. */
.faq__a > p { padding-bottom: 0; transition: padding-bottom var(--dur) var(--ease-out); }
.faq__item.is-open .faq__a > p { padding-bottom: clamp(1.1rem, 0.85rem + 0.8vw, 1.5rem); }

@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   12 — Newsletter
   ========================================================================== */
.newsletter {
  background: var(--white);
  margin-top: clamp(2rem, 1.2rem + 2.6vw, 3.5rem);
  padding-block: 2rem;
}

.newsletter__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(0.75rem, 0.4rem + 1vw, 1.25rem);
}

.newsletter__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 1.2rem + 2.6vw, 3.5rem);
  min-width: 0;
  padding: clamp(1.75rem, 1.1rem + 2.4vw, 3.25rem);
  border-radius: var(--radius-lg);
  background: var(--sky);
  color: var(--text);
}

.newsletter__card h2 {
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.newsletter__form {
  display: flex;
  /* stretch, not center — the button should fill the pill's inner height
     rather than floating at btn--sm's natural height. */
  align-items: stretch;
  gap: 0.5rem;
  padding: 6px 6px 6px 18px;
  border-radius: 14px;
  background: var(--white);
}

.newsletter__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 0.9375rem;
  padding-block: 10px;
}
.newsletter__input::placeholder { color: var(--text-muted); }
.newsletter__input:focus { outline: none; }

.newsletter__form:focus-within { box-shadow: inset 0 0 0 1px rgba(13, 13, 13, 0.22); }

.newsletter__note {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.newsletter__note.is-error { color: #B4443C; }
.newsletter__note.is-ok    { color: #2F7D5B; }

/* --- Image collage --- */
.newsletter__collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 0.4rem + 1vw, 1.25rem);
  min-width: 0;
}

.newsletter__collage figure {
  position: relative;
  min-width: 0;
  min-height: clamp(14rem, 6rem + 18vw, 22rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.newsletter__collage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .newsletter__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .newsletter__form { flex-wrap: wrap; padding: 10px; }
  .newsletter__input { flex-basis: 100%; padding-inline: 8px; }
  .newsletter__form .btn { width: 100%; }
}

/* ==========================================================================
   13 — Footer
   ========================================================================== */
.footer {
  background: var(--black);
  color: var(--text-inv);
  padding-block: calc(var(--section-y) * 1.4) var(--section-y);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: clamp(2rem, 1rem + 3vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 1.6rem + 3vw, 4rem);
}

/* --- Brand --- */
.footer__brand { min-width: 0; }

.footer__logo {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  margin-bottom: 1.1rem;
}
.footer__logo .logo__mark { width: 1em; height: 1em; }

.footer__tagline {
  max-width: 42ch;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--btn-radius);
  background: rgba(255, 255, 255, 0.08);
  transition: background-color var(--dur) var(--ease-out);
}
.footer__social a:hover { background: rgba(255, 255, 255, 0.18); }
.footer__social svg { width: 18px; height: 18px; stroke-width: 1.6; }

/* --- Link columns --- */
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 0.8rem + 2vw, 3rem);
  min-width: 0;
}

.footer__col h3 {
  margin-bottom: 1.1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }

.footer__col a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--dur) var(--ease-out);
}
.footer__col a:hover { color: var(--white); }

/* --- Bottom bar --- */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__disclaimer { margin-inline: auto; }

.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 9px 16px;
  border-radius: var(--btn-radius);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: var(--text-inv);
  transition: background-color var(--dur) var(--ease-out);
}
.footer__top-link:hover { background: rgba(255, 255, 255, 0.18); }
.footer__top-link svg { width: 15px; height: 15px; }

@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer__cols { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .footer__bottom { justify-content: flex-start; }
  .footer__disclaimer { margin-inline: 0; flex-basis: 100%; }
}

/* ==========================================================================
   Mobile trims
   Small screens stack everything, so decorative imagery that reads as
   supporting material on desktop becomes several extra screens of scrolling.
   These drop the purely decorative pieces only — no copy, no products, no
   navigation is removed, so nothing is reachable on desktop but not on mobile.
   ========================================================================== */
@media (max-width: 640px) {

  /* §06 — keep the lead image and both copy panels; the two secondary shots
     in row 2 add ~480px of scroll and carry no information. */
  .ed--c,
  .ed--e { display: none; }

  /* §07 — the product card already carries the section. The model shot is a
     full extra screen on its own. */
  .featured__model { display: none; }

  /* §12 — one full-width image reads better than two ~170px thumbnails. */
  .newsletter__collage { grid-template-columns: 1fr; }
  .newsletter__collage figure:nth-child(2) { display: none; }
}
