/* ==========================================================================
   DISPERSIA — HIGH-FASHION EDITORIAL FLAGSHIP (ACNE STUDIOS CANON)
   Zero-lag 0ms native scroll, 12px micro-grotesk architecture, 100vh Hero diptych
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- RESET & GLOBAL NATIVE SCROLL --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: clip !important;
}

html {
  scroll-behavior: auto !important; /* CRITICAL: 0ms native scroll response */
  background-color: var(--bg-white, #FFFFFF);
  color: var(--color-ink, #000000);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: clip !important;
  background-color: #FFFFFF;
  color: #000000;
  position: relative;
}

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

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

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

/* --- MICRO-TYPOGRAPHY UTILITIES --- */
.mono {
  font-family: 'JetBrains Mono', monospace;
  font-feature-settings: 'tnum';
}

.micro {
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.caption {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cobalt-text {
  color: #0018A8;
}

/* --- FIXED MICRO-NAV --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 54px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 3.5vw, 48px);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.nav-brand .season-pill {
  font-size: 10px;
  padding: 2px 6px;
  background: #F0EFEA;
  border-radius: 2px;
  color: #666;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
}

.nav-links a {
  position: relative;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #0018A8;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.cart-trigger-btn:hover {
  background: #0018A8;
  color: #FFFFFF;
  border-color: #0018A8;
}

.cart-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #0018A8;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 10px;
}

.cart-trigger-btn:hover .cart-badge-count {
  background: #FFFFFF;
  color: #0018A8;
}

/* --- CHAPTER 1: 50/50 RUNWAY DIPTYCH HERO (EXACT 100VH) --- */
.hero-runway {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 54px; /* offset header */
  background: #0D0E10;
}

.diptych-pane {
  position: relative;
  width: 100%;
  height: calc(100vh - 54px);
  overflow: hidden;
}

.diptych-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.02);
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.diptych-pane:hover img {
  transform: scale(1.02);
}

.diptych-seam {
  position: absolute;
  top: 54px;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.35);
  z-index: 10;
  pointer-events: none;
}

/* Centered Giant Hero Wordmark Overlay */
.hero-wordmark-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
  pointer-events: none;
  width: 100%;
  padding: 0 20px;
}

.hero-wordmark-title {
  font-size: clamp(60px, 11vw, 154px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
}

.hero-wordmark-sub {
  margin-top: 14px;
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Interactive Garment Hotspots */
.garment-hotspot {
  position: absolute;
  z-index: 25;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(13, 14, 16, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #FFFFFF;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.garment-hotspot:hover {
  background: #0018A8;
  border-color: #0018A8;
  transform: translateY(-2px);
}

.garment-hotspot .hotspot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0018A8;
  box-shadow: 0 0 0 0 rgba(0, 24, 168, 0.7);
  animation: pulse-ring 1.8s infinite;
}

.garment-hotspot:hover .hotspot-pulse {
  background: #FFFFFF;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 24, 168, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 24, 168, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 24, 168, 0); }
}

.hotspot-left {
  top: 55%;
  left: 20%;
}

.hotspot-right {
  top: 48%;
  right: 22%;
}

/* Hero Bottom Status Bar */
.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 52px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 3.5vw, 48px);
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
  color: #FFFFFF;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-bottom-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.hero-bottom-bar a:hover {
  background: #FFFFFF;
  color: #000000;
}

/* --- SECTION SHARED ARCHITECTURE --- */
.fashion-section {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: #FFFFFF;
}

.section-header-bar {
  padding: 24px clamp(16px, 3.5vw, 48px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: #FFFFFF;
}

.section-tagline {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  font-weight: 500;
}

.section-main-heading {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #000000;
  margin-top: 4px;
}

/* --- CHAPTER 02: EDGE-TO-EDGE RUNWAY LOOKBOOK MATRIX --- */
.lookbook-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px clamp(16px, 3.5vw, 48px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  background: #FBFBFA;
  overflow-x: auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  contain: paint !important;
  -webkit-overflow-scrolling: touch;
}

.filter-btn {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 999px;
  background: #FFFFFF;
  transition: all 0.15s ease;
  max-width: 100% !important;
  box-sizing: border-box !important;
  flex-shrink: 0;
}

.filter-btn.active, .filter-btn:hover {
  background: #0018A8;
  color: #FFFFFF;
  border-color: #0018A8;
}

.lookbook-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.10);
  background: #FFFFFF;
}

.garment-card {
  position: relative;
  border-right: 1px solid rgba(0, 0, 0, 0.10);
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  transition: background 0.2s ease;
}

.garment-card:nth-child(4n) {
  border-right: none;
}

.garment-card:hover {
  background: #FAF9F6;
}

.garment-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #F0EFEA;
}

.garment-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.garment-card:hover .garment-card-media img {
  transform: scale(1.03);
}

.garment-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  text-transform: uppercase;
  font-weight: 600;
}

.garment-quick-view-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.85);
  color: #FFFFFF;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease;
}

.garment-card:hover .garment-quick-view-btn {
  opacity: 1;
  transform: translateY(0);
}

.garment-quick-view-btn:hover {
  background: #0018A8;
}

.garment-card-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 12px;
}

.garment-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  color: #777;
  text-transform: uppercase;
}

.garment-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-top: 4px;
}

.garment-specs-line {
  font-size: 11px;
  color: #555;
  margin-top: 2px;
}

.garment-size-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.size-pill {
  width: 30px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.16);
  font-size: 11px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.size-pill.active, .size-pill:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.garment-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 6px;
}

.garment-price {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.add-to-cart-action {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  background: #000000;
  color: #FFFFFF;
  border-radius: 2px;
  transition: all 0.18s ease;
}

.add-to-cart-action:hover {
  background: #0018A8;
}

/* --- CHAPTER 03: INTERACTIVE SILHOUETTE & PROPORTION CALIBRATOR --- */
.calibrator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
  min-height: 520px;
}

.calibrator-controls {
  padding: clamp(24px, 4vw, 56px);
  border-right: 1px solid rgba(0, 0, 0, 0.10);
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: #FFFFFF;
}

.calibrator-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cal-tab {
  padding: 16px 20px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  text-align: left;
  transition: all 0.2s ease;
  background: #FFFFFF;
}

.cal-tab.active {
  border-color: #0018A8;
  background: rgba(0, 24, 168, 0.03);
}

.cal-tab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cal-tab.active .cal-tab-head {
  color: #0018A8;
}

.cal-tab-desc {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
  line-height: 1.4;
}

.calibrator-sliders {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
}

.slider-range-input {
  width: 100%;
  accent-color: #0018A8;
  cursor: pointer;
}

.calibrator-display {
  padding: clamp(24px, 4vw, 56px);
  background: #F8F7F4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cal-output-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.10);
  padding: 28px;
  border-radius: 4px;
}

.cal-output-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: #0018A8;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.cal-output-title {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.cal-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.cal-metric-label {
  font-size: 11px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cal-metric-value {
  font-size: 18px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  color: #000000;
}

.cal-cta-btn {
  margin-top: 28px;
  padding: 14px 24px;
  background: #0018A8;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  width: 100%;
  transition: background 0.2s ease;
}

.cal-cta-btn:hover {
  background: #00127A;
}

/* --- CHAPTER 04: GARMENT CUTAWAY & ANATOMY --- */
.anatomy-stage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
  background: #FFFFFF;
}

.anatomy-visual-pane {
  position: relative;
  background: #0D0E10;
  min-height: 600px;
  overflow: hidden;
}

.anatomy-visual-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.anatomy-node-pin {
  position: absolute;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #000000;
  color: #000000;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.anatomy-node-pin.active, .anatomy-node-pin:hover {
  background: #0018A8;
  color: #FFFFFF;
  border-color: #0018A8;
  transform: translate(-50%, -50%) scale(1.15);
}

.pin-1 { top: 28%; left: 36%; }
.pin-2 { top: 48%; left: 52%; }
.pin-3 { top: 38%; left: 45%; }
.pin-4 { top: 68%; left: 42%; }
.pin-5 { top: 18%; left: 48%; }

.anatomy-info-pane {
  padding: clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #FFFFFF;
  border-left: 1px solid rgba(0, 0, 0, 0.10);
}

.anatomy-node-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.anatomy-item-btn {
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 4px;
  text-align: left;
  transition: all 0.2s ease;
}

.anatomy-item-btn.active {
  border-color: #0018A8;
  background: rgba(0, 24, 168, 0.04);
}

.anatomy-item-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.anatomy-item-btn.active .anatomy-item-title {
  color: #0018A8;
}

.anatomy-item-body {
  font-size: 12px;
  color: #555;
  margin-top: 4px;
  line-height: 1.45;
}

/* --- CHAPTER 05: FABRIC PHYSICS & MICRO-CLIMATE LAB --- */
.physics-lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.10);
}

.physics-card {
  padding: clamp(20px, 3vw, 40px);
  border-right: 1px solid rgba(0, 0, 0, 0.10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.physics-card:last-child {
  border-right: none;
}

.physics-fabric-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.physics-fabric-origin {
  font-size: 11px;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.06em;
}

.physics-fabric-name {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.physics-meter-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.meter-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
}

.meter-track {
  width: 100%;
  height: 4px;
  background: #EAE9E4;
  border-radius: 2px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: #000000;
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.physics-card:hover .meter-fill {
  background: #0018A8;
}

/* Macro Inspection Strip */
.macro-inspection-strip {
  border-top: 1px solid rgba(0, 0, 0, 0.10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #F8F7F4;
}

.macro-img-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.macro-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.macro-copy-wrap {
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* --- CHAPTER 06: ATELIER CARE & PROTOCOL --- */
.care-protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.10);
}

.care-step-item {
  padding: clamp(20px, 3vw, 40px);
  border-right: 1px solid rgba(0, 0, 0, 0.10);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.care-step-item:last-child {
  border-right: none;
}

.care-step-num {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: #0018A8;
}

.care-step-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.care-step-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

/* --- CHAPTER 07: PRIVATE SHOWROOM & APPOINTMENT --- */
.showroom-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
  contain: paint !important;
  overflow: hidden !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.showroom-info {
  padding: clamp(24px, 4vw, 56px);
  border-right: 1px solid rgba(0, 0, 0, 0.10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.atelier-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.atelier-card {
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.atelier-card.active {
  border-color: #0018A8;
  background: rgba(0, 24, 168, 0.03);
}

.atelier-card-city {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.atelier-card-addr {
  font-size: 11px;
  color: #777;
  margin-top: 4px;
}

.showroom-form-wrap {
  padding: clamp(24px, 4vw, 56px);
  background: #F8F7F4;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.appointment-form,
#appointmentForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #333;
}

.form-input, .form-select {
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 2px;
  background: #FFFFFF;
  font-family: inherit;
  font-size: 13px;
  color: #000000;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: #0018A8;
}

.form-submit-btn {
  padding: 14px;
  background: #000000;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-top: 8px;
  transition: background 0.2s ease;
}

.form-submit-btn:hover {
  background: #0018A8;
}

/* --- CHAPTER 08: SLIDE-OVER DEMO CART DRAWER --- */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-backdrop.open,
.cart-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible !important;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(480px, 100vw);
  height: 100vh;
  background: #FFFFFF;
  z-index: 2010;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  visibility: hidden !important;
  pointer-events: none !important;
  transition: transform 0.38s cubic-bezier(0.19, 1, 0.22, 1), visibility 0.38s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open,
.cart-drawer.active {
  transform: translateX(0);
  visibility: visible !important;
  pointer-events: auto !important;
}

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cart-close-btn {
  font-size: 20px;
  line-height: 1;
  padding: 4px 8px;
}

.cart-drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty-state {
  text-align: center;
  margin: auto 0;
  color: #777;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-item-row {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-item-thumb {
  width: 68px;
  height: 85px;
  object-fit: cover;
  background: #F0EFEA;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.cart-item-meta {
  font-size: 11px;
  color: #666;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.cart-item-remove-btn {
  font-size: 11px;
  color: #999;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 4px;
}

.cart-item-remove-btn:hover {
  color: #000;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
  background: #FBFBFA;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
}

.cart-checkout-btn {
  padding: 14px;
  background: #0018A8;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  text-align: center;
  transition: background 0.2s ease;
}

.cart-checkout-btn:hover {
  background: #00127A;
}

/* --- QUICK VIEW MODAL --- */
.quick-view-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.quick-view-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.quick-view-content {
  width: min(840px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  background: #FFFFFF;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.quick-view-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  line-height: 1;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- SITE FOOTER --- */
.site-footer {
  padding: clamp(32px, 5vw, 64px) clamp(16px, 3.5vw, 48px);
  background: #0D0E10;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.footer-nav-cols {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col strong {
  color: #888;
  margin-bottom: 4px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
  color: #777;
  text-transform: uppercase;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .lookbook-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .garment-card:nth-child(2n) {
    border-right: none;
  }
  .physics-lab-grid, .care-protocol-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calibrator-container, .anatomy-stage, .showroom-container {
    grid-template-columns: 1fr;
  }
  .anatomy-visual-pane {
    min-height: 440px;
  }
}

@media (max-width: 768px) {
  .site-header .nav-links {
    display: none; /* Mobile menu */
  }
  .hero-runway {
    grid-template-columns: 1fr;
    height: 100vh;
  }
  .diptych-pane.pane-right {
    display: none; /* Show single hero on mobile */
  }
  .diptych-seam {
    display: none;
  }
  .lookbook-matrix {
    grid-template-columns: 1fr;
  }
  .garment-card {
    border-right: none;
  }
  .physics-lab-grid, .care-protocol-grid {
    grid-template-columns: 1fr;
  }
  .macro-inspection-strip {
    grid-template-columns: 1fr;
  }
  .atelier-cards-grid {
    grid-template-columns: 1fr !important;
  }
}
