/* ==========================================================================
   MAISON. — ARCHITECTURAL FURNITURE & SPACES
   High-Craft Swiss Brutalist UI + Motion.dev Animation System
   ========================================================================== */

:root {
  --color-bg: #ebeae6;
  --color-canvas: #ffffff;
  --color-surface-subtle: #f6f6f3;
  --color-text: #000000;
  --color-text-muted: #404040;
  --color-text-subtle: #737373;
  --color-border: #0a0a0a;
  --color-border-subtle: rgba(0, 0, 0, 0.12);
  --color-neon: #EFFC2D;
  --color-neon-hover: #e2f218;
  --color-cobalt: #0a26e8;
  --color-dark: #0e0e0e;

  /* Swiss Neo-Grotesque Black Display + Clean Grotesque Body */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Motion Tokens (from design-taste-frontend motion study) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 260ms;
  --t-reveal: 850ms;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.4;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

::selection {
  background: var(--color-neon);
  color: #000000;
}

/* Top Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-neon);
  transform-origin: 0% 50%;
  transform: scaleX(0);
  z-index: 999;
  border-bottom: 1px solid #000;
}

/* Page Frame Container */
.page-canvas {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  background-color: #ffffff;
  min-height: 100vh;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
  body {
    padding: 16px 20px;
  }
  .page-canvas {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.18);
  }
}

/* ==========================================================================
   TOP HERO HEADER SECTION (2-Tier Architectural Rule Structure + Motion)
   ========================================================================== */
.hero-header {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Tier 1: MAISON. + Navigation (with 1px bottom border matching reference) */
.hero-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding: 18px 28px 12px 28px;
  border-bottom: 1px solid var(--color-border);
  gap: 20px;
}

/* Tier 2: MAKE ROOM. + Tagline */
.hero-header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding: 14px 28px 12px 28px;
  gap: 20px;
}

/* Brand Massive Typography */
.brand-title-wrap,
.brand-subtitle-wrap {
  line-height: 0.82;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.8rem, 8.8vw, 8.2rem);
  line-height: 0.82;
  letter-spacing: -0.058em;
  color: var(--color-text);
  text-transform: uppercase;
  display: inline-block;
  user-select: none;
  cursor: default;
}

.char-mask {
  display: inline-block;
  vertical-align: bottom;
}

.char-inner {
  display: inline-block;
  will-change: transform;
  transform-origin: 50% 100%;
}

/* Header Right Cluster: Atelier Status + Navigation */
.header-right-cluster {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-bottom: 4px;
}

.atelier-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: #f5f5f2;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #111;
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.01em;
  position: relative;
  padding: 4px 2px;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  transition: color var(--t-hover) ease;
}

.nav-count {
  font-size: 10px;
  font-weight: 700;
  color: #666;
  transform: translateY(-5px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-text);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s var(--ease-expo);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.cart-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  position: relative;
  transition: transform var(--t-press) var(--ease-out);
}

.cart-btn:active {
  transform: scale(0.92);
}

.bag-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  background: #000000;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}

.bag-badge.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Tagline */
.tagline-cluster {
  display: flex;
  align-items: flex-end;
  padding-bottom: 12px;
}

.hero-quick-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f4f4f1;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.ambient-chip {
  background: transparent;
  border: none;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ambient-chip:hover {
  color: #000;
}

.ambient-chip.active {
  background: #000000;
  color: #ffffff;
}

.tagline {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.35vw, 16.5px);
  font-weight: 500;
  color: #111111;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

/* ==========================================================================
   THE 3-COLUMN PRODUCT HERO GRID (Interactive Showcase Stage)
   ========================================================================== */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1.05fr;
  width: 100%;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background-color: #ffffff;
  min-height: 448px;
  position: relative;
}

/* Grid Cards Shared */
.grid-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 26px;
  overflow: hidden;
  background-color: #ffffff;
  transition: background-color 0.35s ease;
}

.card-primary {
  border-right: 1px solid var(--color-border);
}

.card-secondary {
  border-right: 1px solid var(--color-border);
}

/* Architectural CAD Wireframe Overlay */
.cad-grid-overlay {
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(10, 38, 232, 0.24);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.grid-card:hover .cad-grid-overlay,
.editorial-grid.blueprint-active .cad-grid-overlay {
  opacity: 1;
}

.editorial-grid.blueprint-active .card-primary,
.editorial-grid.blueprint-active .card-secondary {
  background-image:
    linear-gradient(to right, rgba(10, 38, 232, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 38, 232, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.cad-dim {
  position: absolute;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-cobalt);
  background: rgba(255, 255, 255, 0.92);
  padding: 1px 6px;
  border: 1px solid rgba(10, 38, 232, 0.25);
}

.cad-dim-top {
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}

.cad-dim-side {
  right: -28px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
}

.cad-crosshair {
  position: absolute;
  font-size: 11px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.35);
  line-height: 1;
}
.cad-crosshair.tl { top: 4px; left: 6px; }
.cad-crosshair.tr { top: 4px; right: 6px; }
.cad-crosshair.bl { bottom: 4px; left: 6px; }
.cad-crosshair.br { bottom: 4px; right: 6px; }

/* Card Top Metadata */
.card-meta-top {
  position: relative;
  z-index: 3;
}

.card-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.form-id {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #111111;
  letter-spacing: 0.01em;
  margin-bottom: 2px;
}

.product-name {
  font-size: 14.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #000000;
  margin-bottom: 7px;
}

/* Price & Specs Trigger Pills on Hero Cards */
.hero-card-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #111;
  background: #f3f3ef;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-variant-numeric: tabular-nums;
}

.inspect-trigger-pill {
  background: #000;
  color: #fff;
  border: 1px solid #000;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out), background-color 0.2s ease;
}

.grid-card:hover .inspect-trigger-pill {
  opacity: 1;
  transform: translateY(0);
}

.inspect-trigger-pill:hover {
  background: var(--color-neon);
  color: #000;
}

.meta-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5px;
}

.meta-bullets li {
  font-size: 12px;
  font-weight: 400;
  color: #383838;
  line-height: 1.35;
}

/* Card Visual Stage */
.card-visual-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-top: -58px;
  margin-bottom: -14px;
  position: relative;
  min-height: 330px;
  perspective: 1100px;
  z-index: 2;
}

.card-secondary .card-visual-wrapper {
  margin-top: -36px;
}

.product-halo {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 38, 232, 0.08) 0%, rgba(10, 38, 232, 0) 70%);
  pointer-events: none;
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.6s var(--ease-expo), opacity 0.6s ease;
}

.product-halo.chrome {
  background: radial-gradient(circle, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
}

.grid-card:hover .product-halo {
  transform: scale(1.25);
  opacity: 1;
}

.card-product-img {
  max-width: 98%;
  max-height: 355px;
  object-fit: contain;
  cursor: pointer;
  will-change: transform, filter;
  transition: filter 0.4s ease;
}

.card-secondary .card-product-img {
  max-height: 325px;
}

.floating-dimension-tag {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(15, 15, 15, 0.9);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}

.grid-card:hover .floating-dimension-tag {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Card Bottom Metadata & Swatches */
.card-meta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 3;
  padding-top: 8px;
}

.counter-and-swatches {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-counter {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  color: #555555;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.hero-swatch-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--swatch-color, #0a26e8);
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.swatch-dot:hover {
  transform: scale(1.25);
}

.swatch-dot.active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #000;
  transform: scale(1.1);
}

.card-nav-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-arrow-btn {
  background: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  padding: 5px 8px;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease;
}

.card-arrow-btn:hover {
  background-color: #f3f3ef;
  border-color: rgba(0, 0, 0, 0.15);
}

.card-arrow-btn.next:hover {
  transform: translateX(4px);
}

.card-arrow-btn.prev:hover {
  transform: translateX(-4px);
}

/* Subtle bottom cycle progress bar */
.card-cycle-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.05);
}

.card-cycle-fill {
  height: 100%;
  width: 0%;
  background: #000000;
}

/* Column 3: The Neon Yellow Statement Card */
.card-statement {
  background-color: var(--color-neon);
  padding: 24px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: none;
  position: relative;
}

.statement-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.65);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 10px;
}

.statement-content {
  padding-top: 12px;
  margin-bottom: auto;
}

.statement-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.2vw, 4.1rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.048em;
  color: #000000;
}

.statement-headline .line {
  display: block;
}

.word-reveal {
  display: inline-block;
  transition: transform 0.35s var(--ease-expo);
  cursor: default;
}

.statement-headline .line:hover .word-reveal {
  transform: translateX(8px);
}

.statement-micro-copy {
  margin-top: 18px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.78);
  max-width: 270px;
}

.statement-footer {
  margin-top: 24px;
  width: 100%;
}

.pill-action-btn {
  background-color: #000000;
  color: #ffffff;
  border-radius: 9999px;
  padding: 13px 20px 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #000000;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease, transform var(--t-press) var(--ease-out);
}

.pill-action-btn:active {
  transform: scale(0.97);
}

.btn-label-wrap {
  position: relative;
  display: inline-block;
  height: 1.35em;
  overflow: hidden;
}

.btn-label-primary,
.btn-label-Clone {
  display: block;
  line-height: 1.35;
  transition: transform 0.4s var(--ease-expo);
}

.btn-label-Clone {
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--color-neon);
}

.pill-action-btn:hover .btn-label-primary {
  transform: translateY(-100%);
}

.pill-action-btn:hover .btn-label-Clone {
  transform: translateY(-100%);
}

.btn-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease-expo);
}

.pill-action-btn:hover .btn-arrow-circle {
  transform: translateX(5px);
}

/* ==========================================================================
   BOTTOM TICKER / NAVIGATION STRIP (Interactive Object Switcher)
   ========================================================================== */
.collection-ticker {
  display: grid;
  grid-template-columns: repeat(6, 1fr) 1.55fr;
  width: 100%;
  border-bottom: 1px solid var(--color-border);
  background-color: #ffffff;
}

.ticker-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-right: 1px solid var(--color-border);
  cursor: pointer;
  transition: background-color 0.22s ease;
  user-select: none;
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
}

.ticker-cell:hover {
  background-color: #f6f6f2;
}

.ticker-cell.active {
  background-color: #f4f4ef;
}

.ticker-cell.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: #000000;
}

.cell-num {
  font-size: 12px;
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.cell-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
}

.cell-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.cell-sub {
  font-size: 10px;
  font-weight: 400;
  color: #666666;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.cell-mini-thumb {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.7) translateX(6px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease-out);
  flex-shrink: 0;
}

.ticker-cell:hover .cell-mini-thumb,
.ticker-cell.active .cell-mini-thumb {
  opacity: 1;
  transform: scale(1) translateX(0);
}

/* Ticker Banner (Rightmost cell) */
.ticker-banner {
  border-right: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  color: #000000;
  transition: background-color 0.22s ease;
}

.ticker-banner:hover {
  background-color: var(--color-neon);
}

.banner-text {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ticker-banner svg {
  transition: transform 0.3s var(--ease-expo);
}

.ticker-banner:hover svg {
  transform: translateX(6px);
}

/* ==========================================================================
   SECTION 2: UPGRADED ARCHITECTURAL CARD SECTION (Objects 01 - 06)
   ========================================================================== */
.section-catalog {
  padding: 80px 32px 96px 32px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
  gap: 24px;
  flex-wrap: wrap;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 8px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-neon);
  border: 1px solid #000;
}

.eyebrow-Sub {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.1vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.048em;
  line-height: 0.92;
  text-transform: uppercase;
}

.catalog-controls-cluster {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.category-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  background: #f6f6f3;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 9999px;
  padding: 7px 16px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  transition: all 0.22s var(--ease-out);
}

.filter-chip:hover {
  border-color: #000;
  color: #000;
}

.filter-chip.active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.layout-view-switcher {
  display: inline-flex;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.layout-btn {
  background: transparent;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.layout-btn.active {
  background: #000;
  color: var(--color-neon);
}

/* Catalog Grid Modes */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  background: #ffffff;
}

.catalog-grid.runway-mode {
  grid-template-columns: repeat(2, 1fr);
}

/* Individual Upgraded Product Card */
.catalog-item-card {
  background: #ffffff;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 540px;
  position: relative;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.3s ease;
  overflow: hidden;
}

.catalog-item-card:hover {
  background: #f8f8f4;
}

/* Card Top Header */
.catalog-item-card .item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 3;
}

.item-index-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.item-num-badge {
  font-size: 11px;
  font-weight: 800;
  background: #000;
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
}

.item-cat-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #444;
}

.item-status-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: #111;
  background: #f1f1ec;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

/* Card Visual Stage with Shutter & Blueprint HUD */
.catalog-img-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 0;
  background: #f4f4f1;
  border-radius: 8px;
  position: relative;
  overflow: clip;
  min-height: 270px;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.catalog-img-box img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform 0.65s var(--ease-expo), filter 0.4s ease;
  will-change: transform;
}

.catalog-item-card:hover .catalog-img-box img {
  transform: scale(1.06);
}

/* Sliding Blueprint HUD on Card Hover */
.card-blueprint-hud {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(12, 12, 12, 0.92);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  transform: translateY(14px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease-expo), opacity 0.28s ease;
}

.catalog-item-card:hover .card-blueprint-hud {
  transform: translateY(0);
  opacity: 1;
}

.hud-spec-col {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hud-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

.hud-val {
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.hud-val.accent {
  color: var(--color-neon);
}

/* Card Middle Info & Swatches */
.item-body-info {
  margin-bottom: 14px;
}

.item-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}

.item-title-bold {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  color: #000;
}

.item-price {
  font-size: 15px;
  font-weight: 800;
  color: #000;
  font-variant-numeric: tabular-nums;
}

.item-tagline-copy {
  font-size: 12.5px;
  color: #444444;
  line-height: 1.45;
  margin-bottom: 12px;
}

.card-finish-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 0, 0, 0.14);
}

.finish-name-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #333;
}

.card-swatches {
  display: flex;
  gap: 6px;
}

.card-swatch-btn {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.35);
  background: var(--sw);
  cursor: pointer;
  transition: transform 0.2s var(--ease-out);
}

.card-swatch-btn:hover {
  transform: scale(1.25);
}

.card-swatch-btn.active {
  box-shadow: 0 0 0 1.5px #fff, 0 0 0 3px #000;
}

/* Card Action Footer */
.item-footer-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.card-inspect-btn {
  background: #f3f3ef;
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.card-inspect-btn:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.card-add-bag-btn {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, transform var(--t-press) var(--ease-out);
}

.card-add-bag-btn:hover {
  background: var(--color-neon);
  color: #000000;
}

.card-add-bag-btn:active {
  transform: scale(0.95);
}

/* ==========================================================================
   SECTION 3: IN HABITATION — OPENING WINDOW SCENE
   ========================================================================== */
.section-editorial-space {
  padding: 64px 0 0 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.habitation-intro-bar {
  padding: 0 32px 36px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.habitation-lead {
  font-size: 14px;
  color: #444;
  max-width: 380px;
  line-height: 1.5;
}

.editorial-space-banner {
  width: 100%;
  position: relative;
  height: 640px;
  overflow: clip;
  will-change: clip-path;
}

.space-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.space-overlay-text {
  position: absolute;
  top: 40px;
  left: 40px;
  background: rgba(255, 255, 255, 0.95);
  padding: 26px 32px;
  border: 1px solid var(--color-border);
  max-width: 440px;
}

.overlay-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--color-neon);
  color: #000;
  padding: 3px 8px;
  margin-bottom: 10px;
  border: 1px solid #000;
}

.space-overlay-text h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}

.space-overlay-text p {
  font-size: 13.5px;
  color: #333;
  line-height: 1.55;
}

/* Interactive Room Hotspots */
.room-hotspot {
  position: absolute;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
}

.hotspot-beacon {
  width: 24px;
  height: 24px;
  background: var(--color-neon);
  border: 1.5px solid #000;
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 800;
  color: #000;
  transition: transform 0.3s var(--ease-out), background-color 0.2s ease;
}

.hotspot-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(239, 252, 45, 0.45);
  animation: pulse-ring 2.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulse-ring {
  0% { transform: scale(0.55); opacity: 1; }
  100% { transform: scale(1.75); opacity: 0; }
}

.room-hotspot:hover .hotspot-beacon {
  transform: scale(1.2);
  background: #000;
  color: var(--color-neon);
}

.hotspot-popover {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #000000;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-expo);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.popover-form {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-neon);
}

.popover-cta {
  font-size: 10px;
  color: #aaa;
  margin-top: 2px;
}

.room-hotspot:hover .hotspot-popover,
.room-hotspot:focus-visible .hotspot-popover {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   SECTION 4: KINETIC MARQUEE & INK-FILL MANIFESTO
   ========================================================================== */
.section-marquee {
  width: 100%;
  overflow: hidden;
  background: #000000;
  color: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-slide 28s linear infinite;
}

.section-marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-right: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.marquee-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-neon);
}

.section-manifesto {
  padding: 88px 32px;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.manifesto-lead {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.042em;
  color: #000;
  margin-bottom: 36px;
}

.ink-word {
  transition: color 0.25s ease;
}

.manifesto-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  gap: 16px;
}

.metric-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #000;
}

.metric-label {
  font-size: 11.5px;
  font-weight: 500;
  color: #555;
}

.manifesto-body {
  font-size: 16px;
  color: #222;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 24px;
}

.manifesto-signature {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #555;
}

/* ==========================================================================
   SECTION 5: MATERIALITY PALETTE
   ========================================================================== */
.section-materials {
  padding: 72px 32px 84px 32px;
  background: #f9f9f6;
  border-bottom: 1px solid var(--color-border);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.material-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 20px;
  transition: transform 0.35s var(--ease-out);
}

.material-card:hover {
  transform: translateY(-6px);
}

.material-swatch {
  height: 150px;
  width: 100%;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

.swatch-code {
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
}

.swatch-cobalt {
  background: radial-gradient(circle at 30% 30%, #2042ff, #0a1f9e);
}

.swatch-chrome {
  background: linear-gradient(135deg, #f0f0f0 0%, #b8b8b8 40%, #ffffff 50%, #8c8c8c 80%, #dcdcdc 100%);
}

.swatch-oak {
  background: linear-gradient(45deg, #2b1f14, #443224, #24190e);
}

.swatch-glass {
  background: linear-gradient(120deg, rgba(230, 240, 245, 0.9), rgba(200, 220, 230, 0.7)),
              repeating-linear-gradient(90deg, transparent, transparent 6px, rgba(0,0,0,0.07) 6px, rgba(0,0,0,0.07) 12px);
}

.material-title {
  font-size: 14.5px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.material-origin {
  font-size: 12px;
  color: #555;
}

/* ==========================================================================
   QUICK SPEC MODAL / SLIDE-OUT DRAWER
   ========================================================================== */
.spec-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.spec-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.spec-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 540px;
  height: 100vh;
  background: #ffffff;
  z-index: 210;
  border-left: 1px solid #000;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-expo);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.spec-drawer-backdrop.active .spec-drawer {
  transform: translateX(0);
}

.drawer-header {
  padding: 26px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}

.drawer-close-btn {
  background: none;
  border: 1px solid var(--color-border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.drawer-close-btn:hover {
  background: #000;
  color: #fff;
}

.drawer-body {
  padding: 32px;
  flex: 1;
}

.drawer-img-view {
  width: 100%;
  height: 280px;
  background: #f7f7f4;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.drawer-img-view img {
  max-height: 82%;
  max-width: 82%;
  object-fit: contain;
}

.drawer-scale-tag {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #555;
  background: #fff;
  padding: 2px 7px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.drawer-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.drawer-spec-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.drawer-spec-table th {
  text-align: left;
  padding: 12px 0;
  font-size: 12px;
  color: #666;
  font-weight: 500;
  width: 35%;
}

.drawer-spec-table td {
  padding: 12px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #111;
}

.drawer-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.secondary-outline-btn {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1.5px solid #000000 !important;
}

.secondary-outline-btn:hover {
  background: var(--color-neon) !important;
}

/* ==========================================================================
   FLOATING PREVIEW BADGE & TOAST
   ========================================================================== */
.preview-badge {
  position: fixed;
  bottom: 24px;
  right: 28px;
  z-index: 100;
  background: #141414;
  color: #ffffff;
  border-radius: 9999px;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: transform 0.3s var(--ease-expo), background-color 0.2s ease;
}

.preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-neon);
}

.preview-badge:hover {
  background: #000000;
  transform: translateY(-3px) scale(1.02);
}

.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 28px;
  z-index: 250;
  background: #000000;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-neon);
  transform: translateY(80px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease-expo), opacity 0.3s ease;
}

.toast-notification.is-shown {
  transform: translateY(0);
  opacity: 1;
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-neon);
}

/* ==========================================================================
   EDITORIAL ARCHITECTURAL FOOTER
   ========================================================================== */
.page-footer {
  background: #000000;
  color: #ffffff;
  padding: 64px 32px 36px 32px;
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-bottom: 14px;
}

.footer-brand p {
  color: #a3a3a3;
  font-size: 14px;
  max-width: 340px;
  line-height: 1.6;
}

.newsletter-form {
  margin-top: 22px;
  display: flex;
  max-width: 380px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px;
  overflow: hidden;
  padding: 4px;
}

.newsletter-input {
  background: transparent;
  border: none;
  padding: 10px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  flex: 1;
  outline: none;
}

.newsletter-input::placeholder {
  color: #777;
}

.newsletter-submit {
  background: var(--color-neon);
  color: #000;
  border: none;
  border-radius: 9999px;
  padding: 0 18px;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out);
}

.newsletter-submit:hover {
  transform: scale(1.04);
}

.footer-col-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  color: #d4d4d4;
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-neon);
}

.studio-clocks {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
}

.clock-item {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #bbb;
  font-variant-numeric: tabular-nums;
}

.clock-item span:last-child {
  color: var(--color-neon);
  font-weight: 600;
}

.footer-giant-wordmark {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9.2vw, 9.5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.055em;
  color: rgba(255, 255, 255, 0.09);
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  margin-bottom: 24px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: #888;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   RESPONSIVE DESIGN & REDUCED MOTION
   ========================================================================== */
@media (max-width: 1024px) {
  .editorial-grid {
    grid-template-columns: 1fr 1fr;
  }
  .card-statement {
    grid-column: span 2;
    border-top: 1px solid var(--color-border);
  }
  .collection-ticker {
    grid-template-columns: repeat(3, 1fr);
  }
  .ticker-banner {
    grid-column: span 3;
    border-top: 1px solid var(--color-border);
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .hero-header-top,
  .hero-header-bottom {
    padding: 16px 18px 10px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .header-right-cluster {
    width: 100%;
    justify-content: space-between;
  }
  .tagline-cluster {
    align-items: flex-start;
  }
  .brand-title {
    font-size: 3.1rem;
  }
  .editorial-grid {
    grid-template-columns: 1fr;
  }
  .card-primary, .card-secondary, .card-statement {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    grid-column: span 1;
  }
  .collection-ticker {
    grid-template-columns: repeat(2, 1fr);
  }
  .ticker-banner {
    grid-column: span 2;
  }
  .catalog-grid,
  .catalog-grid.runway-mode {
    grid-template-columns: 1fr;
  }
  .section-manifesto {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Finish controls are keyboard-visible and expose their selected state. */
.swatch-dot:focus-visible,.card-swatch-btn:focus-visible{outline:3px solid #191919;outline-offset:4px}

/* Keep the full first PLIN finish visible in the catalog frame. */
.catalog-img-box img[src$='finish-table-chrome.webp'],
.catalog-img-box img[src$='finish-table-brass.webp'],
.catalog-img-box img[src$='finish-table-gunmetal.webp'] { object-fit: contain; background: #fff; }
