/* ==========================================================================
   Mapp Fashion - Fashion Week landing page template
   Reusable across design-week editions (Copenhagen, Milan, ...).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Font
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Mona Sans";
  src: url("../assets/font/MonaSans-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans";
  src: url("../assets/font/MonaSans-Italic-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: italic;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* brand colours */
  --c-pink:        #FC4482;   /* pink highlights, numbers, modal button */
  --c-pink-light:  #FF87AF;   /* buttons */
  --c-pink-soft:   #FFC7DA;   /* washes, dividers */
  --c-purple:      #2B2449;   /* navbar, footer, body text on light */
  --c-lilac:       #DED6FC;   /* hairlines */
  --c-beige:       #F9F6F2;   /* light background */
  --c-white:       #FFFFFF;
  --c-outside:     #E1E0E0;   /* page surround above 1920px */
  --c-muted:       #6B6357;   /* secondary copy */
  --c-footer-line: rgba(217, 212, 202, .2);   /* #D9D4CA at 20% */

  /* layout */
  --max-w: 1920px;
  --pad-x: 100px;
  --pad-y: 80px;
  --pad-y-tight: 20px;        /* s05 bottom / CTA top on mobile */
  --gap:   3.72%;             /* 64 / 1720 of the content box */
  --radius-img: 12px;
  --radius-card: 20px;
  --radius-pill: 999px;

  /* type */
  --fs-eyebrow: 1rem;
  --fs-eyebrow-small: 0.8125rem;
  --fs-h1:      4.5rem;
  --fs-lead:    1.5rem;
  --fs-num:     3.25rem;
  --fs-h2:      2.5rem;
  --fs-body:    1.125rem;
  --fs-quote:   1.4rem;
  --fs-small:   1rem;
  --fs-micro:   0.875rem;
  --fs-button:  1.25rem;
  --fs-stat:    3.25rem;
  --fs-footer-h: 3.25rem;
  --fw-title:   600;          /* display headings: semi-bold, not bold */

  /* elevation */
  --shadow-card:   0 24px 64px -16px rgba(43, 36, 73, .22), 0 6px 16px -8px rgba(43, 36, 73, .12);
  --shadow-pink:   0 10px 22px -8px rgba(43, 36, 73, .20), 0 3px 7px -3px rgba(43, 36, 73, .10);
  --shadow-soft:   0 12px 32px -12px rgba(43, 36, 73, .16), 0 2px 8px -4px rgba(43, 36, 73, .10);
  --shadow-modal:  0 40px 100px -20px rgba(43, 36, 73, .45), 0 12px 32px -12px rgba(43, 36, 73, .30);

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);   /* scroll reveal, hover zoom */
}

/* --------------------------------------------------------------------------
   3. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--c-outside);
  color: var(--c-purple);
  font-family: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.556;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg { display: block; max-width: 100%; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; }

.page {
  max-width: var(--max-w);
  margin-inline: auto;
  background: var(--c-white);
  overflow-x: clip;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* Every section shares the same padding rhythm. */
.section {
  padding: var(--pad-y) var(--pad-x);
}

/* Grid items default to min-width:auto, so a wide descendant (the mobile
   carousel track, a long word) can inflate its track and drag the whole
   column - and any sibling sharing that track - past the section padding.
   Every layout grid on the page opts out. */
.s01__grid > *,
.s02__grid > *,
.s0304__grid > *,
.s05__grid > *,
.cta__grid > *,
.footer__newsletter > * {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   4. Shared type + atoms
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1.2;
}
.eyebrow__dot {
  flex: none;
  width: .6875rem; height: .6875rem;
  border-radius: 50%;
  background: var(--c-pink);
}

.section-num {
  font-size: var(--fs-num);
  font-weight: 700;
  line-height: 1;
  color: var(--c-pink);
  letter-spacing: -.01em;
}
.section-title {
  margin-top: 1.5rem;
  font-size: var(--fs-h2);
  font-weight: var(--fw-title);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.body { margin-top: 1.5rem; }
.note,
.s04__kicker {
  margin-top: 2rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-purple);
}
.hl { color: var(--c-pink); }

.rule {
  height: 1px;
  border: 0;
  background: var(--c-lilac);
  margin: 2.5rem 0 0;
}

/* inline-block, not inline-flex: a flex `gap` is not covered by the parent's
   text-decoration, which left a break in the underline before the arrow.
   As an inline-block the arrow is just inline content, so the underline runs
   straight through - and vertical margins still apply. The gap before/after
   the arrow is a plain space in the markup, so it sits in the same text run
   and gets underlined; padding or margin on the arrow span would not.
   skip-ink:none keeps the line from being notched around the glyph. */
.text-link {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: .35em;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: none;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 1rem 1.75rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: var(--fs-button);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(.95); }
.btn:active { transform: translateY(1px); }
.btn__arrow { font-size: 1.05em; line-height: 1; }

.btn--pink   { background: var(--c-pink-light); color: #000; }
.btn--purple { background: var(--c-purple);     color: var(--c-white); }
.btn--hot    { background: var(--c-pink);       color: #000; }

/* cards -------------------------------------------------------------------- */
.card {
  border-radius: var(--radius-card);
  padding: 2rem;
}
.card--pink {
  background: linear-gradient(180deg, #FFF0F5 0%, #FFE7EF 100%);
  box-shadow: var(--shadow-pink);
}
.card--white {
  background: var(--c-white);
  border: 1px solid var(--c-lilac);
  box-shadow: var(--shadow-card);
}
.card__lead {
  font-size: var(--fs-quote);
  line-height: 1.35;
  letter-spacing: -.01em;
}
.card__lead + .btn { margin-top: 2rem; }
.card__eyebrow {
  font-size: var(--fs-eyebrow-small);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card__quote {
  margin: 1.25rem 0 0;
  font-size: var(--fs-quote);
  line-height: 1.35;
  letter-spacing: -.01em;
}
.card__body {
  margin-top: 1.25rem;
  font-size: var(--fs-small);
  color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   5. Navbar
   -------------------------------------------------------------------------- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100px;
  padding-inline: var(--pad-x);
  background: var(--c-purple);
}
.navbar__logo { display: block; line-height: 0; }
.navbar__logo img { width: auto; height: 54px; }
.navbar__cta { flex: none; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 62%;
  height: 100%;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
/* Desktop wash: solid white -> solid #FFC7DA at 46% -> transparent from 72%. */
.hero__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
              #FFFFFF 0%,
              var(--c-pink-soft) 46%,
              rgba(255, 199, 218, 0) 60%,
              rgba(255, 199, 218, 0) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
}
.hero__title {
  margin-top: 2rem;
  font-size: var(--fs-h1);
  font-weight: var(--fw-title);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.hero__lead {
  margin-top: 1.75rem;
  max-width: 620px;
  font-size: var(--fs-lead);
  line-height: 1.4;
}

.byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.25rem;
}
.byline__avatar {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .7);
}
.byline__text { display: grid; gap: .125rem; }
.byline__name { font-size: var(--fs-small); font-weight: 700; }
.byline__role { font-size: var(--fs-micro); color: var(--c-muted); }

.scroll-link {
  display: inline-block;      /* see .text-link - keeps the underline unbroken */
  margin-top: 2.25rem;
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: .5em;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: none;
}
/* the arrow is plain inline text at the link's own size - any padding,
   margin or font-size change on it splits the underline into fragments */

.hero__quote {
  position: absolute;
  z-index: 2;
  right: 75px;
  top: 33%;
  width: clamp(290px, 20%, 320px);
  height: auto;
}

/* --------------------------------------------------------------------------
   7. Anchor links
   -------------------------------------------------------------------------- */
.anchors {
  padding: 40px var(--pad-x);
  background: var(--c-white);
}
.anchors__title { display: none; }
.anchors__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.anchors__item + .anchors__item { border-left: 1px solid var(--c-lilac); }
.anchors__item:not(:first-child) .anchors__link { padding-left: 2rem; }

.anchors__link {
  display: grid;
  gap: .625rem;
  padding-right: 1.5rem;
  text-decoration: none;
  transform: translateX(0);
  transition: transform .3s var(--ease-out, ease);
}
.anchors__link:hover { transform: translateX(4px); }
.anchors__num {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-pink);
}
.anchors__label {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.3;
}
.anchors__link:hover .anchors__label { text-decoration: underline; text-underline-offset: .3em; }
.anchors__arrow { display: none; }

/* --------------------------------------------------------------------------
   8. Carousel (grid on desktop, swipeable slider on mobile)
   -------------------------------------------------------------------------- */
/* min-width:0 keeps the carousel from stretching its grid cell when the
   mobile track bleeds past the section padding. */
.carousel { min-width: 0; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: grid;
  gap: 1rem;
}
.carousel__footer { display: none; }

/* Clips the hover zoom below to the frame's own rounded corners - without
   it, the enlarged photo would spill past its box on hover. */
.look__frame {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-img);
}
.look__img {
  width: 100%;
  aspect-ratio: 296 / 416;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.look__frame:hover .look__img { transform: scale(1.06); }
.look__name {
  margin-top: 1rem;
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.4;
}
.look__brand {
  margin-top: .375rem;
  font-size: var(--fs-micro);
  color: var(--c-muted);
}

/* dots */
.carousel__dots {
  display: flex;
  align-items: center;
  gap: .625rem;
}
.carousel__dot {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  background: url("../assets/icon-carousel-dot.svg") no-repeat center / contain;
  cursor: pointer;
  transition: width .25s ease;
}
.carousel__dot.is-active {
  width: 24px;
  background-image: url("../assets/icon-carousel-dot-selected.svg");
}
.carousel__hint {
  font-size: var(--fs-small);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   9. Section 01
   -------------------------------------------------------------------------- */
.s01 {
  background: linear-gradient(90deg, rgba(255, 199, 218, .5) 0%, var(--c-beige) 100%);
}
.s01__grid {
  display: grid;
  grid-template-columns: 21.4% 75.3%;
  justify-content: space-between;
  align-items: start;
}
.s01__track { grid-template-columns: repeat(8, 1fr); }

/* --------------------------------------------------------------------------
   10. Section 02
   -------------------------------------------------------------------------- */
.s02 { background: var(--c-white); }
.s02__grid {
  display: grid;
  grid-template-columns: 35.1% 28.8% 29%;
  justify-content: space-between;
  align-items: center;
}
.s02__media {
  overflow: hidden;
  border-radius: var(--radius-card);
}
.s02__media img {
  width: 100%;
  aspect-ratio: 992 / 832;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.s02__media:hover img { transform: scale(1.05); }
/* Height is matched to .s02__media by js/main.js (see data-match-height);
   the flex column then centres the content in whatever height results.
   align-self:center keeps the card vertically centred against the taller
   copy column (like .s02__media, via the grid's own align-items) without
   ever stretching to the row's full height. */
.s02__card {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.s02__card .btn { align-self: flex-start; }

.chain {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-top: 2.5rem;
}
.chain__step {
  display: grid;
  justify-items: center;
  gap: .875rem;
  flex: 0 1 auto;
}
.chain__icon { width: 48px; height: 48px; }
.chain__label {
  font-size: var(--fs-eyebrow-small);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
}
.chain__sep {
  flex: 0 1 auto;
  display: flex;
  justify-content: center;
  padding-bottom: 1.75rem;
}
.chain__arrow--wide { width: 32px; height: 16px; }
.chain__arrow--tall { display: none; }

/* --------------------------------------------------------------------------
   11. Sections 03 + 04
   -------------------------------------------------------------------------- */
.s0304 {
  background: linear-gradient(98deg, var(--c-beige) 40%, rgba(255, 199, 218, .4) 100%);
}
.s0304__grid {
  display: grid;
  grid-template-columns: 48.14% 48.14%;
  justify-content: space-between;
  align-items: start;
}
.s03__gallery { margin-top: 2.5rem; }
.s03__track { grid-template-columns: repeat(4, 1fr); }
.s03 .look__img { aspect-ratio: 390 / 480; }

.attrs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem 1rem;
  margin-top: 2.5rem;
}
.attrs__item {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.attrs__icon { flex: none; width: 40px; height: 40px; }
.attrs__label {
  font-size: var(--fs-small);
  line-height: 1.3;
}
.s04__card { margin-top: 2.5rem; }

/* --------------------------------------------------------------------------
   12. Section 05
   -------------------------------------------------------------------------- */
.s05 {
  background: var(--c-white);
  margin-bottom: 40px;
}
.s05__grid {
  display: grid;
  grid-template-columns: 21.4% 23.5% 48.14%;
  justify-content: space-between;
  align-items: start;
  grid-template-areas: "text media info";
}
.s05__copy  { grid-area: text; }
.s05__media { grid-area: media; }
.s05__info  { grid-area: info; }

.s05__media {
  overflow: hidden;
  border-radius: var(--radius-card);
}
.s05__media img {
  width: 100%;
  aspect-ratio: 808 / 888;
  object-fit: cover;
  background: var(--c-beige);
  transition: transform .6s var(--ease-out);
}
.s05__media:hover img { transform: scale(1.05); }

.s05__product {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  column-gap: 2rem;
  margin-top: 2.25rem;
}
.spec__row {
  display: grid;
  grid-template-columns: 28% 1fr;
  align-items: baseline;
  gap: 1rem;
  padding: .875rem 0;
  border-bottom: 1px solid var(--c-lilac);
  font-size: var(--fs-small);
}
.spec__row dt { font-size: var(--fs-eyebrow-small); font-weight: 700; }
.spec__row dd { font-size: var(--fs-micro); margin: 0; color: var(--c-muted); }

.searchbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.375rem 1.75rem;
  background: var(--c-beige);
  border: 1px solid var(--c-lilac);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  font-size: var(--fs-body);
}
.searchbar__icon { flex: none; width: 24px; height: 24px; }

.s05__kicker {
  margin-top: 2rem;
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13. Bottom CTA
   -------------------------------------------------------------------------- */
.cta {
  margin-top: 40px;
  background: linear-gradient(180deg,
              #FFFFFF 0%,
              rgba(255, 199, 218, .3) 50%,
              rgba(255, 199, 218, .3) 100%);
}
.cta__grid {
  display: grid;
  grid-template-columns: 37.8% 56.2%;
  justify-content: space-between;
  align-items: center;
}
.cta__title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-title);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.cta__subtitle {
  margin-top: .75rem;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.cta__copy .body { margin-top: 1.75rem; }
.cta__copy .btn { margin-top: 2rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stats__item { padding-right: 2rem; }
.stats__item + .stats__item {
  padding-left: 2rem;
  border-left: 1px solid var(--c-pink-soft);
}
.stats__icon { width: 40px; height: 40px; }
.stats__value {
  margin-top: 1.25rem;
  font-size: var(--fs-stat);
  font-weight: var(--fw-title);
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.stats__label {
  margin-top: 1rem;
  font-size: var(--fs-small);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--c-purple);
  color: var(--c-white);
  padding-inline: var(--pad-x);
}
.footer a { color: inherit; }

.footer__newsletter {
  display: grid;
  grid-template-columns: 48.14% 48.14%;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--pad-y);
}
.newsletter__title {
  font-size: var(--fs-footer-h);
  font-weight: var(--fw-title);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.newsletter__body { margin-top: 1.25rem; }

.signup {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .5rem .5rem 1.75rem;
  background: var(--c-white);
  border-radius: var(--radius-pill);
}
.signup__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--c-purple);
  font: inherit;
  font-size: var(--fs-small);
  padding: .75rem 0;
}
.signup__input::placeholder { color: var(--c-muted); }
.signup__input:focus { outline: none; }
.signup__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .9375rem 1.5rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--c-pink-light);
  color: #000;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .15s ease;
}
.signup__btn:hover { filter: brightness(.95); }
.signup__btn-arrow { width: 20px; height: 20px; }
.signup__legal {
  margin-top: 1rem;
  font-size: var(--fs-micro);
  color: rgba(255, 255, 255, .75);
}
.signup__legal a { text-decoration: underline; text-underline-offset: .3em; }

.footer__info { border-top: 1px solid var(--c-footer-line); }
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 64px;
}
.footer__brand {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1.75rem;
}
.footer__logo {
  grid-row: 1 / 3;
  width: auto; height: 60px;
}
.footer__edition { font-size: var(--fs-small); font-weight: 700; align-self: end; }
.footer__meta {
  margin-top: .5rem;
  font-size: var(--fs-micro);
  color: rgba(255, 255, 255, .7);
  align-self: start;
}
.footer__links {
  display: flex;
  gap: 2.25rem;
  font-size: var(--fs-small);
  padding-top: 1.5rem;
}
.footer__links a { text-decoration: underline; text-underline-offset: .35em; }

/* Bottom strip: 64px above and below the copyright line. */
.footer__bottom {
  border-top: 1px solid var(--c-footer-line);
  padding-block: 64px;
}
.footer__copyright {
  font-size: var(--fs-micro);
  color: rgba(255, 255, 255, .7);
}

/* --------------------------------------------------------------------------
   15. Modal
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 36, 73, .55);
  backdrop-filter: blur(2px);
}
.modal__dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100dvh - 4rem);
  overflow-y: auto;
  padding: 3rem 3.5rem;
  background: var(--c-white);
  border-radius: 24px;
  box-shadow: var(--shadow-modal);
}

/* CSS-drawn close button */
.modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px; height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 22px; height: 2px;
  background: var(--c-purple);
  border-radius: 1px;
}
.modal__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.modal__close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.modal__close:hover { background: rgba(43, 36, 73, .07); }

.modal__view[hidden] { display: none; }
.modal__title {
  margin-top: 1.75rem;
  font-size: 2.625rem;
  font-weight: var(--fw-title);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.modal__lead {
  margin-top: 1.25rem;
  font-size: var(--fs-body);
  line-height: 1.5;
}
.modal__legal {
  margin-top: 1.5rem;
  font-size: var(--fs-micro);
  color: var(--c-muted);
}

.modal__success-head {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 3rem;
}
.modal__success-head .modal__title { margin-top: 0; }
.modal__success-icon { flex: none; width: 64px; height: 64px; }
.modal__view--success .btn { margin-top: 2.5rem; padding-inline: 2.25rem; }

/* HubSpot form styling ------------------------------------------------------ */
.hbspt-form { margin-top: 2rem; }
.hs-form-field { margin-bottom: 1.25rem; }
.hs-form-field > label {
  display: block;
  margin-bottom: .5rem;
  font-size: var(--fs-small);
  font-weight: 500;
}
.hs-form-required { color: var(--c-pink); margin-left: .15em; }

.hs-input {
  width: 100%;
  padding: 1.125rem 1.5rem;
  background: var(--c-white);
  color: var(--c-purple);
  border: 1px solid #8C8477;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: var(--fs-small);
  line-height: 1.4;
}
.hs-input::placeholder { color: var(--c-muted); }
.hs-input:focus {
  outline: none;
  border-color: var(--c-purple);
  box-shadow: 0 0 0 3px rgba(252, 68, 130, .18);
}
.hs-input:user-invalid { border-color: var(--c-pink); }

select.hs-input {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--c-purple) 50%),
    linear-gradient(135deg, var(--c-purple) 50%, transparent 50%);
  background-position: right 1.75rem center, right 1.4rem center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 3rem;
}
select.hs-input.is-placeholder { color: var(--c-muted); }

.hs-error-msgs { margin: .5rem 0 0; }
.hs-error-msg {
  font-size: var(--fs-micro);
  color: var(--c-pink);
}

/* Consent block - rendered by HubSpot as .legal-consent-container ----------- */
.legal-consent-container { margin: 1.75rem 0; }
.legal-consent-container .hs-form-field { margin-bottom: 0; }

/* Signing up IS the opt-in, so HubSpot's LEGAL_CONSENT checkbox is hidden and
   ticked by main.js - the subscription type is still recorded on the contact.
   The "you can unsubscribe…" rich text below it stays visible. */
.legal-consent-container .hs-dependent-field,
.legal-consent-container .hs-fieldtype-booleancheckbox {
  display: none;
}

.hs-form-booleancheckbox-display {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: var(--fs-small);
  line-height: 1.5;
  cursor: pointer;
}
/* the checkbox also carries .hs-input, so undo the text-field styling */
.hs-form-booleancheckbox-display input[type="checkbox"] {
  flex: none;
  appearance: none;
  width: 28px; height: 28px;
  margin: 0;
  padding: 0;
  border: 1px solid #8C8477;
  border-radius: 6px;
  background: var(--c-white);
  cursor: pointer;
  position: relative;
}
.hs-form-booleancheckbox-display input[type="checkbox"]:checked {
  background: var(--c-purple);
  border-color: var(--c-purple);
}
.hs-form-booleancheckbox-display input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 9px; top: 4px;
  width: 7px; height: 13px;
  border: solid var(--c-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.hs-form-booleancheckbox-display input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--c-pink);
  outline-offset: 2px;
}
/* HubSpot still injects a small stylesheet even with `css: ""`, and it lands
   after ours - so anything we set that ties on specificity loses. Its rule is
   `.legal-consent-container .hs-form-booleancheckbox-display > span`, hence
   the extra class here. The flex gap above provides the spacing instead. */
.hbspt-form .legal-consent-container .hs-form-booleancheckbox-display > span {
  margin-left: 0;
}

/* HubSpot's "you can unsubscribe…" rich text under the checkbox */
.hs-richtext {
  margin-top: 0;
  font-size: var(--fs-micro);
  line-height: 1.5;
  color: var(--c-muted);
}
.hs-richtext p { margin: 0; }
.hs-richtext a { text-decoration: underline; text-underline-offset: .3em; }

.hs-form-fallback[hidden] { display: none; }
.hs-form-fallback {
  margin-top: 1.5rem;
  font-size: var(--fs-small);
  color: var(--c-muted);
}
.hs-form-fallback a { text-decoration: underline; text-underline-offset: .3em; }

.hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.125rem 2.25rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--c-pink);
  color: #000;
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 700;
  cursor: pointer;
  transition: filter .15s ease;
  -webkit-appearance: none;
}
.hs-button:hover { filter: brightness(.95); }


/* ==========================================================================
   16. Responsive - large desktop down
   ========================================================================== */

/* Wide desktop: section 01's images start to wrap below 1440px (see its own
   breakpoint further down); section 03 stays at 2 rows all the way down to
   1200px, so it isn't touched here at all - only the text/image split and
   the icon list narrow at this step. */
@media (max-width: 1700px) {
  .s01__grid { grid-template-columns: 24% 72%; }
  .attrs { grid-template-columns: repeat(3, 1fr); }
}

/* Section 01: one line of 8 down to 1480px, two lines of 4 below that. */
@media (max-width: 1479px) {
  .s01__track { grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1rem; }
}

/* Section 05: the pants images has a top margin declared for certain resolutions */
@media (min-width: 1280px) and (max-width: 1680px) {
  .s05__media { margin-top: 75px; }
}

/* Smaller desktop: section 02 image is dropped, 03/04 stack. */
@media (max-width: 1279px) {
  :root {
    --pad-x: 64px;
  }
  .hero__media { width: 55%; }
  .hero__quote { display: none; }

  .anchors__label { letter-spacing: .05em; }

  .s01__grid { grid-template-columns: 28% 68%; }

  .s02__grid { grid-template-columns: 48.14% 48.14%; }
  .s02__media { display: none; }

  .s0304__grid { grid-template-columns: 1fr; row-gap: 5rem; }
  .s03__track { grid-template-columns: repeat(4, 1fr); }
  .attrs { grid-template-columns: repeat(4, 1fr); }

  .cta__grid { grid-template-columns: 42% 54%; }
}

/* 1200px up: "05"'s text+photo stay side by side on one line (as in the
   original design) while still summing to an equal 48.14% against the info
   column on the right, matching this file's standing "equal halves" pair
   (see .s0304__grid, .s02__grid). An explicit column-gap replaces the usual
   justify-content:space-between here so the text/media gap and the
   media/info gap can both be set to the same --gap value independently of
   the (now unequal) text/media track widths.

   The tight --pad-y-tight padding between "05" and the CTA (already used on
   mobile) is restored here too - it only ever existed in the mobile block,
   so above 1199px this pair had drifted back to a full 80px section padding
   on each side. */
@media (min-width: 1200px) {
  .s05__grid {
    grid-template-columns: 21.17% 23.25% 48.14%;
    grid-template-areas: "text media info";
    column-gap: var(--gap);
  }
  .s05 { padding-bottom: var(--pad-y-tight); }
  .cta { padding-top: var(--pad-y-tight); }
}

/* Smaller desktop (1200-1440px): a laptop-width step between the 1279px
   breakpoint above and full desktop. Font sizes are set directly on these
   three elements rather than through the shared --fs-h1 / --fs-lead /
   --fs-quote tokens, since those tokens also drive other text (--fs-lead on
   .s05__kicker, --fs-quote on .card__quote) that this range doesn't touch. */
@media (min-width: 1200px) and (max-width: 1440px) {
  :root {
    --pad-x: 60px;
  }
  .hero__title {
    font-size: 3.875rem;   /* 62px */
    line-height: 1.065;    /* ≈66px */
  }
  .hero__lead {
    font-size: 1.375rem;   /* 22px */
    line-height: 1.364;    /* ≈30px */
  }
  .card__lead {
    font-size: 1.25rem;    /* 20px */
    line-height: 1.35;      /* 22px */
  }
}

/* ==========================================================================
   17. Mobile + tablet
   ------------------------------------------------------------------------
   Tablet territory is 700-1199px (see the tablet block further down, which
   layers its own overrides on top of everything here); phone is <700px.
   This block is the shared foundation for both - stacked hero, single-column
   sections, the larger touch-friendly type scale - since none of that
   differs between a phone and a tablet on this page, only the image
   galleries, the hero wash and the "05" photo do.
   ========================================================================== */
@media (max-width: 1199px) {
  :root {
    --pad-x: 24px;
    --pad-y: 64px;
    --fs-eyebrow: 1rem;
    --fs-eyebrow-small: 0.8125rem;
    --fs-h1: 2rem;
    --fs-lead: 1.25rem;
    --fs-num: 1.75rem;
    --fs-h2: 1.5rem;
    --fs-body: 1.0625rem;    /* 17px */
    --fs-quote: 1.375rem;
    --fs-small: 1rem;
    --fs-micro: .875rem;
    --fs-stat: 2rem;
    --fs-footer-h: 2rem;
    --radius-card: 16px;
  }

  /* -- navbar -- */
  .navbar { height: 92px; }
  .navbar__logo img { height: 46px; }
  .navbar__cta { padding: .875rem 1.375rem; }

  /* -- hero: text on a vertical wash, image underneath it -- */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
  }
  .hero__media {
    position: static;
    order: 2;
    width: 100%;
    height: auto;
  }
  .hero__media img {
    width: 100%;
    height: auto;
    object-fit: fill;
  }
  .hero__wash {
    /* white 0-14%, to #FFC7DA at 73%, to transparent white by 82%.
       The gradient box is 75% of the hero so that the solid-pink point
       lands where the photo starts, as in the design. */
    background-image: linear-gradient(180deg,
                #FFFFFF 0%,
                #FFFFFF 14%,
                var(--c-pink-soft) 62%,
                rgba(255, 255, 255, 0) 70%,
                rgba(255, 255, 255, 0) 100%);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% 75%;
  }
  .hero__inner {
    order: 1;
    max-width: none;
    padding: 3rem var(--pad-x) 2.5rem;
  }
  .hero__lead { max-width: none; }
  .hero__title { margin-top: 1.75rem; }
  .hero__quote { display: none; }
  .byline__avatar { width: 64px; height: 64px; }

  /* -- anchors: stacked list -- */
  .anchors { padding-block: 40px; }
  .anchors__title {
    display: block;
    font-size: var(--fs-eyebrow-small);
    font-weight: 500;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
  }
  .anchors__list { grid-template-columns: 1fr; }
  .anchors__item,
  .anchors__item + .anchors__item {
    border-left: 0;
    border-bottom: 1px solid var(--c-lilac);
  }
  .anchors__item:not(:first-child) .anchors__link { padding-left: 0; }
  .anchors__link {
    /* fixed first column so every label starts at the same x, whatever
       width the individual number glyphs happen to be */
    grid-template-columns: 2rem 1fr auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.125rem 0;
  }
  .anchors__num { font-size: 1.5rem; }
  .anchors__label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: underline;
    text-underline-offset: .3em;
    text-decoration-thickness: 1px;
    justify-self: start;
  }
  .anchors__arrow { display: block; font-size: 1.25rem; }

  /* -- carousels become sliders -- */
  .carousel {
    --slide-w: 70%;
    --slide-gap: 4.3%;
  }
  .carousel__viewport {
    margin-right: calc(var(--pad-x) * -1);
    touch-action: pan-y;      /* let the page scroll vertically, we own the X axis */
    cursor: grab;
  }
  .carousel.is-dragging .carousel__viewport { cursor: grabbing; }
  .carousel__track {
    display: flex;
    gap: var(--slide-gap);
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
  }
  .carousel.is-dragging .carousel__track { transition: none; }
  .carousel__slide {
    flex: 0 0 var(--slide-w);
    min-width: 0;
  }
  .carousel__slide .look__img { pointer-events: none; }
  .carousel__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
  }

  /* -- 01 -- */
  .s01__grid { grid-template-columns: 1fr; row-gap: 2.5rem; }

  /* -- 02 -- */
  .s02__grid { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .s02__media { display: block; }
  .s02__card { padding: 2rem 1.5rem; }
  .s02__card .btn { width: 100%; }

  .section-num {
    font-size: var(--fs-h2);
  }

  .chain {
    gap: .25rem;
    justify-content: space-between;
    align-items: start;
  }
  .chain__step { gap: .75rem; flex: 1 1 0; }
  .chain__icon { width: 40px; height: 40px; }
  .chain__label {
    font-size: var(--fs-eyebrow-small);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
  }
  .chain__sep { flex: 0 0 auto; padding: .625rem 0 0; }
  .chain__arrow--wide { display: none; }
  .chain__arrow--tall { display: block; width: 12px; height: 26px; }

  /* -- 03 / 04 -- */
  .s0304__grid { row-gap: 4rem; }
  .attrs {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1rem;
    margin-top: 3rem;
  }
  .attrs__item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .attrs__icon { width: 48px; height: 48px; }
  .s04__card { padding: 2rem 1.5rem; }

  .card__lead {
    font-size: var(--fs-lead);
  }

  .card__quote {
    font-size: var(--fs-lead);
  }

  /* -- 05 -- */
  /* the 40px gap to the CTA is the margin; the section's own bottom
     padding tightens to --pad-y-tight on mobile (CTA top mirrors it) */
  .s05 { margin-bottom: 40px; padding-bottom: var(--pad-y-tight); }
  .s05__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "text" "media" "info";
    row-gap: 2.5rem;
  }
  .s05__media { max-width: none; }
  .s05__product { font-size: 1rem; letter-spacing: .06em; }
  .spec {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-template-rows: none;
    margin-top: 1.5rem;
  }
  .spec__row { grid-template-columns: 40% 1fr; padding: 1rem 0; }
  .searchbar { align-items: flex-start; padding: 1.25rem 1.25rem; }
  .searchbar__icon { margin-top: .125rem; }
  .s05__kicker { font-size: 1.25rem; font-weight: 500; }

  /* -- CTA -- */
  .cta { margin-top: 40px; padding-top: var(--pad-y-tight); }
  .cta__grid { grid-template-columns: 1fr; row-gap: 3rem; }
  .cta__title { font-size: 1.5rem; }
  .cta__subtitle { font-size: 1.5rem; }
  .cta__copy .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .stats__item {
    padding: 0 0 2.5rem;
    text-align: center;
    display: grid;
    justify-items: center;
  }
  .stats__item + .stats__item {
    padding: 2.5rem 0;
    border-left: 0;
    border-top: 1px solid var(--c-pink-soft);
  }
  .stats__item:last-child { padding-bottom: 0; }

  /* -- footer -- */
  .footer__newsletter { grid-template-columns: 1fr; row-gap: 2rem; }
  .signup {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }
  .signup__input {
    padding: 1.375rem 1.75rem;
    background: var(--c-white);
    border-radius: var(--radius-pill);
  }
  .signup__btn {
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: var(--fs-button);
    letter-spacing: 0;
    text-transform: none;
  }
  .signup__btn-arrow { display: none; }

  .footer__top {
    flex-direction: column;
    gap: 2.5rem;
    padding-block: 64px;
  }
  .footer__brand {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.25rem;
  }
  .footer__logo { grid-row: auto; height: 68px; }
  .footer__edition { font-size: 1.125rem; }
  .footer__meta { margin-top: 0; font-size: 1.125rem; }
  .footer__links {
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    padding-top: 0;
    font-size: 1.125rem;
  }

  /* -- modal -- */
  .modal { padding: 1rem; align-items: end; }
  .modal__dialog {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    max-height: calc(100dvh - 2rem);
  }
  .modal__close { top: 1rem; right: 1rem; }
  .modal__title { font-size: 1.75rem; margin-top: 1.5rem; }
  .modal__success-head { gap: 1rem; padding-right: 2.5rem; }
  .modal__success-icon { width: 52px; height: 52px; }
  .modal__view--success .btn { width: 100%; font-size: var(--fs-button); padding-block: 1.25rem; }
  .hs-button { width: 100%; font-size: var(--fs-button); padding-block: 1.25rem; }
}

/* Tablet (700-1199px: iPad Mini/Air/Pro portrait, and iPad-class landscape
   widths too). Still uses the mobile block above for stacking, type and the
   hero layout, but overrides the handful of things that shouldn't look
   phone-sized on a tablet - the wash timing, the image galleries, and the
   "05" product photo. Above 1199px, "16. Responsive" takes over instead. */
@media (min-width: 700px) and (max-width: 1199px) {
  .hero__wash {
    background-image: linear-gradient(180deg,
                #FFFFFF 0%,
                #FFFFFF 14%,
                var(--c-pink-soft) 41%,
                rgba(255, 255, 255, 0) 50%,
                rgba(255, 255, 255, 0) 100%);
  }

  /* Tablet keeps the desktop-style image grid instead of the phone slider -
     js/main.js only turns the swipe/autoplay controller on below 700px (see
     PHONE_QUERY). Put the track back into a static grid - the same 4-column
     look used at "smaller desktop" widths - and undo the slider-only styling
     the mobile block above put on it. */
  .carousel__viewport {
    margin-right: 0;
    touch-action: auto;
    cursor: auto;
  }
  .carousel__track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    transition: none;
    will-change: auto;
  }
  .carousel__slide .look__img { pointer-events: auto; }
  .carousel__footer { display: none; }

  /* "02" section: the flip-flop photo and the pink card below it are full
     width on phone, which makes the photo huge on a tablet's wider single
     column - match both to 75%, centred, so they read as one aligned column. */
  .s02__media,
  .s02__card { width: 75%; margin-inline: auto; }

  /* "03/04": the icon list reads as 2 wide-set columns at phone width -
     3 fills a tablet-width row better. */
  .attrs { grid-template-columns: repeat(3, 1fr); }

  /* "05" section: the trouser photo no longer fills the row - centred at
     75% width, with the freed-up space reading as extra side padding. */
  .s05__media img { width: 75%; margin-inline: auto; }

  /* "02" section: on tablet the icon chain and the photo both run edge to
     edge, so the "richer context" line reads oddly left-aligned between
     them - centre it instead. */
  .s02__copy .note { text-align: center; }
}

/* Tablet, mid (901-950px): a narrow strip between the iPad-mini-class range
   above and the wider tablet/landscape range below - its own wash timing. */
@media (min-width: 901px) and (max-width: 950px) {
  .hero__wash {
    background-image: linear-gradient(180deg,
                #FFFFFF 0%,
                #FFFFFF 14%,
                var(--c-pink-soft) 60%,
                rgba(255, 255, 255, 0) 68%,
                rgba(255, 255, 255, 0) 100%);
  }
}

/* Tablet, upper half (951-1199px: iPad Pro portrait and iPad-class landscape
   widths) - the hero photo sits differently again at this size, so the wash
   needs its own timing, later-peaking than the ranges below.
   NOTE: requested as "951px until 1200px" - held to 1199px here so it stays
   inside the mobile/tablet vertical-wash system (background-size/position
   are only defined up to 1199px; desktop's horizontal wash takes over at
   1200px regardless of this value). */
@media (min-width: 951px) and (max-width: 1199px) {
  .hero__wash {
    background-image: linear-gradient(180deg,
                #FFFFFF 0%,
                #FFFFFF 14%,
                var(--c-pink-soft) 57%,
                rgba(255, 255, 255, 0) 69%,
                rgba(255, 255, 255, 0) 100%);
  }
}

/* Phone, by exact width: below 700px the wash's peak/clear points need their
   own tuning at these specific measured breakpoints, layered on top of the
   general phone default set in "17. Mobile + tablet" above. Only
   background-image changes here - size/position/repeat are inherited. */
@media (min-width: 340px) and (max-width: 359px) {
  .hero__wash {
    background-image: linear-gradient(180deg,
                #FFFFFF 0%,
                #FFFFFF 14%,
                var(--c-pink-soft) 72%,
                rgba(255, 255, 255, 0) 78%,
                rgba(255, 255, 255, 0) 100%);
  }
}
@media (min-width: 360px) and (max-width: 379px) {
  .hero__wash {
    background-image: linear-gradient(180deg,
                #FFFFFF 0%,
                #FFFFFF 14%,
                var(--c-pink-soft) 70.5%,
                rgba(255, 255, 255, 0) 77%,
                rgba(255, 255, 255, 0) 100%);
  }
}
@media (min-width: 380px) and (max-width: 409px) {
  .hero__wash {
    background-image: linear-gradient(180deg,
                #FFFFFF 0%,
                #FFFFFF 14%,
                var(--c-pink-soft) 66%,
                rgba(255, 255, 255, 0) 72%,
                rgba(255, 255, 255, 0) 100%)
  }
}
@media (min-width: 410px) and (max-width: 469px) {
  .hero__wash {
    background-image: linear-gradient(180deg,
                #FFFFFF 0%,
                #FFFFFF 14%,
                var(--c-pink-soft) 62%,
                rgba(255, 255, 255, 0) 70%,
                rgba(255, 255, 255, 0) 100%);
  }
}
@media (min-width: 470px) and (max-width: 699px) {
  .hero__wash {
    background-image: linear-gradient(180deg,
                #FFFFFF 0%,
                #FFFFFF 14%,
                var(--c-pink-soft) 55%,
                rgba(255, 255, 255, 0) 62%,
                rgba(255, 255, 255, 0) 100%);
  }
}

@media (max-width: 450px) {
  .chain__label { font-size: var(--fs-eyebrow-small); }
  .attrs__label { font-size: var(--fs-eyebrow-small); }
}

/* --------------------------------------------------------------------------
   18. Scroll reveal
   ------------------------------------------------------------------------
   `data-reveal` fades a block in and slides it up as it scrolls into view,
   once, via js/main.js's IntersectionObserver. `data-reveal="scale"` adds a
   touch of scale-up for card-like elements (the pink/white boxes, the
   photos). Everything is scoped under html.js: if the script never runs (an
   error, a blocked file) the html element never gets that class, so these
   rules simply never match and the content stays plainly visible - it can
   never get stuck invisible.
   -------------------------------------------------------------------------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 2s var(--ease-out), transform 2s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.js [data-reveal="scale"] {
  transform: translate3d(0, 22px, 0) scale(.96);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
/* Photos (carousel slides, s02/s05 media) reveal slower than text/cards. */
html.js .look[data-reveal],
html.js .s02__media[data-reveal],
html.js .s05__media[data-reveal] {
  transition-duration: 3s;
}

/* --------------------------------------------------------------------------
   19. Preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel__track { transition: none !important; }
  .btn, .carousel__dot, .look__img, .s02__media img, .s05__media img, .anchors__link { transition: none; }
  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--c-pink);
  outline-offset: 3px;
  border-radius: 4px;
}
