/* ============================================================
   avy-award-system.css — Award-tier design system
   (design contract: docs/decisions/design-contract-award-tier.md)

   Concept: "Light is the product." The UI behaves like a
   foil-stamped sheet under a moving light source.

   Vibe archetype  : Editorial Luxury (warm cream / espresso / sage)
   Layout archetype: Asymmetrical Bento + Z-Axis Cascade
   Motion language : spring-mass, cubic-bezier(.32,.72,0,1)

   This file is GLOBAL chrome-safe: tokens live on :root, and every
   visual device is opt-in via .avy-* utility classes. Pages that do
   not use those classes are visually unaffected.
   ============================================================ */

/* ---------- 1. Type faces ----------
   @font-face lives in avy-fonts-local.css (loaded globally as `avy-fonts`).
   Declared there once only — a second declaration here would double-download
   and its relative path would resolve to the wrong directory. */

/* ---------- 2. Design tokens ---------- */
:root {
  /* palette — retained Warm Ivory / Sage / Champagne Gold skeleton */
  --avy-ivory: #fbf9f4;
  --avy-pearl: #f5f0e6;
  --avy-paper: #efe8da;
  --avy-ink: #1f211d;
  --avy-ink-soft: #2e312b;
  --avy-muted: #4d4e48;
  --avy-sage: #838b73;
  --avy-olive: #5f6652;
  --avy-taupe: #a59786;
  --avy-gold: #b89a62;
  --avy-gold-soft: #d8c297;
  --avy-gold-dark: #8a6d3f;
  --avy-gold-hi: #f2e4c2; /* specular highlight — foil sweep only, never a fill */
  /* One foil gradient for the whole site (Phase 0.4). Stops are the
     homepage's original ramp promoted to tokens, so `.hero-foil-type`
     does not drift. Consumers: .avy-em, .hero-foil-type. New foil
     type must use this, not a hand-rolled ramp. */
  --avy-foil-gradient: linear-gradient(
    102deg,
    var(--avy-gold-dark) 0%,
    var(--avy-gold-soft) 26%,
    var(--avy-gold-hi) 44%,
    var(--avy-gold) 62%,
    var(--avy-gold-dark) 100%
  );
  --avy-burgundy: #6e3f44;
  --avy-line: rgba(31, 33, 29, 0.12);
  --avy-line-soft: rgba(31, 33, 29, 0.07);

  /* type */
  /* Type policy (2026-10-08): this is a B2B + B2C storefront, not a
     magazine. Fraunces used to back h1, h2, h3 and every display-classed
     number, which read as mood-board rather than supplier. The token now
     resolves to the grotesk so every structural heading and figure is
     business by default; the editorial serif is re-applied explicitly to
     the single hero statement below (.avy-display--xl). Changing this one
     value flips the whole site — nothing else has to be chased. */
  --avy-font-display:
    "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --avy-font-serif:
    "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --avy-font-body:
    "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* motion — spring-mass, never linear/ease-in-out */
  --avy-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --avy-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --avy-dur: 720ms;
  --avy-dur-fast: 320ms;

  /* depth — radius values snap to the locked scale
     (0 / 8 / 16 / 28 / 50% / 999px) defined in avy-design-system.css */
  --avy-radius: 28px;
  --avy-radius-sm: 16px;
  --avy-shadow-soft: 0 24px 70px rgba(38, 34, 27, 0.1);
  --avy-shadow-lift: 0 32px 90px rgba(38, 34, 27, 0.16);
  --avy-inset-hi: inset 0 1px 1px rgba(255, 255, 255, 0.55);
  --avy-inset-lo: inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

/* ---------- 3. Display type helpers ---------- */
/* Business grotesk is the default for every structural heading and figure
   (see the type policy on --avy-font-display above). Weight 680 is real on
   the Plus Jakarta Sans variable face (200-800), not synthesised bold. */
.avy-display {
  font-family: var(--avy-font-display);
  font-weight: 680;
  font-variation-settings: normal;
  letter-spacing: -0.028em;
  line-height: 1.06;
  text-wrap: balance;
}

/* The hero statement is the one editorial-serif moment on the site. */
.avy-display--xl {
  font-family: var(--avy-font-serif);
  font-weight: 400;
  font-variation-settings: normal;
  letter-spacing: -0.042em;
  line-height: 0.95;
  font-size: clamp(3rem, 5vw, 5rem);
}
.avy-display--lg {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
}
.avy-display--md {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.avy-em {
  font-style: normal;
  background: var(--avy-foil-gradient);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: avy-foil-text 9s var(--avy-ease) infinite;
}

@keyframes avy-foil-text {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ---------- 4. Eyebrow pill ---------- */
.avy-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.48em 1.05em;
  border: 1px solid var(--avy-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  font-family: var(--avy-font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--avy-olive);
  margin: 0;
}

/* The homepage annotation chip is 10.5px / 0.22em / olive. `.lv-page
   p:not(.lv-display)` used to win on specificity and repaint every
   paragraph as 16.2px body copy -- including this one, because the
   eyebrow is a <p>. Excluding it above restores the base chip; this
   scoped copy pins the scale against any later paragraph rule. */
.lv-page .lv-hero__copy .avy-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.65;
  color: var(--avy-olive);
}
.avy-eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--avy-gold);
  box-shadow: 0 0 0 3px rgba(184, 154, 98, 0.22);
}

.avy-eyebrow--light {
  color: var(--avy-gold-soft);
  border-color: rgba(216, 194, 151, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- 5. Film grain (fixed, non-scrolling) ---------- */
/* One noise tile, two emulsions. The property is hoisted so the
   dark-stock companion in 5a can share it without a second copy of
   the data-URI. */
:root {
  --avy-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.avy-grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.042;
  mix-blend-mode: multiply;
  background-image: var(--avy-noise);
}

/* ---------- 5a. Film grain on dark stock ----------
   §5 is a paper tooth: multiply only darkens, so on the near-black
   chapter (rgb 33 29 24) it measured 0.14 mean delta and never
   read -- 8.3x weaker than on the ivory field. Dark emulsion needs
   the companion lift. screen pulls noise out of the shadows; at
   0.048 it moves the ivory paper by about one level, so the light
   field keeps its §5 tooth without a second visible layer.

   It rides the chapter itself rather than the fixed overlay because
   a screen layer covering the whole viewport would also lift the
   lights everywhere -- including the homepage, which must stay on
   multiply alone. Positioned ::before paints over static content,
   which is what film grain does: it sits on the type too. */
.lv-chapter--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.048;
  mix-blend-mode: screen;
  background-image: var(--avy-noise);
}

/* ---------- 6. Double-bezel (Doppelrand) container ---------- */
.avy-bezel {
  position: relative;
  padding: 10px;
  border-radius: var(--avy-radius);
  background: rgba(31, 33, 29, 0.045);
  border: 1px solid var(--avy-line-soft);
  box-shadow: var(--avy-shadow-soft);
}

.avy-bezel__core {
  position: relative;
  height: 100%;
  border-radius: calc(var(--avy-radius) - 10px);
  background: var(--avy-ivory);
  box-shadow: var(--avy-inset-hi);
  overflow: hidden;
}

/* ---------- 7. Foil light sweep (signature device) ---------- */
.avy-sweep {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.avy-sweep::after {
  content: "";
  position: absolute;
  inset: -30% -60%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    104deg,
    transparent 38%,
    rgba(255, 255, 255, 0.06) 45%,
    rgba(255, 246, 222, 0.38) 50%,
    rgba(255, 255, 255, 0.06) 55%,
    transparent 62%
  );
  transform: translateX(-40%) rotate(2deg);
  mix-blend-mode: overlay;
  animation: avy-sweep 7.5s var(--avy-ease) infinite;
}

@keyframes avy-sweep {
  0% {
    transform: translateX(-40%) rotate(2deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  55% {
    opacity: 1;
  }
  70% {
    transform: translateX(40%) rotate(2deg);
    opacity: 0;
  }
  100% {
    transform: translateX(40%) rotate(2deg);
    opacity: 0;
  }
}

.avy-sweep--hover::after {
  animation: none;
  opacity: 0;
  transition: opacity 220ms var(--avy-ease);
}

.avy-sweep--hover:hover::after {
  opacity: 1;
  animation: avy-sweep 1.15s var(--avy-ease) 1;
}

/* ---------- 8. Buttons — island + button-in-button ---------- */
.avy-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid var(--avy-ink);
  border-radius: 999px;
  background: transparent;
  color: var(--avy-ink);
  font-family: var(--avy-font-body);
  font-size: 0.945rem;
  font-weight: 600;
  letter-spacing: 0.004em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--avy-dur-fast) var(--avy-ease),
    background-color var(--avy-dur-fast) var(--avy-ease),
    color var(--avy-dur-fast) var(--avy-ease),
    box-shadow var(--avy-dur-fast) var(--avy-ease),
    border-color var(--avy-dur-fast) var(--avy-ease);
  will-change: transform;
}

.avy-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(31, 33, 29, 0.08);
  font-size: 15px;
  line-height: 1;
  transition:
    transform var(--avy-dur-fast) var(--avy-ease),
    background-color var(--avy-dur-fast) var(--avy-ease);
}

.avy-btn:hover {
  transform: translateY(-2px);
}
/* Keyboard focus is a design moment, not a browser default. The ring
   uses the foil gold so it reads as part of the material system, with
   an ivory outer gap so it still separates on the dark close. */
.lv-page :is(.avy-btn, .lv-link, a):focus-visible {
  outline: 2px solid var(--avy-gold);
  outline-offset: 3px;
  border-radius: 999px;
}
.lv-chapter--dark :is(.avy-btn, .lv-link, a):focus-visible {
  outline-color: var(--avy-gold-soft);
}

.avy-btn:hover .avy-btn__icon {
  transform: translate(3px, -2px) scale(1.06);
}
.avy-btn:active {
  transform: translateY(0) scale(0.98);
}

.avy-btn--dark {
  background: var(--avy-ink);
  color: var(--avy-ivory);
  border-color: var(--avy-ink);
  box-shadow: 0 16px 38px rgba(31, 33, 29, 0.18);
}
.avy-btn--dark .avy-btn__icon {
  background: rgba(255, 255, 255, 0.13);
}
.avy-btn--dark:hover {
  background: var(--avy-ink-soft);
  box-shadow: 0 22px 52px rgba(31, 33, 29, 0.26);
}

.avy-btn--soft {
  border-color: var(--avy-line);
  background: rgba(255, 255, 255, 0.52);
}
.avy-btn--soft .avy-btn__icon {
  background: rgba(31, 33, 29, 0.06);
}
.avy-btn--soft:hover {
  background: #fff;
  border-color: rgba(31, 33, 29, 0.22);
}

.avy-btn--gold {
  background: linear-gradient(
    148deg,
    var(--avy-gold-soft),
    var(--avy-gold) 52%,
    var(--avy-gold-dark)
  );
  color: var(--avy-ink);
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(184, 154, 98, 0.32);
}
.avy-btn--gold .avy-btn__icon {
  background: rgba(31, 33, 29, 0.12);
}
.avy-btn--gold:hover {
  box-shadow: 0 24px 58px rgba(184, 154, 98, 0.42);
}

.avy-btn--ghost {
  border-color: rgba(216, 194, 151, 0.42);
  color: var(--avy-gold-soft);
}
.avy-btn--ghost .avy-btn__icon {
  background: rgba(216, 194, 151, 0.16);
}
.avy-btn--ghost:hover {
  border-color: var(--avy-gold-soft);
  background: rgba(216, 194, 151, 0.1);
}

/* ---------- 9. Reveal (scroll entry) ----------
   Content is visible by default. The hidden start state is applied only
   once JS has armed the motion layer (`html.avy-reveal-armed`, set in
   <head> before paint). Without JS, without scroll, in print, and in
   full-page screenshots the page must still read as a finished document. */
.avy-reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 820ms var(--avy-ease-out),
    transform 820ms var(--avy-ease-out),
    filter 820ms var(--avy-ease-out);
  transition-delay: var(--avy-stagger, 0ms);
}

html.avy-reveal-armed .avy-reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  will-change: transform, opacity;
}

.avy-reveal.is-in {
  opacity: 1;
  /* `transform: none`, not `translateY(0)`. A zero-length translate still
     serializes to matrix(1,0,0,1,0,0), which is a real transform and so
     still creates a stacking context — that isolates any `mix-blend-mode`
     on the element (or its pseudos) to the element's own content, and the
     foil highlight could not see the paper behind it. `none` drops the
     stacking context and the blend reaches the page. */
  transform: none;
  filter: blur(0);
  /* Drop the compositor layer once the entry has landed. While the
     element is still `will-change: transform`, Chromium promotes it
     to its own layer and `mix-blend-mode` on a pseudo can then find
     no backdrop to blend with — the raking streak simply vanished
     on .home-vs__stage. Restoring `auto` after the reveal keeps the
     entry GPU-cheap and the blend honest. */
  will-change: auto;
}

/* ---------- 9.1 Legacy .reveal compat (blank-page bomb defused) --------
   Roughly 20 content-page / product sidecars still ship their own
   `.reveal { opacity: 0 }` start state plus a private IntersectionObserver
   that adds `.in` / `.is-visible` / `.is-revealed`. That start state is
   UNCONDITIONAL — if the sidecar's JS never runs (parse error, blocked
   script, bot, the sidecar simply being absent) the content is invisible
   forever.

   Two moves kill the failure mode without converting 20 files today:

   1. When the motion layer never armed (`html:not(.avy-reveal-armed)` —
      no JS, print, prefers-reduced-motion, ancient browser) force every
      legacy reveal target visible. `!important` is required: we are
      out-ranking a declaration we do not own.

   2. When it IS armed, let the sidecar CSS work as designed. The global
      driver `assets/js/avy-reveal.js` adds ALL four historical state
      classes at once, so whichever one that stylesheet is waiting for
      resolves.

   Sidecar `.reveal{opacity:0}` blocks get deleted as each file is
   converted (Phase 1-3), not in one batch.

   2026-10-15: the `[class*="-reveal"]` line was added after a live no-JS
   probe found legacy per-page tokens (`.sc-reveal`, `.or-reveal`, …) still
   hide content forever when JS never runs — plain `.reveal` was covered,
   the tokens were not (sauce-labels rendered 61/61 hooked elements
   invisible). Forcing `is-revealed` visible here too is harmless: an
   already-revealed element is exactly that. */
html:not(.avy-reveal-armed) .reveal,
html:not(.avy-reveal-armed) .reveal.is-visible,
html:not(.avy-reveal-armed) .reveal.in,
html:not(.avy-reveal-armed) .reveal.is-revealed,
html:not(.avy-reveal-armed) [class*="-reveal"],
html:not(.avy-reveal-armed) [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* ---------- 10. Section rhythm ---------- */
.avy-section {
  padding: clamp(65px, 8vw, 80px) 0;
}
.avy-section--tight {
  padding: clamp(64px, 7vw, 104px) 0;
}

.avy-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 40px 64px;
  align-items: end;
  margin-bottom: clamp(48px, 5vw, 55px);
}

.avy-section-head h2 {
  margin: 18px 0 0;
  max-width: 15ch;
  word-spacing: 5px;
}

.avy-section-head > p {
  margin: 0 0 6px;
  max-width: 46ch;
  color: var(--avy-muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.avy-container {
  width: min(1280px, calc(100vw - 16px));
  margin-inline: auto;
}

/* ---------- 11. Magnetic hover target wrapper ---------- */
.avy-magnetic {
  will-change: transform;
}

/* ---------- 12. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .avy-sweep::after,
  .avy-em {
    animation: none !important;
  }
  .avy-em {
    background-position: 30% 50%;
  }
  .avy-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .avy-btn,
  .avy-btn__icon {
    transition: none !important;
  }
}

/* print must never inherit a scroll-hidden start state */
@media print {
  html.avy-reveal-armed .avy-reveal:not(.is-in),
  .avy-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ---------- 13. Responsive collapse ---------- */
@media (max-width: 900px) {
  .avy-section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }
  .avy-section-head h2 {
    max-width: none;
  }
  .avy-container {
    width: calc(100vw - 25px);
  }
  .avy-btn {
    min-height: 52px;
    padding-left: 22px;
    gap: 12px;
  }
  .avy-btn__icon {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 560px) {
  .avy-btn {
    width: 100%;
    justify-content: space-between;
  }
}

/* ---------- 14. avy-ai-chat accent override ----------
   The chat plugin stores --avy-accent per site in its options table and
   inlines that value, which reintroduces Google blue (#1a73e8) on every
   page. Force the champagne-gold accent so site chrome stays one language. */
#avy-ai-chat-root {
  --avy-accent: #b89a62 !important;
  --avy-accent-dark: #8a6d3f !important;
  /* The plugin's neutrals are Google-grey (#e4e7eb border, #f1f3f4
     bot bubble) and its surfaces are #fafbfc — all three read cool
     against ivory and failed the contract-3 "no blue residue" gate
     as BUTTON rgb(228,231,235). Swap in the same three-step ivory
     ramp the rest of the site uses: hairline / paper / pearl. */
  --avy-border: #e3dac8 !important;
  --avy-bubble-bot: #efe8da !important;
  --avy-bg: #f5f0e6 !important;
}
/* The plugin hardcodes #fafbfc / #f1f3f4 / #e4e7eb on a few panels
   instead of reading the variables, so the literals need covering
   too. Same ramp, one step each. */
#avy-ai-chat-root .avy-window,
#avy-ai-chat-root .avy-messages,
#avy-ai-chat-root .avy-human-bar,
#avy-ai-chat-root .avy-footer-note {
  background: #f5f0e6 !important;
}
#avy-ai-chat-root .avy-msg.avy-bot {
  background: #efe8da !important;
}
#avy-ai-chat-root .avy-window,
#avy-ai-chat-root .avy-human-btn,
#avy-ai-chat-root .avy-composer,
#avy-ai-chat-root textarea,
#avy-ai-chat-root input {
  border-color: #e3dac8 !important;
}

/* ============================================================
   15. AWARD ROUND 1 — site chrome (2026-10-07)
   Three chrome items were dragging every page toward "template":
   thick-stroked Lucide icons, a shouty announcement bar, and a
   chat launcher that collided with mobile CTAs.
   ============================================================ */

/* ---- 15.1 Ultra-light icon line ----------------------------
   The SVGs are inline Lucide with stroke-width="2" as a
   presentation attribute. CSS beats presentation attributes, so
   the whole header icon set thins without touching markup.
   Absolute Zero bans thick-stroked stock icons; this is the
   Phosphor-Light weight the brief asks for. */
.avy-header__icon svg,
.avy-header__search svg,
.avy-header__hamburger svg,
.avy-mini-cart__close svg,
.avy-mobile-menu__close svg,
.avy-announcement-bar__close svg {
  stroke-width: 1.85;
}
.avy-header__icon svg {
  width: 21px;
  height: 21px;
}

/* ---- 15.2 Announcement bar: a whisper, not a billboard ----
   The condensed all-caps offer was eating ~130px of the mobile
   fold and reading as a Shopify app. Keep the offer (copy is a
   commercial fact and stays) but drop its voice. */
.avy-announcement-bar {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}
.avy-announcement-bar__text {
  font-size: inherit;
  letter-spacing: inherit;
  font-weight: 600;
}
@media (max-width: 720px) {
  .avy-announcement-bar {
    font-size: 0.645rem;
    letter-spacing: 0.11em;
    padding-block: 9px;
    line-height: 1.55;
  }
  .avy-announcement-bar__copy {
    padding: 4px 10px;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    border-radius: 999px;
  }
  .avy-announcement-bar__close {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
  }
}

/* ---- 15.3 Chat launcher: smaller, quieter, out of the way -
   48px black disc sat on top of the mobile sample-pack CTA.
   Soften it and lift it clear of thumb-reach buttons. */
#avy-ai-chat-root .avy-launcher,
.avy-ai-chat-root .avy-launcher {
  width: 42px;
  height: 42px;
  box-shadow: 0 10px 28px rgba(28, 22, 12, 0.18);
}
#avy-ai-chat-root .avy-launcher svg,
.avy-ai-chat-root .avy-launcher svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}
@media (max-width: 720px) {
  #avy-ai-chat-root,
  .avy-ai-chat-root {
    bottom: calc(20px + 44px + 12px + 5px);
  }
}

/* ---- 15.3 Controls inherit the type stack ----------------------
   <button>/<input>/<textarea>/<select> do NOT inherit font-family.
   The UA hands them `13.3333px Arial`, and the chat plugin stacks
   `-apple-system, …, Roboto` on its own widgets — 20 controls per
   page sitting on banned families while the rest of the page is
   Fraunces + Plus Jakarta. The font policy is two families, full
   stop; make the controls obey it. The plugin needs !important
   because its stylesheet can load after this one. */
button,
input,
select,
textarea {
  font-family: var(--avy-font-body);
}
/* the plugin declares its stack on several ancestors, so a child list is
   whack-a-mole — restyle the whole widget. */
#avy-ai-chat-root,
#avy-ai-chat-root *,
.avy-ai-chat-root,
.avy-ai-chat-root *,
button.avy-launcher {
  font-family: var(--avy-font-body) !important;
}

/* ============================================================
   16. AWARD ROUND 2 — legibility + jank (2026-10-07)
   Round 1 made the material photography carry every section.
   The photographs are now brighter than the old CSS gradients,
   so captions that used to clear AA started failing on the
   light stocks (cosmetics glass, perfume glass, cream emboss
   paper). This round restores contrast without dimming the
   photographs back into colour fields, and clears the three
   layout-triggering transitions the contract bans.
   ============================================================ */

/* ---- 16.1 Motion token ------------------------------------
   --avy-transition is '0.3s ease' in the design system. The
   award brief bans stock easing; one override moves every
   consumer onto the spring-mass curve this system already
   documents.

   --avy-transition is a SHORTHAND composed from the canonical
   primitives --avy-ease / --avy-dur declared in section 2 above.
   Legacy consumers keep using it; new work should express motion
   as `transition: <property> var(--avy-dur) var(--avy-ease)` so
   duration and curve can be tuned independently. */
:root {
  --avy-transition: 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---- 16.2 Jank: animate transform/opacity only ------------
   Contract item 5. Three rules were transitioning layout. */
.avy-announcement-bar__viewport {
  /* height was interpolated to collapse the bar. Clip instead —
     the track already animates its own transform. */
  transition: none;
}
.avy-search__input {
  /* width/padding animation reflows the header on every frame.
     Collapse/expand via opacity + scale on the wrapper instead. */
  transition:
    opacity 0.35s cubic-bezier(0.32, 0.72, 0, 1),
    background-color 0.35s cubic-bezier(0.32, 0.72, 0, 1),
    border-color 0.35s cubic-bezier(0.32, 0.72, 0, 1),
    color 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.avy-mobile-menu {
  /* left -> transform. Same off-canvas behaviour, GPU-only. */
  left: 0;
  transform: translateX(-100%);
  transition: transform var(--avy-transition);
}
.avy-mobile-menu--open {
  transform: translateX(0);
}

/* ============================================================
   17. AWARD ROUND 3 — scroll-driven light narrative (2026-10-07)
   "Light is the product." Until now the light was static: baked
   into the photographs and played as an infinite CSS loop whether
   or not anyone was looking. This round makes the light *answer*
   the scroll, so the page reads as one physical sheet of foil
   under a single moving lamp rather than a stack of sections.

   Three beats, one lamp:
     entry   — lamp low and off to the left over the hero
     rake    — the light sweeps each material surface as it
               crosses the viewport (staggered in the finishes
               vitrine, so the faces flare one after another)
     converge— the lamp gathers into a full band behind the CTA

   Performance contract (matches the Absolute Zero rules):
     - JS writes custom properties only; it never reads layout
       inside the frame loop (metrics are cached on observe/resize).
     - Consumers animate transform / opacity exclusively.
     - The expensive mix-blend-mode sits on seven photo surfaces,
       never on a full-viewport layer.
     - prefers-reduced-motion freezes the lamp and the rake.
   ============================================================ */

/* ---- 17.1 Ambient light field ------------------------------
   A fixed, unblended warm bloom. Cheap on purpose: the
   photographic interaction is reserved for the rake (17.2), so
   this layer is allowed to move every frame without repainting
   the page underneath it. */
.avy-lightfield {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  overflow: hidden;
  opacity: var(--avy-light-op, 0.32);
}

.avy-lightfield::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 118vmax;
  height: 118vmax;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 232, 182, 0.44) 0%,
    rgba(255, 214, 150, 0.19) 34%,
    rgba(255, 200, 130, 0.06) 54%,
    transparent 68%
  );
  transform: translate3d(
    calc(var(--avy-light-x, 14) * 1vw - 50%),
    calc(var(--avy-light-y, 10) * 1vh - 50%),
    0
  );
  will-change: transform;
}

/* ---- 17.2 Raking specular band -----------------------------
   Opt-in utility: drop .avy-rake on any photo surface and the
   page-home.js driver lights it. --avy-rake is 0 while the
   surface sits below the viewport, 1 once it has passed above;
   0.5 puts the band dead centre. */
.avy-rake {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.avy-rake::after {
  content: "";
  position: absolute;
  inset: -42% -70%;
  z-index: 3;
  pointer-events: none;
  /* A raking specular is a streak, not a wash. The first cut of
     this was a 28%-wide soft ramp and PIL showed the ridge only
     4 luminance above its neighbours — a thin fog over the whole
     face. Tightened to a 6% core inside a 14% falloff so the
     light reads as a hard grazing hit on the grain. */
  background: linear-gradient(
    104deg,
    transparent 43%,
    rgba(255, 246, 222, 0.1) 47.2%,
    rgba(255, 253, 246, 0.72) 50%,
    rgba(255, 246, 222, 0.1) 52.8%,
    transparent 57%
  );
  transform: translate3d(calc((var(--avy-rake, 0.5) - 0.5) * 130%), 0, 0)
    rotate(2deg);
  mix-blend-mode: overlay;
  /* No will-change here on purpose. Promoting a `mix-blend-mode`
     element to its own compositor layer desyncs the raster from the
     blend: the band froze mid-face on the tall gold card and never
     re-rasterised as --avy-rake moved. There are at most seven of
     these on the page — the layer was buying nothing and costing the
     whole narrative. */
}

/* Tighter, brighter hit for dark grounds — a specular on espresso
   is narrower still, and hotter at the core. */
.avy-rake--hard::after {
  background: linear-gradient(
    104deg,
    transparent 45%,
    rgba(255, 246, 222, 0.14) 48%,
    rgba(255, 254, 250, 0.86) 50%,
    rgba(255, 246, 222, 0.14) 52%,
    transparent 55%
  );
}

/* On bright metal, `overlay` is the wrong half of the blend curve:
   for any backdrop above 0.5 it can only lighten by a hair, so the
   gold card's streak was measured at zero delta while the matte
   cards lifted +27. `screen` always lightens, which is what a
   specular actually does to polished metal — so bright surfaces get
   screen and a calmer core to stop it blowing out. */
.avy-rake--metal::after {
  background: linear-gradient(
    104deg,
    transparent 43%,
    rgba(255, 246, 222, 0.1) 47.2%,
    rgba(255, 253, 246, 0.5) 50%,
    rgba(255, 246, 222, 0.1) 52.8%,
    transparent 57%
  );
  mix-blend-mode: screen;
}

/* ---- 17.3 Reduced motion ----------------------------------
   The lamp parks at its hero position and the rake holds a
   static, slightly off-centre highlight. Nothing moves. */
@media (prefers-reduced-motion: reduce) {
  .avy-lightfield {
    opacity: 0.3;
  }
  .avy-lightfield::before {
    transform: translate3d(calc(30vw - 50%), calc(18vh - 50%), 0);
  }
  .avy-rake::after,
  .avy-rake--metal::after {
    transform: translate3d(-6%, 0, 0) rotate(2deg);
    mix-blend-mode: soft-light;
    opacity: 0.75;
    will-change: auto;
  }
}

/* ---- 17.4 Small screens -----------------------------------
   Narrower viewport means the same band crosses in a blink.
   Widen the lamp and soften the streak so it still reads. */
@media (max-width: 720px) {
  .avy-lightfield::before {
    width: 170vmax;
    height: 170vmax;
  }
  .avy-rake::after {
    background: linear-gradient(
      104deg,
      transparent 26%,
      rgba(255, 246, 222, 0.05) 37%,
      rgba(255, 250, 236, 0.26) 48%,
      rgba(255, 246, 222, 0.05) 59%,
      transparent 70%
    );
    transform: translate3d(calc((var(--avy-rake, 0.5) - 0.5) * 160%), 0, 0)
      rotate(2deg);
  }
  .avy-rake--hard::after {
    background: linear-gradient(
      104deg,
      transparent 34%,
      rgba(255, 246, 222, 0.08) 43%,
      rgba(255, 252, 242, 0.4) 50%,
      rgba(255, 246, 222, 0.08) 57%,
      transparent 66%
    );
  }
}
/* ============================================================
   18. LIGHTFALL — page composition layer (.lv-*)
   ------------------------------------------------------------
   "Light is the product." carried as one vertical narrative:
   light lands -> light is named -> light on material -> the
   system -> the specification -> the facts -> light settles.

   Register: high-end beauty / fragrance (Byredo, Aesop, Le Labo).
   This is a SUBTRACTION layer. Where the earlier award vocabulary
   added furniture (double-bezel, button-in-button, bento cards,
   chips), this layer removes it. It is opt-in: pages that do not
   use .lv-* are unaffected.

   Rules enforced here:
     - gold appears only as hairlines, one foil word, and real
       metal in the photography — never as a button fill
     - no cards, no chips, no bezels, no icon-in-icon, no pills
     - CTAs are typography: a word with a hairline under it
     - at most two type sizes compete in any one viewport
     - whitespace is a material, not leftover space
     - Fraunces ONLY on display statements (hero / thesis / close);
       every structural h2, h3 stays in the business grotesk
   ============================================================ */

:root {
  /* one step deeper than --avy-ivory so the page reads as paper
     stock rather than a white screen; still inside the section-8 palette */
  --lv-paper: #f7f3ea;
  --lv-paper-deep: var(--avy-pearl);
  --lv-ink: var(--avy-ink);
  --lv-muted: var(--avy-muted);
  --lv-line: rgba(31, 33, 29, 0.13);
  --lv-line-faint: rgba(31, 33, 29, 0.07);
  --lv-gold: var(--avy-gold);
  --lv-gold-deep: var(--avy-gold-dark);
  /* champagne tint for filled rating stars. Was referenced by the product
     templates long before it existed, so `fill: var(--lv-gold-soft)`
     computed to an invalid value and every star rendered as the same pale
     outline regardless of the rating. */
  --lv-gold-soft: #d7c29b;
  /* the page resolves into its own ink — "light settles" */
  --lv-dark: #211d18;
  --lv-dark-ink: #f2ece1;
  --lv-dark-muted: rgba(242, 236, 225, 0.58);
  --lv-dark-line: rgba(242, 236, 225, 0.16);

  /* type scale — deliberately fewer, larger jumps */
  --lv-display: clamp(3.15rem, 6.8vw, 6.6rem);
  /* the thesis is the page naming its argument — it carries more force
     than a section head and sits just under the hero statement */
  --lv-thesis: clamp(2.35rem, 4.6vw, 4.35rem);
  /* the close resolves the argument into an instruction — strong,
     but settled, never competing with the hero's mass */
  --lv-close: clamp(2.15rem, 4.2vw, 3.85rem);
  --lv-h2: clamp(1.65rem, 2.5vw, 2.25rem);
  --lv-h3: clamp(1.15rem, 1.5vw, 1.35rem);
  --lv-lead: clamp(1.06rem, 1.32vw, 1.22rem);
  --lv-body: 1.0125rem;
  --lv-small: 0.875rem;
  --lv-fine: 0.775rem;
  --lv-eyebrow-size: 0.6875rem;

  --lv-gutter: clamp(22px, 5vw, 88px);
  --lv-measure: 34rem;
}

/* ---------- 18.1 page ground ---------- */
.lv-page {
  background: var(--lv-paper);
  color: var(--lv-ink);
  font-family: var(--avy-font-body);
  font-size: var(--lv-body);
  line-height: 1.72;
  /* the composition sets its own vertical breath */
  padding-top: 0;
}
.lv-page > * + * {
  margin-top: 0;
}
/* The raking-light streak is inset -70% on .lv-light, but every
   .lv-light already sits inside .lv-plate (overflow: hidden), so the
   plate contains it. Clipping again at .lv-page was redundant — and
   harmful: .lv-page stops 10px short of the viewport (main--scoped's
   padding), so the hero plate's intentional right-edge bleed got cut
   off there and left a white stripe instead of running off the page.
   Document-level horizontal overflow is clipped on html/body instead,
   which is the real viewport edge. */

/* ---------- 18.2 section shell ---------- */
.lv-chapter {
  position: relative;
  /* two stacked chapters meet at ~108px of paper. Below that the
     seams start to read as a cramped document; above ~180px they
     read as broken rhythm rather than editorial air. */
  padding: clamp(48px, 6vh, 88px) var(--lv-gutter);
}
.lv-chapter--deep {
  background: var(--lv-paper-deep);
}
.lv-chapter--dark {
  background: var(--lv-dark);
  color: var(--lv-dark-ink);
}
.lv-chapter__inner {
  width: min(1320px, 100%);
  margin-inline: auto;
}

/* hairline — the only "border" this language allows */
.lv-rule {
  display: block;
  height: 1px;
  border: 0;
  background: var(--lv-line);
  margin: 0;
}
.lv-rule--gold {
  background: var(--lv-gold);
  opacity: 0.72;
}
.lv-rule--faint {
  background: var(--lv-line-faint);
}
.lv-chapter--dark .lv-rule {
  background: var(--lv-dark-line);
}

/* ---------- 18.3 type ---------- */
.lv-eyebrow {
  font-family: var(--avy-font-display);
  font-size: var(--lv-eyebrow-size);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lv-muted);
  margin: 0 0 1.6rem;
  line-height: 1;
}
.lv-chapter--dark .lv-eyebrow {
  color: var(--lv-dark-muted);
}

/* display statements — the only Fraunces in this language */
.lv-display {
  font-family: var(--avy-font-serif);
  font-weight: 380;
  font-variation-settings: normal;
  letter-spacing: -0.038em;
  line-height: 0.98;
  text-wrap: balance;
  margin: 0;
}
.lv-display--hero {
  font-size: var(--lv-display);
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.lv-display--thesis {
  font-size: var(--lv-thesis);
  line-height: 1.14;
  letter-spacing: -0.028em;
  font-weight: 340;
  max-width: 22ch;
}

/* structural headings — business grotesk, never the serif */
.lv-h2 {
  font-family: var(--avy-font-display);
  font-weight: 640;
  font-size: var(--lv-h2);
  letter-spacing: -0.028em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
.lv-h3 {
  font-family: var(--avy-font-display);
  font-weight: 640;
  font-size: var(--lv-h3);
  letter-spacing: -0.018em;
  line-height: 1.28;
  margin: 0;
}
.lv-lead {
  font-size: var(--lv-lead);
  line-height: 1.62;
  color: var(--avy-ink-soft);
  margin: 0;
  max-width: var(--lv-measure);
}
/* :not(.lv-display) matters: `.lv-page p` is (0,1,1) and would otherwise
   beat a display modifier like `.lv-display--thesis` (0,1,0) and force the
   thesis statement down to body size. Display paragraphs must keep their
   own scale. */
.lv-body,
:where(.lv-page p:not(.lv-display):not(.avy-eyebrow)) {
  font-size: var(--lv-body);
  line-height: 1.74;
  color: var(--lv-muted);
  margin: 0;
  /* one measure for running text. `ch` is the width of the "0" glyph,
     which is far wider than average here — 62ch rendered as 735px
     (~90 CPL). --lv-measure (34rem) holds ~65 CPL. */
  max-width: min(100%, var(--lv-measure));
}
.lv-body + .lv-body,
.lv-page p:not(.lv-display) + p:not(.lv-display) {
  margin-top: 1.15em;
}
.lv-fine {
  font-size: var(--lv-fine);
  line-height: 1.62;
  color: var(--lv-muted);
  letter-spacing: 0.012em;
  margin: 0;
}
/* Specificity must beat `.lv-page p:not(.lv-display)` (0,2,1), which
   otherwise paints muted-ink over the dark chapter. */
.lv-page .lv-chapter--dark p:not(.lv-display),
.lv-page .lv-chapter--dark .lv-body,
.lv-page .lv-chapter--dark .lv-fine {
  color: var(--lv-dark-muted);
}
.lv-page .lv-chapter--dark .lv-lead {
  color: var(--lv-dark-ink);
}
/* Element-level `h1–h6 { color }` in the design system beats inherited
   colour from `.lv-chapter--dark`, which is why the close title used to
   land at 1.27:1. Restate the dark-ink on every heading in a dark
   chapter so the palette is opt-in again. */
.lv-chapter--dark h1,
.lv-chapter--dark h2,
.lv-chapter--dark h3,
.lv-chapter--dark h4,
.lv-chapter--dark h5,
.lv-chapter--dark h6 {
  color: var(--lv-dark-ink);
}
/* muted dark text must still clear AA 4.5:1 on #211d18 */
.lv-chapter--dark {
  --lv-dark-muted: rgba(242, 236, 225, 0.78);
}

/* the one foil word — light, caught in type */
.lv-em {
  font-style: italic;
  font-weight: inherit;
  background: linear-gradient(
    100deg,
    var(--lv-gold-deep) 0%,
    var(--lv-gold) 26%,
    #f0e2c0 46%,
    var(--lv-gold) 62%,
    var(--lv-gold-deep) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
  /* one word, one slow specular. background-position is paint-only
     on a small box — not a layout property. */
  animation: lv-specular 15s var(--avy-ease-out) infinite;
}
@keyframes lv-specular {
  0%,
  100% {
    background-position: 8% 50%;
  }
  50% {
    background-position: 92% 50%;
  }
}

/* ---------- 18.4 CTA — typography, never a pill ---------- */
.lv-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1.15rem 2.4rem;
  margin-top: 2.6rem;
}
.lv-link {
  position: relative;
  display: inline-block;
  font-family: var(--avy-font-display);
  font-size: var(--lv-small);
  font-weight: 620;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--lv-ink);
  padding-bottom: 0.42em;
  transition: color 320ms var(--avy-ease-out);
}
.lv-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 520ms var(--avy-ease-out);
}
.lv-link:hover {
  color: var(--lv-gold-deep);
}
.lv-link--quiet {
  font-weight: 560;
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: var(--lv-body);
  color: var(--lv-muted);
}
.lv-link--quiet:hover {
  color: var(--lv-ink);
}
.lv-link--quiet::after {
  opacity: 0.55;
}
.lv-chapter--dark .lv-link {
  color: var(--lv-dark-ink);
}
.lv-chapter--dark .lv-link:hover {
  color: var(--lv-gold);
}
.lv-chapter--dark .lv-link--quiet {
  color: var(--lv-dark-muted);
}

/* inline links inside body copy.
   `:not(.avy-btn)` is load-bearing: without it this rule (0,2,1) beats
   `.avy-btn--dark` (0,2,0) and paints the button label in ink on an
   ink pill — the CTA text vanishes and only the arrow disc shows. */
.lv-page a:not(.lv-link):not(.avy-btn) {
  color: var(--lv-ink);
  text-decoration: none;
  background-image: linear-gradient(var(--lv-gold), var(--lv-gold));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  padding-bottom: 0.08em;
  transition: color 320ms var(--avy-ease-out);
}
.lv-page a.avy-btn {
  /* undo the inline-link underline treatment if specificity ever shifts */
  background-image: none;
  padding-bottom: 0;
}
.lv-page a:not(.lv-link):not(.avy-btn):hover {
  color: var(--lv-gold-deep);
}

/* ---------- 18.5 the plate — photography sitting on paper ----------
   No card, no radius, no shadow, no border. The photograph is a
   sheet laid on the page. A warm ground sits under it so a missing
   image still reads as a lit surface rather than a hole. */
.lv-plate {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  background:
    radial-gradient(
      112% 88% at 28% 18%,
      rgba(255, 248, 233, 0.95) 0%,
      rgba(238, 229, 211, 0.9) 44%,
      rgba(214, 201, 178, 0.92) 100%
    ),
    var(--lv-paper-deep);
}
.lv-plate > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  /* A photo that has not landed must read as the lit ground of
     .lv-plate, never as a broken-image glyph with the alt string
     printed across the surface. The sidecar additionally sets
     visibility:hidden on error; this covers the paint in between. */
  font-size: 0;
  color: transparent;
}
.lv-plate--dark {
  background:
    radial-gradient(
      120% 100% at 78% 30%,
      rgba(120, 96, 62, 0.55) 0%,
      rgba(52, 42, 30, 0.85) 46%,
      #211d18 100%
    ),
    var(--lv-dark);
}

/* ---------- 18.6 signature: one raking light pass ----------
   The gradient is .avy-rake's, retuned for a single one-shot on
   entry instead of a scrubbed band. A luxury gesture: the light
   lands once and stays. Reuses the proven 6%-core specular recipe
   from section 17.2 so the hit reads as hard metal, not mist. */
.lv-light {
  position: absolute;
  inset: -42% -70%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    104deg,
    transparent 43%,
    rgba(255, 246, 222, 0.1) 47.2%,
    rgba(255, 253, 246, 0.72) 50%,
    rgba(255, 246, 222, 0.1) 52.8%,
    transparent 57%
  );
  mix-blend-mode: overlay;
  opacity: 0;
  transform: translate3d(-130%, 0, 0) rotate(2deg);
  transition:
    transform 1580ms var(--avy-ease-out),
    opacity 460ms var(--avy-ease-out);
}
.lv-light--reverse {
  background: linear-gradient(
    76deg,
    transparent 43%,
    rgba(255, 246, 222, 0.1) 47.2%,
    rgba(255, 253, 246, 0.72) 50%,
    rgba(255, 246, 222, 0.1) 52.8%,
    transparent 57%
  );
}
.is-in .lv-light {
  opacity: 1;
  transform: translate3d(130%, 0, 0) rotate(2deg);
}
/* on espresso the specular is narrower and hotter */
.lv-plate--dark .lv-light {
  background: linear-gradient(
    104deg,
    transparent 45%,
    rgba(255, 246, 222, 0.14) 48%,
    rgba(255, 254, 250, 0.86) 50%,
    rgba(255, 246, 222, 0.14) 52%,
    transparent 55%
  );
}

/* ---------- 18.7 hero — light lands ---------- */
/* The ground carries the same warm light-field the homepage uses:
   a gold bloom off the art side, a sage lift under the copy, over
   paper. Without it the page reads as a flat cream document rather
   than a lit surface — which is the whole premise of the narrative. */
.lv-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 88px);
  /* stretch, not center: the plate is the material column and must
     reach the full height of the copy, or the hero opens with a dead
     band of paper above and below the photograph */
  align-items: stretch;
  min-height: min(92vh, 940px);
  padding: clamp(48px, 8vh, 104px) 0 clamp(40px, 5.5vh, 72px) var(--lv-gutter);
  background:
    radial-gradient(
      1100px 620px at 82% 18%,
      rgba(184, 154, 98, 0.18),
      transparent 62%
    ),
    radial-gradient(
      760px 520px at 8% 82%,
      rgba(131, 139, 115, 0.12),
      transparent 64%
    ),
    linear-gradient(178deg, var(--lv-paper-deep), var(--lv-paper) 58%);
}
.lv-hero__copy {
  /* slightly wider than the old 34rem so the display stack has mass
     and the routing copy stops reading as a squeezed column */
  max-width: 36rem;
  padding-right: clamp(0px, 2vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* flex column stretches children; the eyebrow pill and the button
     row must hug their content, not the measure */
  align-items: flex-start;
}
/* the pill hugs its label and never breaks mid-phrase */
.lv-hero__copy .avy-eyebrow {
  white-space: nowrap;
  max-width: 100%;
}
/* routing/supporting copy is demoted so the CTA row clears the fold.
   The SEO copy stays — it just stops competing with the statement. */
.lv-hero__body {
  max-width: var(--lv-measure);
  margin: 1.75rem 0 0;
}
.lv-hero__body p {
  font-size: var(--lv-small);
  line-height: 1.62;
  color: var(--lv-muted);
}
.lv-hero__body p + p {
  margin-top: 0.75rem;
}
.lv-hero__title {
  margin: 1.15rem 0 1.75rem;
}
/* Three words stacked is the name, not an accident: line-height is
   pulled to 0.86 so the three lines read as one typographic block,
   and the middle word is the page's single foil moment. */
.lv-hero__title-main {
  display: block;
  font-family: var(--avy-font-serif);
  font-weight: 380;
  font-variation-settings: normal;
  font-size: var(--lv-display);
  letter-spacing: -0.05em;
  line-height: 0.86;
  text-wrap: balance;
}
.lv-hero__title-sub {
  display: block;
  margin-top: 0.62em;
  font-family: var(--avy-font-display);
  font-weight: 560;
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
  letter-spacing: -0.012em;
  line-height: 1.34;
  color: var(--lv-muted);
  font-variation-settings: normal;
}
.lv-hero__plate {
  /* bleeds off the right edge — the material leaves the page.
     height:100% + stretch fills the hero's vertical extent, so the
     photograph meets the top and bottom of the copy column instead of
     floating in a band of empty paper. */
  position: relative;
  height: 100%;
  min-height: clamp(420px, 72vh, 760px);
  margin-right: calc(var(--lv-gutter) * -1);
  align-self: stretch;
}

/* ---- scroll-driven depth ----
   The material drifts slower than the type, so the plate reads as a
   plane behind the copy rather than a sticker beside it. The drift is
   applied to the photograph INSIDE the clipped plate, never to the
   plate box itself: a transform on the box would slide the whole frame
   out of its hero seat at rest. scale(1.06) keeps the overscan taller
   than the travel, so no edge ever shows. Scroll-driven animation
   (animation-timeline: view()) is CSS-only and GPU-safe -- no scroll
   listeners, which the motion layer forbids. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .lv-hero__plate img {
      animation: lv-plate-drift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    .lv-hero__title {
      animation: lv-type-drift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
  }
}
@keyframes lv-plate-drift {
  from {
    transform: scale(1.06) translateY(18px);
  }
  to {
    transform: scale(1.06) translateY(-18px);
  }
}
@keyframes lv-type-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-14px);
  }
}

/* hero children cascade in after the section lands -- the statement,
   then the proof, then the action. Opacity + translate only. The title
   is excluded here: it carries the scroll-driven lv-type-drift, and the
   `animation` shorthand would reset its animation-timeline to auto. */
@media (prefers-reduced-motion: no-preference) {
  .lv-hero.is-in .lv-hero__copy > *:not(.lv-hero__title) {
    animation: lv-rise 720ms var(--avy-ease-out) both;
  }
  .lv-hero.is-in .lv-hero__copy > *:nth-child(1) {
    animation-delay: 60ms;
  }
  .lv-hero.is-in .lv-hero__copy > *:nth-child(3) {
    animation-delay: 240ms;
  }
  .lv-hero.is-in .lv-hero__copy > *:nth-child(4) {
    animation-delay: 330ms;
  }
  .lv-hero.is-in .lv-hero__copy > *:nth-child(5) {
    animation-delay: 420ms;
  }
  .lv-hero.is-in .lv-hero__copy > *:nth-child(6) {
    animation-delay: 500ms;
  }
  .lv-hero.is-in .lv-hero__copy > *:nth-child(n + 7) {
    animation-delay: 560ms;
  }
  .lv-hero.is-in .lv-hero__title-main {
    animation: lv-rise 720ms var(--avy-ease-out) 150ms both;
  }
  .lv-hero.is-in .lv-hero__title-sub {
    animation: lv-rise 720ms var(--avy-ease-out) 240ms both;
  }
}
@keyframes lv-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.lv-hero__fine {
  margin-top: 2.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--lv-line-faint);
}

/* ---- 18.7a floating spec tags on a plate ----
   The homepage annotates its hero art with small glass tags — a
   sample card in a studio has a spec tag on it. Same device here:
   they name what the photograph shows, and they give the flat plate
   a second depth plane. */
.lv-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 17px 11px 13px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(38, 34, 27, 0.13);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  font-family: var(--avy-font-display);
  font-size: 0.735rem;
  font-weight: 600;
  letter-spacing: 0.028em;
  line-height: 1.35;
  color: var(--avy-ink-soft);
  white-space: nowrap;
  pointer-events: none;
}
.lv-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(148deg, var(--avy-gold-soft), var(--avy-gold));
  box-shadow: 0 0 0 3px rgba(184, 154, 98, 0.2);
  flex: none;
}
.lv-tag--a {
  top: 7%;
  left: 6%;
  animation: lv-tag-float 7s ease-in-out infinite;
}
.lv-tag--b {
  bottom: 8%;
  right: 12%;
  animation: lv-tag-float 8.4s ease-in-out infinite 0.8s;
}
@keyframes lv-tag-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lv-tag {
    animation: none;
  }
}
@media (max-width: 900px) {
  .lv-tag {
    font-size: 0.685rem;
    padding: 9px 13px 9px 11px;
  }
  .lv-tag--a {
    top: 4%;
    left: 4%;
  }
  .lv-tag--b {
    bottom: 4%;
    right: 4%;
  }
}

/* ---- 18.7b notes row — gold-dot terms ----
   Replaces the single wrapping fine print line. Reads as a terms
   strip from the homepage rather than a disclaimer footnote. */
.lv-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 2rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--lv-line-faint);
  list-style: none;
}
.lv-notes li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--avy-font-display);
  font-size: 0.855rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--lv-ink-soft);
}
.lv-notes li::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--avy-gold);
  background: linear-gradient(
    148deg,
    rgba(216, 194, 151, 0.85),
    rgba(184, 154, 98, 0.28)
  );
  box-shadow:
    inset 0 0 0 2.5px var(--lv-paper),
    0 0 0 1px rgba(184, 154, 98, 0.18);
  flex: none;
}

/* ---- 18.7c button row (the homepage CTA language) ----
   LIGHTFALL's default CTA is typography; when a page needs the
   site's conversion row it uses the same island buttons the homepage
   ships, so the two screens read as one product. */
.lv-actions--btn {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2.25rem;
}
.lv-actions--btn .avy-btn {
  font-family: var(--avy-font-display);
}
/* explicit label colours so no descendant link rule can blank them */
.lv-actions--btn .avy-btn--dark {
  color: var(--avy-ivory);
}
.lv-actions--btn .avy-btn--dark:hover {
  color: var(--avy-ivory);
}
.lv-actions--btn .avy-btn--soft {
  color: var(--avy-ink);
}
.lv-actions--btn .avy-btn--soft:hover {
  color: var(--avy-ink);
}

/* routing note — the quiet "what this page is for" line under the CTA */
.lv-hero__route {
  margin: 1.25rem 0 0;
  max-width: var(--lv-measure);
  font-size: var(--lv-small);
  line-height: 1.62;
  color: var(--lv-muted);
}
.lv-hero__route a {
  color: var(--lv-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.lv-hero__route a:hover {
  color: var(--lv-gold-dark);
}

/* ---- 18.7d buttons on the dark close ---- */
.lv-chapter--dark .avy-btn--dark {
  background: var(--lv-dark-ink);
  color: var(--lv-dark);
  border-color: var(--lv-dark-ink);
}
.lv-chapter--dark .avy-btn--dark .avy-btn__icon {
  background: rgba(33, 29, 24, 0.12);
}
.lv-chapter--dark .avy-btn--soft {
  background: transparent;
  border-color: rgba(216, 194, 151, 0.42);
  color: var(--avy-gold-soft);
}
.lv-chapter--dark .avy-btn--soft .avy-btn__icon {
  background: rgba(216, 194, 151, 0.16);
}
.lv-chapter--dark .avy-btn--soft:hover {
  background: rgba(216, 194, 151, 0.1);
  border-color: var(--avy-gold-soft);
}

/* ---------- 18.8 thesis — light is named ---------- */
/* the thesis continues the hero's light field rather than cutting to
   flat paper — the narrative is one lit surface, not stacked slides */
.lv-thesis {
  /* The concept pivot between the hero and the runs. Below ~90px of
     air it reads as a thin band of type instead of a held breath;
     above ~150px the two-beat row floats free of the page. */
  padding: clamp(64px, 10vh, 128px) var(--lv-gutter);
  background:
    radial-gradient(
      900px 420px at 88% 0%,
      rgba(184, 154, 98, 0.12),
      transparent 64%
    ),
    radial-gradient(
      700px 380px at 6% 100%,
      rgba(131, 139, 115, 0.09),
      transparent 62%
    ),
    var(--lv-paper);
}
.lv-thesis__inner {
  width: min(1320px, 100%);
  margin-inline: auto;
  /* Two beats on one baseline: the display line owns the left,
     the supporting copy sits to its right so the right third of
     the measure is no longer empty air. The gold hairline spans
     both columns. Below 900px it stacks. */
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.9fr);
  column-gap: clamp(28px, 4vw, 72px);
  row-gap: clamp(22px, 3vw, 40px);
  align-items: end;
}
.lv-thesis__inner > .lv-rule {
  grid-column: 1 / -1;
}
.lv-thesis__text {
  grid-column: 1;
  max-width: 18ch;
}
.lv-thesis__aside {
  grid-column: 2;
  margin-top: 0;
  /* Cap the measure itself; the old hanging indent left only ~307px
     of type once 200px was eaten by padding-left. */
  max-width: 34rem;
  padding-left: 0;
}
@media (max-width: 900px) {
  .lv-thesis__inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.75rem;
    align-items: start;
  }
  .lv-thesis__text {
    max-width: 14ch;
  }
  .lv-thesis__aside {
    grid-column: 1;
  }
}
.lv-thesis__aside p {
  max-width: min(100%, var(--lv-measure));
}

/* ---------- 18.9 material run — light on material ----------
   Three beats: transparency, reflection, relief. Each is one
   photograph and a small caption. The photograph is the argument. */
.lv-run {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
  padding: clamp(40px, 5.5vh, 72px) var(--lv-gutter);
}
.lv-run--flip {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}
.lv-run--flip .lv-run__plate {
  order: 2;
}
.lv-run--flip .lv-run__copy {
  order: 1;
}
.lv-run__plate {
  /* was 4 / 5 — a 705px portrait plate beside 287px of copy read as a
     void, not as the argument. 4 / 3 crops to an editorial landscape
     that balances the caption column. */
  aspect-ratio: 4 / 3;
  width: 100%;
}
.lv-run__copy {
  max-width: 30rem;
}
.lv-run--flip .lv-run__copy {
  justify-self: end;
}
.lv-run__index {
  font-family: var(--avy-font-serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 4.6vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lv-gold);
  margin: 0 0 1.15rem;
  font-variation-settings: normal;
}
.lv-run__title {
  font-family: var(--avy-font-display);
  font-weight: 620;
  font-size: clamp(1.42rem, 2.1vw, 1.92rem);
  letter-spacing: -0.026em;
  line-height: 1.16;
  margin: 0 0 1.15rem;
}
.lv-run__body {
  margin-bottom: 1.55rem;
}
.lv-run__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--lv-line-faint);
}

/* ---------- 18.10 range plate ---------- */
.lv-range {
  padding: clamp(36px, 5vh, 72px) var(--lv-gutter) clamp(40px, 5.5vh, 80px);
}
.lv-range__plate {
  /* was 16 / 10 — a 710px slab with nothing under it is a hole in the
     sheet. Cropped to a cinematic band so it reads as a breath between
     chapters instead of an empty stage. */
  width: 100%;
  aspect-ratio: 16 / 6;
}
.lv-range__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  /* spacing lives here, not on the plate — a range band with no copy
     keeps its air above and below and leaves no orphaned margin */
  margin-top: clamp(28px, 4vh, 48px);
}

/* ---------- 18.11 specification sheet ----------
   The B2B spine. Reads as a printed spec sheet from a luxury
   printer: hairline rules, small caps heads, no boxes. */
.lv-spec__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(24px, 3.5vh, 40px);
}
.lv-spec__body {
  margin-top: 0.85rem;
}

/* hanging numerals — Fraunces light, not a card */
.lv-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--lv-line);
}
.lv-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(16px, 2.2vh, 24px) 0;
  border-bottom: 1px solid var(--lv-line);
}
.lv-row__num {
  font-family: var(--avy-font-serif);
  font-weight: 300;
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--lv-gold);
  font-variation-settings: normal;
}
.lv-row__content {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
}
/* a one-child row is a checklist line, not a two-column spread —
   without this it sat in column 1 and left 55% of every row empty */
.lv-row__content > :only-child {
  grid-column: 1 / -1;
}
.lv-row__note {
  margin-top: 0.85rem;
}

/* comparison sets — rows that carry a note are alternatives being
   weighed against each other, not steps in a checklist. Stacked, each
   became a 300px wall of prose with a hairline under it; side by side
   they read as the decision they actually are. Only past 980px — below
   that the rows already collapse to one column. */
@media (min-width: 981px) {
  .lv-rows:has(.lv-row__note) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--lv-line);
  }
  .lv-rows:has(.lv-row__note) > .lv-row {
    display: block;
    padding: clamp(22px, 3vh, 34px) clamp(18px, 2vw, 32px);
    border-bottom: 0;
    border-right: 1px solid var(--lv-line);
  }
  .lv-rows:has(.lv-row__note) > .lv-row:first-child {
    padding-left: 0;
  }
  .lv-rows:has(.lv-row__note) > .lv-row:last-child {
    padding-right: 0;
    border-right: 0;
  }
  /* num / title / note stack in the card — the 0.85fr|1.15fr spread
     was for term|definition rows, not for a head + its own commentary */
  .lv-rows:has(.lv-row__note) .lv-row__content {
    display: block;
  }
  .lv-rows:has(.lv-row__note) .lv-row__num {
    display: block;
    margin-bottom: 0.95rem;
    font-size: 2.1rem;
  }
  .lv-rows:has(.lv-row__note) .lv-row__note {
    margin-top: 0.95rem;
  }
}

/* definition rows — term / value, hairline between */
.lv-facts {
  margin: 0;
  border-top: 1px solid var(--lv-line);
}
.lv-fact {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(18px, 2.4vh, 26px) 0;
  border-bottom: 1px solid var(--lv-line);
  align-items: baseline;
}
.lv-fact dt {
  font-family: var(--avy-font-display);
  font-weight: 620;
  font-size: var(--lv-body);
  letter-spacing: -0.012em;
  color: var(--lv-ink);
}
.lv-fact dd {
  margin: 0;
  font-size: var(--lv-body);
  color: var(--lv-muted);
  line-height: 1.62;
}

/* comparison table — typographic, no boxes */
.lv-tablewrap {
  overflow-x: auto;
  margin: clamp(28px, 4vh, 44px) 0 0;
  -webkit-overflow-scrolling: touch;
}
.lv-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: var(--lv-small);
  line-height: 1.58;
}
.lv-table th {
  font-family: var(--avy-font-display);
  font-size: var(--lv-eyebrow-size);
  font-weight: 620;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lv-muted);
  text-align: left;
  vertical-align: bottom;
  padding: 0 1.4rem 0.95rem 0;
  border-bottom: 1px solid var(--lv-line);
  white-space: nowrap;
}
.lv-table td {
  vertical-align: top;
  padding: 1.15rem 1.4rem 1.15rem 0;
  border-bottom: 1px solid var(--lv-line-faint);
  color: var(--lv-muted);
}
.lv-table td:first-child {
  color: var(--lv-ink);
  font-weight: 580;
  font-family: var(--avy-font-display);
  white-space: nowrap;
}
.lv-table tr:last-child td {
  border-bottom: 0;
}
.lv-chapter--dark .lv-table th,
.lv-chapter--dark .lv-table td {
  border-color: var(--lv-dark-line);
}
.lv-chapter--dark .lv-table th {
  color: var(--lv-dark-muted);
}
.lv-chapter--dark .lv-table td {
  color: var(--lv-dark-muted);
}
.lv-chapter--dark .lv-table td:first-child {
  color: var(--lv-dark-ink);
}

/* ---------- 18.12 FAQ — quiet, unboxed ---------- */
.lv-faq {
  border-top: 1px solid var(--lv-line);
  margin-top: clamp(32px, 5vh, 56px);
}
.lv-faq__item {
  border-bottom: 1px solid var(--lv-line);
  padding: clamp(22px, 3vh, 30px) 0;
}
.lv-faq__q {
  font-family: var(--avy-font-display);
  font-weight: 620;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  letter-spacing: -0.014em;
  line-height: 1.42;
  color: var(--lv-ink);
  margin: 0;
  max-width: min(100%, 34rem);
}
/* accordion header — button reset over the same type */
button.lv-faq__q {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  /* full row width so the + sits at the hairline end; the measure
     cap lives on the label instead */
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
button.lv-faq__q:hover {
  color: var(--lv-gold);
}
.lv-faq__q-label {
  max-width: min(100%, 32rem);
}
.lv-faq__q::after {
  content: "+";
  flex: none;
  font-family: var(--avy-font-serif);
  font-weight: 300;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--lv-gold);
  transition: transform 320ms var(--avy-ease-out);
}
.lv-faq__item.is-open .lv-faq__q::after {
  transform: rotate(45deg);
}
.lv-faq__a {
  max-width: min(100%, var(--lv-measure));
}
/* collapsed only when the accordion is armed — without JS the
   authored answers stay open */
.lv-faq--armed .lv-faq__a {
  display: none;
}
.lv-faq--armed .lv-faq__item.is-open .lv-faq__a {
  display: block;
}
.lv-faq--armed .lv-faq__q + .lv-faq__a {
  margin-top: 0.85rem;
}

/* ---------- 18.13 close — light settles ---------- */
.lv-close {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(48px, 6vh, 88px) var(--lv-gutter);
}
.lv-close__title {
  font-size: var(--lv-close);
  line-height: 1.02;
  letter-spacing: -0.032em;
  max-width: 15ch;
}
.lv-close__plate {
  aspect-ratio: 2 / 1;
  width: 100%;
}
.lv-close__actions {
  margin-top: 2.4rem;
}
.lv-close__fine {
  margin-top: 2.6rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--lv-dark-line);
  max-width: 52ch;
}

/* ---------- 18.14 pull quote (the "quick answer") ---------- */
.lv-pull {
  padding: clamp(40px, 5.5vh, 72px) var(--lv-gutter);
}
.lv-pull__inner {
  width: min(1320px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
.lv-pull__body {
  max-width: 58ch;
}
.lv-pull__body p:first-child {
  font-size: var(--lv-lead);
  line-height: 1.62;
  color: var(--avy-ink-soft);
  margin-bottom: 1.15em;
}

/* ---------- 18.15 numbered steps (production path) ---------- */
.lv-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(36px, 5vh, 56px);
  border-top: 1px solid var(--lv-line);
}
.lv-step {
  padding: clamp(24px, 3.2vh, 34px) clamp(16px, 2vw, 28px)
    clamp(24px, 3.2vh, 34px) 0;
  border-bottom: 1px solid var(--lv-line);
}
.lv-step + .lv-step {
  padding-left: clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--lv-line-faint);
}
.lv-step__num {
  display: block;
  font-family: var(--avy-font-serif);
  font-weight: 300;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: var(--lv-gold);
  margin-bottom: 0.85rem;
  font-variation-settings: normal;
}
.lv-step__title {
  margin-bottom: 0.55rem;
}

/* ---------- 18.16 mobile: the composition collapses to one column
   and the light still lands. No h-screen; the hero keeps its air. */
@media (max-width: 980px) {
  .lv-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: clamp(36px, 7vh, 64px) var(--lv-gutter) 0;
    gap: clamp(32px, 6vh, 56px);
    align-items: start;
  }
  .lv-hero__plate {
    height: clamp(320px, 56vh, 520px);
    margin-right: calc(var(--lv-gutter) * -1);
    margin-left: calc(var(--lv-gutter) * -1);
    width: 100vw;
  }
  .lv-run,
  .lv-run--flip {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .lv-run--flip .lv-run__plate,
  .lv-run--flip .lv-run__copy {
    order: unset;
  }
  .lv-run__plate {
    aspect-ratio: 4 / 5;
    max-height: 62vh;
  }
  /* the 16 / 6 band is a desktop cure for a 710px slab; at 310px wide
     it collapses to a 116px sliver. Full crop back where the plate
     is already small. */
  .lv-range__plate {
    aspect-ratio: 16 / 10;
  }
  .lv-run--flip .lv-run__copy {
    justify-self: start;
  }
  .lv-range__copy,
  .lv-spec__head,
  .lv-pull__inner,
  .lv-close {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .lv-row {
    grid-template-columns: 3.2rem minmax(0, 1fr);
  }
  .lv-row__content {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }
  .lv-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lv-step:nth-child(2n + 1) {
    padding-left: 0;
    border-left: 0;
  }
  .lv-close__plate {
    aspect-ratio: 16 / 10;
    order: -1;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 640px) {
  .lv-hero__title-main {
    letter-spacing: -0.038em;
  }
  .lv-fact {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
  }
  .lv-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .lv-step + .lv-step {
    padding-left: 0;
    border-left: 0;
  }
  .lv-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.35rem;
  }
}

/* ---------- 18.17 reduced motion: the light still lands, instantly */
@media (prefers-reduced-motion: reduce) {
  .lv-light {
    transition: none;
    opacity: 0;
  }
  .is-in .lv-light {
    opacity: 0;
  }
  .lv-em {
    animation: none;
  }
  .lv-link::after {
    transition: none;
  }
}
/* ---------- 18.18 Lightfall — composition addendum ----------
   Classes introduced while recomposing the Industry page. Kept
   with the rest of the language rather than page-scoped so the
   Product page can reuse the same grammar. */

/* ---- 18.18a raking specular on the Lightfall photographs ----
   .avy-rake is the design system's opt-in light band, but the only
   driver is page-home.js, so every other page printed photos with
   no lamp on them. This drives the band from the scroll timeline
   instead: CSS-only, no scroll listener, and it costs the same one
   composited layer the homepage pays. The sweep is the same
   -65% .. +65% travel the --avy-rake 0..1 range maps to.

   The timeline is declared on the PLATE and consumed by its
   ::after. `animation-timeline: view()` written on the pseudo
   itself never advances: the pseudo is an oversized absolute
   overlay (inset well outside the clip), so its own view range
   is already covered at every scroll offset and the band parks
   at progress 0.5. Naming the subject makes the plate's box the
   thing being tracked. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .lv-hero__plate.avy-rake,
    .lv-close__plate.avy-rake {
      view-timeline: --avy-plate-view block;
    }
    .lv-hero__plate.avy-rake::after,
    .lv-close__plate.avy-rake::after {
      animation: lv-rake-sweep linear both;
      animation-timeline: --avy-plate-view;
      animation-range: cover 0% cover 100%;
    }
  }
}
@keyframes lv-rake-sweep {
  from {
    transform: translate3d(-65%, 0, 0) rotate(2deg);
  }
  to {
    transform: translate3d(65%, 0, 0) rotate(2deg);
  }
}
/* The spec tags are annotations sitting ON the lit surface, so the
   specular must pass under them, not over. .avy-rake::after is the
   element's last child and shares z-index 3 with .lv-tag. */
.lv-hero__plate.avy-rake::after,
.lv-close__plate.avy-rake::after {
  z-index: 2;
}

.lv-thesis__gap {
  margin-top: clamp(36px, 5vh, 56px);
}
.lv-run__sub {
  margin: -0.35rem 0 1.15rem;
  color: var(--lv-muted);
  font-weight: 560;
}
.lv-row__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  margin-top: 1.15rem;
}

/* a composed block inside a chapter: eyebrow + head + lead */
.lv-block {
  margin-top: clamp(56px, 8vh, 96px);
}
.lv-block--tight {
  margin-top: clamp(48px, 7vh, 80px);
  margin-bottom: 0;
}
.lv-block--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
.lv-block__lead {
  margin-top: 1.15rem;
  margin-bottom: 1.75rem;
  max-width: min(100%, var(--lv-measure));
}
.lv-block__foot {
  margin-top: 1.25rem;
  max-width: min(100%, var(--lv-measure));
}
.lv-h2--narrow {
  max-width: 18ch;
}

.lv-list {
  margin: 1.15rem 0 0;
  padding-left: 1.15rem;
}
.lv-list li {
  font-size: var(--lv-body);
  line-height: 1.74;
  color: var(--lv-muted);
}
.lv-list li + li {
  margin-top: 0.35rem;
}

.lv-steps--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lv-step__note {
  margin-bottom: 1.15rem;
}

.lv-close__lead {
  margin-top: 1.55rem;
  max-width: 44ch;
}

/* mobile commission bar — a quiet hairline strip, not a slab */
.lv-sticky {
  display: none;
}
@media (max-width: 900px) {
  .lv-sticky {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    /* declared height so the floating chrome below can clear it */
    min-height: 3.75rem;
    padding: 1rem var(--lv-gutter) calc(1rem + env(safe-area-inset-bottom, 0px));
    background: rgba(247, 243, 234, 0.94);
    border-top: 1px solid var(--lv-line);
  }
  .lv-sticky .lv-link {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }
  /* the commission bar owns the bottom edge on these pages — lift the
     back-to-top disc and the chat launcher clear of it instead of
     stacking three controls in the same 60px */
  body:has(.lv-sticky) .avy-back-to-top {
    bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px) + 12px);
    right: 16px;
  }
  /* chat sits one tier above the back-to-top disc so the three
     bottom-right controls read as a stack, not a pile. +5px absorbs the
     launcher's 5px down-shift inside its root at this width. */
  body:has(.lv-sticky) #avy-ai-chat-root {
    bottom: calc(
      3.75rem + env(safe-area-inset-bottom, 0px) + 12px + 44px + 12px + 5px
    );
    right: 16px;
  }
  .lv-block--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  /* the hero pill would otherwise wrap mid-phrase at 390px once
     letter-spacing is applied — tighten the track so it stays one line */
  .lv-hero__copy .avy-eyebrow {
    font-size: 10px;
    letter-spacing: 0.16em;
    padding: 0.45em 0.9em;
    white-space: nowrap;
  }
  .lv-hero__title-main {
    font-size: clamp(2.75rem, 11.5vw, 3.65rem);
    line-height: 0.88;
  }
  .lv-actions--btn .avy-btn {
    min-height: 52px;
    font-size: 0.9rem;
  }
  .lv-steps--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
