/* ==========================================================================
   LUMINOUS GALLERY — theme stylesheet
   Editorial, architectural, precise. White page chrome; scenes carry the dark.
   ========================================================================== */

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

body {
  margin: 0;
  background: var(--lg-white);
  color: var(--lg-black);
  font-family: var(--font-body);
  font-weight: var(--font-body-weight);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }
a { color: inherit; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  word-wrap: normal !important;
}

.skip-to-content-link:focus {
  position: fixed; z-index: 9999;
  top: 10px; left: 10px;
  width: auto; height: auto;
  margin: 0; padding: 0.75rem 1.25rem;
  clip: auto;
  background: var(--lg-black); color: var(--lg-white);
  font-size: 0.875rem; text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--lg-orange);
  outline-offset: 3px;
}

.no-js .js-only { display: none !important; }

/* --------------------------------------------------------------------------
   1. Layout primitives
   -------------------------------------------------------------------------- */
.lg-container {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.lg-section { padding-block: var(--section-space); }
.lg-section--flush { padding-block: 0; }
.lg-section--paper { background: var(--lg-paper); }
.lg-section--dark { background: var(--lg-graphite); color: var(--lg-white); }
.lg-section--line-top { border-top: 1px solid var(--lg-line); }

.lg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lg-grey);
  margin-bottom: 1.25rem;
}
.lg-eyebrow::before {
  content: "";
  width: 2rem; height: 1px;
  background: var(--lg-orange);
}

.lg-h1 { font-size: clamp(2.6rem, 6vw, calc(5.2rem * var(--heading-scale))); }
.lg-h2 { font-size: clamp(2rem, 4.2vw, calc(3.4rem * var(--heading-scale))); }
.lg-h3 { font-size: clamp(1.4rem, 2.6vw, calc(2rem * var(--heading-scale))); }

.lg-lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 42ch;
  color: color-mix(in srgb, var(--lg-black) 78%, transparent);
}

.lg-index-no {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--lg-grey);
  font-variant-numeric: tabular-nums;
}

/* Buttons */
.lg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  background: var(--lg-black);
  color: var(--lg-white);
  border: 1px solid var(--lg-black);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s var(--ease-gallery), color 0.25s var(--ease-gallery), border-color 0.25s;
}
.lg-btn:hover { background: var(--lg-orange); border-color: var(--lg-orange); color: #fff; }
.lg-btn[disabled], .lg-btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.lg-btn--ghost { background: transparent; color: var(--lg-black); }
.lg-btn--ghost:hover { background: var(--lg-black); color: var(--lg-white); border-color: var(--lg-black); }

.lg-btn--light { background: var(--lg-white); color: var(--lg-black); border-color: var(--lg-white); }
.lg-btn--light:hover { background: var(--lg-orange); border-color: var(--lg-orange); color: #fff; }

.lg-btn--small { padding: 0.6rem 1.1rem; font-size: 0.72rem; }

.lg-link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--lg-black);
  padding-bottom: 0.2rem;
}
.lg-link-arrow:hover { color: var(--lg-orange); border-color: var(--lg-orange); }

/* Page dim (behind drawers) */
.lg-page-dim {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(16, 16, 16, 0.45);
  opacity: 0;
  transition: opacity 0.3s var(--ease-gallery);
}
.lg-page-dim.is-active { opacity: 1; }
.lg-page-dim[hidden] { display: none; }

body.lg-locked { overflow: hidden; }

/* Toast */
.lg-toast {
  position: fixed; z-index: 120;
  left: 50%; bottom: 1.5rem;
  transform: translate(-50%, 150%);
  background: var(--lg-black); color: var(--lg-white);
  padding: 0.85rem 1.5rem;
  font-size: 0.85rem;
  transition: transform 0.35s var(--ease-gallery);
  max-width: min(92vw, 30rem);
}
.lg-toast.is-visible { transform: translate(-50%, 0); }
.lg-toast--error { background: var(--lg-burgundy); }

/* --------------------------------------------------------------------------
   2. Announcement bar
   -------------------------------------------------------------------------- */
.lg-announcement {
  position: relative;
  background: var(--lg-black);
  color: var(--lg-white);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}
.lg-announcement__inner {
  display: flex; align-items: center; justify-content: center;
  min-height: 40px;
  padding: 0.4rem 3rem;
}
.lg-announcement__item { margin: 0; }
.lg-announcement__item a { color: inherit; }
.lg-announcement__item[hidden] { display: none; }
.lg-announcement__dismiss {
  position: absolute; right: 0.5rem; top: 50%;
  transform: translateY(-50%);
  padding: 0.6rem;
  line-height: 0;
}
.lg-announcement.is-dismissed { display: none; }

/* --------------------------------------------------------------------------
   3. Header
   -------------------------------------------------------------------------- */
.lg-header {
  position: sticky; top: 0; z-index: 70;
  background: color-mix(in srgb, var(--lg-white) 92%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lg-line);
}
.lg-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  gap: 1rem;
}
.lg-header__brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  justify-self: start;
}
.lg-header__brand img { max-height: 34px; width: auto; }

.lg-header__index {
  display: flex; gap: 1.75rem;
  justify-self: center;
}
.lg-header__index a {
  display: inline-flex; align-items: baseline; gap: 0.45rem;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  color: color-mix(in srgb, var(--lg-black) 72%, transparent);
  transition: color 0.2s;
}
.lg-header__index a:hover { color: var(--lg-orange); }
.lg-header__index .lg-index-no { color: var(--lg-orange); font-size: 0.62rem; }

.lg-header__actions {
  display: flex; align-items: center; gap: 0.4rem;
  justify-self: end;
}
.lg-header__icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  line-height: 0;
}
.lg-header__icon-btn svg { width: 20px; height: 20px; }
.lg-header__icon-btn:hover { color: var(--lg-orange); }

.lg-cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 16px; height: 16px;
  padding-inline: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lg-orange); color: #fff;
  border-radius: 999px;
  font-size: 0.62rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.lg-cart-count[data-empty="true"] { display: none; }

.lg-header__menu-toggle { display: none; }

/* Mobile menu panel */
.lg-mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--lg-white);
  padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
  overflow-y: auto;
  transform: translateY(-102%);
  transition: transform 0.4s var(--ease-gallery);
  visibility: hidden;
}
.lg-mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.lg-mobile-menu__close {
  position: absolute; top: 0.7rem; right: var(--gutter);
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
}
.lg-mobile-menu nav a {
  display: flex; align-items: baseline; gap: 0.9rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--lg-line);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  text-decoration: none;
}
.lg-mobile-menu nav a .lg-index-no { color: var(--lg-orange); }

@media (max-width: 989px) {
  .lg-header__index { display: none; }
  .lg-header__menu-toggle { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   4. Gallery scroll hero
   -------------------------------------------------------------------------- */
.lg-hero {
  position: relative;
  background: var(--lg-graphite);
}
.lg-hero__track { height: var(--hero-track-height, 420vh); }
.lg-hero__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100dvh;
  overflow: hidden;
}
.lg-hero__canvas,
.lg-hero__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.lg-hero__poster { z-index: 0; }
.lg-hero__canvas { z-index: 1; }

.lg-hero__vignette {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(16,16,16,var(--hero-grad-bottom,0.35)) 0%, transparent 32%),
    linear-gradient(to bottom, rgba(16,16,16,var(--hero-grad-top,0.18)) 0%, transparent 22%);
}

.lg-hero__ui {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.5rem, 5vw, 4.5rem);
  color: var(--lg-white);
  transition: color 0.5s;
}
.lg-hero.scene-light .lg-hero__ui { color: var(--lg-black); }

.lg-hero__scene-meta {
  display: flex; align-items: baseline; gap: 1rem;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.9rem;
}
.lg-hero__scene-no { color: var(--lg-orange); font-variant-numeric: tabular-nums; }

.lg-hero__title {
  font-size: clamp(2.4rem, 6.4vw, 5.6rem);
  max-width: 12ch;
  margin: 0 0 0.35em;
}
.lg-hero__body {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  max-width: 40ch;
  opacity: 0.86;
  margin-bottom: 1.6rem;
}
.lg-hero__cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.lg-hero__scene-caption { position: relative; min-height: 11.5rem; }
.lg-hero__caption-panel {
  position: absolute; bottom: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease-gallery), transform 0.55s var(--ease-gallery);
  pointer-events: none;
}
.lg-hero__caption-panel.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }

.lg-hero__progress {
  position: absolute; z-index: 4;
  left: clamp(1.5rem, 5vw, 4.5rem);
  right: clamp(1.5rem, 5vw, 4.5rem);
  bottom: clamp(0.9rem, 2vw, 1.6rem);
  display: flex; align-items: center; gap: 1rem;
  color: var(--lg-white);
}
.lg-hero.scene-light .lg-hero__progress { color: var(--lg-black); }
.lg-hero__progress-line {
  position: relative; flex: 1; height: 1px;
  background: color-mix(in srgb, currentColor 28%, transparent);
}
.lg-hero__progress-fill {
  position: absolute; inset: 0 auto 0 0;
  width: 0%;
  background: var(--lg-orange);
}
.lg-hero__progress-label {
  font-size: 0.68rem; letter-spacing: 0.2em;
  font-variant-numeric: tabular-nums;
}

.lg-hero__hint {
  position: absolute; z-index: 4;
  right: clamp(1.5rem, 5vw, 4.5rem);
  top: calc(var(--header-h) + 1.4rem);
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--lg-white);
  opacity: 0.75;
  transition: opacity 0.4s;
}
.lg-hero.scene-light .lg-hero__hint { color: var(--lg-black); }
.lg-hero.is-scrolled .lg-hero__hint { opacity: 0; }
.lg-hero__hint svg { width: 14px; height: 18px; }
@keyframes lg-hint-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.lg-hero__hint svg { animation: lg-hint-drift 2.4s ease-in-out infinite; }

/* Static fallback (reduced motion / no JS / motion disabled) */
.lg-hero--static .lg-hero__track { height: auto; }
.lg-hero--static .lg-hero__stage { position: relative; height: auto; }
.lg-hero-static__scene { position: relative; min-height: 82vh; overflow: hidden; }
.lg-hero-static__scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lg-hero-static__scene .lg-hero__ui { position: absolute; }

@media (prefers-reduced-motion: reduce) {
  .lg-hero__hint svg { animation: none; }
}

/* --------------------------------------------------------------------------
   5. Collection index
   -------------------------------------------------------------------------- */
.lg-cindex__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.lg-cindex__rows { border-top: 1px solid var(--lg-line); }
.lg-cindex__row {
  position: relative;
  display: grid;
  grid-template-columns: 4rem 1.6fr 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--lg-line);
  text-decoration: none;
  transition: padding-left 0.3s var(--ease-gallery);
}
.lg-cindex__row:hover, .lg-cindex__row:focus-visible { padding-left: 0.8rem; }
.lg-cindex__row:hover .lg-cindex__name, .lg-cindex__row:focus-visible .lg-cindex__name { color: var(--lg-orange); }
.lg-cindex__name {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  transition: color 0.25s;
}
.lg-cindex__type { color: var(--lg-grey); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.lg-cindex__price { font-variant-numeric: tabular-nums; font-size: 1rem; }
.lg-cindex__arrow { width: 22px; height: 22px; opacity: 0.4; transition: opacity 0.25s, transform 0.25s; }
.lg-cindex__row:hover .lg-cindex__arrow { opacity: 1; transform: translateX(4px); color: var(--lg-orange); }

.lg-cindex__thumb {
  position: fixed; z-index: 60;
  width: clamp(200px, 20vw, 320px);
  aspect-ratio: 4 / 5;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.25s var(--ease-gallery), transform 0.25s var(--ease-gallery);
}
.lg-cindex__thumb.is-visible { opacity: 1; transform: scale(1); }
.lg-cindex__thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 749px) {
  .lg-cindex__row { grid-template-columns: 2.6rem 1fr auto; }
  .lg-cindex__type, .lg-cindex__arrow { display: none; }
  .lg-cindex__thumb { display: none; }
}

/* --------------------------------------------------------------------------
   6. 3D product stage
   -------------------------------------------------------------------------- */
.lg-stage { background: var(--lg-graphite); color: var(--lg-white); }
.lg-stage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.lg-stage__viewer {
  position: relative;
  aspect-ratio: 4 / 3;
  background: radial-gradient(115% 90% at 50% 42%, #3a3a3a 0%, var(--lg-graphite) 68%);
  overflow: hidden;
}
.lg-stage__viewer canvas,
.lg-stage__viewer model-viewer,
.lg-stage__viewer > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
}
.lg-stage__viewer model-viewer { --poster-color: transparent; background: transparent; }
.lg-stage__viewer canvas { cursor: grab; touch-action: pan-y; }
.lg-stage__viewer canvas.is-dragging { cursor: grabbing; }

.lg-stage__hint {
  position: absolute; left: 50%; bottom: 1rem; z-index: 2;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 1rem;
  background: rgba(16,16,16,0.55);
  border: 1px solid rgba(244,242,237,0.22);
  border-radius: 999px;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lg-white);
  pointer-events: none;
  transition: opacity 0.4s;
}
.lg-stage__viewer.is-interacted .lg-stage__hint { opacity: 0; }

.lg-stage__activate {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16,16,16,0.25);
}

.lg-stage__info .lg-eyebrow { color: rgba(244,242,237,0.6); }
.lg-stage__title { font-size: clamp(2rem, 3.6vw, 3rem); }
.lg-stage__price { font-size: 1.15rem; margin-bottom: 1.5rem; font-variant-numeric: tabular-nums; }
.lg-stage__price s { opacity: 0.5; margin-right: 0.6rem; }

.lg-swatches { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.lg-swatch {
  position: relative;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--lg-line-strong);
  overflow: hidden;
}
.lg-swatch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.lg-swatch__dot { position: absolute; inset: 4px; border-radius: 50%; }
.lg-swatch:has(input:checked) { border-color: var(--lg-orange); box-shadow: 0 0 0 2px color-mix(in srgb, var(--lg-orange) 55%, transparent); }
.lg-swatch:has(input:focus-visible) { outline: 2px solid var(--lg-orange); outline-offset: 2px; }

.lg-stage .lg-swatch { border-color: rgba(244,242,237,0.35); }

.lg-stage__specs { margin-top: 2rem; border-top: 1px solid rgba(244,242,237,0.18); }
.lg-stage__specs dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244,242,237,0.55); padding-top: 0.9rem; }
.lg-stage__specs dd { margin: 0.15rem 0 0.9rem; border-bottom: 1px solid rgba(244,242,237,0.12); padding-bottom: 0.9rem; }
.lg-stage__specs dd:last-child { border-bottom: 0; }

@media (max-width: 989px) {
  .lg-stage__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   7. Triptych
   -------------------------------------------------------------------------- */
.lg-triptych__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.5rem);
}
.lg-triptych__cell { display: flex; flex-direction: column; }
.lg-triptych__media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--lg-paper); }
.lg-triptych__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-gallery); }
.lg-triptych__cell:hover .lg-triptych__media img { transform: scale(1.04); }
.lg-triptych__label {
  display: flex; align-items: baseline; gap: 0.8rem;
  margin-top: 1.2rem;
}
.lg-triptych__word { font-family: var(--font-heading); font-size: clamp(1.3rem, 2vw, 1.8rem); }
.lg-triptych__text { color: var(--lg-grey); font-size: 0.92rem; max-width: 34ch; margin-top: 0.4rem; }

@media (max-width: 749px) {
  .lg-triptych__grid { grid-template-columns: 1fr; }
  .lg-triptych__media { aspect-ratio: 16 / 10; }
}

/* --------------------------------------------------------------------------
   8. Product grid + cards
   -------------------------------------------------------------------------- */
.lg-pgrid__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.lg-pgrid {
  display: grid;
  grid-template-columns: repeat(var(--pgrid-cols, 4), minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem) clamp(0.8rem, 1.4vw, 1.4rem);
}
@media (max-width: 1199px) { .lg-pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 549px) { .lg-pgrid { grid-template-columns: 1fr; } }

.lg-card { position: relative; display: flex; flex-direction: column; }
.lg-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--lg-paper);
}
.lg-card__media a { position: absolute; inset: 0; display: block; }
.lg-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.5s var(--ease-gallery), transform 0.8s var(--ease-gallery);
}
.lg-card__img--alt { opacity: 0; }
.lg-card:hover .lg-card__img--primary.has-alt { opacity: 0; }
.lg-card:hover .lg-card__img--alt { opacity: 1; }
.lg-card:hover .lg-card__img { transform: scale(1.03); }

.lg-card__video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.lg-card__video.is-playing { opacity: 1; }

.lg-card__badges {
  position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2;
  display: flex; gap: 0.4rem;
}
.lg-badge {
  padding: 0.28rem 0.7rem;
  background: var(--lg-white);
  border: 1px solid var(--lg-line);
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.lg-badge--sale { background: var(--lg-burgundy); border-color: var(--lg-burgundy); color: #fff; }
.lg-badge--soldout { background: var(--lg-graphite); border-color: var(--lg-graphite); color: #fff; }
.lg-badge--3d { background: var(--lg-black); border-color: var(--lg-black); color: #fff; }

.lg-card__actions {
  position: absolute; z-index: 3;
  left: 0.8rem; right: 0.8rem; bottom: 0.8rem;
  display: flex; gap: 0.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease-gallery), transform 0.3s var(--ease-gallery);
}
.lg-card:hover .lg-card__actions,
.lg-card:focus-within .lg-card__actions { opacity: 1; transform: translateY(0); }
@media (hover: none) {
  .lg-card__actions { opacity: 1; transform: none; }
}
.lg-card__actions .lg-btn {
  flex: 1;
  padding: 0.7rem 0.5rem;
  font-size: 0.68rem;
  background: color-mix(in srgb, var(--lg-white) 94%, transparent);
  color: var(--lg-black);
  border-color: transparent;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lg-card__actions .lg-btn:hover { background: var(--lg-black); color: var(--lg-white); }

.lg-card__body { padding: 1rem 0 0; display: flex; flex-direction: column; gap: 0.3rem; }
.lg-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.lg-card__title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  margin: 0;
}
.lg-card__title a { text-decoration: none; }
.lg-card__title a:hover { color: var(--lg-orange); }
.lg-card__type { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lg-grey); }
.lg-card__price { font-variant-numeric: tabular-nums; font-size: 0.95rem; white-space: nowrap; }
.lg-card__price s { opacity: 0.5; margin-right: 0.45rem; }
.lg-card__price .lg-price-sale { color: var(--lg-burgundy); }

.lg-card__swatches { display: flex; gap: 0.4rem; margin-top: 0.45rem; }
.lg-card__swatch {
  width: 15px; height: 15px; border-radius: 50%;
  border: 1px solid var(--lg-line-strong);
}

.lg-card--demo .lg-card__media::after {
  content: attr(data-demo-label);
  position: absolute; inset: auto 0 0; z-index: 2;
  padding: 0.4rem 0.8rem;
  background: rgba(16,16,16,0.55);
  color: #fff;
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-align: center;
}

/* --------------------------------------------------------------------------
   9. Designer statement
   -------------------------------------------------------------------------- */
.lg-statement { text-align: center; }
.lg-statement__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.22;
  max-width: 26ch;
  margin: 0 auto 2rem;
}
.lg-statement__quote em { color: var(--lg-orange); font-style: italic; }
.lg-statement__attr { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lg-grey); }

/* --------------------------------------------------------------------------
   10. Material carousel
   -------------------------------------------------------------------------- */
.lg-materials__track {
  display: flex; gap: clamp(0.8rem, 1.5vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--lg-grey) transparent;
}
.lg-materials__slide {
  flex: 0 0 clamp(260px, 38vw, 560px);
  scroll-snap-align: start;
}
.lg-materials__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--lg-paper); }
.lg-materials__media img { width: 100%; height: 100%; object-fit: cover; }
.lg-materials__caption { display: flex; gap: 0.8rem; align-items: baseline; margin-top: 0.9rem; }
.lg-materials__name { font-family: var(--font-heading); font-size: 1.15rem; }
.lg-materials__desc { color: var(--lg-grey); font-size: 0.88rem; }
.lg-materials__nav { display: flex; gap: 0.5rem; }
.lg-materials__nav button {
  width: 44px; height: 44px;
  border: 1px solid var(--lg-line-strong);
  display: inline-flex; align-items: center; justify-content: center;
}
.lg-materials__nav button:hover { background: var(--lg-black); color: #fff; border-color: var(--lg-black); }
.lg-materials__nav svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   11. Room simulation switcher
   -------------------------------------------------------------------------- */
.lg-rooms { background: var(--lg-graphite); color: var(--lg-white); }
.lg-rooms__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.8rem; }
.lg-rooms__tab {
  padding: 0.6rem 1.3rem;
  border: 1px solid rgba(244,242,237,0.3);
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(244,242,237,0.75);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.lg-rooms__tab[aria-selected="true"] { background: var(--lg-orange); border-color: var(--lg-orange); color: #fff; }
.lg-rooms__tab:hover { border-color: var(--lg-orange); color: #fff; }

.lg-rooms__stage { position: relative; aspect-ratio: 21 / 10; overflow: hidden; background: #1c1c1c; }
.lg-rooms__panel { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s var(--ease-gallery); }
.lg-rooms__panel.is-active { opacity: 1; }
.lg-rooms__panel img { width: 100%; height: 100%; object-fit: cover; }
.lg-rooms__panel figcaption {
  position: absolute; left: 1.4rem; bottom: 1.2rem;
  padding: 0.5rem 1rem;
  background: rgba(16,16,16,0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.78rem; letter-spacing: 0.1em;
}
@media (max-width: 749px) {
  .lg-rooms__stage { aspect-ratio: 4 / 5; }
}

/* --------------------------------------------------------------------------
   12. Press quotes
   -------------------------------------------------------------------------- */
.lg-press__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
}
.lg-press__quote {
  border-top: 2px solid var(--lg-black);
  padding-top: 1.4rem;
  margin: 0;
}
.lg-press__quote blockquote {
  margin: 0 0 1.2rem;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.3;
}
.lg-press__source { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lg-grey); }

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.lg-faq { max-width: 860px; margin-inline: auto; }
.lg-faq__item { border-bottom: 1px solid var(--lg-line); }
.lg-faq__item summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}
.lg-faq__item summary::-webkit-details-marker { display: none; }
.lg-faq__item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--lg-orange);
  transition: transform 0.3s var(--ease-gallery);
  flex-shrink: 0;
}
.lg-faq__item[open] summary::after { transform: rotate(45deg); }
.lg-faq__answer { padding: 0 0 1.5rem; color: color-mix(in srgb, var(--lg-black) 78%, transparent); max-width: 62ch; }

/* --------------------------------------------------------------------------
   14. Newsletter / contact
   -------------------------------------------------------------------------- */
.lg-newsletter { background: var(--lg-paper); }
.lg-newsletter__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.lg-newsletter__form { display: flex; border-bottom: 1px solid var(--lg-black); max-width: 480px; }
.lg-newsletter__form input[type="email"] {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 0.9rem 0;
  font-size: 1rem;
}
.lg-newsletter__form input[type="email"]:focus { outline: none; }
.lg-newsletter__form:focus-within { border-color: var(--lg-orange); }
.lg-newsletter__form button {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.9rem 0 0.9rem 1.2rem;
}
.lg-newsletter__form button:hover { color: var(--lg-orange); }
.lg-newsletter__success { color: var(--lg-black); font-size: 0.95rem; display: flex; gap: 0.6rem; align-items: center; }
.lg-newsletter__error { color: var(--lg-burgundy); font-size: 0.85rem; margin-top: 0.6rem; }
.lg-newsletter__contact { font-size: 0.95rem; color: color-mix(in srgb, var(--lg-black) 75%, transparent); }
.lg-newsletter__contact a { color: var(--lg-black); }

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

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.lg-footer { background: var(--lg-black); color: var(--lg-white); }
.lg-footer a { color: inherit; text-decoration: none; }
.lg-footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.lg-footer__wordmark { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 1rem; }
.lg-footer__tagline { color: rgba(244,242,237,0.6); max-width: 30ch; font-size: 0.92rem; }
.lg-footer__heading { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(244,242,237,0.5); margin-bottom: 1.1rem; }
.lg-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.lg-footer__links a { font-size: 0.95rem; opacity: 0.9; }
.lg-footer__links a:hover { color: var(--lg-orange); }
.lg-footer__social { display: flex; gap: 1rem; margin-top: 1.4rem; }
.lg-footer__social a { display: inline-flex; padding: 0.4rem; opacity: 0.8; }
.lg-footer__social a:hover { color: var(--lg-orange); opacity: 1; }
.lg-footer__social svg { width: 18px; height: 18px; }

.lg-footer .lg-newsletter__form { border-color: rgba(244,242,237,0.4); }
.lg-footer .lg-newsletter__form:focus-within { border-color: var(--lg-orange); }
.lg-footer .lg-newsletter__form input { color: var(--lg-white); }
.lg-footer .lg-newsletter__form input::placeholder { color: rgba(244,242,237,0.45); }

.lg-footer__legal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid rgba(244,242,237,0.14);
  padding-block: 1.4rem;
  font-size: 0.78rem;
  color: rgba(244,242,237,0.55);
}
.lg-footer__legal-links { display: flex; flex-wrap: wrap; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.lg-footer__legal-links a:hover { color: var(--lg-orange); }

@media (max-width: 989px) {
  .lg-footer__main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 549px) {
  .lg-footer__main { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   16. Drawers (cart / quick view / search)
   -------------------------------------------------------------------------- */
.lg-drawer {
  position: fixed; z-index: 100;
  top: 0; right: 0; bottom: 0;
  width: min(30rem, 100vw);
  background: var(--lg-white);
  transform: translateX(102%);
  transition: transform 0.42s var(--ease-gallery), visibility 0.42s;
  display: flex; flex-direction: column;
  visibility: hidden;
  box-shadow: -18px 0 50px rgba(16,16,16,0.14);
}
.lg-drawer.is-open { transform: translateX(0); visibility: visible; }

.lg-drawer--wide { width: min(36rem, 100vw); }

.lg-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter) 1.1rem 1.5rem;
  border-bottom: 1px solid var(--lg-line);
  flex-shrink: 0;
}
.lg-drawer__title { font-family: var(--font-heading); font-size: 1.3rem; margin: 0; }
.lg-drawer__close {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
}
.lg-drawer__close:hover { color: var(--lg-orange); }
.lg-drawer__body { flex: 1; overflow-y: auto; padding: 1.5rem; overscroll-behavior: contain; }
.lg-drawer__foot { border-top: 1px solid var(--lg-line); padding: 1.25rem 1.5rem; flex-shrink: 0; background: var(--lg-white); }

@media (max-width: 549px) {
  .lg-drawer--sheet {
    top: auto; left: 0;
    max-height: 92dvh;
    width: 100vw;
    transform: translateY(102%);
  }
  .lg-drawer--sheet.is-open { transform: translateY(0); }
}

/* Cart drawer specifics */
.lg-shipbar { margin-bottom: 1.4rem; }
.lg-shipbar__label { font-size: 0.8rem; margin-bottom: 0.5rem; display: block; }
.lg-shipbar__track { height: 2px; background: var(--lg-line); position: relative; }
.lg-shipbar__fill {
  position: absolute; inset: 0 auto 0 0; width: 0%;
  background: var(--lg-orange);
  transition: width 0.5s var(--ease-gallery);
}
.lg-shipbar.is-unlocked .lg-shipbar__fill { background: #3f7d47; }

.lg-cartline { display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--lg-line); }
.lg-cartline__media { width: 84px; aspect-ratio: 4/5; background: var(--lg-paper); overflow: hidden; }
.lg-cartline__media img { width: 100%; height: 100%; object-fit: cover; }
.lg-cartline__title { font-family: var(--font-heading); font-size: 1rem; margin: 0 0 0.2rem; }
.lg-cartline__title a { text-decoration: none; }
.lg-cartline__meta { font-size: 0.78rem; color: var(--lg-grey); }
.lg-cartline__props { font-size: 0.75rem; color: var(--lg-grey); margin-top: 0.2rem; }
.lg-cartline__price { font-variant-numeric: tabular-nums; font-size: 0.92rem; text-align: right; }
.lg-cartline__qty { display: inline-flex; align-items: center; border: 1px solid var(--lg-line-strong); margin-top: 0.7rem; }
.lg-cartline__qty button { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; }
.lg-cartline__qty button:hover { color: var(--lg-orange); }
.lg-cartline__qty input {
  width: 34px; text-align: center; border: 0; background: transparent;
  -moz-appearance: textfield; appearance: textfield;
  font-variant-numeric: tabular-nums;
}
.lg-cartline__qty input::-webkit-inner-spin-button { display: none; }
.lg-cartline__remove { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lg-grey); text-decoration: underline; margin-top: 0.55rem; }
.lg-cartline__remove:hover { color: var(--lg-burgundy); }
.lg-cartline.is-updating { opacity: 0.45; pointer-events: none; }

.lg-cart-empty { text-align: center; padding: 3rem 1rem; }
.lg-cart-empty__icon { margin: 0 auto 1.4rem; width: 54px; height: 54px; color: var(--lg-grey); }

.lg-cart-note { margin-top: 1.2rem; }
.lg-cart-note summary { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.lg-cart-note textarea {
  width: 100%; min-height: 74px; margin-top: 0.7rem;
  border: 1px solid var(--lg-line-strong); background: transparent;
  padding: 0.7rem; resize: vertical;
}

.lg-cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; }
.lg-cart-subtotal strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.lg-cart-taxnote { font-size: 0.75rem; color: var(--lg-grey); margin-bottom: 1rem; }
.lg-cart-checkout { width: 100%; }
.lg-cart-error { color: var(--lg-burgundy); font-size: 0.82rem; margin-top: 0.6rem; min-height: 1.1em; }

/* Quick view */
.lg-qv__media { position: relative; aspect-ratio: 4 / 5; background: var(--lg-paper); overflow: hidden; margin-bottom: 1.4rem; }
.lg-qv__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lg-qv__thumbs { display: flex; gap: 0.5rem; margin-bottom: 1.6rem; overflow-x: auto; }
.lg-qv__thumbs button {
  flex: 0 0 58px; aspect-ratio: 1; overflow: hidden;
  border: 1px solid var(--lg-line);
  opacity: 0.7;
}
.lg-qv__thumbs button[aria-current="true"] { border-color: var(--lg-black); opacity: 1; }
.lg-qv__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lg-qv__title { font-size: 1.6rem; margin-bottom: 0.3rem; }
.lg-qv__price { font-size: 1.05rem; margin-bottom: 1.2rem; font-variant-numeric: tabular-nums; }
.lg-qv__price s { opacity: 0.5; margin-right: 0.5rem; }
.lg-qv__option { margin-bottom: 1.2rem; }
.lg-qv__option-label { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lg-grey); margin-bottom: 0.55rem; }
.lg-qv__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lg-qv__pill { position: relative; }
.lg-qv__pill input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.lg-qv__pill span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--lg-line-strong);
  font-size: 0.82rem;
}
.lg-qv__pill input:checked + span { background: var(--lg-black); color: var(--lg-white); border-color: var(--lg-black); }
.lg-qv__pill input:focus-visible + span { outline: 2px solid var(--lg-orange); outline-offset: 2px; }
.lg-qv__pill.is-unavailable span { opacity: 0.4; text-decoration: line-through; }
.lg-qv__qty { display: inline-flex; align-items: center; border: 1px solid var(--lg-line-strong); margin-bottom: 1.4rem; }
.lg-qv__qty button { width: 42px; height: 44px; }
.lg-qv__qty button:hover { color: var(--lg-orange); }
.lg-qv__qty input { width: 48px; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.lg-qv__qty input::-webkit-inner-spin-button { display: none; }
.lg-qv__availability { font-size: 0.8rem; margin-bottom: 1rem; color: var(--lg-grey); }
.lg-qv__availability[data-available="true"]::before { content: "●  "; color: #3f7d47; }
.lg-qv__availability[data-available="false"]::before { content: "●  "; color: var(--lg-burgundy); }
.lg-qv__error { color: var(--lg-burgundy); font-size: 0.82rem; min-height: 1.2em; margin-top: 0.6rem; }
.lg-qv__excerpt { color: color-mix(in srgb, var(--lg-black) 75%, transparent); font-size: 0.92rem; margin-top: 1.4rem; }
.lg-qv__accordion { border-top: 1px solid var(--lg-line); margin-top: 1.4rem; }
.lg-qv__accordion details { border-bottom: 1px solid var(--lg-line); }
.lg-qv__accordion summary {
  padding: 0.9rem 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.lg-qv__accordion summary::-webkit-details-marker { display: none; }
.lg-qv__accordion summary::after { content: "+"; color: var(--lg-orange); }
.lg-qv__accordion details[open] summary::after { content: "–"; }
.lg-qv__accordion .lg-qv__panel { padding: 0 0 1rem; font-size: 0.9rem; color: color-mix(in srgb, var(--lg-black) 78%, transparent); }
.lg-qv__spec-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px dotted var(--lg-line); }
.lg-qv__spec-row:last-child { border-bottom: 0; }
.lg-qv__loading { display: grid; place-items: center; min-height: 40vh; color: var(--lg-grey); }

/* Search drawer */
.lg-search__form { display: flex; border-bottom: 1px solid var(--lg-black); margin-bottom: 1.5rem; }
.lg-search__form input {
  flex: 1; border: 0; background: transparent;
  padding: 0.9rem 0; font-size: 1.05rem;
}
.lg-search__form input:focus { outline: none; }
.lg-search__form:focus-within { border-color: var(--lg-orange); }
.lg-search__group-title { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lg-grey); margin: 1.4rem 0 0.8rem; }
.lg-search__result {
  display: flex; gap: 1rem; align-items: center;
  padding: 0.7rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--lg-line);
}
.lg-search__result:hover .lg-search__result-title { color: var(--lg-orange); }
.lg-search__result-img { width: 52px; aspect-ratio: 1; object-fit: cover; background: var(--lg-paper); }
.lg-search__result-title { font-size: 0.95rem; }
.lg-search__result-price { margin-left: auto; font-size: 0.85rem; font-variant-numeric: tabular-nums; color: var(--lg-grey); }
.lg-search__empty { color: var(--lg-grey); font-size: 0.9rem; padding: 1rem 0; }

/* --------------------------------------------------------------------------
   17. Auxiliary templates (product / collection / cart / page / blog / search)
   -------------------------------------------------------------------------- */
.lg-main-product__grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.lg-main-product__media { display: grid; gap: 1rem; align-content: start; }
.lg-main-product__media img { width: 100%; background: var(--lg-paper); }
@media (max-width: 989px) { .lg-main-product__grid { grid-template-columns: 1fr; } }

.lg-collection-banner { padding-block: clamp(2.5rem, 6vw, 5rem); border-bottom: 1px solid var(--lg-line); }

.lg-page-narrow { max-width: 760px; margin-inline: auto; }
.lg-page-narrow .rte img { width: 100%; }

.lg-404 { text-align: center; padding-block: clamp(4rem, 12vw, 9rem); }

.lg-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 2rem; }
.lg-blog-card__media { aspect-ratio: 16/10; background: var(--lg-paper); overflow: hidden; margin-bottom: 1rem; }
.lg-blog-card__media img { width: 100%; height: 100%; object-fit: cover; }

.lg-pagination { display: flex; justify-content: center; gap: 0.4rem; margin-top: 3rem; }
.lg-pagination a, .lg-pagination span {
  min-width: 42px; height: 42px; padding-inline: 0.6rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--lg-line);
  text-decoration: none; font-size: 0.85rem;
}
.lg-pagination [aria-current="page"] { background: var(--lg-black); color: var(--lg-white); border-color: var(--lg-black); }
.lg-pagination a:hover { border-color: var(--lg-black); }

/* --------------------------------------------------------------------------
   18. Reveal-on-scroll micro animation
   -------------------------------------------------------------------------- */
.lg-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-gallery), transform 0.8s var(--ease-gallery); }
.lg-reveal.is-revealed { opacity: 1; transform: none; }
.no-js .lg-reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   19. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .lg-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   REFINEMENT PASS — premium typography + hero marquee
   ========================================================================== */

/* Cormorant Garamond renders optically smaller: scale display type up and
   tighten. Applies wherever --font-heading is used. */
.lg-hero__title {
  font-weight: 480;
  letter-spacing: -0.012em;
  line-height: 1.02;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
}
.lg-hero__body { font-size: clamp(1rem, 1.3vw, 1.1875rem); }
h1, h2, h3, .lg-section-title { letter-spacing: -0.008em; }

/* Scrolling message filling the hero's negative space during the animation */
.lg-hero-marquee {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  opacity: var(--marquee-opacity, 0.22);
  color: #fff;
  transition: color 600ms var(--ease-gallery);
}
.lg-hero.scene-light .lg-hero-marquee { color: var(--lg-black); }
.lg-hero-marquee__band {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.lg-hero-marquee__band--top { top: clamp(4.5rem, 12vh, 9rem); }
.lg-hero-marquee__band--bottom { bottom: clamp(3rem, 9vh, 7rem); }
.lg-hero-marquee__track {
  display: flex;
  width: max-content;
  animation: lg-marquee 52s linear infinite;
}
.lg-hero-marquee__track--reverse { animation-direction: reverse; animation-duration: 64s; }
.lg-hero-marquee__unit {
  display: inline-flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding-right: clamp(2rem, 4vw, 4rem);
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 420;
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.lg-hero-marquee__unit em { font-style: italic; font-weight: 400; }
.lg-hero-marquee__dot {
  width: clamp(0.4rem, 0.7vw, 0.6rem);
  height: clamp(0.4rem, 0.7vw, 0.6rem);
  border-radius: 999px;
  background: var(--lg-orange);
  flex: none;
}
@keyframes lg-marquee {
  to { transform: translateX(-50%); }
}

/* Static hero fallback keeps the message as a quiet fixed line */
.lg-hero--static .lg-hero-marquee__track { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .lg-hero-marquee__track { animation: none !important; }
}
@media (max-width: 749px) {
  .lg-hero-marquee__band--top { top: clamp(3.5rem, 9vh, 6rem); }
  .lg-hero-marquee__unit { font-size: clamp(2.2rem, 11vw, 3.4rem); }
}
