/* ============================================
   PORTAL — LAUNCH SITE STYLES
   1.  Custom Properties
   2.  Brand Fonts — @font-face
   3.  Reset & Base
   4.  Typography helpers (labels, headings)
   5.  Utilities & Layout
   6.  Buttons & Links (incl. store badges)
   7.  Announcement Bar
   8.  Navigation
   9.  Section shells — the chaos→clarity arc
   10. Footer — colophon
   11. Mobile store bar
   12. Mockup kit — stylized product UI
   13. Motion — scenes, chat, morph, FLIP
   14. Animations & reveals
   15. Reduced motion
   16. Media queries

   Order is load-bearing at the tail: 15 hand-resolves the state classes
   that 12/13/14 introduce, so it must follow all three or an
   equal-specificity reduced-motion rule silently loses the cascade; 16 is
   last so its breakpoints can override anything above.
   ============================================ */


/* ============================================
   1. CUSTOM PROPERTIES
   ============================================ */

:root {
  /* Brand Colors */
  --color-rouge: #552121;
  --color-poppy: #DE442F;
  --color-rose: #DBA5AE;
  --color-butter: #F2EDBD;
  --color-muslin: #D5CECB;
  --color-cotton: #FFFFFF;

  /* Semantic aliases */
  --color-text-primary: var(--color-rouge);
  --color-text-accent: var(--color-poppy);
  --color-bg-primary: var(--color-cotton);
  --color-bg-warm: var(--color-muslin);
  --color-bg-soft: var(--color-butter);
  --color-bg-blush: var(--color-rose);

  /* Typography — font families */
  /* Each stack names its §2b metric-matched twin immediately after the real
     face, so the pre-swap paint occupies the same box and the swap costs no
     layout shift. The plain families stay behind it as the last resort for a
     machine that has neither Georgia nor Arial. */
  --font-heading: 'Feature Deck Condensed', 'Feature Deck Fallback', Georgia, 'Times New Roman', serif;
  /* The Antarctica trial cut ships no digits 0-9 — they fall through to
     the next family. Maison Neue Extended (wide grotesk, already loaded)
     blends with expanded caps; Arial Narrow does not. The metric-matched
     Antarctica twin must sit AFTER Maison Neue Extended for exactly that
     reason: it is Arial underneath, and Arial HAS digits, so naming it first
     would silently capture the numerals this ordering exists to place. */
  --font-label: 'Antarctica Expanded', 'Maison Neue Extended', 'Antarctica Fallback', 'Arial Narrow', sans-serif;
  --font-body: 'Maison Neue', 'Maison Neue Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body-extended: 'Maison Neue Extended', 'Maison Neue Extended Fallback', 'Maison Neue', -apple-system, sans-serif;
  --font-script: 'Awesome Ways', 'Brush Script MT', cursive;

  /* Typography — sizes (fluid) */
  --text-hero: clamp(3.4rem, 13vw, 10.5rem);
  --text-h2: clamp(2.25rem, 3.5vw + 0.75rem, 4rem);
  --text-h3: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
  --text-body: clamp(1rem, 0.5vw + 0.875rem, 1.125rem);
  --text-label: clamp(0.75rem, 0.5vw + 0.625rem, 0.875rem);
  --text-small: 0.875rem;

  /* Spacing */
  --section-padding-mobile: 3.5rem;
  --section-padding-desktop: 7.5rem;
  --container-max: 1200px;
  --container-padding: 1.25rem;

  /* Effects */
  --transition-default: 0.3s ease;
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --border-radius: 8px;
  --nav-height: 72px;

  /* The announcement bar sits above the nav inside the fixed header;
     content clearance and scroll-padding derive from the combined offset.
     Dismissal zeroes the bar's share via the html.announce-dismissed class
     (set pre-paint by the inline gate script). */
  --announce-height: 48px;
  --header-offset: calc(var(--announce-height) + var(--nav-height));

  /* Scroll-driven custom properties (written by main.js). Scene values are
     written element-scoped on each [data-scene] section so invalidation stays
     local; these are the seeds every var() resolves to before a scene arms,
     and the only values a browser without @property support ever sees. */
  --scene-p: 0;
  --scene-e: 0;
  --scene-r: 0;
  --scene-runway: 240;
  --scroll-vel: 0;
  --par: 0px;
  --mq: 0px;
}

.announce-dismissed {
  --announce-height: 0px;
}

/* Typed registrations for the scrubbed properties — gives the engine's
   writes real types (numbers/lengths, not strings), so they interpolate
   and never poison a calc(). Unknown at-rule: old browsers skip it and
   the var() fallbacks above still carry them. All inherit: they're written
   on each [data-scene] section root and consumed by its descendants.
   Each initial-value must equal its :root seed above — if they diverge, a
   disarmed scene falls back to the registered initial while an unregistered
   browser falls back to the seed, and the same scene rests in two different
   states depending on the engine. */
@property --scene-p {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}
@property --scene-e {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}
/* Unitless px — consumers write calc(var(--scene-r, 0) * 1px). */
@property --scene-r {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}
@property --scene-runway {
  syntax: '<number>';
  inherits: true;
  initial-value: 240;
}
@property --scroll-vel {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}
@property --par {
  syntax: '<length>';
  inherits: true;
  initial-value: 0px;
}
/* Marquee travel — written by main.js §4b on the track. */
@property --mq {
  syntax: '<length>';
  inherits: true;
  initial-value: 0px;
}


/* ============================================
   2. BRAND FONTS — @font-face
   ============================================ */

/* Feature Deck Condensed — Primary heading font */
@font-face {
  font-family: 'Feature Deck Condensed';
  src: url('../assets/fonts/woff2/featuredeckcondensed-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Feature Deck Condensed';
  src: url('../assets/fonts/woff2/featuredeckcondensed-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Feature Deck Condensed';
  src: url('../assets/fonts/woff2/featuredeckcondensed-regularitalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Maison Neue — Body text */
@font-face {
  font-family: 'Maison Neue';
  src: url('../assets/fonts/woff2/maisonneue-book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Maison Neue';
  src: url('../assets/fonts/woff2/maisonneue-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Maison Neue';
  src: url('../assets/fonts/woff2/maisonneue-demi.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Maison Neue Extended — Feature descriptions and prominent body */
@font-face {
  font-family: 'Maison Neue Extended';
  src: url('../assets/fonts/woff2/maisonneueextended-book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Maison Neue Extended';
  src: url('../assets/fonts/woff2/maisonneueextended-demi.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Antarctica Expanded — Labels and navigation */
@font-face {
  font-family: 'Antarctica Expanded';
  src: url('../assets/fonts/woff2/antarcticaexpanded-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Antarctica Expanded';
  src: url('../assets/fonts/woff2/antarcticaexpanded-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Awesome Ways — Script/annotation font.
   Re-subset in Phase 5 (-002): the shipped cut was 79,492 B of 170 glyphs to
   paint seven short phrases, 16.6% of the home page's entire initial transfer,
   and on a phone its first glyph sits below the fold. The new cut is 19,028 B
   / 94 glyphs and deliberately KEEPS the property PLAN §9.2 values — every
   Spanish accent in both cases, ñ/Ñ, ü/Ü and both inverted marks — so the face
   is still the safe home for an ES script phrase. What it drops is the Latin-1
   long tail (æ ø þ ý ß ©, currency, spacing diacritics) that no annotation on
   this site will ever ask for, and check-glyphs.py is the gate that says so
   out loud if one ever does. INVENTORY_REV bumped in the same commit. */
@font-face {
  font-family: 'Awesome Ways';
  src: url('../assets/fonts/woff2/awesomeways-regular-002.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* ---- 2b. Metric-matched fallbacks — the entire CLS budget ----

   `font-display: swap` is correct for a brand site (the wordmark must arrive),
   but swap is also, by construction, a reflow: the fallback paints first, the
   real face replaces it, and every box sized by that text changes. Phase 5
   measured this as 100% of the site's layout shift — with woff2 requests
   aborted, CLS is 0.0000 on every page and every viewport; with them allowed,
   /best-ai-stylist-apps/ hit 0.3801 and /es/terms.html 0.2212 against a 0.1
   budget. The h1 alone moved 184.8px of document height at 1440.

   These faces carry no glyphs. They re-describe a font the visitor already has
   so that it occupies the SAME space as the real one: size-adjust equalises
   advance width (measured, not guessed — a canvas run of the site's own copy
   at 100px), and the three overrides restate the real face's vertical metrics
   divided by that scale, so the line box matches too. Metrics come from the
   shipped woff2 cmaps (upm/hhea), so they cannot drift from the files.

   Weight-specific because the ratios genuinely differ: Feature Deck is 80.83%
   of Georgia at 400 but 82.82% at 700. If a visitor has neither Georgia nor
   Arial the rule simply fails to match and the stack falls through to the next
   family unchanged — the pre-Phase-5 behaviour, never worse. */

@font-face {
  font-family: 'Feature Deck Fallback';
  src: local('Georgia'), local('Times New Roman'), local('Times');
  font-weight: 400;
  size-adjust: 80.83%;
  ascent-override: 99.59%;
  descent-override: 24.12%;
  line-gap-override: 24.74%;
}

@font-face {
  font-family: 'Feature Deck Fallback';
  src: local('Georgia Bold'), local('Georgia'), local('Times New Roman');
  font-weight: 700;
  size-adjust: 82.82%;
  ascent-override: 97.20%;
  descent-override: 23.55%;
  line-gap-override: 24.15%;
}

@font-face {
  font-family: 'Maison Neue Fallback';
  src: local('Arial'), local('Helvetica');
  font-weight: 400;
  size-adjust: 99.09%;
  ascent-override: 89.92%;
  descent-override: 30.28%;
  line-gap-override: 2.23%;
}

@font-face {
  font-family: 'Maison Neue Fallback';
  src: local('Arial Bold'), local('Arial'), local('Helvetica');
  font-weight: 500 700;
  size-adjust: 95.06%;
  ascent-override: 93.73%;
  descent-override: 31.56%;
  line-gap-override: 2.32%;
}

@font-face {
  font-family: 'Maison Neue Extended Fallback';
  src: local('Arial'), local('Helvetica');
  font-weight: 400;
  size-adjust: 111.63%;
  ascent-override: 79.82%;
  descent-override: 26.88%;
  line-gap-override: 1.97%;
}

@font-face {
  font-family: 'Maison Neue Extended Fallback';
  src: local('Arial Bold'), local('Arial'), local('Helvetica');
  font-weight: 500 700;
  size-adjust: 106.88%;
  ascent-override: 83.36%;
  descent-override: 28.07%;
  line-gap-override: 2.06%;
}

/* Antarctica is 27% wider than Arial and paints every ALL-CAPS label on the
   site, so its swap moves more small boxes than any other face. Note the
   §9.2 digit trap is untouched: this fallback sits AFTER Maison Neue Extended
   in --font-label, so numerals still fall through to the face that has them. */
@font-face {
  font-family: 'Antarctica Fallback';
  src: local('Arial Bold'), local('Arial'), local('Helvetica');
  font-weight: 500 700;
  size-adjust: 127.39%;
  ascent-override: 79.15%;
  descent-override: 21.46%;
  line-gap-override: 0%;
}


/* ============================================
   3. RESET & BASE
   ============================================ */

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

/* Both fixed chromes have to be discounted from the scroll box, or the browser
   parks a focused element underneath one of them and the focus ring is simply
   not on screen (WCAG 2.4.11). The top one was always handled; the bottom one
   was not, and Phase 5 measured three FAQ summaries per home page landing under
   the mobile store bar at 390 — two of them covered outright.
   --mobile-bar-height is published by main.js from the bar's measured rect
   rather than guessed here, because the bar WRAPS to two rows below ~600px
   (§11) and a static offset would be wrong on exactly the narrowest phones.
   The fallback keeps no-JS honest: no .js class, no bar, no bottom padding. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

html.mobile-bar-up {
  scroll-padding-bottom: calc(var(--mobile-bar-height, 7rem) + 0.5rem);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--color-rouge);
  color: var(--color-butter);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font: inherit;
  border: none;
}

/* The hidden attribute must always win, even over author display values. */
[hidden] {
  display: none !important;
}

h1, h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-h2); }

h3 {
  font-family: var(--font-body-extended);
  font-weight: 600;
  font-size: var(--text-h3);
  line-height: 1.3;
}


/* ============================================
   4. TYPOGRAPHY HELPERS
   ============================================ */

/* Labels are small text, so they use Rouge (passes on every light background).

   The section eyebrow carries NO ring prefix — the circle motif stays on the
   chat avatar, the value cards and the final-CTA question, where it lands at
   a size worth reading. The heading rule below still takes its colour from
   §12's --kit-accent rather than naming Poppy: Poppy misses the 3:1 non-text
   floor on Rose (2.4:1) and has no approved pairing on Muslin at all
   (2.75:1) — and Values and FAQ are Muslin bands. Hard-coding the colour here
   is exactly how a sub-3:1 mark ships on two sections nobody thought to
   re-check; the knob makes the ground decide. */
.section-label {
  font-family: var(--font-label);
  font-weight: 700; /* only 500/700 Antarctica faces are loaded */
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-rouge);
  margin-bottom: 0.75rem;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--kit-accent);
  margin-top: 1.25rem;
  border-radius: 2px;
}

/* Ghost headings ink themselves in: stroked outline at rest, filled once
   the reveal fires. Browsers without text-stroke just get the normal
   filled heading; reduced motion forces the fill in §15. */
@supports (-webkit-text-stroke: 1px black) {
  /* Doubled class beats the generic .js [data-animate] transition in §14. */
  .js .section-heading.section-heading--ghost {
    -webkit-text-stroke: 1.2px var(--color-rouge);
    color: transparent;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out,
                color 0.8s ease 0.15s,
                -webkit-text-stroke-color 0.8s ease 0.15s;
  }

  .js .section-heading.section-heading--ghost.is-visible {
    color: var(--color-rouge);
    -webkit-text-stroke-color: transparent;
  }
}

/* On Rouge, label text goes Butter (full-contrast pairing). Rouge is not one
   of the grounds that re-point --kit-accent, so the heading rule under this
   label stays Poppy — approved for graphic elements on Rouge. */
.final-cta .section-label {
  color: var(--color-butter);
}


/* ============================================
   5. UTILITIES & LAYOUT
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.u-nowrap {
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-rouge);
  color: var(--color-cotton);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  z-index: 1000;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* No blanket overflow:hidden here — it would turn every section into a
   scroll container and silently kill sticky elements inside (the Phase-3
   scrub stages, FAQ head). Sections whose decor bleeds get clipped
   individually as they're built. */
section {
  padding: var(--section-padding-mobile) 0;
  position: relative;
}


/* ============================================
   6. BUTTONS & LINKS
   ============================================ */

/* Button labels are 1.17rem bold (≈18.7px) — the brand approves
   Cotton-on-Poppy for large text only, and this size qualifies. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.17rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out-soft),
              background-color var(--transition-default),
              box-shadow var(--transition-default);
  white-space: nowrap;
}

/* Pressed: the pill dips under the finger — on phones this is the only
   feedback a thumb gets. NO scale here: .btn--primary is Cotton-on-Poppy at
   exactly the 18.67px bold floor, and 0.985 of it fails the pairing for the
   length of every press; full-contrast variants restate their own scale.
   §15 stills the travel. */
.btn:active {
  transform: translateY(1px);
  transition-duration: 0.08s;
}

.btn--primary {
  background-color: var(--color-poppy);
  color: var(--color-cotton);
  box-shadow: 0 4px 16px rgba(222, 68, 47, 0.25);
}

.btn--primary:hover {
  background-color: var(--color-rouge);
  box-shadow: 0 6px 24px rgba(85, 33, 33, 0.3);
}

.btn--primary:focus-visible {
  outline: 2px solid var(--color-rouge);
  outline-offset: 2px;
}

.btn--secondary-light {
  background-color: transparent;
  color: var(--color-cotton);
  border: 2px solid var(--color-cotton);
  transition: background-color var(--transition-default),
              color var(--transition-default),
              transform 0.25s var(--ease-out-soft);
}

.btn--secondary-light:hover {
  background-color: var(--color-cotton);
  color: var(--color-rouge);
}

.btn--secondary-light:focus-visible {
  outline: 2px solid var(--color-cotton);
  outline-offset: 2px;
}

/* ---- Store badges ---- */
/* Interim text lockups until the official Apple/Google badge SVGs land in
   assets/badges/ (P0.1) — the pill framing stays, the inner lockup is
   replaced by the official artwork. Rouge/Cotton is a full-contrast
   pairing, so the small eyebrow line is approved at any size. Hover keeps
   the Rouge ground: flipping to Poppy would drop the eyebrow to an
   unapproved small-text pairing. */
.btn--store {
  flex-direction: column;
  gap: 0.2rem;
  min-height: 44px;
  min-width: 180px;
  padding: 0.7rem 1.75rem 0.8rem;
  background-color: var(--color-rouge);
  color: var(--color-cotton);
  text-transform: none;
  box-shadow: 0 4px 16px rgba(85, 33, 33, 0.22);
}

.btn--store:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(85, 33, 33, 0.3);
}

/* :active outranks :hover by source order alone. The scale is legal on THIS
   variant: Cotton-on-Rouge is full-contrast at any size, so nothing rides
   on the 1.17rem floor. */
.btn--store:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 2px 8px rgba(85, 33, 33, 0.22);
}

.btn--store:focus-visible {
  outline: 2px solid var(--color-rouge);
  outline-offset: 3px;
}

.btn--store__eyebrow {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85; /* Cotton on Rouge holds AA well past this dimming */
}

.btn--store__name {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.17rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* On Rouge grounds (final CTA) the pill inverts to Cotton. */
.btn--store--light {
  background-color: var(--color-cotton);
  color: var(--color-rouge);
  box-shadow: 0 4px 16px rgba(43, 16, 16, 0.35);
}

.btn--store--light:focus-visible {
  outline: 2px solid var(--color-cotton);
  outline-offset: 3px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Inline arrow link — editorial CTA voice. Underline and focus ring are
   graphic marks, so they take §12's ground-aware accent for the same reason
   the label ring does: Phase 3 drops these into the Muslin FAQ and Values
   bands, where a hard-coded Poppy would be 2.75:1. */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body-extended);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-rouge);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--kit-accent);
  transition: gap 0.25s var(--ease-out-soft);
}

.arrow-link:hover {
  gap: 0.8rem;
}

.arrow-link:focus-visible {
  outline: 2px solid var(--kit-accent);
  outline-offset: 3px;
  border-radius: 2px;
}


/* ============================================
   7. ANNOUNCEMENT BAR
   ============================================ */

/* Lives inside the fixed header, above the nav — being fixed, its height
   can never shift document content (no CLS); the hero derives clearance
   from --header-offset instead. Text is Maison Neue, not Antarctica: the
   label face's subset has no accented glyphs for the Spanish line.
   Cotton on Poppy is large-text-only — 1.17rem bold qualifies. */
.announce {
  min-height: var(--announce-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.3rem 1rem;
  background: var(--color-poppy);
  color: var(--color-cotton);
  font-size: 1.17rem;
  font-weight: 700;
  line-height: 1.2;
}

.announce-dismissed .announce {
  display: none;
}

.announce__text {
  white-space: nowrap;
}

.announce__link {
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.announce__link:hover {
  opacity: 0.85;
}

.announce__link:focus-visible {
  outline: 2px solid var(--color-cotton);
  outline-offset: 2px;
  border-radius: 2px;
}

/* The dismiss control only exists for scripting — without JS it could
   never dismiss, and a dead button just confuses. */
.announce__dismiss {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--color-cotton);
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.js .announce__dismiss {
  display: flex;
}

.announce__dismiss:hover {
  background: rgba(85, 33, 33, 0.25);
}

.announce__dismiss:focus-visible {
  outline: 2px solid var(--color-cotton);
  outline-offset: 2px;
}


/* ============================================
   8. NAVIGATION
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

/* The scroll tints apply to the nav row only — the announcement bar above
   it keeps its solid Poppy.

   THE BASE STATE IS OPAQUE, and the transparency is what .js opts into.
   That is the reverse of the obvious arrangement and it is the whole point:
   the tint is applied by a scroll listener, so without scripting the row
   would stay transparent for the entire page — and from Phase 3 on, the page
   scrolls Rouge nav links across a full-bleed photograph of a clothes pile
   and a Rouge final CTA. Transparent-by-default meant the navigation was
   legible only while the hero was on screen. Butter under Rouge links is a
   full-contrast pairing on every section, so the unscripted page simply keeps
   it. No backdrop-filter on this state: there is nothing to blur through on a
   bar that never goes transparent, and it would cost a compositing layer for
   the whole session. */
.site-header__nav-row {
  background: var(--color-butter);
  box-shadow: 0 1px 0 rgba(85, 33, 33, 0.1);
  transition: background 0.5s var(--ease-out-soft),
              box-shadow 0.5s var(--ease-out-soft),
              backdrop-filter 0.5s var(--ease-out-soft);
}

.js .site-header__nav-row {
  background: transparent;
  box-shadow: none;
}

/* Three classes each, so these beat the .js transparency above regardless of
   where a future edit moves them. */
.js .site-header--scrolled-light .site-header__nav-row {
  background: rgba(242, 237, 189, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.js .site-header--scrolled .site-header__nav-row {
  background: rgba(242, 237, 189, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(85, 33, 33, 0.1);
}

/* Always-solid variant for subpages (terms/privacy) that don't load main.js. */
.site-header--solid .site-header__nav-row {
  background: var(--color-muslin);
  box-shadow: 0 1px 0 rgba(85, 33, 33, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__logo {
  z-index: 101;
}

.nav__logo-img {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(85, 33, 33, 0.12));
  transition: opacity 0.2s ease;
}

.nav__logo:hover .nav__logo-img {
  opacity: 0.85;
}

.nav__logo:focus-visible {
  outline: 2px solid var(--color-poppy);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav__links {
  display: none;
}

.nav__link {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  padding: 0.5rem 1rem;
  position: relative;
  transition: color var(--transition-default);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--color-text-accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out-soft);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link:focus-visible {
  outline: 2px solid var(--color-poppy);
  outline-offset: 2px;
  border-radius: 2px;
}

.nav__link--active::after {
  transform: scaleX(1);
}

.nav__cta {
  display: none;
}

/* Hamburger — only rendered when JS is available, since without scripting
   the menu can never open and a dead button just confuses. */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: 101;
}

.js .hamburger {
  display: flex;
}

.hamburger:focus-visible {
  outline: 2px solid var(--color-poppy);
  outline-offset: 2px;
  border-radius: 4px;
}

.hamburger--open:focus-visible {
  outline-color: var(--color-cotton);
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-rouge);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger--open .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--color-cotton);
}

.hamburger--open .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--open .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--color-cotton);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-rouge);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.mobile-menu__link {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.375rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-cotton);
  transition: color var(--transition-default);
}

.mobile-menu__link:hover {
  color: var(--color-muslin);
}

.mobile-menu__link:focus-visible {
  outline: 2px solid var(--color-cotton);
  outline-offset: 4px;
  border-radius: 2px;
}

.mobile-menu__link--active {
  color: var(--color-poppy);
}

.mobile-menu__cta {
  margin-top: 1rem;
}


/* ============================================
   9. SECTION SHELLS — THE CHAOS→CLARITY ARC
   ============================================ */

/* Background rhythm (PLAN §4.2): Hero Cotton → Solution Cotton → Inside
   Butter/Cotton bands → Values Muslin → Own What You Own Rose →
   Personalization Cotton → FAQ Muslin → Final CTA Rouge → Footer Rouge. Each
   section fills in its set piece during Phase 3; these shells carry the
   anchors, the canonical headline copy, and the palette.

   §9.2 was The Problem — the Cotton→Rouge spiral scrub. Removed 2026-08-10;
   the number is left vacant rather than renumbering every §9.x cross-reference
   in this file. Hero and Solution are now both Cotton and adjacent, which is
   the one rhythm consequence worth knowing about. */

/* ---- 9.1 Hero ---- */
.hero {
  background: var(--color-cotton);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-offset) + 2rem);
  padding-bottom: 4rem;
  overflow: hidden;
  /* .hero__ring sits at z-index -1; without a stacking context here it
     would drop behind the section's own Cotton and never paint. */
  isolation: isolate;
}

/* Poppy at hero size is large-text approved on Cotton (4.26:1 — over the 3:1
   large-text floor, under the 4.5:1 normal-text one). */
.hero__headline {
  color: var(--color-poppy);
  max-width: 12ch;
}

/* The hero's single support line. It used to be the quiet second line under
   a bolder .hero__sub; the sub was cut 2026-08-10 and this line inherited its
   treatment — Maison Neue Extended 600 at --text-h3 — so the hero keeps its
   one prominent promise instead of dropping to body weight. 30ch, not the
   sub's 24ch: this sentence is longer, and at 24ch it broke to four lines on
   a phone. */
.hero__support {
  font-family: var(--font-body-extended);
  font-weight: 600;
  font-size: var(--text-h3);
  line-height: 1.35;
  max-width: 30ch;
  margin-top: 1.75rem;
}

.hero .store-buttons {
  margin-top: 2.25rem;
}

/* ---- 9.3 What Portal Stands For ---- */
.values {
  background: var(--color-muslin);
}

/* ---- 9.4 The Solution ---- */
.solution {
  background: var(--color-cotton);
}

/* ---- 9.5 Inside Portal ---- */
.inside {
  background: var(--color-butter);
}

/* ---- 9.6 Own What You Own ---- */
/* Rose ground: Rouge carries ALL text and decoration here (see §4). */
.own {
  background: var(--color-rose);
}

/* ---- 9.7 Personalization ---- */
.personalization {
  background: var(--color-cotton);
}

/* ---- 9.8 FAQ ---- */
.faq {
  background: var(--color-muslin);
}

/* ---- 9.9 Final CTA ---- */
.final-cta {
  background: var(--color-rouge);
  min-height: 85vh;
  min-height: 85svh;
  display: flex;
  align-items: center;
  text-align: center;
}

.final-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta .section-heading {
  margin-left: auto;
  margin-right: auto;
}

.final-cta .section-heading::after {
  margin-left: auto;
  margin-right: auto;
}

/* The lone question, handwritten and quiet — the beat before the answer.
   Awesome Ways, not Feature Deck italic, for a reason that is not taste: the
   headline face is a 74-glyph subset with no accents and no inverted marks, so
   the Spanish twin ("¿Que me pongo?") would silently drop TWO characters into
   Georgia mid-sentence. Awesome Ways carries all of Latin-1 including ¿ and é.
   It is the brand's script face and the rule on it is "a few words only" —
   three or four here, which is exactly its licence.
   No font-style: italic — the face is already slanted, and there is no italic
   cut, so the browser would synthesise a second slant on top.
   Muslin on Rouge is a full-contrast pairing, so the size is free. */
.final-cta__question {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 1.5vw + 1.1rem, 2.25rem);
  line-height: 1.2;
  color: var(--color-muslin);
  margin-bottom: 1.5rem;
}

.final-cta h2 {
  color: var(--color-cotton);
}

.final-cta__tagline {
  font-family: var(--font-body-extended);
  font-weight: 600;
  color: var(--color-muslin);
  margin-bottom: 2.25rem;
}

.final-cta .store-buttons {
  justify-content: center;
}


/* ---- PHASE 3 — HERO ---- */

/* ---- 9.1a Hero — the SOS spiral and the Portal answer ---- */

/* §9.1 already gives .hero its Cotton ground, its 100svh floor, its header
   clearance and the type scale for the copy block. Everything here is the
   second column: the thread, the answer, and the choreography that turns one
   into the other. */

.hero__inner {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

/* The thread and the answer stay in normal flow rather than sharing one grid
   cell. Overlapping them would land the answer exactly where the spiral was —
   better cinema — but it needs a layout-mode switch that has to be undone for
   no-JS AND for reduced motion AND for no-:has(), and a hero that stacks the
   punchline on top of six readable bubbles in any one of those three cases is
   a worse failure than a slightly quieter transition. The thread's rows fade
   without being removed, so its height is reserved and the answer never
   jumps. */
.hero__stage {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

/* Compact on purpose. Six bubbles at page scale plus the headline block plus
   two store pills overruns a 390x844 phone, and the store buttons are the
   conversion. The thread rides its own font-size knob (§13.4), so shrinking
   it here scales padding, radii, avatar and dots with it — one number. */
.hero__sos {
  max-width: 24rem;
  font-size: 0.9375rem;
  gap: 0.5em;
}

/* Awesome Ways: two words, which is exactly this face's licence, and it is
   the only face that could carry the ES twin's accents if it ever needed to.
   Poppy on Cotton is a LARGE-TEXT-ONLY pairing (4.26:1), so the clamp floor of
   1.75rem = 28px is load-bearing, not taste — it clears WCAG's 24px normal
   threshold at every viewport. Never shrink it below 1.5rem, and never set it
   in a weight/face that reads lighter. */
.hero__answer {
  font-family: var(--font-script);
  font-size: clamp(1.75rem, 6vw, 3.25rem);
  line-height: 1.1;
  color: var(--color-poppy);
}

/* The O at first paint, bookending the final CTA's ring. Deliberately
   motionless — the hero's motion budget is the SOS thread. Poppy on Cotton
   is an approved graphic pairing (4.26:1); §9.1's clip contains the
   off-canvas bleed. Visible without JS by construction. */
.hero__ring {
  position: absolute;
  top: -14vmin;
  right: -22vmin;
  width: 78vmin;
  height: 78vmin;
  border: 2.5px solid var(--color-poppy);
  border-radius: 50%;
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

/* The Portal moment. Both halves — the answer's hidden REST STATE and the
   rule that reveals it — are inside the same @supports block. That is the
   whole trick: if the rest state sat outside and only the reveal were gated,
   a browser without :has() would apply opacity:0 and never match anything
   that undoes it, and the punchline would be permanently invisible. Inside
   the gate, a no-:has() browser gets every bubble and the answer all visible
   at once — which is the poster, and perfectly readable.

   .chat-row--last is a marker on the sixth row only; main.js puts .is-shown
   on it when that row lands, so this is the page asking "is the thread
   finished?" with no section-specific JS. The bubbles fade but are NOT
   aria-hidden — screen readers and crawlers still get the whole spiral. */
@supports selector(:has(*)) {
  html.js .hero__answer {
    opacity: 0;
    transform: translateY(0.35em);
    transition: opacity 0.7s ease, transform 0.7s var(--ease-out-soft);
  }

  /* The rows already carry §13.4's opacity/transform transition; this only
     re-aims them and adds the beat before the dissolve starts. */
  html.js .hero__sos:has(.chat-row--last.is-shown) .chat-row {
    opacity: 0;
    transform: translateY(-0.75rem) scale(0.97);
    transition-delay: 0.45s;
  }

  html.js .hero__sos:has(.chat-row--last.is-shown) ~ .hero__answer {
    opacity: 1;
    transform: none;
    transition-delay: 0.95s;
  }
}

/* ---- PHASE 3 — VALUES ---- */

/* ---- 9.3a What Portal Stands For — the four value cards ---- */

/* One section, three modes, and the honest one is still the default: with no
   JS every card renders fully expanded — ring, name, punchline and the extra
   sentence — with nothing hidden and no control to press. `html.js` is what
   collapses the body into a disclosure, and main.js builds the button that
   opens it in the same breath, so the hidden copy and its opener can never
   ship apart.

   Two ways in, deliberately, and BOTH are main.js writing one class. On fine
   pointers — `(hover: hover) and (pointer: fine)`, stricter than a bare
   `@media (hover: hover)` because touch devices latch :hover after a tap —
   mouseenter opens the card. Everywhere else the button does, on tap, Enter or
   Space. There is no CSS `:hover` rule opening anything here; see §9.3b for
   why not. Hover is the shortcut, never the only path.

   Colour: the band is Muslin, so §12.0 has already re-pointed --kit-accent to
   Rouge for everything inside .values (Poppy is 2.75:1 on Muslin and has no
   approved pairing there). Nothing below names an accent colour of its own —
   the ground decides, exactly as it does for the section label's ring. */

.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  /* Content-sized cards, not stretched ones. This is the rule that makes the
     disclosure work as a design rather than as a hole: a closed card is one
     ring-and-name row tall, an open one grows to its copy, and a card never
     inherits the height of an open sibling in the same row. Removing it brings
     back the empty-plate problem the always-visible version was built to fix. */
  align-items: start;
  /* §3 already zeroes list margin/padding globally. Restated so the grid's
     alignment does not silently depend on a reset rule two hundred lines
     away that a future edit could scope differently. */
  margin: 0;
  padding: 0;
}

/* A Cotton plate on a Muslin band — the same move §12's tiles make, and the
   same reason they carry a hairline: Cotton on Muslin is a 1.4:1 edge that
   dissolves without one. --kit-card IS that hairline plus the seat shadow,
   so the card families on this site cannot drift apart one shadow at a time.

   The plate itself is unpadded: the summary row and the body copy carry the
   inset instead, so the whole closed card sits inside the button's hit area
   rather than around it. --value-pad is the ONE knob both of them read, which
   is why the breakpoints in §16 move a single declaration instead of four —
   and why the row and the copy can never come apart by half a rem.

   No cursor: pointer and no hover colour on the CARD — the plate is not the
   control. The button main.js builds inside the name is, and it carries the
   pointer, the focus ring and the plus/minus. */
.value-card {
  --value-pad: 1.4rem;
  padding: 0;
  border-radius: var(--kit-radius, 0.9em);
  background: var(--color-cotton);
  box-shadow: var(--kit-card);
  /* Antarctica caps at 0.15em tracking are wide; a narrow column plus a long
     value name is the one place a token could out-run its cell. */
  overflow-wrap: break-word;
}

/* The circle motif at card scale: a portal ring with its iris open. Base
   state is OPEN — no-JS and unscripted fetches never see the closed dot and
   never need to be told what it means. Only `html.js`, where the card really
   can be opened again, is ever shown the closed one (§9.3b). */
.value-card__ring {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border: 2.5px solid var(--kit-accent);
  border-radius: 50%;
}

.value-card__ring::after {
  content: '';
  position: absolute;
  inset: 0.3rem;
  border-radius: 50%;
  background: var(--kit-accent);
}

/* Antarctica is the only all-caps face and the face the brand uses for
   feature and value names. Its subset carries no digits, no ? and no ! — and
   no accents and no ñ, which is why the four ES names are written accent-free
   Spanish rather than translated: an accented name would fall back to Arial
   Narrow mid-word and nobody would see it in review.
   Overrides §3's h3 (Maison Neue Extended 600) wholesale. */
.value-card__name {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.35;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-rouge);
  margin: 0;
}

/* The ring-and-name row. Declared on BOTH the heading and the button because
   only one of them is ever the row: with no JS the <h3> lays its own children
   out; under .js main.js moves those children into the button and the heading
   becomes a plain block wrapper. Same geometry either way, which is the point
   — the upgrade must not move a pixel that is not the affordance. */
.value-card__name,
.value-card__toggle {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: var(--value-pad);
  /* Floor only: the ring is already 36px and the padding clears 44px on its
     own. Declared so a future padding trim cannot quietly break the target. */
  min-height: 44px;
}

/* …and once the button exists, the heading hands the row over. Without this
   the padding above would be paid twice, once by each element. Specificity
   (0,2,1) deliberately out-ranks the breakpoint overrides in §16, which set
   the row padding on the pair — so this holds at every width. */
html.js .value-card__name {
  display: block;
  padding: 0;
  min-height: 0;
}

/* The button is chrome main.js adds; everything here is a reset plus the one
   thing a button owes that a heading does not — a pointer and a full-width
   hit area. font: inherit keeps Antarctica; buttons do not inherit type. */
.value-card__toggle {
  width: 100%;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.value-card__toggle:focus-visible {
  outline: 2px solid var(--kit-accent);
  outline-offset: -3px;
  border-radius: var(--kit-radius, 0.9em);
}

.value-card__label {
  flex: 1 1 auto;
}

/* The plus/minus, drawn as two gradient bars in ONE pseudo-element — the same
   affordance the FAQ draws (§9.8), same construction, same reason: it must
   not add a text run to the button's accessible name.
   THE RESTING OPACITY IS CONTRAST-CALCULATED, not taste. currentColor is
   Rouge; at 0.55 over Cotton it composites to rgb(162,133,133) = 3.37:1, which
   still clears the 3:1 a UI component owes under 1.4.11 — this mark is the
   only thing telling a visitor a closed card has more inside it, so it cannot
   be dimmed one notch further. Open takes it to 1 (12.9:1). */
.value-card__toggle::after {
  content: '';
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2.5px 100% no-repeat;
  opacity: 0.55;
  transition: background-size 0.3s var(--ease-out-soft), opacity 0.3s ease;
}

/* THE BODY'S INSET IS MARGIN ON THE PARAGRAPHS, NEVER PADDING ON A BOX THAT
   COLLAPSES. A 0fr grid track zeroes its item's CONTENT height and nothing
   else: padding survives the collapse and leaves a strip of empty card under
   every closed title (measured at 25.6px before this was margin). Margins on
   the children are clipped away with the children, so a closed card is exactly
   its summary row tall. Whatever else moves in here, that stays true.

   Full-strength Rouge on Cotton on both paragraphs: this is a punchline and
   its follow-through, not fine print, so the 0.7 de-emphasis floor never comes
   into play — and the copy is only on screen because someone asked for it. */
.value-card__line {
  margin: 0 var(--value-pad);
  font-family: var(--font-body-extended);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--color-rouge);
}

/* --kit-line is Rouge at 0.14 — decorative only, never a text colour. The
   hairline sits on __more rather than on the body: __more is the only thing it
   ever divides, and inset by the same margin it lands inside the card's edges
   instead of running the full width of the plate. */
.value-card__more {
  margin: 0.9rem var(--value-pad) var(--value-pad);
  padding-top: 0.9rem;
  border-top: 1px solid var(--kit-line);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-rouge);
}


/* ---- 9.3b The disclosure ---- */

/* Name at rest, copy on hover or on press. Gated entirely on `html.js`: the
   collapse below and the button in §9g of main.js are one feature, and CSS
   that could hide the copy without the button existing is the one failure
   mode this section cannot have. Both ways in — the fine-pointer hover and
   the press — resolve to the same .is-open class, written by that same §9g.

   THE COLLAPSE IS A 0fr GRID ROW, NOT display:none. PLAN §5.3 requires the
   revealed copy to be real, rendered DOM text — an unscripted fetch and an AI
   crawler must read the same four sentences a visitor does. Anything that
   removes the box (display:none, hidden, content-visibility) breaks that
   contract, and it is the whole reason this is a height collapse and not the
   simpler thing.

   The inner element is not decoration either: the 0fr→1fr transition only
   works if the track's single child is allowed to be smaller than its content
   (min-height: 0) and clips (overflow: hidden). A browser that cannot
   interpolate the fr track snaps open instead — a fine failure. */

html.js .value-card__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.4s var(--ease-out-soft), opacity 0.3s ease;
}

html.js .value-card__body-inner {
  min-height: 0;
  overflow: hidden;
}

/* ONE open state, and aria-expanded always names it. Hover is not a second
   CSS state here: main.js writes .is-open on mouseenter for fine pointers too
   (§9g), so the visual and the exposed state can never disagree — and a click
   that closes a card the cursor is still sitting on actually closes it, which
   a `:hover` rule would silently override. */
html.js .value-card.is-open .value-card__body {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* Plus → minus: the vertical bar collapses from the centre out. Both layers
   must be restated — background-size is a comma list matched to the image
   list, and a single value would repeat onto the horizontal bar and collapse
   the whole mark to nothing. */
html.js .value-card.is-open .value-card__toggle::after {
  background-size: 100% 2.5px, 2.5px 0;
  opacity: 1;
}

/* The iris closes to a dot at rest and opens with the card. Scale on a
   pseudo-element only: no layout, no repaint of the ring itself. */
html.js .value-card__ring::after {
  transform: scale(0.32);
  transition: transform 0.4s var(--ease-out-soft);
}

html.js .value-card.is-open .value-card__ring::after {
  transform: scale(1);
}

html.js.pointer-fine .value-card {
  /* Restating §14's reveal pair is not redundancy. `transition` is a
     shorthand and this selector outranks `.js [data-animate]`, so a list
     naming only translate/box-shadow would silently delete the fade-and-rise
     and the card would snap into view on scroll. */
  transition: opacity 0.6s ease-out,
              transform 0.6s ease-out,
              translate 0.3s var(--ease-out-soft),
              box-shadow 0.3s ease;
}

/* The lift is `translate`, not `transform`. [data-animate] owns this
   element's transform — §14 writes translateY(20px) at rest and none once
   visible — so a hover rule writing transform would fight the reveal for one
   property and whichever won would break the other. The independent translate
   property composes with transform instead of replacing it. A browser without
   it simply does not lift, which is a fine failure. */
html.js.pointer-fine .value-card:hover,
html.js.pointer-fine .value-card:focus-within {
  translate: 0 -0.35rem;
  box-shadow: inset 0 0 0 1px var(--kit-line),
              0 0.85em 1.9em rgba(85, 33, 33, 0.18);
}

/* ---- PHASE 3 — SOLUTION ---- */

/* ---- 9.4 THE SOLUTION — the answer, shown ---- */

/* Cotton ground, so §12.0's accent flip does not reach here: --kit-accent
   stays Poppy for the label ring, the heading rule, the avatar disc and the
   reply bubble's ring — all graphic marks on Cotton, all approved. The one
   piece of Poppy *text* is the punchline, and it is sized to qualify (see
   below). The Rouge reply bubble around a Cotton .outfit-card is a
   full-contrast pairing, and the card re-opens Poppy for its own ring
   because that ring lands on the card's Cotton, not on the bubble — §12.0
   already does that; nothing here overrides it.
   Nothing in this section animates from CSS of its own: the thread is
   [data-chat], the tiles are [data-animate], and both already hand-resolve
   for no-JS and reduced motion. That is why there is no @@REDUCED block —
   this section introduces no state class and no engine-written custom
   property to resolve. */

.solution__inner {
  display: grid;
  gap: 2.25rem;
}

/* The grid gap owns the rhythm between intro, thread and close; §4's
   heading margin would stack a second, uneven one on top of it. */
.solution__intro .section-heading {
  margin-bottom: 0;
}

/* The reply is the only bubble carrying a mockup instead of a sentence.
   §13.4's 78% cap is sized for text: on the 350px thread of a 390px phone it
   leaves the outfit grid about 190px, i.e. four ~40px tiles. 86% is the
   widest that still clears the 34px avatar and its 10px gap without leaning
   on flex-shrink to rescue it (0.86 * 350 + 44 = 345 <= 350). The 460px
   ceiling stops the answer becoming a full-width panel on desktop, where a
   bubble that wide stops reading as a message at all. */
.solution__thread .chat-bubble--reply {
  max-width: min(86%, 460px);
}

/* The look, at message scale. --kit-fs is the kit's single scale knob
   (§12 note 1), so dropping it from 1.25rem re-sizes the card's padding,
   label, title and tiles together instead of one metric at a time.
   Four columns rather than the kit's default three: the four pieces read as
   one strip — a look — and the [data-animate] stagger then runs left to
   right across it. A 2x2 grid would spend ~200px more page on the same
   information and double the jump when the typing indicator swaps out. */
.solution__outfit {
  --kit-fs: 1rem;
  --outfit-cols: 4;
  margin-top: 0.875rem;
}

/* Weight 600, and the weight is the point. This was the ONLY element on either
   home page computing Maison Neue Extended at 400 — 55 characters of it — and
   that one paragraph pulled maisonneueextended-book.woff2, 39.8 KB, on a
   pre-FCP round trip, at 723 bytes per rendered character. Every one of the 59
   other Extended nodes on the page is already 600 and served by the demi file
   that is loaded regardless. 600 is inside the face's authored range in
   CLAUDE.md's type table, so this is the system's own answer, not a compromise.
   The @font-face for book stays: .legal-page__lead is a real 400 consumer. */
.solution__lead {
  font-family: var(--font-body-extended);
  font-weight: 600;
  line-height: 1.5;
  max-width: 32ch;
}

/* The punchline, set in Maison Neue Extended rather than Feature Deck. The
   ES beat is "Vístete." and the Feature Deck subset carries no accents at
   all, so that í would silently fall back to Georgia mid-word; rewriting the
   line to dodge the glyph would cost the three-beat imperative that IS the
   punchline. Maison Neue Extended is unrestricted and is CLAUDE.md's named
   home for punchlines, so both languages are set in it and the two pages
   stay one design.
   Poppy on Cotton is a LARGE-TEXT-only pairing: at 600 weight the threshold
   is 18.67px and this clamp floors at 28px, so it qualifies at every
   viewport. Never lower the floor. */
.solution__punchline {
  margin-top: 1.25rem;
  font-family: var(--font-body-extended);
  font-weight: 600;
  font-size: clamp(1.75rem, 2.6vw + 1rem, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-poppy);
}

/* One beat per line, each landing on its own: [data-animate] siblings
   auto-stagger 100ms in the engine, and that stagger is the whole reveal.
   display: block is also what makes the primitive's translateY take at all —
   an inline span ignores transforms. The whitespace between the beats is
   collapsible and sits between block boxes, so it renders nothing; the three
   sentences stay three sentences to a screen reader and to copy/paste. */
.solution__beat {
  display: block;
}

/* The toss: pieces land slightly askew, then square up — chaos→clarity in
   half a second. Independent `rotate`, NEVER transform: §14 owns the tiles'
   transform and §12.5 bans resting transforms (FLIP writes inline ones).
   :where() keeps the nth variants at base specificity so .is-visible and
   the §15 twin stay strongest. The transition restates §14's shorthand,
   rotate 0.15s longer: tiles arrive, then settle. */
.js .solution__outfit .outfit-tile[data-animate] {
  rotate: -2.5deg;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out,
              rotate 0.75s var(--ease-out-soft);
}

.js .solution__outfit .outfit-tile[data-animate]:where(:nth-child(2n)) {
  rotate: 3deg;
}

.js .solution__outfit .outfit-tile[data-animate]:where(:nth-child(3)) {
  rotate: -1.5deg;
}

.js .solution__outfit .outfit-tile[data-animate].is-visible {
  rotate: 0deg;
}

/* ---- The remix control ---- */

/* Real user agency: reorder the four pieces via the engine's FLIP shuffle
   (§8). Quiet sentence-case Maison Neue — a secondary action that never
   competes with the store pills; the ring is the circle motif as an
   affordance. Ships `hidden`; main.js reveals it only once the shuffle
   works, so no-JS never renders a dead control. */
.solution__remix {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  justify-self: start;
  padding: 0.4rem 0.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-rouge);
  transition: opacity var(--transition-default);
}

.solution__remix::before {
  content: '';
  width: 0.85em;
  height: 0.85em;
  flex-shrink: 0;
  border: 0.16em solid var(--kit-accent);
  border-radius: 50%;
}

.solution__remix:hover {
  opacity: 0.8;
}

.solution__remix:focus-visible {
  outline: 2px solid var(--kit-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Appears only once the reply it remixes has — a live button over an
   invisible target reads as broken. Same @supports shape as the hero
   dissolve: rest state and reveal share one gate, so a no-:has() browser
   shows the button from init, never a stranded control. visibility keeps it
   out of the tab order; fast-forward and reduced motion land .is-shown
   without .is-typing, so the button is immediate there. */
@supports selector(:has(*)) {
  html.js .solution__remix {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s;
  }

  html.js .solution__thread:has(.chat-row--portal.is-shown:not(.is-typing)) + .solution__remix {
    opacity: 1;
    visibility: visible;
  }
}

/* ---- PHASE 3 — INSIDE ---- */

/* ---- 9.5.1 Inside Portal — the five feature bands ---- */

/* PLAN §5.5, ~85% product visual: label + one punchline + a real screenshot,
   five times. There is no scene and no chat here on purpose — the delivered
   captures are the argument, so the section is static-first and the only
   moving part is the generic [data-animate] reveal (§14), which already has
   its no-JS and reduced-motion resolutions. Nothing below needs a .js gate.

   The bands sit OUTSIDE the section's container and carry their own, because
   two of them paint Cotton: a Cotton ground that stopped at the container
   edge would read as a card floating on Butter, not as a band. */

.inside__intro .section-heading {
  /* The first band's own top padding owns this gap. Leaving §4's 2.5rem in
     place would stack the two into a hole above CLOSET. */
  margin-bottom: 0;
}

.inside__bands {
  margin-top: 2.5rem;
}

.inside__band {
  padding: 2.5rem 0;
}

/* Bands 2, 4 and 6 (Portal Stylist, Fit Checks, Community). Band 2 used to be
   Cotton by necessity rather than rhythm — it carried an opaque near-white
   pre-framed composite whose own ground punched a rectangular hole in a Butter
   band. The 2026-08-10 swap put a raw capture inside the CSS frame, so the
   Rouge bezel now contains that ground and only alternation holds the ground
   in place. Everything follows from strict
   alternation — WHICH IS WHY THE MODIFIER SET MOVED WHEN FITTING ROOM WAS
   INSERTED AT POSITION 3. The pattern is positional, not per-feature: bands
   1/3/5 show the section's Butter, 2/4/6 paint Cotton, and adding or removing
   a band re-points every modifier after it. Pasting a seventh band on the end
   without re-flowing leaves two Cotton bands touching.
   Both grounds carry Poppy legally (3.58:1 on Butter, 4.26:1 on Cotton,
   against the 3:1 non-text floor), so --kit-accent does not flip here — which
   is exactly why every mark below still reads the knob instead of naming
   Poppy: if a band is ever restyled onto Muslin or Rose, the flip is already
   wired and nobody has to remember this paragraph. */
.inside__band--cotton {
  background: var(--color-cotton);
}

/* An even number of bands means the last one paints Cotton, and the section's
   own bottom padding then shows as a Butter strip between that band and the
   Rose set piece below — a ground nobody chose, reading as a gap rather than
   as the end of the section. The last band's own 4.5rem of padding is the
   breathing room. Revisit this the day the band count goes back to odd. */
.inside {
  padding-bottom: 0;
}

/* 30rem ≈ 480px: a no-op at 390px (the container is narrower), a line-length
   brake on the stacked tablet layout, and the copy column's measure at
   desktop. Deliberately not sized in ch — ch resolves against this block's
   own body font, which would set the measure from the wrong face. */
.inside__copy {
  max-width: 30rem;
}

/* The canonical taxonomy names. They are product names and stay in English on
   both pages; Antarctica Expanded is the face the brand sets them in and the
   only all-caps face it has. The source is sentence case with the caps applied
   by CSS, so a screen reader is never handed a shouted string — and the
   strings are letters and spaces only, which is all the 60-glyph subset
   guarantees (no digits, no ? or !, no U+00A0). */
.inside__feature {
  font-family: var(--font-label);
  font-weight: 700; /* only 500/700 Antarctica cuts are loaded */
  font-size: clamp(0.9rem, 0.6vw + 0.75rem, 1.0625rem);
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--color-rouge);
}

/* The feature names carry no ring. The circle motif still runs through the
   site (§12.5 outfit-card labels, the iris reveals, the logomark O) — but at
   band scale it read as a bullet in front of the taxonomy name rather than as
   the portal, so it came off here the way §4's section eyebrow already had. */

/* The punchline is the display type of the band; the feature name stays a
   label. Rouge on Butter and on Cotton are both full-contrast pairings, so
   this needs no per-band variant. */
.inside__line {
  margin-top: 0.75rem;
  font-family: var(--font-body-extended);
  font-weight: 600;
  font-size: var(--text-h3);
  line-height: 1.3;
  color: var(--color-rouge);
}

/* The Fitting Room band only. Every other band's visual is a photograph of the
   product and needs no gloss; that band's is the §12.9 mockup, which is
   aria-hidden, so the capability has to be stated in text somewhere or the
   band claims nothing a crawler or a screen reader can read. Subordinate to
   the punchline by size and dim, never below it: 0.75 Rouge over Butter
   composites to ~5.5:1, clear of the 4.5:1 floor for body text. */
.inside__support {
  margin-top: 0.75rem;
  max-width: 30ch;
  color: var(--color-rouge);
  opacity: 0.75;
}

/* One knob per band instead of a rule per phone: §12.1 sizes the frame from
   --phone-w, and the feed band needs two narrow frames where the others need
   one wide one. Routing both through an inherited variable means the
   breakpoints below re-tune sizes without a specificity ladder between
   `.inside .phone` and `.inside__feed .phone`. */
.inside__visual {
  --inside-phone-w: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.inside__visual--feed {
  --inside-phone-w: 175px;
}

/* 0,2,0 beats §12.1's `.phone`, so the merge position of this block cannot
   change the frame size. The fallback keeps the frame at its authored width
   if a future band forgets the knob. */
.inside .phone {
  --phone-w: var(--inside-phone-w, 260px);
}

/* The pre-framed composite matches the phone's outer width rather than its
   screen width: the composite's own bezel occupies the same place as the
   frame's padding, so equal DEVICE widths make bands 1-5 read as one set.
   The knob sizes the whole image, and the crop leaves a hairline of the
   composite's own ground on each side — the drawn device is 788 of 856px,
   0.92 — so divide it back out. Re-crop the asset and this factor moves
   with it. */
.inside__visual .device-shot {
  --device-w: calc(var(--inside-phone-w, 260px) / 0.92);
}

/* Parallax consumers (§13.7 contract: fallback mandatory). [data-par] rides
   the frame / the footer wordmark themselves, never a [data-animate]
   wrapper — §14 owns that transform, and two owners of one property
   silently fight. §15 zeroes --par, so this is translateY(0) everywhere
   motion is unwelcome. The wordmark's travel budget is §10's margin. */
.js .inside__visual .phone,
.js .inside__visual .device-shot,
.js .site-footer__giant-img {
  transform: translateY(var(--par, 0px));
}

/* ---- Fit Checks flourish: the detected-item chips ---- */

/* The chips name what Portal read out of the fit — the whole point of a Fit
   Check — so this is the one flourish the section gets, and it lives in the
   copy column rather than beside the frame. Beside it, it does not fit: the
   desktop grid column is 440px at 1024px, and 260px of device plus a plate
   wide enough for "White denim shorts" is not 440px. In the copy column it has
   30rem of measure at every breakpoint and fills the space two short lines
   leave against a full-height device.

   The plate is 22rem and the list wraps, so a long chip costs a row rather
   than an overflow — but a chip that wraps *inside its own pill* reads as
   broken. At 0.56em of 1.45rem with 0.15em tracking, ~18 caps is the ceiling
   at 390px; that is why ES says "Shorts blancos" and not
   "Shorts vaqueros blancos" (the alt text carries the full description).

   It has to sit on its own Cotton plate: .fit-chip is Rouge on Butter, and on
   the Butter band the chips would dissolve into the ground and read as a
   stray line of caps rather than as chips. */
.inside__chips {
  /* One scale knob for the plate. .fit-chip sizes its type at 0.56em, so
     1.45rem lands the caps at ~13px — small text, where Rouge on Butter is a
     full-contrast pairing at any size. */
  margin-top: 1.75rem;
  font-size: 1.45rem;
  max-width: 22rem;
  padding: 0.7em;
  border-radius: var(--kit-radius, 0.9em);
  background: var(--color-cotton);
  box-shadow: var(--kit-card);
}

.inside__chips-label {
  display: block;
  margin-bottom: 0.55em;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.55em;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-rouge);
  opacity: 0.7; /* the contrast-calculated floor: Rouge on Cotton ≈ 5.2:1 */
}

.inside__chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
}

/* ---- Community: two phones as one feed ---- */

/* The second frame slides behind the first and drops — the feed carrying on
   past the first post. Negative margin rather than absolute positioning, so
   the pair still measures as a single box: at 390px the two 175px frames plus
   the -2.5rem overlap come to 310px inside a 350px container, and there is no
   way for an absolutely-positioned twin to escape it. */
.inside__feed {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.inside__feed .phone:first-child {
  z-index: 1; /* .phone is already positioned, so this is enough to stack */
}

.inside__feed .phone + .phone {
  margin-left: -2.5rem;
  margin-top: 2.5rem;
}

/* ---- PHASE 3 — OWN ---- */

/* ---- 9.6a Own What You Own — one piece, five ways ---- */

/* Rose ground. §12.0 has already re-pointed --kit-accent and --kit-glow to
   Rouge for everything inside .own, and the five .outfit-card plates re-open
   Poppy for their own rings because they paint Cotton. Nothing in this
   section names a colour; the ground decides.

   The poster radius is bigger than the 34vmin default because there is no
   clip circle here at all — .scene__portal and .scene__ring are absent from
   the markup, so --scene-poster-r is unused. Left unset deliberately: a value
   here would only mislead the next reader into looking for a portal. */
.own__layer {
  display: grid;
  gap: 2rem;
  align-content: safe center;
}

.own__copy {
  max-width: 34rem;
}

.own__body {
  margin-bottom: 1rem;
}

/* The punchline the section is named for. Maison Neue Extended, not Feature
   Deck: the ES twin is "Portal ve posibilidades donde tú ves…" and that "ú"
   does not exist in the 74-glyph headline subset. */
.own__punch {
  font-family: var(--font-body-extended);
  font-weight: 600;
  font-size: var(--text-h3);
  line-height: 1.3;
}

/* ---- The three beats ---- */

/* In the poster the beats read as a row, one after another, because all three
   are simply present. Under a live scrub they occupy ONE grid cell and swap:
   "1 piece." holds to 0.58, "5 ways." to 0.80, then the payoff. The layout
   mode is switched only where the cues actually fire, so no-JS, reduced
   motion and short viewports never get three sentences stacked on each other.
   Both halves of that switch are stated — see the §15 twin. */
.own__beats {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
  margin-top: 1.75rem;
}

.js .scene--scrub .own__beats {
  display: grid;
  /* One row, one column: every beat lands in the same cell. minmax(0,auto)
     lets the tallest beat size it, so the copy below never jumps as they
     swap. */
  grid-template: minmax(0, auto) / 1fr;
}

.js .scene--scrub .own__beat {
  grid-area: 1 / 1;
}

/* Feature Deck carries digits 0-9 — Antarctica does NOT, and "1 piece." in a
   label face would drop its numeral to Arial Narrow mid-phrase. Neither beat
   carries an accent in either language, which is the other half of the same
   constraint. Sentence case: headings are never all-caps on this site. */
.own__beat {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--color-rouge);
}

.own__beat--final {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}


/* ---- 9.6b The radial bloom ---- */

/* Mobile and poster layout FIRST, and it is a real design rather than a
   fallback: main.js §5 measures the pinned stage and refuses to arm any scene
   whose composition does not fit inside it, so on a short phone this is the
   only thing anyone ever sees. Hero piece on its own line, then the five looks
   as a plain grid. §16 compacts this arrangement for the phone scrub, which
   has one viewport to hold copy AND bloom; the poster grows with its content
   and keeps the roomier two columns. */
.own__radial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}

.own__hero {
  grid-column: 1 / -1;
  display: block;
  justify-self: center;
  width: min(46%, 9.5rem);
  /* The crown ring below positions against the hero seat at every
     breakpoint; from 1024px the seat is absolute anyway. */
  position: relative;
}

.own__hero-inner {
  display: block;
}

/* The crown: at the final beat a Rouge ring circles the one piece — the
   motif landing on the user's own clothes. Positioner/cue split per the
   section note: this wrapper owns the centring transform, the cue inside
   takes the engine's opacity/rise. --kit-accent is already Rouge on Rose.
   Base state = ring present: that IS the finished frame, so poster, no-JS
   and reduced motion need nothing else. */
.own__crown {
  position: absolute;
  left: 50%;
  top: 50%;
  /* 150% below the desktop radial: the ring crosses the card's corners like
     a piece circled by hand and — load-bearing — stays inside the hero's
     grid row, so it never crosses the beats copy or the look cards on
     stacked layouts. The 1024px block widens it past the diagonal. */
  width: 150%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  /* Dimmed on the POSITIONER, not the cue: the engine drives the cue's own
     opacity 0→1 (§13.3/§14), and a value here would be overwritten there. */
  opacity: 0.55;
}

.own__crown-ring {
  display: block;
  width: 100%;
  height: 100%;
  border: 2.5px solid var(--kit-accent);
  border-radius: 50%;
}

/* One tile, not three — the centre of the bloom is the single piece every
   look around it is built from. Routing it through .outfit-card rather than
   drawing a plate by hand also picks up §12.0's Cotton-surface rule for free:
   Poppy ring, Rouge ink, instead of inheriting the Rose band's Rouge accent
   and looking unlike the five cards around it. */
.own__card--hero .outfit-grid {
  --outfit-cols: 1;
}

.own__look {
  display: block;
}

.own__look-inner {
  display: block;
}

/* THE POSTER BLOOM. Where the scene cannot pin — which on a phone is the
   normal case, not the fallback — the five looks still have to arrive one
   after another. A flat simultaneous fade is not this section: the bloom IS
   the Portal moment here, and "1 piece → 5 ways" only reads if the ways
   actually arrive in turn.
   §14's reveal supplies the fade; only the ordering is missing, and §9e's
   sibling stagger cannot supply it — it counts [data-animate] elements sharing
   a PARENT, and each cue sits alone inside its own seat. (The cue cannot move
   up to the seat: §14 writes `transform`, and from 1024px the seat's transform
   is what places it on the radial. Same seat/cue split the markup warns about,
   one rule further out.)
   Authored off the seat classes instead, and scoped to the poster — a delay on
   a live scrub's cue would lag it behind the scroll position that fired it. */
.js .own:not(.scene--scrub) .own__look--1 .own__look-inner { transition-delay: 0.12s; }
.js .own:not(.scene--scrub) .own__look--2 .own__look-inner { transition-delay: 0.24s; }
.js .own:not(.scene--scrub) .own__look--3 .own__look-inner { transition-delay: 0.36s; }
.js .own:not(.scene--scrub) .own__look--4 .own__look-inner { transition-delay: 0.48s; }
.js .own:not(.scene--scrub) .own__look--5 .own__look-inner { transition-delay: 0.60s; }

/* .outfit-card is a <span> here, not a <div>: the whole radial is inside an
   aria-hidden decorative wrapper and phrasing content keeps it legal inside
   the <span> seats. §12's rule is class-based, so the box it paints is
   identical — only `display` has to be restated. */
.own__card {
  --kit-fs: 0.75rem;
  display: block;
}

/* ---- PHASE 3 — PERSONALIZATION ---- */

/* ---- 9.7a Personalization — the "this feels like me" payoff ---- */

.personalization__inner {
  display: grid;
  gap: 2.5rem;
}

.personalization__copy {
  max-width: 34rem;
}

/* The four signals. Sentence-cased Maison Neue Extended rather than the label
   face: they are short sentences with full stops, not labels, and Antarctica
   would set them in all caps at 0.15em tracking and turn a list of small
   observations into shouting. */
.personalization__signals {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.personalization__signal {
  font-family: var(--font-body-extended);
  font-weight: 600;
  font-size: var(--text-h3);
  line-height: 1.35;
  color: var(--color-rouge);
}

/* ---- The morph ---- */

/* Maison Neue Extended at display size, NOT Feature Deck. The ES outgoing
   line is "Aquí tienes unos outfits." and the headline subset has no "í" —
   it would drop one character of a four-word line into Georgia, which is
   exactly the failure nobody catches in review. Extended is a wide grotesk at
   499 glyphs, so it carries the whole language and still reads as display
   type at this weight and size.

   Both phases share one grid cell (§13.5), so the closing line below never
   moves while the morph runs. The cell is sized by the longer phase — here
   the outgoing one — which is why the incoming line is the shorter of the
   two and the block never grows. */
.personalization__morph {
  font-family: var(--font-body-extended);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.6vw + 0.6rem, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-rouge);
}

/* The close. Feature Deck this time, and both languages are written inside
   its 74-glyph inventory on purpose: "You know what you like. Now look like
   it." and "Ya sabes lo que te gusta. Ahora que se note." — no accents, no
   eñe, nothing the face cannot draw. Rewriting the Spanish to fit the face
   was the correct move; accepting a fallback would not have been. */
.personalization__final {
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw + 0.5rem, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-poppy);
  max-width: 18ch;
}

/* ---- PHASE 3 — FAQ ---- */

/* ---- 9.8b FAQ — the accordion ---- */

/* Native <details>/<summary> and nothing else: the toggle, the keyboard
   contract and the exposed expanded state all come from the platform, so this
   section behaves identically with JS on, JS off and reduced motion. That is
   not a nicety here — the FAQ is the block AI crawlers and the FAQPage graph
   read, and it is the one place where a scripted accordion would hide half
   the page's answers from an unscripted fetch.

   Everything below is therefore layout, ink and one drawn affordance. The
   only state in the section is the native [open] attribute; §15 has nothing
   to hand-resolve except two decorative timings. */

.faq__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

/* Grid items are min-width: auto by default, so one unbreakable run — the
   support address, the bare URL in the Spanish answer — would size the column
   wider than the container and take the whole page into horizontal scroll at
   390px. The column is allowed to be narrower than its content instead; the
   content wraps (see .faq__a). */
.faq__body {
  min-width: 0;
}

/* The head block is label + heading + one punchline. §4 gives .section-heading
   a 2.5rem bottom margin because it usually ends a header; here the rule under
   it is followed by the sub, which would otherwise float loose. */
.faq__head .section-heading {
  margin-bottom: 1.25rem;
}

.faq__sub {
  font-family: var(--font-body-extended);
  font-weight: 600;
  font-size: var(--text-body);
  color: var(--color-rouge);
  max-width: 28ch;
}

/* Hairlines on the list AND on every item, so the first and last rows are
   closed rather than bleeding into the band. Rouge at 0.24 over Muslin is
   rgb(182,165,162) ≈ 1.5:1 — deliberately decorative. It is safe that low
   because the divider is not the affordance: the plus below is full-strength
   Rouge, and that is the mark 1.4.11 measures. */
.faq__list {
  border-top: 1.5px solid rgba(85, 33, 33, 0.24);
}

.faq__item {
  border-bottom: 1.5px solid rgba(85, 33, 33, 0.24);
}

/* Maison Neue Extended, NOT Antarctica. Every question ends in "?" and the
   Antarctica subset (61 glyphs) has no question mark — the label face would
   silently drop the single character that makes the line a question, in both
   languages, and the Spanish set would also lose ¿ and every accent. Nothing
   in this section may use --font-label. */
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 0;
  /* Floor only: the padding plus a 1.4 line already clears 44px at every
     size. Declared so a future padding trim cannot quietly break the target. */
  min-height: 44px;
  font-family: var(--font-body-extended);
  font-weight: 600;
  font-size: clamp(1.0625rem, 1vw + 0.75rem, 1.25rem);
  line-height: 1.4;
  color: var(--color-rouge);
  cursor: pointer;
  /* Firefox draws the disclosure triangle through list-style; Safari through
     its own pseudo-element, which ignores list-style entirely. Both are
     needed — dropping either ships a stray marker on one engine only. */
  list-style: none;
  transition: opacity var(--transition-default);
}

.faq__q::-webkit-details-marker {
  display: none;
}

/* 0.8 is the floor, not a taste call: 80% Rouge over Muslin composites to
   rgb(111,68,67) ≈ 5.3:1 against the band, so a hovered question still clears
   AA as normal text. The 0.72 dimming floor quoted elsewhere in this file is
   the Muslin-on-Rouge one and does NOT transfer — Rouge on Muslin at 0.72
   lands at 4.3:1 and fails. */
.faq__q:hover {
  opacity: 0.8;
}

.faq__q:focus-visible {
  outline: 2px solid var(--kit-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* The plus/minus, drawn as two gradient bars inside ONE pseudo-element rather
   than a <span> carrying ::before and ::after. That is a mirror-rule
   constraint, not a purity one: an extra element inside <summary> puts a
   second text run in the question, and Phase 4 lifts each summary into the
   FAQPage graph as a single quotable string.

   currentColor keeps the mark and the question in lockstep, including through
   the hover dim above. It resolves to Rouge — never Poppy, which is 2.75:1 on
   Muslin. This is the section's only expand/collapse affordance, so it is a UI
   component under 1.4.11 and owes a real 3:1; Rouge on Muslin is 8.3:1. */
.faq__q::after {
  content: '';
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  /* Two-stop gradients rather than the terser `currentColor 0 0` double-stop
     syntax: that shorthand needs Firefox 83+, and an unsupported value voids
     the whole background declaration — which would drop the affordance
     entirely, not just its styling. */
  background:
    linear-gradient(currentColor, currentColor) center / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) center / 3px 100% no-repeat;
  transition: background-size 0.3s var(--ease-out-soft);
}

/* Plus → minus: the vertical bar collapses from the centre out.
   Both layers must be restated. background-size is a comma list matched to
   the background-image list, and a single value would be repeated onto the
   horizontal bar too — collapsing the whole indicator to nothing instead of
   turning it into a minus. */
.faq__item[open] > .faq__q::after {
  background-size: 100% 3px, 3px 0;
}

.faq__a {
  padding: 0 0 1.5rem;
  max-width: 62ch;
  line-height: 1.7;
  color: var(--color-rouge);
  /* Answers quote a bare URL and an email address; on a 320px screen either
     is wider than the column. Break them rather than overflow the page. */
  overflow-wrap: break-word;
}

/* Answer links take the ground-aware accent for the same reason .arrow-link
   does — inside .faq it is already Rouge (§12.0), so no per-ground override
   lives here and none can be forgotten if the band ever changes. */
.faq__a a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--kit-accent);
}

.faq__a a:hover {
  text-decoration-thickness: 2px;
}

.faq__a a:focus-visible {
  outline: 2px solid var(--kit-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* The panel arrives instead of snapping into place. Deliberately NOT gated
   behind .js: it is triggered by the user's own click and its final frame is
   the visible one, so an unscripted page can never be left holding an
   invisible answer — which is the only thing the .js gate exists to prevent.
   fill-mode `both` matters: without it the first frame paints at full opacity
   before the animation takes over, and the panel flashes. */
.faq__item[open] > .faq__a {
  animation: faq-answer-in 0.28s var(--ease-out-soft) both;
}

@keyframes faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.faq__still {
  margin-top: 1.75rem;
  color: var(--color-rouge);
}

/* ---- 9.8c The marquee — the Poppy band ---- */

/* Brand lines between FAQ and the close — the Muslin → Poppy → Rouge
   crescendo. SCROLL-DRIVEN, not an autoplaying loop: main.js §4b maps
   scroll to --mq, so the strip moves only while the visitor does — still by
   default, reversible, no 2.2.2 pause control owed. At rest (no JS, reduced
   motion, not scrolling) the track sits at 0, first run whole.
   Cotton on Poppy is large-text-only: the clamp floors at 1.35rem bold
   (21.6px), over the 18.67px threshold — never shrink it. Antarctica
   strings are letters, spaces and ’ only (no digits, accents, ? or ! in the
   subset — the ES band is accent-free Spanish for this reason). Duplicate
   runs are aria-hidden byte-twins for the wrap. The clip is this element's
   own overflow — nothing sticky inside (§5). */
.marquee {
  padding: 1.4rem 0;
  background: var(--color-poppy);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  transform: translateX(var(--mq, 0px));
}

/* Each run carries its own trailing space (padding, not track gap), so the
   engine's per-run measurement IS the exact wrap period. */
.marquee__run {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  margin: 0;
  padding-right: 2.75rem;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.2vw + 1rem, 2rem);
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-cotton);
  white-space: nowrap;
}

/* The motif as separator — drawn, because no middle-dot glyph exists in the
   Antarctica subset. */
.marquee__dot {
  width: 0.55em;
  height: 0.55em;
  flex-shrink: 0;
  border: 0.13em solid var(--color-cotton);
  border-radius: 50%;
  opacity: 0.85;
}

/* ---- PHASE 3 — FINAL-CTA ---- */

/* ---- 9.9a Final CTA — the cinematic close ---- */

/* §9.9 already gives the section its Rouge ground, its 85svh floor, the
   centred flex container and the Cotton/Muslin type colours. Everything here
   is the pacing and the circle motif. */

.final-cta__beat {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* The pause the brief asks for, bought in CSS. Each beat wrapper holds
   exactly ONE [data-animate] child, so main.js §9e writes no inline
   transition-delay (it only staggers when a parent has more than one), and
   these delays are the only ones in play. Zeroed in §15 — the blanket rule
   at the top of that block flattens transition-DURATION, never delay, so
   without an explicit entry a reduced-motion visitor would sit in front of a
   blank Rouge screen for 1.5s waiting for the buttons. */
.js .final-cta__beat--turn [data-animate] {
  transition-delay: 0.6s;
}

.js .final-cta__beat--tagline [data-animate] {
  transition-delay: 1.1s;
}

.js .final-cta__beat--stores [data-animate] {
  transition-delay: 1.5s;
}

/* The two halves of the turn land as two lines at every width — the pause is
   between the question and the turn, not inside it, so these stay one h2 and
   one reveal. inline-block rather than block so the words still form one
   sentence for selection and for the accessibility tree. */
.final-cta__line {
  display: inline-block;
}

/* ---- The circle motif ---- */

/* The Portal moment, closing the page: a ring opening behind the question.
   The BASE state is the finished one — an unscripted page never gets
   .is-visible, so a rest state outside the .js gate would leave the ring
   collapsed forever. Poppy on Rouge is an approved graphic pairing; it is
   held at 0.5 so it reads as atmosphere behind Muslin type rather than
   competing with it. */
.final-cta__question {
  position: relative;
}

.final-cta__question::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12em;
  height: 12em;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid var(--color-poppy);
  opacity: 0.5;
  pointer-events: none;
}

.js .final-cta__question::before {
  transform: translate(-50%, -50%) scale(0.25);
  opacity: 0;
  transition: transform 1.1s var(--ease-out-soft), opacity 0.9s ease;
}

.js .final-cta__question.is-visible::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.5;
}


/* ============================================
   10. FOOTER — THE COLOPHON
   ============================================ */

.site-footer {
  background: var(--color-rouge);
  padding: 3.5rem 0 0;
  border-top: 4px solid var(--color-poppy);
  overflow: hidden;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.site-footer__logo {
  height: 28px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 1px 3px rgba(43, 16, 16, 0.35));
}

.site-footer__tagline {
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--color-muslin);
  margin-top: 0.75rem;
}

/* Butter on Rouge — full-contrast pairing; Rose never carries text. */
.site-footer__nav-label {
  display: block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-butter);
  margin-bottom: 1rem;
}

.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.site-footer__nav a {
  font-size: var(--text-small);
  color: var(--color-muslin);
  transition: color var(--transition-default);
}

.site-footer__nav a:hover {
  color: var(--color-cotton);
}

.site-footer__nav a:focus-visible {
  outline: 2px solid var(--color-muslin);
  outline-offset: 2px;
  border-radius: 2px;
}

.site-footer__social {
  display: flex;
  gap: 1.25rem;
}

.site-footer__social a {
  color: var(--color-muslin);
  transition: color var(--transition-default);
}

.site-footer__social a:hover {
  color: var(--color-cotton);
}

.site-footer__social a:focus-visible {
  outline: 2px solid var(--color-muslin);
  outline-offset: 4px;
  border-radius: 2px;
}

.site-footer__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.site-footer__email {
  font-size: var(--text-small);
  color: var(--color-muslin);
  transition: color var(--transition-default);
}

.site-footer__email:hover {
  color: var(--color-cotton);
}

.site-footer__email:focus-visible {
  outline: 2px solid var(--color-muslin);
  outline-offset: 2px;
  border-radius: 2px;
}

.site-footer__location {
  font-size: var(--text-small);
  color: var(--color-muslin);
  opacity: 0.85;
}

.site-footer__press {
  font-size: var(--text-small);
  color: var(--color-muslin);
  margin-top: 0.875rem;
  line-height: 1.6;
}

.site-footer__press a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__legal {
  font-size: 0.75rem;
  color: var(--color-muslin);
  opacity: 0.8;
}

.site-footer__colophon {
  font-style: italic;
}

.site-footer__legal-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__legal-link:hover {
  opacity: 0.8;
}

.site-footer__legal-link:focus-visible {
  outline: 2px solid var(--color-muslin);
  outline-offset: 2px;
  border-radius: 2px;
}

.site-footer__back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: var(--text-small);
  color: var(--color-muslin);
  transition: color var(--transition-default);
}

.site-footer__back-to-top:hover {
  color: var(--color-cotton);
}

.site-footer__back-to-top:focus-visible,
.site-footer__press a:focus-visible {
  outline: 2px solid var(--color-muslin);
  outline-offset: 2px;
  border-radius: 2px;
}

.site-footer__back-to-top svg {
  transition: transform 0.2s ease;
}

.site-footer__back-to-top:hover svg {
  transform: translateY(-2px);
}

/* The giant wordmark closing the page — the fashion-house bow. The margin is
   also the parallax budget: at rate -0.06 a 2000px-tall window lifts the
   image ~52px, and 4.5rem keeps that worst case clear of the legal links. */
.site-footer__giant {
  margin-top: 4.5rem;
  line-height: 0;
}

.site-footer__giant-img {
  width: 96%;
  margin: 0 auto;
  opacity: 0.22;
  /* Parallax consumer lives with its siblings in §9.5.1. */
}


/* ============================================
   11. MOBILE STORE BAR
   ============================================ */

/* V1's conversion bar, launch-era: the CTA is the two stores. Poppy pills
   on the Rouge bar — Poppy-on-Rouge is approved for graphic elements, and
   the Cotton labels inside are 1.17rem bold (large-text pairing), which is a
   floor: §16 re-states it for .btn--primary because the phone breakpoint
   shrinks .btn generally. */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  padding-bottom: calc(0.625rem + env(safe-area-inset-bottom, 0px));
  background: var(--color-rouge);
  box-shadow: 0 -6px 24px rgba(43, 16, 16, 0.35);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-out-soft);
}

.mobile-bar.is-shown {
  transform: translateY(0);
}

.mobile-bar__text {
  display: none;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-cotton);
  white-space: nowrap;
}

/* The tagline only fits alongside the buttons from ~480px up. */
@media (min-width: 480px) {
  .mobile-bar__text {
    display: block;
  }
}

/* The pills WRAP rather than shrink. Antarctica Expanded is a wide face and
   .btn is nowrap, so "GOOGLE PLAY" alone is ~188px of glyphs at the 1.17rem
   floor — two store names cannot share a phone line however the padding is
   tuned, and shrinking the type is the one thing the Cotton-on-Poppy pairing
   forbids (large text only). Wrapping is therefore the only lever: one pill
   per line under ~600px, side by side above it, the label never below the
   floor. A max-width cap here instead would have been worse than useless —
   nowrap text simply spills out past the pill's rounded ends. */
.mobile-bar__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
}

.mobile-bar__cta {
  flex: 1 1 auto;
  padding: 0.7rem 1.1rem;
  font-size: 1.17rem;
}

.mobile-bar__dismiss {
  color: var(--color-muslin);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mobile-bar__dismiss:hover {
  color: var(--color-cotton);
}

.mobile-bar__dismiss:focus-visible {
  outline: 2px solid var(--color-muslin);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (min-width: 1024px) {
  .mobile-bar {
    display: none;
  }

  /* ---- PHASE 3 — HERO ---- */
  /* Two columns from 1024px: copy left, the spiral resolving on the right.
     1.05fr/1fr rather than 1fr/1fr — the headline is set in a condensed face at
     up to 10.5rem and wants the wider half. */
  .hero__inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
  }

  .hero__sos {
    font-size: 1rem;
    gap: 0.6em;
    margin-left: auto;
  }

  .hero__stage {
    align-items: flex-end;
    text-align: right;
  }

  /* ---- PHASE 3 — VALUES ---- */
  .values__grid {
    gap: 1.5rem;
  }

  /* One knob for the whole card: the summary row's padding and the copy's
     margins both read it (§9.3a), so they cannot drift apart at a breakpoint. */
  .value-card {
    --value-pad: 1.9rem;
  }

  .value-card__name {
    font-size: 0.9375rem;
  }

  .value-card__line {
    font-size: 1.125rem;
  }

  /* ---- PHASE 3 — SOLUTION ---- */
  /* Two columns: the conversation on one side, its conclusion on the other.
     DOM order is untouched — the intro spans the top row and thread and close
     fall into row two by auto-placement — so the no-JS reading order is still
     conversation-then-conclusion and nothing depends on `order`.
     align-items: start is load-bearing rather than tidy: the reply bubble
     grows by a few hundred pixels the instant the typing indicator swaps out,
     and an end- or centre-aligned close column would be shoved down by half of
     that mid-beat, under the reader's eyes. A start-aligned one cannot move. */
  .solution__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: clamp(2.5rem, 5vw, 5rem);
    row-gap: 3.5rem;
    align-items: start;
  }

  .solution__intro {
    grid-column: 1 / -1;
  }

  /* Sits level with the answer instead of with the first question — the top of
     the thread is the ask, and the conclusion belongs beside the reply. A
     fixed offset rather than an alignment keyword, for the reason above: it is
     immune to the bubble's growth.
     Both children are pinned because the remix button sits between them in
     DOM (mobile stacks it under the thread, where the outfit is): with three
     auto-placed items the cursor would strand the close beside the button on
     row three and leave the thread's neighbour cell empty. */
  .solution__close {
    grid-column: 2;
    grid-row: 2;
    padding-top: 4rem;
  }

  .solution__remix {
    grid-column: 1;
    grid-row: 3;
  }

  /* ---- PHASE 3 — INSIDE ---- */
  /* ---- 9.5.1 Inside Portal ---- */
  .inside__bands {
    margin-top: 4rem;
  }

  .inside__band {
    padding: 4.5rem 0;
  }

  .inside__band-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
  }

  /* Bands 2 and 4 mirror. Only the grid placement flips: DOM order stays
     copy-then-visual in every band, so reading order, tab order and §14's
     100ms sibling stagger are identical at every breakpoint. */
  .inside__band--flip .inside__copy {
    grid-column: 2;
    grid-row: 1;
  }

  .inside__band--flip .inside__visual {
    grid-column: 1;
    grid-row: 1;
  }

  .inside__visual {
    --inside-phone-w: 290px;
    margin-top: 0;
  }

  .inside__visual--feed {
    --inside-phone-w: 215px;
  }

  /* ---- PHASE 3 — OWN ---- */
  /* THE BLOOM. From 1024px the radial becomes literal: a square field with the
     hero piece at its centre and five looks seated at 72-degree intervals
     starting at twelve o'clock. Percentage seats plus a centring translate, so
     the field scales with the column rather than needing five sets of pixels.

     Every seat's `transform` is why the [data-at] cue lives on .own__look-inner
     and never on .own__look — the cue rule writes transform, and it would erase
     the seat. */
  .own__layer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3rem;
    align-items: center;
  }

  .own__radial {
    position: relative;
    display: block;
    width: min(100%, 34rem);
    margin: 0 auto;
    aspect-ratio: 1;
  }

  /* The orbit, made visible: the look seats genuinely sit on a circle of
     radius ~41% (inset 9%) — structure, not garnish. Static and solid: a
     rotating solid circle shows nothing, a dashed one reads as a spinner.
     Desktop-only; behind every card (the seats are later siblings). Rouge
     via the --kit-accent flip. */
  .own__radial::before {
    content: '';
    position: absolute;
    inset: 9%;
    border: 1.5px solid var(--kit-accent);
    border-radius: 50%;
    opacity: 0.16;
    pointer-events: none;
  }

  .own__hero,
  .own__look {
    position: absolute;
    width: 30%;
  }

  .own__hero {
    width: 26%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  /* Past the card's diagonal (~179% of its width): on the radial the crown
     is a clean halo, not a crossing line. */
  .own__crown {
    width: 190%;
  }

  .own__look--1 { left: 50%; top: 9%;  transform: translate(-50%, -50%); }
  .own__look--2 { left: 89%; top: 37%; transform: translate(-50%, -50%); }
  .own__look--3 { left: 74%; top: 84%; transform: translate(-50%, -50%); }
  .own__look--4 { left: 26%; top: 84%; transform: translate(-50%, -50%); }
  .own__look--5 { left: 11%; top: 37%; transform: translate(-50%, -50%); }

  .own__card {
    --kit-fs: 0.8rem;
  }

  /* ---- PHASE 3 — PERSONALIZATION ---- */
  /* Two columns: what Portal reads on the left, what it hands back on the
     right. The payoff column is centred against the signals rather than
     top-aligned — the morph is the thing the eye should land on. */
  .personalization__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
  }

  /* ---- PHASE 3 — FAQ ---- */
  /* Two columns: the heading parks while the questions run past it.

     align-items: start is load-bearing, not tidiness. Grid items stretch by
     default, which makes the head box exactly as tall as its row — and a sticky
     box with no spare room inside its containing block never moves, so the
     effect silently does nothing. It is also why the FAQ band must never take
     overflow: hidden; §5 leaves sections unclipped for exactly this.

     The offset reads --header-offset, not --nav-height: the announcement bar is
     inside the fixed header, so a nav-height offset would slide the heading
     under the bar. Dismissing the bar zeroes its share of the token on its own,
     and this stays correct without a second rule. */
  .faq__inner {
    grid-template-columns: 1fr 1.55fr;
    gap: 4rem;
    align-items: start;
  }

  .faq__head {
    position: sticky;
    top: calc(var(--header-offset) + 2.5rem);
  }

  /* Keep the answer clear of the indicator column so the two never optically
     collide in the wider layout. */
  .faq__a {
    padding-right: 3rem;
  }

  /* ---- PHASE 3 — FINAL-CTA ---- */
  .final-cta__beat--turn {
    margin-top: 0.5rem;
  }

  .final-cta__question::before {
    width: 13em;
    height: 13em;
  }
}


/* ============================================
   12. MOCKUP KIT — STYLIZED PRODUCT UI
   ============================================ */

/* Fake-but-faithful Portal app UI in brand palette, for the sections that
   have to *show* the product. Two properties shape every rule below:

   1. Every component is size-agnostic. The same markup renders inset in a
      180px phone and standalone at page width, because internal metrics are
      em/%/fractions of one inherited scale knob (--kit-fs) instead of pixels.
      Hard-coding a 12px label would make the phone-inset copy unreadable and
      the standalone copy microscopic.
   2. Every component is already in its finished state. Nothing here has a
      hidden or pre-animation rest state, which is why §12 needs no entry in
      the §15 reduced-motion block and no .js gate: the kit IS the static
      poster that no-JS and reduced motion land on. §13 moves these parts
      around; it never has to un-hide them. */


/* ---- 12.0 Component knobs — NEW CUSTOM PROPERTIES ---- */

/* Plumbing shared by §12 and §13. No new colours: every value resolves to a
   §1 brand token, or to Rouge at a stated alpha. They exist so the contrast
   law is enforced by the cascade rather than by whoever writes the next
   mockup.

   --kit-fs      one scale knob per component tree (see note 1 above).
   --kit-accent  ground-aware accent — also what §13's portal ring and reply
                 ring read. Poppy has no approved pairing on Muslin and misses
                 the 3:1 non-text floor on Rose, so grounds that cannot carry
                 it re-point this knob to Rouge for everything inside them: a
                 Poppy ring can no longer be shipped onto a ground nobody
                 re-checked.
   --kit-glow    the halo that travels with the accent. It is defined in the
                 same rules as the ink, never separately — an ink that flips
                 without its glow leaves a Rouge ring wearing a Poppy corona.
   --kit-line    the hairline separating Cotton surfaces. Decorative only —
                 Rouge at 0.14 is never a text colour.
   --kit-scrim   the wash that makes Cotton text safe over an arbitrary
                 photograph. 0.72 is derived, not picked: 72% Rouge over pure
                 white (the worst case a photo can present) composites to
                 rgb(133,95,95) ≈ 5.5:1 against Cotton, so overlaid text
                 clears AA even on a blown-out shot.
   --kit-radius /
   --kit-card    the shared card shell. Four components paint the same Cotton
                 plate; stated once so they cannot drift apart one shadow at
                 a time. */
:root {
  --kit-fs: 1.25rem;
  --kit-accent: var(--color-poppy);
  --kit-glow: rgba(222, 68, 47, 0.45);
  --kit-line: rgba(85, 33, 33, 0.14);
  --kit-scrim: rgba(85, 33, 33, 0.72);
  --kit-radius: 0.9em;
  --kit-card: inset 0 0 0 1px var(--kit-line),
              0 0.5em 1.4em rgba(85, 33, 33, 0.12);
}

/* The single place the "which grounds cannot carry Poppy" law is written.
   The §9 section classes sit alongside the opt-in utilities so a component
   dropped straight into the Rose set piece or a Muslin band inherits the flip
   without anyone remembering to add a wrapper class; §13's scene and chat
   modifiers are listed here rather than in their own section so there is
   exactly one rule to edit when a ground changes.
   §4's chrome is governed from here too — the section-heading rule and the
   arrow-link underline/focus ring both read --kit-accent, which is why they
   no longer carry per-ground overrides of their own. On Rose a Poppy mark is
   2.4:1 and on Muslin 2.75:1; both are under the 3:1 non-text floor, so both
   grounds re-point the knob to Rouge for everything inside them. */
.own,
.values,
.faq,
.kit-ground--rose,
.kit-ground--muslin,
.scene--on-rose,
.scene--on-muslin,
.chat-thread--on-rose,
.chat-thread--on-muslin {
  --kit-accent: var(--color-rouge);
  --kit-glow: rgba(85, 33, 33, 0.28);
}

/* …but a component that paints its own Cotton surface re-opens Poppy: its
   rings and rules land on Cotton, not on the band behind it. Declared on the
   component itself, so it always wins over the ancestor flip above.

   `color` is part of the same statement and is not optional. A component that
   paints Cotton owns the ink that lands on Cotton — otherwise it inherits
   whatever the ancestor was using, and the ancestor may have been painting
   for a completely different ground. That is not hypothetical: the Solution
   section seats an .outfit-card inside a Rouge reply bubble, whose `color` is
   Cotton. The labels and titles survived because they name Rouge explicitly,
   but the garments of the day drew with `currentColor` — so every silhouette
   came out Cotton: washed out on the Butter tiles and completely INVISIBLE on
   the Cotton .outfit-tile--key. Those garments are photographs now and no
   longer take ink, but the rule stays: anything that DOES inherit ink inside
   one of these plates has the same bug waiting for it. */
.phone__screen,
.closet-tile,
.outfit-card,
.fit-card,
.cal,
.feed-card {
  --kit-accent: var(--color-poppy);
  --kit-glow: rgba(222, 68, 47, 0.45);
  color: var(--color-rouge);
}


/* ---- 12.1 Phone frame ---- */

/* CSS-only bezel — no device PNG, so it recolours, scales and animates for
   free. Rouge is the bezel: the brand uses it in place of black. Every
   metric derives from --phone-w so the three sizes stay one design instead
   of three hand-tuned ones. */
.phone {
  --phone-w: 260px;
  /* Fallback scale: inner type sized off the *nominal* width. */
  --kit-fs: calc(var(--phone-w) * 0.047);
  position: relative;
  width: var(--phone-w);
  max-width: 100%;
  padding: calc(var(--phone-w) * 0.032);
  border-radius: calc(var(--phone-w) * 0.135);
  background: var(--color-rouge);
  box-shadow:
    inset 0 0 0 1px rgba(242, 237, 189, 0.16),
    0 calc(var(--phone-w) * 0.055) calc(var(--phone-w) * 0.11) rgba(85, 33, 33, 0.22);
}

.phone--sm { --phone-w: 180px; }
.phone--lg { --phone-w: 320px; }

/* max-width:100% can squeeze the frame below --phone-w on a 390px viewport
   or in a tight grid cell; the nominal-width fallback would then leave the
   inner UI oversized inside a shrunken shell. Container units measure what
   actually rendered. The two paths agree at nominal width (5% of the
   content box ≈ 4.7% of the border box), so switching between them is
   invisible. */
@supports (container-type: inline-size) {
  .phone {
    container-type: inline-size;
  }

  .phone__screen {
    --kit-fs: 5cqw;
  }
}

/* The clipping viewport. aspect-ratio is the delivered screenshot ratio
   (1206x2622), so a real capture seats with no crop and no Cotton letterbox.
   The Portal Stylist capture added on 2026-08-10 is 739x1600 — 0.4% wider in
   ratio, which object-fit: cover shaves off the sides at 0.2% per side, below
   anything visible. Anything further off ratio wants a re-crop, not a shrug.
   Padding is for DOM mockups only — .phone__shot is positioned against the
   padding box and ignores it. */
.phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  padding: 1.5em 0.8em 0.9em;
  aspect-ratio: 1206 / 2622;
  border-radius: calc(var(--phone-w) * 0.105);
  background: var(--color-cotton);
  color: var(--color-rouge);
  font-size: var(--kit-fs, 1.25rem);
  overflow: hidden;
}

/* A <picture> wrapping a full-bleed image is only a source switch, never a
   box — left in flow it contributes a phantom, zero-height flex item (its
   only child is out of flow) and, in the phone, a 0.6em gap above the UI it
   is meant to replace. Zeroed here for every well in the kit. */
.phone__screen > picture,
.fit-card__photo > picture,
.feed-card__body > picture {
  position: absolute;
  inset: 0;
  display: block;
}

.phone__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* The delivered screens match the frame ratio, so cover is a no-op today.
     It is here so a future off-ratio capture crops instead of letterboxing
     into a Cotton band the design never accounted for. */
  object-fit: cover;
  object-position: center top;
}

/* Decorative device chrome for DOM mockups. Omit it whenever the screen
   carries a real capture: the delivered screenshots already include the iOS
   status bar, and the pill would sit straight on top of the clock. */
.phone__notch {
  position: absolute;
  top: calc(var(--phone-w) * 0.028);
  left: 50%;
  width: 32%;
  height: calc(var(--phone-w) * 0.042);
  transform: translateX(-50%);
  border-radius: 100px;
  background: var(--color-rouge);
  pointer-events: none;
  z-index: 2;
}


/* ---- 12.2 Pre-framed device shot ---- */

/* For composites that ALREADY carry device chrome. Nesting one in .phone would
   draw a second bezel around the first. No shipped page uses this today — the
   Portal Stylist band's pre-framed composite was replaced by a raw capture on
   2026-08-10 — so the live demo is motion-lab panel 7c; keep it wired for the
   next delivered composite. drop-shadow follows the artwork's alpha, so
   a transparent-cornered render never shows a rectangular shadow box (V1
   .device-frame__img); the small radius covers the opposite case — the
   delivered composite is an opaque JPEG whose square corners would otherwise
   read as a raw screenshot rather than a framed poster. */
.device-shot {
  --device-w: 260px;
  display: block;
  width: var(--device-w);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: calc(var(--device-w) * 0.03);
  filter: drop-shadow(0 calc(var(--device-w) * 0.055) calc(var(--device-w) * 0.11) rgba(85, 33, 33, 0.22));
}


/* ---- 12.3 Garment art ---- */

/* Photographed garments, cut out of the closet on transparent WebP. This replaced
   an inlined <symbol> sprite of flat silhouettes: at tile size one repeated
   silhouette read as a repeated MARK rather than as the same object, which killed
   the one argument Own-what-you-own exists to make. A photograph of a specific
   skirt is recognisably that skirt in all six cards.

   No <picture>/JPG twin like the rest of the site's imagery: these carry alpha, so
   the fallback would have to be PNG, and that costs 2.2 MB against 287 KB of WebP
   for a branch no browser has taken since 2020. Every one sits inside an
   aria-hidden container with the section's copy in static HTML beside it, so a
   decoder that somehow fails still leaves the page fully readable.

   The ink knob is gone with the sprite — a photograph does not take currentColor —
   and so is .garment--accent, which nothing referenced by the time it went. */
.garment {
  display: block;
  width: 100%;
}

.garment__img {
  display: block;
  width: 100%;
  height: auto;
}


/* ---- 12.4 Closet grid ---- */

/* CLOSET — "See everything. Wear more of it." Tiles paint their own Cotton
   surface with a hairline, so the grid reads on Cotton, Butter, Muslin and
   Rose alike without a per-ground variant. Columns are a knob rather than
   auto-fill: auto-fill sized in em gives the right 3-up inside a phone but
   thirteen columns across a 1200px page. */
.closet-grid {
  display: grid;
  grid-template-columns: repeat(var(--closet-cols, 3), minmax(0, 1fr));
  gap: 0.5em;
  font-size: var(--kit-fs, 1.25rem);
}

.closet-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  aspect-ratio: 3 / 4;
  padding: 0.5em 0.4em;
  border-radius: 0.55em;
  background: var(--color-cotton);
  box-shadow: inset 0 0 0 1px var(--kit-line);
}

.closet-tile__art {
  width: 62%;
  flex: 0 0 auto;
}

/* Antarctica is the only all-caps face, and garment names are letters only —
   no digits to fall through the subset here. Truncation instead of wrapping:
   a two-line name would push the art out of a phone-inset tile. */
.closet-tile__label {
  max-width: 100%;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.6em;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-rouge);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* An empty slot in the grid — the "closet still filling up" beat. */
.closet-tile--empty {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--kit-line);
}


/* ---- 12.5 Outfit card ---- */

/* The Portal answer: a composed look. §13's Solution scene flies the tiles in
   from the edges before they seat, which dictates two things — the grid must
   never clip (a mid-flight tile would be sliced) and each tile must own a
   stacking context so a travelling tile rides above its seated neighbours. */
.outfit-card {
  padding: 0.9em;
  border-radius: var(--kit-radius, 0.9em);
  background: var(--color-cotton);
  font-size: var(--kit-fs, 1.25rem);
  box-shadow: var(--kit-card);
}

.outfit-card__head {
  margin-bottom: 0.75em;
}

.outfit-card__label {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.6em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-rouge);
}

/* The circle motif at label scale — the same portal ring §9.5.1 puts on
   Inside Portal feature names, inheriting the ground-aware accent. */
.outfit-card__label::before {
  content: '';
  width: 0.75em;
  height: 0.75em;
  border-radius: 50%;
  border: 0.16em solid var(--kit-accent);
  flex-shrink: 0;
}

.outfit-card__title {
  margin-top: 0.3em;
  font-family: var(--font-body-extended);
  font-weight: 600;
  font-size: 0.85em;
  line-height: 1.25;
  color: var(--color-rouge);
}

.outfit-grid {
  display: grid;
  grid-template-columns: repeat(var(--outfit-cols, 3), minmax(0, 1fr));
  gap: 0.5em;
  overflow: visible;
}

/* No base transform here on purpose: the assemble scene and the FLIP helper
   both write inline transforms, and anything sitting in this slot (a
   translateZ compositing hack, a resting rotate) would be overwritten and
   snap. transform-origin is stated rather than assumed because the tiles are
   scaled as well as moved. */
.outfit-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  padding: 0.45em;
  border-radius: 0.5em;
  background: var(--color-butter);
  transform-origin: center;
}

/* The release half of the FLIP: inline inverts are removed and this
   transition plays the tile home. §13's .is-flipping suppresses it while the
   invert is applied, so the invert itself never animates. Gated on .js — an
   unscripted page has nothing to transition. The transform timing is the
   same 0.45s as §13's generic [data-flip] child rule, which ties with this
   one on specificity: they are kept identical so the winner cannot change
   how a tile moves. */
.js .outfit-tile {
  transition: transform 0.45s var(--ease-out-soft),
              box-shadow 0.3s ease;
}

/* The tile is a fixed 3/4 box, and the garments inside it are photographs with
   wildly different aspect ratios — a pair of Mary Janes is 320x75, a skirt is
   183x320. Both axes are pinned and the image is fitted rather than stretched, so
   every garment sits centred in its tile at its own proportions. Without the
   height the span collapses to the image's natural ratio and the tall pieces
   overflow the tile they are supposed to sit in. */
.outfit-tile .garment {
  width: 100%;
  height: 100%;
}

.outfit-tile .garment__img {
  height: 100%;
  object-fit: contain;
}

/* An outfit grid standing in for a photograph fills its well. Without this it
   is a shrink-to-fit flex item and sits marooned in the middle of a much
   larger Muslin plate. */
.fit-card__photo > .outfit-grid,
.feed-card__body > .outfit-grid {
  width: 100%;
}

/* One tile per look can carry the hero piece — a Cotton seat inside the
   Butter set, so the eye lands there first. */
.outfit-tile--key {
  background: var(--color-cotton);
  box-shadow: inset 0 0 0 0.11em var(--kit-accent);
}


/* ---- 12.6 Fit Check card ---- */

/* FIT CHECKS — "Wore it. Loved it. Saved it." The photo well is Muslin, not
   Cotton, so an image that has not decoded yet reads as a deliberate plate
   rather than a hole in the card. */
.fit-card {
  padding: 0.65em;
  border-radius: var(--kit-radius, 0.9em);
  background: var(--color-cotton);
  font-size: var(--kit-fs, 1.25rem);
  box-shadow: var(--kit-card);
}

.fit-card__photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  padding: 0.6em;
  border-radius: 0.6em;
  background: var(--color-muslin);
  overflow: hidden;
}

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

.fit-card__body {
  padding: 0.65em 0.2em 0.15em;
}

.fit-card__label {
  display: block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.58em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-rouge);
}

/* Dates and counts live here, so this is deliberately --font-body: the
   Antarctica subset ships no digits 0-9 and would drop them to the browser's
   default sans mid-word. */
.fit-card__meta {
  margin-top: 0.15em;
  font-family: var(--font-body);
  font-size: 0.66em;
  line-height: 1.4;
  color: var(--color-rouge);
  opacity: 0.7; /* the contrast-calculated floor: Rouge on Cotton ≈ 5.2:1 */
}

.fit-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  margin-top: 0.55em;
}

/* Detected items. Rouge on Butter is a full-contrast pairing, so the chips
   stay legible at chip scale — Rose would not, it never carries text. */
.fit-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.32em 0.7em;
  border-radius: 100px;
  background: var(--color-butter);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.56em;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--color-rouge);
}

.fit-chip::before {
  content: '';
  width: 0.42em;
  height: 0.42em;
  border-radius: 50%;
  background: var(--kit-accent);
  flex-shrink: 0;
}


/* ---- 12.7 Calendar ---- */

/* CALENDAR — "Your style has a memory now." Round cells, matching both the
   app and the brand's circle motif. */
.cal {
  padding: 0.8em;
  border-radius: var(--kit-radius, 0.9em);
  background: var(--color-cotton);
  font-size: var(--kit-fs, 1.25rem);
  box-shadow: var(--kit-card);
}

/* Month + year. --font-body-extended for the same reason as .cal__num
   below: the title carries a year. */
.cal__title {
  margin-bottom: 0.6em;
  font-family: var(--font-body-extended);
  font-weight: 600;
  font-size: 0.78em;
  text-align: center;
  color: var(--color-rouge);
}

.cal__head,
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.22em;
}

/* Weekday initials are letters only (EN M T W T F S S, ES L M X J V S D), so
   Antarctica's subset covers them and the caps rule applies normally. */
.cal__head {
  margin-bottom: 0.35em;
}

.cal__head span {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.5em;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-rouge);
  opacity: 0.7; /* Rouge on Cotton stays ≈ 5.2:1 at this floor */
}

.cal__cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}

/* THE trap in this component: --font-label leads with Antarctica Expanded,
   whose subset carries no digits 0-9, so every numeral would fall through to
   the next family. --font-body sidesteps the fallback chain entirely — the
   digits are Maison Neue and cannot silently become Arial Narrow. Never swap
   this to a label stack, and never write a bare 'Antarctica Expanded' here.
   No text-transform either: it is a no-op on digits and would only invite
   someone to reach for the caps face. */
.cal__num {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.55em;
  line-height: 1;
  color: var(--color-rouge);
  opacity: 0.7; /* dimming floor — Rouge on Cotton ≈ 5.2:1 */
}

/* Days with a Fit Check. The thumbnail is arbitrary photography, so the
   numeral flips to Cotton over the --kit-scrim wash rather than trusting a
   Rouge numeral to survive whatever the user wore that day. */
.cal__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cal__cell--fit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--kit-scrim);
  border-radius: inherit;
}

.cal__cell--fit .cal__num {
  color: var(--color-cotton);
  font-weight: 600;
  opacity: 1;
}

/* Today. A ring, not a fill — a filled Poppy disc would force the numeral to
   Cotton at 0.55em, and Cotton on Poppy is a large-text-only pairing. */
.cal__cell--today {
  box-shadow: inset 0 0 0 0.12em var(--kit-accent);
}

.cal__cell--today .cal__num {
  font-weight: 600;
  opacity: 1;
}

/* Leading/trailing blanks. Still real cells so the seven-column rhythm holds;
   empty so the grid does not have to be padded with meaningless numbers. */
.cal__cell--empty {
  visibility: hidden;
}


/* ---- 12.8 Feed card ---- */

/* COMMUNITY — "See it. Save it. Make it yours." The only component in the
   kit with real controls, so it is the only one with focus and pressed
   states to get right. */
.feed-card {
  border-radius: var(--kit-radius, 0.9em);
  background: var(--color-cotton);
  font-size: var(--kit-fs, 1.25rem);
  overflow: hidden;
  box-shadow: var(--kit-card);
}

.feed-card__head {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 0.7em;
}

/* Rose used the way the brand allows it: as a ground behind a graphic mark,
   never behind type. The initial inside is Rouge — the one approved pairing
   on Rose. */
.feed-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.9em;
  height: 1.9em;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-rose);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.62em;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-rouge);
}

.feed-card__avatar img {
  width: 62%;
  height: auto;
}

/* Handles contain @ and _ . The Antarctica subset is ~6.7K and was cut for
   the section labels' A-Z, so neither glyph is guaranteed — a missing one
   falls back mid-word and the handle changes shape. --font-body is fully
   loaded and safe. */
.feed-card__handle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68em;
  line-height: 1.3;
  color: var(--color-rouge);
  /* A flex item's min-width is auto, which is min-content — without this the
     handle refuses to shrink, never ellipses, and shoves the timestamp out
     of the card instead. */
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-card__meta {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.6em;
  color: var(--color-rouge);
  opacity: 0.7; /* dimming floor — Rouge on Cotton ≈ 5.2:1 */
}

.feed-card__body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  padding: 0.7em;
  background: var(--color-muslin);
  overflow: hidden;
}

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

.feed-card__actions {
  display: flex;
  align-items: center;
  gap: 0.25em;
  padding: 0.35em 0.45em;
}

/* Accessible name comes from the page's own markup, never from JS — one
   main.js serves EN and ES. */
.feed-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  padding: 0.3em 0.55em;
  border-radius: 100px;
  color: var(--color-rouge);
  background: transparent;
  transition: background-color var(--transition-default),
              color var(--transition-default);
}

/* The 44px floor is an *interaction* requirement, so it is scoped to real
   controls. It holds even inside a phone-inset mockup, where it runs visually
   chunky: a control a thumb cannot hit is a worse failure than a mockup that
   is 1.5x too tall. A purely decorative feed uses <span class="feed-action">
   inside an aria-hidden wrapper and keeps the mockup's own proportions —
   nothing there is clickable, so nothing there needs a target. */
button.feed-action {
  min-width: 44px;
  min-height: 44px;
}

button.feed-action:hover {
  background: rgba(85, 33, 33, 0.08);
}

/* Poppy on Cotton clears the 3:1 non-text floor, and --kit-accent has
   already flipped to Rouge on any ground where it would not. */
.feed-action:focus-visible {
  outline: 2px solid var(--kit-accent);
  outline-offset: 2px;
}

.feed-action__icon {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out-soft);
}

button.feed-action:hover .feed-action__icon {
  transform: scale(1.12);
}

.feed-action__label {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.56em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Pressed state colours the ICON only. The icon is a graphic element, so
   Poppy on Cotton is approved; the label beside it is small text, where
   Poppy on Cotton is not — it stays Rouge. */
.feed-action[aria-pressed="true"] .feed-action__icon {
  color: var(--kit-accent);
  fill: currentColor;
}

.feed-action[aria-pressed="true"] .feed-action__label {
  color: var(--color-rouge);
}


/* ============================================
   13. MOTION — SCENES, CHAT, MORPH, FLIP
   ============================================ */

/* Phase-2 motion primitives. Three rules govern every block below:

   1. The base styles ARE the poster. No-JS and reduced motion never reach a
      state class, so whatever renders without one has to read as the
      finished, composed frame — not a half-drawn one.
   2. main.js writes custom properties and state classes, nothing else. Every
      engine-written var() here carries a fallback, so a scene that never
      armed (no JS, no IntersectionObserver, an @property-less browser) still
      resolves to a real value instead of dropping the whole declaration.
   3. §15 hand-resolves each state class for reduced motion, including the
      case where a stale class survives the engine's disarm.

   Ground-aware ink comes from §12's --kit-accent / --kit-glow; the
   .scene--on-rose / .scene--on-muslin / .chat-thread--on-* modifiers are
   declared there, in the one rule that owns the contrast law. */


/* ---- 13.1 Scene scaffolding ---- */

/* The poster geometry is authored, never written by JS:

     --scene-poster-r / --scene-cx / --scene-cy   CSS, here or on the section
     --scene-r        engine, unitless px, consumed as calc(… * 1px)
     --scene-p        engine, raw 0→1 — discrete cues and clamp() ramps
     --scene-e        engine, eased 0→1 — anything that should feel weighted

   --scene-cx/--scene-cy must match the section's data-scene-circle values.
   They are two sides of one seat: the engine sizes the radius to cover the
   farthest corner FROM THAT CENTRE, so a mismatch leaves a wedge of the
   layer below still showing at full progress. */
.scene {
  --scene-poster-r: 34vmin;
  --scene-cx: 50%;
  --scene-cy: 52%;
  position: relative;
}

/* The stage is the pinned frame. overflow lives HERE and never on the
   <section>: an ancestor with overflow != visible becomes the sticky
   element's scroll container, and since that ancestor is exactly as tall as
   its content the stage has nowhere to travel and silently never sticks.
   Clipping the stage's OWN children is safe — it is the sticky box itself,
   not an ancestor of it. */
.scene__stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

/* The runway only exists in scrub mode, so the poster stays a normal-height
   section. Engine writes --scene-runway from data-scene-runway; 240 is the
   documented default and the seed in §1. (§16 shortens it on phones.)
   The padding reset is load-bearing, not tidiness: §3's `section { padding }`
   would eat the travel from both ends, because sticky is constrained to the
   parent's CONTENT box — the stage would unpin a whole desktop padding
   before the runway ended and drift away while progress was still climbing. */
.scene--scrub {
  height: calc(var(--scene-runway, 240) * 1vh);
  padding-top: 0;
  padding-bottom: 0;
}

/* dvh last: it tracks the iOS URL bar collapsing mid-scrub, without which a
   strip of the section behind opens under the stage the moment the browser
   chrome retracts. Browsers that don't know svh/dvh drop those declarations
   and keep the vh above. */
.scene--scrub .scene__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 0;
}

/* Full-bleed layers stack in DOM order — no z-index ladder to keep in sync
   with the markup. align-content keeps copy off the fixed header's line of
   fire without a header-height offset that would have to be maintained.
   `safe` is the whole point of the keyword: when the copy is taller than the
   box, centring pushes half the overflow off the block-START edge, which a
   clipped box can never be scrolled to. Safe alignment falls back to start in
   that case only. Browsers that don't know it drop the declaration and get
   grid's default stretch, i.e. start-aligned — also safe. */
.scene__layer {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: safe center;
  justify-items: start;
  padding: clamp(1.25rem, 5vw, 4rem);
}

.scene__layer--center {
  justify-items: center;
  text-align: center;
}

/* Decorative plates must not swallow clicks on the copy layers above them. */
.scene__layer--art {
  pointer-events: none;
  padding: 0;
}

/* Poster mode is a FLOW layout, not an absolute one. Every layer being
   `position: absolute` means the stage has zero content height, so it could
   never grow past its 100svh min-height and any copy taller than the viewport
   was clipped — against the block-start edge, unreachable and unscrollable
   (a phone at 200% zoom, or landscape: WCAG 1.4.4/1.4.10). Making the stage a
   one-cell grid and seating every layer in that cell keeps the layers
   overlapping exactly as before, while the tallest one now drives the height.
   Art layers stretch to the row, so .scene__img keeps its full bleed;
   .scene__portal / .scene__ring stay absolute against the taller stage and
   keep their --scene-cx/--scene-cy seat; overflow: hidden stays, because
   nothing overflows any more.
   Scrub mode needs no twin: main.js §5 measures the pinned box and refuses to
   arm any scene whose copy layers overflow it, for exactly this reason. §15
   carries the same pair for the case where a stale .scene--scrub outlives one
   frame of an OS toggle. */
.scene:not(.scene--scrub) .scene__stage {
  display: grid;
  grid-template: minmax(0, auto) / 1fr;
}

.scene:not(.scene--scrub) .scene__layer {
  position: relative;
  grid-area: 1 / 1;
}

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

/* Atmosphere, NOT a contrast guarantee — do not read it as one. The wash is
   strong at the top and thins out fast: it holds §12's derived 0.72 alpha only
   for roughly the top quarter of the stage, and by the middle — where
   .scene__layer seats copy by default — it is around 0.50, which composites a
   blown-out frame to about 2.9:1 against Cotton. Under .scene--scrub it also
   starts the runway at 0.35 of that (§13.2), and .scene__portal is a later
   sibling with no z-index, so at high progress the circle paints OVER the
   scrim and there is no wash under the text at all.
   Copy that is not in the top band, or that can sit over the portal, needs
   .scene__copy--plate below. */
.scene__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
              rgba(85, 33, 33, 0.92) 0%,
              rgba(85, 33, 33, 0.62) 42%,
              rgba(85, 33, 33, 0.18) 72%,
              rgba(85, 33, 33, 0.38) 100%);
}

/* z-index only where it earns it: copy above the art inside the same layer. */
.scene__copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

/* The guarantee the gradient cannot make. It paints its own ground AND its own
   ink, so it holds at any height in the stage, over any frame, and over the
   portal at full progress. The ground is §12's --kit-scrim rather than a
   number, so the two washes can never drift apart; 0.72 Rouge over the worst
   case a photograph can present (pure white) composites to rgb(133,95,95),
   which is 5.5:1 against Cotton. Its own padding, because .scene__layer's
   padding is on the layer, not on the copy.
   Cotton is the ink the derivation covers. Butter also clears (4.6:1); Muslin
   is 3.6:1, so on a plate it is large text only — and a plate carrying
   anything else needs re-deriving, not assuming. */
/* The plate is a GROUND, so it re-points --kit-accent like every other ground
   in §12.0 — it must not patch its decorations one selector at a time. Poppy
   on the composited scrim rgb(133,95,95) is 1.31:1, nowhere near the 3:1
   non-text floor; Butter is 4.64:1. Setting the accent here covers the §4
   label ring AND the §4 heading rule AND the §6 focus outline in one place, so
   the next decoration that lands on a plate inherits the derivation instead of
   silently drawing in Poppy. Phase 5 found the heading rule doing exactly that:
   the ring had been patched to Butter by hand and the rule underneath it had
   not — the same class of bug §12.1 logged against .values/.faq in Phase 2. */
.scene__copy--plate {
  --kit-accent: var(--color-butter);
  padding: 1.25rem 1.5rem;
  border-radius: var(--kit-radius);
  background: var(--kit-scrim);
  color: var(--color-cotton);
}

/* The label's INK is a colour, not the accent, so it still needs saying. Rouge
   would be a mark on a photograph showing through the wash, where nothing can
   be predicted; Butter is the one ink whose worst case still clears at 4.6:1. */
.scene__copy--plate .section-label {
  color: var(--color-butter);
}

/* THE PLATE'S HEADING. The plate above sets `color: cotton`, but §3's
   `h1, h2 { color: var(--color-text-primary) }` sets Rouge EXPLICITLY, so
   inheritance never reaches the heading and it would render Rouge-on-Rouge —
   invisible. Two classes beat one type selector, so this wins wherever it
   sits in the file. It is written unscoped on purpose: every future scene
   that puts a heading on a plate needs it, and the next person will not think
   to look for it. (Lived in §9.2a until the Problem scene was removed; moved
   here, beside the plate itself, because it was never Problem-specific.) */
.scene__copy--plate .section-heading {
  color: var(--color-cotton);
}


/* ---- 13.2 The Portal moment — circle clip + ring ---- */

/* The worked demonstration of the three scrubbed scene values, sharing one
   geometry between poster and scrub so the two can never disagree. */
.scene__portal {
  position: absolute;
  inset: 0;
  clip-path: circle(var(--scene-poster-r, 34vmin) at var(--scene-cx, 50%) var(--scene-cy, 52%));
}

.scene--scrub .scene__portal {
  clip-path: circle(calc(var(--scene-r, 0) * 1px) at var(--scene-cx, 50%) var(--scene-cy, 52%));
}

/* A <length> poster radius, never a percentage: circle(32%) resolves against
   the reference box's DIAGONAL, which no border-box ring can reproduce — V1
   had to hide its ring outside scrub mode for exactly that reason. vmin
   resolves identically for the clip and for the ring's width, so the poster
   can show a ring that actually sits on the portal's edge.
   The ink is §12's ground-aware accent: Poppy is approved on Rouge, Cotton
   and Butter as a graphic element but fails 3:1 on Rose and has no approved
   pairing on Muslin, and those grounds flip ink and glow together. */
.scene__ring {
  position: absolute;
  left: var(--scene-cx, 50%);
  top: var(--scene-cy, 52%);
  width: calc(var(--scene-poster-r, 34vmin) * 2);
  height: calc(var(--scene-poster-r, 34vmin) * 2);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 3px solid var(--kit-accent);
  box-shadow: 0 0 60px var(--kit-glow),
              inset 0 0 90px rgba(85, 33, 33, 0.35);
  pointer-events: none;
}

/* The ring holds full strength for the whole pass and dissolves only in the
   last sixth, once the portal has swallowed enough of the frame that a rim
   would read as a hoop instead of an edge. clamp() with unitless numbers is
   the ramp idiom throughout: it needs no keyframes and it reverses for free
   on scroll-back. */
.scene--scrub .scene__ring {
  width: calc(var(--scene-r, 0) * 2px);
  height: calc(var(--scene-r, 0) * 2px);
  opacity: clamp(0, (1 - var(--scene-p, 0)) * 6, 1);
}

/* Depth: the chaos falls away while the answer settles forward. Two scale
   rates, compositor-only — no blur/filter/backdrop ramp is ever allowed on a
   viewport-sized image, because a filter forces a full repaint of that image
   every single frame and turns a 60fps scrub into a slideshow on mid-tier
   phones. */
.scene--scrub .scene__layer--art .scene__img {
  transform: scale(calc(1 + var(--scene-e, 0) * 0.08));
}

.scene--scrub .scene__portal .scene__img {
  transform: scale(calc(1.1 - var(--scene-e, 0) * 0.1));
}

/* Opacity is compositor-cheap at any size, so the wash may ramp full-bleed. */
.scene--scrub .scene__layer--art .scene__scrim {
  opacity: clamp(0, 0.35 + var(--scene-e, 0) * 0.65, 1);
}


/* ---- 13.3 Scene breakpoint reveals — [data-at] ---- */

/* Double-gated: .js AND .scene--scrub. A scene that never armed (no JS, no
   stage element, reduced motion) leaves every cue at its base state, which
   is simply visible — a data-at item can never strand itself at opacity 0.
   Reversible by construction: the engine removes .is-at on scroll-back and
   the transition plays backwards.
   This owns the element's `transform`, so data-at never goes on anything
   whose position depends on one — .scene__ring is centred by a translate and
   would jump to the stage's corner the moment it took a cue. Wrap those. */
.js .scene--scrub [data-at] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.55s var(--ease-out-soft);
}

.js .scene--scrub [data-at].is-at {
  opacity: 1;
  transform: translateY(0);
}

/* A seat may carry BOTH cues — [data-at] for the scrub and [data-animate] for
   the poster, which is what a phone actually gets once §16b discounts the
   second fixed chrome and §5 finds the stage too short to pin. They must never
   speak at once, and the collision is not hypothetical: §14's
   `.js [data-animate].is-visible` (0,3,0) TIES with the base rule above and
   wins on source order, which would light a card whose progress step has not
   arrived and hand the scrub its whole bloom on the first frame.
   So the scrub re-asserts itself here at (0,5,0), for exactly as long as the
   cue is un-fired. The moment .is-at lands, the rule above (0,4,0) outranks
   §14's is-visible on its own and this one stops matching — no third state,
   and nothing to keep in sync if either delay changes.
   Note it does NOT re-state `transition`: the base rule's timing is inherited
   through, so a card still fades rather than snapping. */
.js .scene--scrub [data-at][data-animate]:not(.is-at) {
  opacity: 0;
  transform: translateY(14px);
}


/* ---- 13.4 Chat thread ---- */

/* Same component full-width on the page and inside .phone__screen, so the
   width is a min() rather than a fixed max-width.

   Every internal metric below is `em` off ONE knob — the thread's own
   font-size — for the same reason §12 does it: the component has to render at
   two wildly different scales. Phase 2 shipped these in `rem` and the motion
   lab caught it: a thread nested in a phone kept page-scale 14px padding and
   22px radii inside a 260px frame, so only two very short rows would fit at
   --lg and everything else overflowed. The knob makes the ground decide, and
   at page scale it resolves to exactly what --text-body did before. */
.chat-thread {
  position: relative;
  width: 100%;
  max-width: min(680px, 100%);
  display: flex;
  flex-direction: column;
  font-size: var(--text-body);
  gap: 0.875em;
}

/* Inset in a device frame the thread rides the kit's scale knob, which is
   itself derived from the rendered frame width (container units where
   supported, nominal width otherwise). */
.phone__screen .chat-thread {
  font-size: var(--kit-fs, 1.25rem);
  max-width: 100%;
}

.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 0.625em;
}

.chat-row--in { justify-content: flex-start; }
.chat-row--out { justify-content: flex-end; }
.chat-row--portal { justify-content: flex-start; }

/* Rows fade and slide but are never display:none — the thread reserves its
   full height from first paint, so arriving bubbles cost no layout shift.
   Without .js every row is simply present and readable. */
.js .chat-row {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease-out, transform 0.45s var(--ease-out-soft);
}

.js .chat-row.is-shown {
  opacity: 1;
  transform: translateY(0);
}

.chat-bubble {
  max-width: min(78%, 420px);
  padding: 0.875em 1.25em;
  border-radius: 1.375em;
  font-size: 1em;
  line-height: 1.5;
}

/* Friend: Rouge on Muslin — full-contrast pairing. */
.chat-bubble--in {
  background: var(--color-muslin);
  color: var(--color-rouge);
  border-bottom-left-radius: 0.375em;
}

/* You: Rouge on Rose — full-contrast, and the only role Rose is allowed to
   play near type (as the ground, never as the ink). */
.chat-bubble--out {
  background: var(--color-rose);
  color: var(--color-rouge);
  border-bottom-right-radius: 0.375em;
}

/* Portal: Cotton on Rouge — full-contrast — inside the ground-aware ring.
   The ring is drawn on whatever band the thread sits on, not on the bubble,
   which is why it reads --kit-accent rather than naming Poppy. */
.chat-bubble--reply {
  background: var(--color-rouge);
  color: var(--color-cotton);
  border-bottom-left-radius: 0.375em;
  box-shadow: 0 0 0 0.15em var(--kit-accent);
}

/* Butter on Rouge — full-contrast. Antarctica caps, and no digits ever go
   in here (the subset ships none). */
.chat-bubble__name {
  display: block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.62em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-butter);
  margin-bottom: 0.375em;
}

/* The Portal logomark IS the avatar — no disc behind it. The mark is a solid
   rectangle with a circular void knocked out (the O), and the void bleeds past
   the top and bottom edges, so what actually renders is two wings around an
   open circle. Nesting that inside a filled disc gives you two concentric
   circles fighting each other at 26px, and the inscribed rectangle would thin
   the wings to about 2px; standing on its own the mark keeps its drawn
   proportions and the void shows the section's real ground, which is how the
   logomark is drawn to be used.

   It is a graphic element on that ground, so it takes the accent flip — Poppy
   is 2.7:1 on Muslin and misses the non-text floor, and --kit-accent is what
   hands it Rouge there. currentColor rather than a stated colour: the mark is
   the only thing painting now that the disc is gone, so it must follow the
   knob, not the body's Rouge.

   The 2.125em width is the old disc's width, unchanged on purpose — the row is
   a flex line with a fixed gap, so keeping the footprint keeps the thread's
   rhythm. The height is content-derived (1096:780 -> 1.512em) so the row's
   align-items:flex-end seats the mark's baseline on the bubble's, instead of
   centring it in a square box and leaving it floating. */
.chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.125em;
  color: var(--kit-accent);
  flex-shrink: 0;
}

.chat-avatar img,
.chat-avatar svg {
  width: 100%;
  height: auto;
}

/* The indicator and the reply swap in place. The reply is the taller box, so
   the swap grows the row — which is why the typing row is always the LAST
   row of a thread: growth pushes the page below it, never the bubbles above.
   display:none by default means no-JS readers get the answer, never the
   dots; only .js + .is-typing brings it back. */
.chat-typing {
  display: none;
  align-items: center;
  gap: 0.3125em;
  padding: 1em 1.25em;
  background: var(--color-muslin);
  border-radius: 1.375em;
  border-bottom-left-radius: 0.375em;
}

.js .chat-row.is-typing .chat-typing {
  display: inline-flex;
}

.js .chat-row.is-typing .chat-bubble--reply {
  display: none;
}

/* Decorative (the markup marks the indicator aria-hidden), so the 0.7
   dimming floor for de-emphasised TEXT does not apply here. */
.chat-dot {
  width: 0.4375em;
  height: 0.4375em;
  border-radius: 50%;
  background: var(--color-rouge);
  opacity: 0.5;
  animation: chatTypingDot 1.1s ease-in-out infinite;
}

.chat-dot:nth-child(2) { animation-delay: 0.18s; }
.chat-dot:nth-child(3) { animation-delay: 0.36s; }

/* The hop is `em` too — a keyframe in px would be the one metric that failed
   to shrink with the thread, and at phone-inset scale a 4px bounce on a 4px
   dot reads as a glitch rather than as typing. */
@keyframes chatTypingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-0.25em); opacity: 1; }
}

/* The reply types itself word by word while the dots cover for it. The full
   sentence is in the DOM from first paint — this is visual only, so no-JS
   and screen readers get the whole line. Per-word transition-delay is inline
   (set by the engine); §15 has to !important it away, since an inline delay
   outranks the stylesheet. */
.js .chat-word {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.js .chat-thread .is-typed .chat-word {
  opacity: 1;
}


/* ---- 13.5 Text morph ---- */

/* Both phases share one grid cell, so the cell is sized by the longer line
   and the morph costs zero reflow — the paragraph below it never jumps. */
.morph {
  display: grid;
}

.morph__phase {
  grid-area: 1 / 1;
}

/* No-JS resolution: the outgoing line is not rendered at all and the final
   line is plain, unstyled, fully readable text. */
.morph__phase--from {
  display: none;
}

/* Under .js the outgoing line takes the stage. It stays aria-hidden and
   inert: once faded it is still in the cell, and without this a mouse drag
   would select invisible text into the user's clipboard. */
.js .morph__phase--from {
  display: block;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.js .morph__phase--to {
  opacity: 0;
}

.js .morph.is-morphed .morph__phase--to {
  opacity: 1;
}

/* Scoped to the phase the engine never split — no IntersectionObserver, so
   initMorph resolves without splitting anything and the units that would carry
   the exit do not exist. Once a phase IS split, this must not fire: opacity on
   the parent composites the whole subtree in one frame, so it would swallow
   the per-unit fade-out below entirely and turn the morph into a hard cut. */
.js .morph.is-morphed .morph__phase--from:not([data-morph-split]) {
  opacity: 0;
}

/* Per-unit crossfade + slide. inline-block is what makes the transform take,
   and is also why only the OUTGOING phase may be split per character: some
   screen readers spell inline-block character spans out letter by letter,
   and the incoming phase is the accessible copy. Spaces stay real text
   nodes between units — a CSS margin would strip the word break from the
   accessibility tree and from copy/paste. */
.js .morph__u {
  display: inline-block;
  transition: opacity 0.42s ease, transform 0.42s var(--ease-out-soft);
}

.js .morph__phase--to .morph__u {
  opacity: 0;
  transform: translateY(0.35em);
}

.js .morph.is-morphed .morph__phase--to .morph__u {
  opacity: 1;
  transform: none;
}

.js .morph.is-morphed .morph__phase--from .morph__u {
  opacity: 0;
  transform: translateY(-0.35em);
}


/* ---- 13.6 FLIP ---- */

/* The engine's one documented exception to "custom properties only": it
   writes an inverted inline transform for two frames. !important because
   the inverted state must not animate — if a mockup-kit rule with higher
   specificity kept its transition alive the tiles would visibly slide to
   where they used to be and then play the move again, backwards. */
.is-flipping {
  transition: none !important;
}

/* What makes the released invert actually play. Kept off the no-JS path:
   nothing moves there, so nothing needs a transition. Ties with §12's
   .js .outfit-tile on specificity and both are 0.45s deliberately — see the
   note there. [data-flip-shuffle] needs no rule of its own: it ships
   `hidden` in the markup for the no-JS case, and §3's
   [hidden] { display: none !important } already beats .btn's inline-flex. */
.js [data-flip] > * {
  transition: transform 0.45s var(--ease-out-soft);
}


/* ---- 13.7 Velocity & parallax consumers ---- */

/* --scroll-vel (unitless, ±~6 typical) and --par (a length) are written only
   while motion is welcome and removed on the flip to reduced motion. Every
   consumer therefore reads them as var(--scroll-vel, 0) / var(--par, 0px):
   an unregistered custom property with no fallback makes the whole
   declaration invalid at computed-value time, which would drop the entire
   transform — not just the lag — the instant the engine cleans up. */


/* ============================================
   14. ANIMATIONS & REVEALS
   ============================================ */

/* Generic scroll reveal — gated behind .js so the page is always
   visible without scripting. */
.js [data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================
   15. REDUCED MOTION
   ============================================ */

/* Every animated component must hand-resolve to its finished static state
   here — each Phase-3 scene ships its entry in the same commit.

   Selectors added from §12 onward are prefixed `html` / `html.js`. This
   block already sits after everything it resolves, so source order would
   settle most ties; the prefix costs one type-selector point and makes the
   resolution win regardless of where a future §17 lands. `.js` is on the
   root element, so it is written `html.js` — `html .js` would demand a
   second .js element inside the document and match nothing.
   !important appears only where an INLINE style is the adversary: the
   engine's per-unit transition-delay, its FLIP invert transform, and its
   --scroll-vel / --par writes.
   The check is mechanical: with reduced motion on, force .scene--scrub /
   .is-typing / .is-morphed on in devtools; if anything moves, disappears or
   unpins, an entry is missing or under-specific. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-animate] {
    opacity: 1;
    transform: none;
  }

  /* The poster bloom's authored stagger. The blanket rule at the top of this
     block flattens transition-DURATION, never delay — the same gap §15 already
     covers by hand for the chat's typed words and the morph's split units.
     !important for the same reason it is needed there: §9.6b's stagger is a
     five-class selector and every reasonable spelling of this reset loses to
     it on specificity. */
  html.js .own .own__look-inner {
    transition-delay: 0s !important;
  }

  /* Ghost headings arrive filled. */
  .js .section-heading.section-heading--ghost {
    -webkit-text-stroke: 0;
    color: var(--color-rouge);
  }

  /* ---- Solution — the toss ---- */
  /* The generic [data-animate] entry knows nothing about `rotate`, and the
     §9.4 rest rule would otherwise hold un-revealed tiles askew at full
     opacity. html prefix out-ranks it; tiles sit square, always. */
  html.js .solution__outfit .outfit-tile[data-animate] {
    rotate: none;
  }

  /* ---- Marquee ---- */
  /* The engine removes --mq on the flip; !important covers the frame in
     between (same as vel/par below). Track at 0 = first run whole. */
  html .marquee__track {
    --mq: 0px !important;
  }

  /* ---- Buttons — the press ---- */
  /* The blanket rule flattens duration, not travel: without this a press
     still snaps the pill down a pixel. Stillness includes touch. */
  html .btn:active {
    transform: none;
  }

  /* ---- Scenes ---- */
  /* main.js strips .scene--scrub on disarm, but the class can outlive one
     frame of a mid-session OS toggle, and a stale one would leave the page
     pinned to a 240vh runway behind a zero-radius portal — a blank screen
     with no way to scroll past it. Every scrub-mode rule in §13 is therefore
     hand-resolved back to the poster here, the way V1 did for
     .threshold__items. The poster is the finished frame: portal open at its
     seated radius, ring on its edge, all cues present. */
  html .scene--scrub {
    height: auto;
  }

  /* Byte-twin of §13.1's poster pair, keyed to the stale class: the
     :not(.scene--scrub) selector there cannot match while the class survives,
     and without this the unpinned stage would still be an absolute-layer box
     that cannot grow, clipping its own copy off the top edge. */
  html .scene--scrub .scene__stage {
    position: relative;
    display: grid;
    grid-template: minmax(0, auto) / 1fr;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }

  /* top: auto undoes §16's phone-only header inset, bottom: auto §16b's store
     bar one. Those insets exist because a PINNED layer start-aligns underneath
     the fixed chromes; here the layer is back in flow, where `top` would just
     open a 120px hole above the copy and `bottom` — which a relatively
     positioned box still honours — would shunt the whole layer upward by the
     bar's height. §16/§16b win on specificity (three-plus classes to
     two-plus-an-element), so the poster has to say so explicitly rather than
     rely on order. */
  html .scene--scrub .scene__layer {
    position: relative;
    top: auto;
    bottom: auto;
    grid-area: 1 / 1;
  }

  /* Twin of §16's phone bloom compaction, keyed to the stale class. Nested
     rather than written flat because the compaction is phone-only: unscoped,
     `html.js .scene--scrub .own__hero` (0,3,1) would outrank the 1024px
     `.own__hero { width: 26% }` (0,1,0) and blow the desktop radial's centre
     piece up to 9.5rem for every reduced-motion visitor. */
  @media (max-width: 767px) {
    html.js .scene--scrub .own__layer {
      gap: 2rem;
    }

    html.js .scene--scrub .own__beats {
      margin-top: 1.75rem;
    }

    html.js .scene--scrub .own__radial {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html.js .scene--scrub .own__hero {
      width: min(46%, 9.5rem);
    }
  }

  html .scene--scrub .scene__portal {
    clip-path: circle(var(--scene-poster-r, 34vmin) at var(--scene-cx, 50%) var(--scene-cy, 52%));
  }

  html .scene--scrub .scene__ring {
    width: calc(var(--scene-poster-r, 34vmin) * 2);
    height: calc(var(--scene-poster-r, 34vmin) * 2);
    opacity: 1;
  }

  html .scene--scrub .scene__layer--art .scene__img,
  html .scene--scrub .scene__portal .scene__img {
    transform: none;
  }

  html .scene--scrub .scene__layer--art .scene__scrim {
    opacity: 1;
  }

  /* Every breakpoint cue arrives already landed, in both directions — an
     .is-at that never got removed and one that never got added resolve to
     the same visible state. */
  html.js .scene--scrub [data-at],
  html.js .scene--scrub [data-at].is-at {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* The DOUBLE-cue twin: §13.3's collision rule is (0,5,0), the pair above
     only (0,3,1)/(0,4,1) — without this a stale scrub leaves every un-fired
     [data-at][data-animate] (the Own bloom, the crown) at opacity 0.
     html-prefixed to (0,5,1) so it wins outright. */
  html.js .scene--scrub [data-at][data-animate]:not(.is-at) {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* ---- Chat ---- */
  /* The whole thread reads at once: every row seated, no dots, the reply
     bubble in place of the indicator even if .is-typing leaked through the
     toggle (the engine's fast-forward removes it, but a stale one would
     otherwise hide the answer permanently — the dots are aria-hidden, so a
     screen-reader user would be left with a row of nothing). */
  html.js .chat-row {
    opacity: 1;
    transform: none;
  }

  html.js .chat-row.is-typing .chat-typing {
    display: none;
  }

  html.js .chat-row.is-typing .chat-bubble--reply {
    display: block;
  }

  html .chat-dot {
    animation: none;
  }

  /* The typed reply reads whole. The delay must be !important: the engine
     writes transition-delay inline per word, and the blanket rule at the top
     of this block only flattens transition-DURATION. */
  html.js .chat-word {
    opacity: 1;
    transition: none;
    transition-delay: 0s !important;
  }

  /* ---- Text morph ---- */
  /* Resolves to the destination line, whether or not .is-morphed ever fired.
     The outgoing phase is removed rather than faded: it is aria-hidden
     duplicate copy, and leaving it in the grid cell at opacity 0 would keep
     sizing the cell to a sentence nobody can read. */
  html.js .morph__phase--from {
    display: none;
  }

  html.js .morph__phase--to {
    opacity: 1;
  }

  html.js .morph__u,
  html.js .morph__phase--to .morph__u {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0s !important;
  }

  /* ---- FLIP ---- */
  /* Under reduced motion flip() just runs the mutation, so .is-flipping
     never appears — unless the OS flips mid-flight, between the invert and
     the release. Without this the tile would freeze at its old position
     forever, because the inline transform outranks any stylesheet rule. */
  html .is-flipping {
    transform: none !important;
  }

  html.js [data-flip] > * {
    transition: none;
  }

  /* ---- Velocity & parallax ---- */
  /* main.js stops writing these and removes them on the flip to reduced
     motion; !important covers the frame in between, where an inline value
     would still be tilting or offsetting a consumer. Zeroed rather than
     unset so any consumer's calc() still resolves. */
  html [data-vel] {
    --scroll-vel: 0 !important;
  }

  html [data-par] {
    --par: 0px !important;
  }

  /* ---- Garment art ---- */
  /* Garments are shown, never animated, here. Only motion is killed — the
     seating transforms from §12 stay untouched, so the art keeps its
     composition instead of collapsing onto the origin. */
  html .garment,
  html .garment__img {
    animation: none;
    transition: none;
  }

  /* ---- PHASE 3 — HERO ---- */
  /* ---- Hero SOS ---- */
  /* The dissolve selectors above are far more specific than §15's existing
     `html.js .chat-row { opacity: 1 }` — a type selector plus four classes
     against a type plus two — so without byte-twins here the reduced-motion
     pass would leave the spiral hidden and, worse, would depend on whether the
     thread had finished. These are the same selectors, later in the file, at
     equal specificity: everything visible, nothing moving, no delays. @supports
     does not affect specificity, so a rule outside it still wins on order. */
  html.js .hero__sos .chat-row,
  html.js .hero__sos:has(.chat-row--last.is-shown) .chat-row {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0s;
  }

  html.js .hero__answer,
  html.js .hero__sos:has(.chat-row--last.is-shown) ~ .hero__answer {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0s;
  }

  /* ---- PHASE 3 — VALUES ---- */
  /* ---- Value cards ---- */
  /* The DISCLOSURE SURVIVES here, and that is deliberate. §15 resolves motion,
     not interaction: a card opens because the visitor asked it to, exactly as
     the FAQ's <details> still open under reduced motion. What goes is every
     timing — the fold, the fade, the iris, the plus and the lift all become
     instant, so open and closed are two still frames with nothing between them.
     Every selector is a byte-twin of its §9.3a/b original — equal specificity,
     later in the file — including the :hover and :focus-within variants, which
     would otherwise re-apply the lift the moment a pointer crossed a card. */
  html.js.pointer-fine .value-card,
  html.js.pointer-fine .value-card:hover,
  html.js.pointer-fine .value-card:focus-within {
    translate: none;
    box-shadow: var(--kit-card);
    transition: none;
  }

  html.js .value-card__body {
    transition: none;
  }

  html .value-card__toggle::after {
    transition: none;
  }

  /* The iris still closes at rest — it is the only mark that says a closed
     card has more in it — but it snaps rather than irises. */
  html.js .value-card__ring::after {
    transition: none;
  }

  /* ---- PHASE 3 — OWN ---- */
  /* ---- Own What You Own ---- */
  /* §15 already forces every [data-at] to its landed state and hand-resolves
     the scrub-mode geometry. What it cannot know about is the beats' LAYOUT
     switch: `.js .scene--scrub .own__beats { display: grid }` is a class-only
     selector that a stale .scene--scrub would keep alive for a frame, and three
     beats sharing one grid cell with every cue forced visible is three
     sentences printed on top of each other. Backed out here rather than merely
     un-animated, and byte-twinned so specificity cannot decide it. */
  html.js .scene--scrub .own__beats {
    display: flex;
  }

  html.js .scene--scrub .own__beat {
    grid-area: auto;
  }

  /* The seats carry the radial transforms and the cues sit inside them, so
     §15's `[data-at] { transform: none }` cannot flatten the composition. */
  html .own__look,
  html .own__hero {
    transition: none;
  }

  /* ---- PHASE 3 — FAQ ---- */
  /* The accordion carries no scripted state and no engine-written custom
     property, so there is nothing to hand-resolve back to a poster — only two
     decorative timings to switch off. Both already END in the visible state, so
     removing them changes the tween and nothing else: the indicator snaps
     between plus and minus, the answer appears already composed. */
  html .faq__q::after {
    transition: none;
  }

  html .faq__item[open] > .faq__a {
    animation: none;
  }

  /* ---- PHASE 3 — FINAL-CTA ---- */
  /* ---- Final CTA ---- */
  /* Every authored delay back to zero: §15's blanket rule flattens duration
     only, and a 1.5s wait for the download buttons is exactly the kind of
     "animation" a reduced-motion visitor asked not to have. */
  html.js .final-cta__beat--turn [data-animate],
  html.js .final-cta__beat--tagline [data-animate],
  html.js .final-cta__beat--stores [data-animate] {
    transition-delay: 0s;
  }

  /* The ring arrives open, whether or not the reveal ever fired. */
  html.js .final-cta__question::before,
  html.js .final-cta__question.is-visible::before {
    transform: translate(-50%, -50%);
    opacity: 0.5;
    transition: none;
  }
}


/* ============================================
   16. MEDIA QUERIES
   ============================================ */

/* ---- Phones (max 767px) — denser rhythm ---- */
@media (max-width: 767px) {
  /* The expanded-caps CTA label must fit its pill on sub-390px phones —
     scale with the viewport instead of overflowing the rounded ends. */
  .btn {
    font-size: clamp(1rem, 4.6vw, 1.17rem);
    padding: 0.875rem 1.5rem;
  }

  /* …but never for Cotton on Poppy. That pairing is approved for LARGE text
     only, and 4.6vw resolves to 17.9px at 390px — under WCAG's 18.67px bold
     threshold, at which point 4.22:1 is judged as normal text and fails AA.
     The clamp above is legal for everything else, because every other .btn
     variant is Cotton-on-Rouge or Rouge-on-Cotton: full contrast at any size.
     Narrow phones buy their room from padding and from §11's wrap, never from
     size. */
  .btn--primary {
    font-size: 1.17rem;
    padding: 0.75rem 1.25rem;
  }

  .mobile-bar__cta {
    padding: 0.7rem 1rem;
  }

  /* Store lockups shrink with the clamp: both treatments are Cotton-on-Rouge
     or Rouge-on-Cotton, full-contrast pairings with no large-text condition
     to hold. min-width goes so the pills wrap the column instead of
     overflowing it. */
  .btn--store {
    min-width: 0;
    flex: 0 1 auto;
    padding: 0.7rem 1.25rem 0.8rem;
  }

  .btn--store__name {
    font-size: clamp(1rem, 4.6vw, 1.17rem);
  }

  /* The announcement keeps to one line: the supporting sentence joins
     from tablet up. */
  .announce__extra {
    display: none;
  }

  /* A thumb-flick covers far more document per gesture than a wheel notch,
     so the same vh runway overstays badly on a phone. Scaling the authored
     value keeps every scene's relative pacing intact; the engine re-measures
     the rendered height, so nothing needs to know this happened. */
  .scene--scrub {
    height: calc(var(--scene-runway, 240) * 0.85 * 1vh);
  }

  /* §13's `align-content: safe center` was documented as keeping copy clear of
     the fixed header without an offset to maintain. It does not, and cannot:
     `safe` only guarantees that overflow never escapes past the START edge
     where no scroll can reach it — it falls back to plain start alignment, and
     start is underneath a fixed header. On a 390 phone the Own What You Own
     copy is taller than the stage, so it start-aligns at the layer's 20px
     padding and spends the ENTIRE 280vh scrub with its label and the top of
     its h2 behind the 120px header: measured at 11 of 11 sampled progress
     steps, both languages, with the label's own box resolving to the
     announcement bar under elementFromPoint.
     Insetting the layer's box (not its padding) keeps the clamp above intact
     and leaves ART layers full-bleed, so the Problem scene's photograph still
     reaches the top edge. Phone-only: at 768+ every scene's copy fits and
     genuinely centres, and shifting those compositions would be a regression
     in the name of a bug they do not have. */
  .scene--scrub .scene__layer:not(.scene__layer--art) {
    top: var(--header-offset);
  }

  /* ---- PHASE 3 — HERO ---- */
  /* The one place the thread is allowed to get tighter still: below 768px the
     headline is already at its clamp floor, so the only slack left is here. */
  .hero__sos {
    font-size: 0.875rem;
    gap: 0.4em;
  }

  .hero__stage {
    gap: 1rem;
  }

  /* The two store pills are the conversion, and they are the only element in
     the hero that wraps on a phone: below 768px each one takes its own row, so
     left-aligning them leaves two differently-sized pills ragged against the
     copy. Centred, the stack reads as one deliberate block — the same
     treatment the final CTA already gives them (§9.9). Phone-only: from 768px
     they sit side by side on one row and the ragged edge disappears.

     The extra top margin is phone-only too: on desktop 2.25rem sits the pills
     right under the copy, but on a phone the support line wraps to two or
     three lines and the buttons crowd it. 3.5rem gives the block room to
     breathe without pushing them off the fold. */
  .hero .store-buttons {
    justify-content: center;
    margin-top: 3.5rem;
  }

  /* ---- PHASE 3 — OWN ---- */
  /* ---- PHASE 3 — OWN ---- */
  /* THE PHONE BLOOM. A pinned stage is exactly one viewport tall and clips its
     own children, and §9.6b's poster arrangement is ~480px of cards stacked
     under ~380px of copy: on a 393x852 phone that is 193px more than the stage
     can hold, and the overflow is the bottom of the bloom. Looks 3, 4 and 5
     took their cue, faded in below the stage's edge and were never seen —
     measured at every progress step, both languages. The section read as "the
     animation does nothing on my phone", because two thirds of it happened
     off-screen.

     Under a live scrub only, the bloom therefore compacts to the same three
     columns §16b already gives tablets and the hero piece comes down with it,
     which fits all six cards inside the stage with room for the longer ES
     copy. The poster keeps the roomier two columns and the big hero: it is a
     normal-height section that grows with its content and has nothing to fit
     inside. Both halves of that switch are stated — see the §15 twin.

     This buys the mainstream phone. Where the composition is still too tall —
     a 375x667 handset, a 360-wide Android, any phone at 200% zoom — main.js §5
     measures exactly that and refuses to pin at all, so the section falls back
     to the poster instead of clipping. That measurement, not this rule, is
     what makes the outcome safe; this rule is what keeps the set piece playing
     on the phones that can hold it. */
  .js .scene--scrub .own__layer {
    gap: 1.25rem;
  }

  .js .scene--scrub .own__beats {
    margin-top: 1rem;
  }

  .js .scene--scrub .own__radial {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .js .scene--scrub .own__hero {
    width: min(30%, 6rem);
  }

  /* ---- PHASE 3 — FINAL-CTA ---- */
  /* ---- PHASE 3 — FINAL-CTA ---- */
  /* The ring is sized in em off the question, which is itself a clamp — at the
     phone floor 12em would spill past both edges of a 390px viewport and get
     clipped into two arcs by the section's own bounds. */
  .final-cta__question::before {
    width: 9em;
    height: 9em;
  }
}


/* ---- 16b The OTHER fixed chrome ---- */

/* The rule above discounts the header from a pinned stage. The mobile store
   bar is the second fixed chrome and it was not discounted, so a scene that
   "fit the viewport" still had its bottom ~110px covered — on Own What You
   Own that was the entire second row of the bloom, sitting behind the store
   pills for the whole scrub. Exactly the failure Phase 5 already fixed for
   scroll-into-view (§2's scroll-padding-bottom); the same measurement, the
   same token, one more consumer.

   Its own breakpoint, not §16's: the bar is display: none only from 1024px, so
   it eats stage on tablets too. Keyed to .mobile-bar-up rather than applied
   flat, because the bar is scroll-gated — reserving its height on a stage it
   is not over would cost a scene room for nothing. main.js re-runs the fit
   measurement on both edges of that class, so a scene that no longer fits
   unpins as the bar arrives instead of pinning around it. */
@media (max-width: 1023px) {
  html.mobile-bar-up .scene--scrub .scene__layer:not(.scene__layer--art) {
    bottom: var(--mobile-bar-height, 7rem);
  }
}


/* ---- Tablet (768px) ---- */
@media (min-width: 768px) {
  :root {
    --container-padding: 2.5rem;
  }

  section {
    padding: 5.5rem 0;
  }

  /* Footer grid */
  .site-footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__nav {
    grid-column: 1;
  }

  .site-footer__social {
    grid-column: 2;
    justify-self: end;
  }

  .site-footer__info {
    grid-column: 1;
    align-items: flex-start;
  }

  .site-footer__legal {
    grid-column: 1 / -1;
    text-align: center;
  }

  .site-footer__logo {
    margin: 0;
  }

  /* ---- PHASE 3 — VALUES ---- */
  /* 2x2 from here up. minmax(0, 1fr) rather than 1fr: an auto minimum lets a
     long unbreakable token push a column past its share and the grid out of the
     container. Row stretch is overridden in §9.3a — an open card must not drag
     its closed neighbour to the same height and leave it holding a void. */
  .values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .value-card {
    --value-pad: 1.6rem;
  }

  /* ---- PHASE 3 — SOLUTION ---- */
  /* The bubble has room for a bigger card from here, and moving --kit-fs moves
     every metric inside the card with it. */
  .solution__outfit {
    --kit-fs: 1.15rem;
  }

  /* ---- PHASE 3 — INSIDE ---- */
  /* ---- 9.5.1 Inside Portal ---- */
  /* Still stacked — the two-column alternation waits for 1024px, where a copy
     column and a device can both have their measure. Tablet only buys room. */
  .inside__bands {
    margin-top: 3rem;
  }

  .inside__band {
    padding: 3.25rem 0;
  }

  .inside__visual {
    --inside-phone-w: 280px;
    margin-top: 2.5rem;
  }

  .inside__visual--feed {
    --inside-phone-w: 200px;
  }

  .inside__feed .phone + .phone {
    margin-left: -3rem;
    margin-top: 3rem;
  }

  /* ---- PHASE 3 — OWN ---- */
  /* ---- PHASE 3 — OWN ---- */
  .own__radial {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .own__card {
    --kit-fs: 0.85rem;
  }

  /* ---- PHASE 3 — PERSONALIZATION ---- */
  /* ---- PHASE 3 — PERSONALIZATION ---- */
  .personalization__inner {
    gap: 3rem;
  }

  /* ---- PHASE 3 — FAQ ---- */
  .faq__inner {
    gap: 2.75rem;
  }

  .faq__q {
    gap: 1.75rem;
    padding: 1.375rem 0;
  }

  .faq__still {
    margin-top: 2.25rem;
  }
}


/* ---- Desktop (1024px) ---- */
@media (min-width: 1024px) {
  section {
    padding: var(--section-padding-desktop) 0;
  }

  .nav__links {
    display: flex;
    gap: 0.25rem;
  }

  .nav__cta {
    display: inline-flex;
  }

  .hamburger,
  .js .hamburger {
    display: none;
  }

  /* Footer refined grid */
  .site-footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 2rem;
    align-items: start;
  }

  .site-footer__brand {
    grid-column: 1;
  }

  .site-footer__nav {
    grid-column: 2;
  }

  .site-footer__nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .site-footer__social {
    grid-column: 3;
    justify-self: auto;
  }

  .site-footer__info {
    grid-column: 4;
    align-items: flex-start;
  }

  .site-footer__legal {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(213, 206, 203, 0.2);
  }
}


/* ---- Wide (1440px) ---- */
@media (min-width: 1440px) {
  :root {
    --container-padding: 0;
  }
}
