:root {
  --paper: #f4efe7;
  --ivory: #faf7f1;
  --linen: #eaded1;
  --wine: #4a1728;
  --wine-dark: #310e1a;
  --wine-soft: #5c1e33;
  --ink: #2b1f22;
  --muted: #66554f;
  --line: #d8cabe;
  --rose: #bf8e95;
  --success: #245c43;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 12px 34px rgba(43, 31, 34, 0.08);
  --shadow-deep: 0 24px 60px rgba(27, 10, 16, 0.24);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1320px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  scroll-padding-bottom: 96px;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--wine-dark);
  color: #fff;
  padding: 10px 18px;
  z-index: 200;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Announcement Bar */
.announcement-bar {
  background: var(--wine-dark);
  color: #f8f1e9;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

.announcement-copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.announcement-badge {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.announcement-link {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(244, 239, 231, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 76px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--wine);
  transition: width 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--wine);
}

.nav-link:hover::after {
  width: 100%;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
}

.brand-logo img {
  height: 50px;
  width: auto;
}

.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
  transition: all 0.2s var(--ease);
}

.header-icon-btn:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.wishlist-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ivory);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}

.wishlist-trigger:hover {
  border-color: var(--wine);
  background: #fff;
}

.count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.mobile-drawer {
  border-top: 1px solid var(--line);
  background: var(--ivory);
  padding: 14px 0 20px;
}

.mobile-drawer-inner {
  display: grid;
  gap: 4px;
}

.mobile-nav-link {
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.mobile-nav-link:hover {
  background: var(--linen);
}

/* Typography & Shared Sections */
.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-paper {
  background: var(--paper);
}

.section-ivory {
  background: var(--ivory);
}

.section-linen {
  background: var(--linen);
}

.section-wine-soft {
  background: linear-gradient(145deg, var(--wine-dark) 0%, var(--wine) 100%);
  color: #f8f1e9;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--wine);
}

.eyebrow-light {
  color: #e6ccd1;
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.title-light {
  color: #fdf9f4;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.section-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
}

.btn-sm {
  min-height: 36px;
  padding: 7px 15px;
  font-size: 12.5px;
}

.btn-full {
  width: 100%;
}

.btn-ivory {
  background: #fdf9f4;
  color: var(--wine-dark);
}
.btn-ivory:hover {
  background: #fff;
  transform: translateY(-1px);
}

.btn-wine {
  background: var(--wine);
  color: #fdf9f4;
}
.btn-wine:hover {
  background: var(--wine-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--wine);
  color: var(--wine);
  background: rgba(255, 255, 255, 0.5);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fdf9f4;
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fdf9f4;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--wine);
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link:hover {
  color: var(--wine-dark);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ivory);
  font-size: 20px;
  line-height: 1;
}

.icon-btn-xs {
  width: 24px;
  height: 24px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.14);
  border-color: transparent;
  color: #fff;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: clamp(500px, 78vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #301a20;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 24%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    98deg,
    rgba(35, 11, 19, 0.90) 0%,
    rgba(49, 14, 26, 0.68) 44%,
    rgba(49, 14, 26, 0.20) 76%,
    rgba(49, 14, 26, 0.10) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 0 42px;
}

.hero-text {
  max-width: 580px;
  color: #fdf9f4;
}

.hero-title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.1rem, 6.8vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: #f3d7dd;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: clamp(15px, 1.3vw, 17px);
  color: rgba(253, 249, 244, 0.90);
  max-width: 48ch;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(253, 249, 244, 0.85);
}

.hero-caption-card {
  max-width: 280px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(31, 10, 17, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fdf9f4;
}

.caption-tag {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #e6ccd1;
  margin-bottom: 6px;
  font-weight: 700;
}

.hero-caption-card p {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 13.5px;
}

.hero-caption-card small {
  color: rgba(253, 249, 244, 0.75);
  font-size: 12px;
  line-height: 1.45;
  display: block;
}

/* Intro Band */
.intro-band {
  padding: 48px 0;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.intro-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
}

.intro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Collection Controls & Cards */
.collection-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ivory);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b68a4c;
}
.status-dot.is-online {
  background: var(--success);
}

.catalog-controls {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--ivory);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}

.filter-pill:hover {
  border-color: var(--wine);
}

.filter-pill.is-active {
  background: var(--wine);
  border-color: var(--wine);
  color: #fdf9f4;
}

.search-sort-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.input-with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  min-width: 240px;
}

.input-with-icon input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 13px;
  outline: none;
}

.select-input {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
}

.nuance-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.filter-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-right: 4px;
}

.nuance-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nuance-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}

.nuance-chip.is-active {
  border-color: var(--wine);
  background: var(--linen);
  font-weight: 700;
}

.swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
}

/* Product Cards Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.model-card {
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--linen);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

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

.card-top-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.badge-glass {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(43, 31, 34, 0.72);
  color: #fdf9f4;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}

.card-save-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
}

.card-save-btn.is-saved {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.card-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.15;
}

.card-status-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--wine);
  background: var(--linen);
  padding: 3px 9px;
  border-radius: 999px;
  align-self: flex-start;
}

.card-tagline {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.card-swatches {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.swatch-buttons {
  display: flex;
  align-items: center;
  gap: 7px;
}

.swatch-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.22);
}

.swatch-btn.is-active {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}

.active-color-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

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

.highlight-chip {
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
}

.card-actions {
  margin-top: auto;
  padding-top: 6px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.compare-toggle-btn {
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
}

.compare-toggle-btn.is-active {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
  color: #fff;
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  background: var(--ivory);
  border-radius: var(--radius-md);
  border: 1px dashed var(--line);
}

/* Color Room */
.visual-disclaimer {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 34ch;
}

.color-room-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

.color-selector-list {
  display: grid;
  gap: 10px;
}

.color-tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--ivory);
  text-align: left;
  transition: all 0.2s var(--ease);
}

.color-tab-btn.is-active {
  background: var(--wine);
  border-color: var(--wine);
  color: #fdf9f4;
}

.color-tab-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-tab-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.color-tab-btn strong {
  display: block;
  font-size: 14px;
}

.color-tab-btn small {
  font-size: 12px;
  opacity: 0.78;
}

.color-spotlight-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--ivory);
  border: 1px solid var(--line);
  align-items: center;
}

.color-spotlight-meta h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 500;
}

.color-models-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.color-model-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
}

.color-spotlight-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--linen);
}

.color-spotlight-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Atelier 3-Step Quiz */
.atelier-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.atelier-subtitle {
  color: rgba(253, 249, 244, 0.84);
  margin: 0 0 24px;
}

.atelier-steps-indicator {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.step-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(253, 249, 244, 0.72);
}

.step-badge.is-active {
  background: #fdf9f4;
  color: var(--wine-dark);
  border-color: #fdf9f4;
}

.atelier-card {
  background: var(--ivory);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-deep);
}

.atelier-card h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
}

.atelier-options-grid {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}

.atelier-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: left;
  transition: all 0.2s var(--ease);
}

.atelier-option:hover {
  border-color: var(--wine);
}

.atelier-option.is-selected {
  border-color: var(--wine);
  background: var(--linen);
  box-shadow: inset 0 0 0 1px var(--wine);
}

.atelier-option strong {
  display: block;
  font-size: 14.5px;
}

.atelier-option small {
  color: var(--muted);
  font-size: 12.5px;
}

.atelier-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.atelier-results-grid {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.atelier-match-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper);
  align-items: center;
}

.atelier-match-card img {
  width: 92px;
  height: 118px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Lookbook */
.view-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--ivory);
  border: 1px solid var(--line);
}

.view-btn {
  padding: 7px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
}

.view-btn.is-active {
  background: var(--wine);
  color: #fdf9f4;
}

.lookbook-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.lookbook-grid.is-editorial {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.lookbook-grid.is-contact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 12px;
}

.lb-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 0;
  text-align: left;
  transition: transform 0.25s var(--ease);
}

.lb-item:hover {
  transform: translateY(-3px);
}

.lb-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.lb-caption {
  padding: 10px 12px;
}

.lb-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 3px;
}

.lb-title {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.is-contact .lb-caption {
  padding: 7px 9px;
}
.is-contact .lb-title {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Size Guide & Calculator */
.size-layout {
  display: grid;
  gap: 28px;
}

.size-calculator-card,
.size-table-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.tag-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--wine);
  color: #fdf9f4;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.calc-header h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.75rem;
}

.calc-header p {
  margin: 0 0 18px;
  color: var(--muted);
}

.calc-mode-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.calc-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 400;
}

.field-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-result {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--ivory);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.table-head-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.table-head-bar strong {
  display: block;
  font-size: 16px;
}

.table-head-bar span {
  font-size: 13px;
  color: var(--muted);
}

.badge-soft {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--linen);
  color: var(--wine);
  font-weight: 700;
  font-size: 12px;
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.size-table th,
.size-table td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.size-table th {
  background: var(--linen);
  font-weight: 700;
  color: var(--ink);
}

.size-table td:first-child,
.size-table th:first-child {
  position: sticky;
  left: 0;
  background: var(--ivory);
  font-weight: 700;
  text-align: left;
  border-right: 1px solid var(--line);
}

.size-table th:first-child {
  background: var(--linen);
}

.size-table tr.is-recommended td {
  background: #f5e6ea;
  color: var(--wine-dark);
  font-weight: 700;
}

.measure-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.measure-step-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--ivory);
  border: 1px solid var(--line);
}

.measure-step-card span {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--wine);
  margin-bottom: 4px;
}

.measure-step-card strong {
  display: block;
  margin-bottom: 6px;
}

.measure-step-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.sleeve-note-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--linen);
  font-size: 13.5px;
}

/* Story & Journal */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.story-lead {
  font-size: 16.5px;
  margin: 0 0 12px;
}

.story-sub {
  color: var(--muted);
  margin: 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pillar-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--ivory);
  border: 1px solid var(--line);
}

.pillar-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--wine);
  display: block;
  margin-bottom: 6px;
}

.pillar-card h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 1.55rem;
}

.pillar-card small {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.pillar-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.editorial-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 56px 0;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.journal-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ivory);
}

.journal-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.journal-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.journal-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine);
}

.journal-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.18;
}

.journal-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.journal-card .text-link {
  margin-top: auto;
  padding-top: 8px;
}

/* Consultation & FAQ */
.consult-faq-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.consult-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.consult-saved-summary {
  margin: 16px 0;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--linen);
  border: 1px solid var(--line);
}

.saved-sum-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
}

.saved-chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.saved-chip-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.consult-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-footnote {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.consult-feedback {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #edf5f0;
  border: 1px solid #a9ceb8;
  color: #1d4230;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--ivory);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border: none;
  background: transparent;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}

.faq-answer {
  padding: 0 18px 16px;
  font-size: 13.5px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--wine-dark);
  color: #f4ebe4;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-tagline {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 12px 0 6px;
}

.footer-sub,
.footer-drive-note {
  font-size: 13px;
  color: rgba(244, 235, 228, 0.78);
  margin: 0 0 14px;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e6ccd1;
}

.footer-col a,
.footer-link-btn {
  display: block;
  padding: 5px 0;
  font-size: 13.5px;
  color: rgba(244, 235, 228, 0.88);
  background: none;
  border: none;
  text-align: left;
}

.footer-col a:hover,
.footer-link-btn:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 12px;
  color: rgba(244, 235, 228, 0.7);
}

/* Compare Tray */
.compare-tray {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(94vw, 880px);
  z-index: 90;
  background: rgba(49, 14, 26, 0.96);
  backdrop-filter: blur(10px);
  color: #fdf9f4;
  padding: 10px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.compare-tray .container {
  width: 100%;
}

.compare-tray-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.compare-tray-info,
.compare-tray-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.compare-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.compare-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

.compare-chip button {
  background: none;
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 0 2px;
}

/* Drawer & Modals */
.drawer[hidden],
.modal[hidden] {
  display: none !important;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  justify-content: flex-end;
}

.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 10, 15, 0.62);
  backdrop-filter: blur(4px);
}

.drawer-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  height: 100%;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-deep);
}

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

.drawer-header h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.wishlist-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
}

.wishlist-item img {
  width: 74px;
  height: 98px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.drawer-footer {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  background: var(--paper);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
}

.modal-md { max-width: 680px; }
.modal-xl { max-width: 1080px; }

.modal-pad {
  padding: 28px;
}

.modal-title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 2rem;
}

.modal-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13.5px;
}

.modal-close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  font-size: 22px;
}

/* Product Detail Modal & Hotspots */
.pm-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  padding: 28px;
}

.pm-stage {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--linen);
  aspect-ratio: 3 / 4;
}

.pm-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotspot-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(74, 23, 40, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease);
}

.hotspot-pin.is-active,
.hotspot-pin:hover {
  transform: translate(-50%, -50%) scale(1.16);
  background: #fdf9f4;
  color: var(--wine-dark);
  border-color: var(--wine);
}

.pm-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.pm-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--linen);
}

.pm-thumb.is-active {
  border-color: var(--wine);
}

.pm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotspot-detail-box {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--linen);
  border: 1px solid var(--line);
}

.pm-size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 14px;
}

.size-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.size-pill.is-active {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

/* Comparison Grid */
.compare-grid-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.compare-col-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  overflow: hidden;
}

.compare-col-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.compare-col-body {
  padding: 16px;
  display: grid;
  gap: 8px;
  font-size: 13px;
}

/* Search Modal */
.search-modal-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 15px;
  margin-bottom: 14px;
}

.search-results-list {
  display: grid;
  gap: 8px;
  max-height: 54vh;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: left;
  width: 100%;
}

.search-result-item:hover {
  border-color: var(--wine);
}

/* Lightbox */
.modal-dark .modal-backdrop {
  background: rgba(15, 7, 10, 0.9);
}

.lightbox-frame {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 820px) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 980px;
}

.lightbox-figure {
  margin: 0;
  text-align: center;
  color: #f4ebe4;
}

.lightbox-figure img {
  max-height: 78vh;
  margin-inline: auto;
  border-radius: var(--radius-md);
}

.lightbox-figure figcaption {
  margin-top: 12px;
  font-size: 14px;
}

.lightbox-nav,
.lightbox-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 26px;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
}

/* Drive Modal */
.modal-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.drive-test-status {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13px;
}

.local-history-box {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Toast */
.toast {
  position: fixed;
  top: 92px;
  right: 24px;
  z-index: 150;
  pointer-events: none;
  background: var(--wine-dark);
  color: #fdf9f4;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-deep);
}

/* Responsive */
.show-lg { display: none; }

@media (max-width: 1024px) {
  .nav-left, .hide-md { display: none; }
  .show-lg { display: inline-flex; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .brand-logo { justify-self: start; }
  .intro-grid,
  .color-room-layout,
  .atelier-wrapper,
  .story-grid,
  .consult-faq-grid,
  .pm-layout {
    grid-template-columns: 1fr;
  }
  .color-spotlight-card {
    grid-template-columns: 1fr;
  }
  .pillars-grid,
  .journal-grid,
  .calc-inputs,
  .measure-steps-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .hide-sm, .hide-xs, .hero-caption-card { display: none; }
  .form-grid-2,
  .form-grid-3,
  .pillars-grid,
  .journal-grid,
  .calc-inputs,
  .measure-steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .lightbox-frame {
    grid-template-columns: 1fr;
  }
  .lightbox-prev, .lightbox-next {
    position: fixed;
    bottom: 18px;
  }
  .lightbox-prev { left: 18px; }
  .lightbox-next { right: 18px; }
}
