:root {
  /* 3 Surface Families Only: Pure Gallery White, Soft Alabaster Stone, Editorial Charcoal */
  --c-white: #FFFFFF;
  --c-stone: #F5F5F7;
  --c-stage: #0A0B0E;
  --c-stage-2: #121419;

  /* Typography & Hairlines */
  --c-ink: #111111;
  --c-ink-muted: #5C5C62;
  --c-on-dark: #F5F5F7;
  --c-on-dark-muted: rgba(245, 245, 247, 0.68);
  --c-rule: #E4E4E7;
  --c-rule-strong: #111111;
  --c-rule-dark: rgba(255, 255, 255, 0.12);
  --c-brass: #8C6A36;
  --c-brass-hi: #DFC28C;

  /* Isolated Sacred Action Color (Jet-Black Editorial Luxury Button) */
  --c-action: #111111;
  --c-action-hover: #27272A;

  /* Publishing House Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-white);
  overflow-x: clip;
}

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

figure {
  margin: 0;
}

a {
  color: inherit;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

/* Editorial Announcement Strip (Assouline / Taschen Style) */
.announcement-bar {
  background: var(--c-stone);
  border-bottom: 1px solid var(--c-rule);
  text-align: center;
  padding: 9px 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--c-ink);
  letter-spacing: 0.01em;
}

/* Pure-White Editorial Masthead (Matches Perry's Uploaded Mockup) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  border-bottom: 1px solid var(--c-rule-strong);
}

.brand-mark {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--c-ink);
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
}

.header-nav a {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
  color: var(--c-ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.header-nav a:hover {
  border-bottom-color: var(--c-ink);
}

.bag-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--c-ink);
  background: transparent;
  color: var(--c-ink);
  padding: 7px 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.bag-trigger:hover {
  background: var(--c-ink);
  color: #FFFFFF;
}

/* Slide-Out Shopping Bag Drawer */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(17, 17, 17, 0.56);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: flex-end;
}

.cart-backdrop.hidden {
  display: none;
}

.cart-drawer {
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--c-white);
  border-left: 1px solid var(--c-ink);
  display: flex;
  flex-direction: column;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--c-ink);
}

.cart-head h3 {
  font-size: 24px;
}

.cart-ship-bar {
  padding: 10px 24px;
  background: var(--c-stone);
  border-bottom: 1px solid var(--c-rule);
  font-size: 12.5px;
  color: var(--c-ink);
}

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

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-rule);
}

.cart-item img {
  width: 76px;
  height: 60px;
  object-fit: cover;
  background: var(--c-stone);
}

.cart-item-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
}

.cart-item-meta {
  font-size: 12px;
  color: var(--c-ink-muted);
  margin-top: 2px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-rule);
}

.qty-stepper button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

.qty-stepper span {
  min-width: 26px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
}

.cart-remove {
  border: 0;
  background: transparent;
  font-size: 11.5px;
  color: var(--c-ink-muted);
  text-decoration: underline;
  cursor: pointer;
}

.cart-foot {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--c-ink);
  background: var(--c-white);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  font-size: 14px;
}

.cart-subtotal strong {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
}

.cart-checkout-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.cart-checkout-fields input {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #CFCFD4;
  font-family: var(--font-sans);
  font-size: 13.5px;
}

.cart-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--c-ink-muted);
  font-size: 14.5px;
}

/* Split Editorial Hero (Direct Tribute to Perry's Mockup) */
.hero-split {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: stretch;
  gap: clamp(28px, 4vw, 60px);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 6vw, 88px) 0;
  gap: 22px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink);
}

.eyebrow-muted {
  color: var(--c-ink-muted);
}

.eyebrow-dark {
  color: var(--c-brass-hi);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1.02;
  color: var(--c-ink);
}

h2 {
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.08;
}

h3 {
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.18;
}

.italic-voice {
  font-style: italic;
}

.hero-deck {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--c-ink-muted);
  max-width: 44ch;
  margin: 0;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}

/* Razor-Crisp Jet-Black Luxury Retail CTA (Matches Mockup) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 28px;
  border: 1px solid var(--c-action);
  border-radius: 0;
  background: var(--c-action);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-primary:hover {
  background: var(--c-action-hover);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-primary-full {
  width: 100%;
}

.btn-primary-light {
  background: #FFFFFF;
  color: var(--c-ink);
  border-color: #FFFFFF;
}

.btn-primary-light:hover {
  background: #E8E8EC;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 22px;
  border: 1px solid var(--c-ink);
  border-radius: 0;
  background: transparent;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-outline:hover {
  background: var(--c-ink);
  color: #FFFFFF;
}

.text-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  min-height: 44px;
}

.hero-right {
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  background: var(--c-stone);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10.6;
  object-fit: cover;
}

.hero-plate-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
}

.plate-title {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--c-ink);
  line-height: 1.2;
}

.plate-meta {
  font-size: 12.5px;
  color: var(--c-ink-muted);
  margin-top: 2px;
}

/* Sections */
.section-white {
  background: var(--c-white);
  padding: clamp(68px, 7.5vw, 116px) 0;
  border-bottom: 1px solid var(--c-rule);
}

.section-stone {
  background: var(--c-stone);
  padding: clamp(68px, 7.5vw, 116px) 0;
  border-bottom: 1px solid var(--c-rule);
}

.section-dark {
  background: var(--c-stage);
  color: var(--c-on-dark);
  padding: clamp(72px, 8vw, 124px) 0;
}

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

.section-header-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 660px;
}

.section-sub {
  margin: 0;
  font-size: 15.5px;
  color: var(--c-ink-muted);
  max-width: 58ch;
}

.section-sub-dark {
  color: var(--c-on-dark-muted);
}

/* Color Swatch + Category Filter Toolbar (Assouline / Interior Designer Shop-by-Color) */
.retail-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 24px;
  margin-bottom: 32px;
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-tab {
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--c-ink-muted);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}

.filter-tab.active,
.filter-tab:hover {
  color: var(--c-ink);
  border-color: var(--c-ink);
  background: var(--c-white);
}

.color-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}

.swatch-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.22);
  padding: 0;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.swatch-btn.active {
  transform: scale(1.14);
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3.5px #111111;
}

.swatch-all { background: conic-gradient(#111111 0 90deg, #1E40AF 90deg 180deg, #D6CFC2 180deg 270deg, #7C1D2A 270deg 360deg); }
.swatch-obsidian { background: #161618; }
.swatch-cobalt { background: #1D438A; }
.swatch-travertine { background: #DDD5C7; }
.swatch-oxblood { background: #6A1B27; }

/* Assouline / Taschen 4-Column Retail Catalog Grid */
.retail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 26px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  transition: opacity 0.2s var(--ease);
}

.product-card.filtered-out {
  display: none;
}

.product-media {
  position: relative;
  background: var(--c-stone);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
}

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

.product-media-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 28px;
  background: #F4F3EF;
}

.product-media-cover img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.18), 0 3px 8px rgba(17, 17, 17, 0.08);
  border-radius: 1px;
}

.catalog-search-wrap {
  min-width: 280px;
}

.catalog-search-input {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--c-rule-strong);
  background: var(--c-white);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--c-ink);
  outline: none;
}

.catalog-search-input:focus {
  border-color: var(--c-ink);
}

.product-actions-pair {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.is-clickable {
  cursor: pointer;
}

.product-title.is-clickable:hover {
  opacity: 0.72;
}

.product-publisher-house {
  color: var(--c-ink);
  font-weight: 600;
}

.product-bag-btn {
  border: 1px solid var(--c-rule-strong);
  background: transparent;
  color: var(--c-ink);
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.product-bag-btn:hover {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #FFFFFF;
}

.menu-trigger {
  display: none;
  align-items: center;
  border: 1px solid var(--c-rule-strong);
  background: transparent;
  color: var(--c-ink);
  padding: 6px 11px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(17, 17, 17, 0.52);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: flex-end;
}

.nav-drawer-backdrop.hidden {
  display: none;
}

.nav-drawer {
  width: min(360px, 88vw);
  height: 100%;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-shadow: -12px 0 40px rgba(17, 17, 17, 0.16);
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-rule-strong);
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  flex: 1;
}

.nav-drawer-links a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-rule);
  text-decoration: none;
  color: var(--c-ink);
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.15;
}

.nav-drawer-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--c-ink-muted);
  letter-spacing: 0.02em;
}

.nav-drawer-foot {
  padding-top: 16px;
}

.catalog-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.catalog-more-wrap.hidden {
  display: none;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--c-ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 9px;
}

.product-tag-house {
  background: #111111;
  color: #FFFFFF;
}

.product-info {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.product-publisher {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}

.product-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.18;
  color: var(--c-ink);
  margin: 0;
}

.product-specs {
  font-size: 12.5px;
  color: var(--c-ink-muted);
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
}

.product-price {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-ink);
}

.product-action {
  border: 0;
  background: transparent;
  padding: 6px 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* House-Brand High-Margin Showcase (2-Column Editorial Gallery with Cover/Spread Switch) */
.house-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.house-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-rule);
}

.house-media {
  position: relative;
  overflow: hidden;
  background: var(--c-stone);
}

.house-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.65s var(--ease), opacity 0.22s var(--ease);
}

.house-media img.is-fading {
  opacity: 0.25;
}

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

.card-view-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 17, 17, 0.16);
}

.card-view-btn {
  min-height: 32px;
  padding: 4px 11px;
  border: 0;
  background: transparent;
  color: var(--c-ink-muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.card-view-btn.active {
  background: var(--c-ink);
  color: #FFFFFF;
}

.house-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.house-desc {
  margin: 0;
  font-size: 14px;
  color: var(--c-ink-muted);
  line-height: 1.55;
}

.house-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--c-rule);
  font-size: 13.5px;
}

.house-price {
  font-weight: 600;
  color: var(--c-ink);
}

/* Complete Format & Finishing Variations (Clean 4-Column Architectural Grid) */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
}

.format-card {
  display: flex;
  flex-direction: column;
  background: var(--c-stage-2);
  border: 1px solid var(--c-rule-dark);
}

.format-media {
  position: relative;
  overflow: hidden;
  background: #050608;
}

.format-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.format-card:hover .format-media img {
  transform: scale(1.035);
}

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

.format-num {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-brass-hi);
}

.format-body h3 {
  font-size: 21px;
  color: #FFFFFF;
}

.format-body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--c-on-dark-muted);
  line-height: 1.55;
}

.format-link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Editorial Estimator + Contract Publishing Desk */
.estimator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  background: var(--c-white);
  border: 1px solid var(--c-rule);
}

.control-group {
  margin-top: 20px;
}

.control-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-bottom: 10px;
}

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

.pill-opt {
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid var(--c-rule);
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}

.pill-opt.active {
  background: var(--c-ink);
  color: #FFFFFF;
  border-color: var(--c-ink);
}

.estimator-ledger {
  border-top: 2px solid var(--c-ink);
  padding-top: 12px;
}

.ledger-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--c-rule);
  font-size: 14px;
}

.ledger-label {
  color: var(--c-ink-muted);
}

.ledger-val {
  font-weight: 600;
  color: var(--c-ink);
  font-size: 16px;
}

.ledger-val-hero {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
}

.ledger-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--c-ink-muted);
}

/* Commission Tiers + #order-box */
.tiers-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.tier-box {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--c-white);
  border: 1px solid var(--c-rule);
}

.tier-box.featured {
  border-color: var(--c-ink);
  border-top: 3px solid var(--c-ink);
}

.tier-price {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.05;
  margin: 12px 0 4px;
}

.tier-sub {
  font-size: 13px;
  color: var(--c-ink-muted);
  margin-bottom: 20px;
}

.tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--c-ink-muted);
}

.tier-list li {
  display: flex;
  gap: 9px;
}

.tier-box .btn-primary,
.tier-box .btn-outline {
  margin-top: auto;
}

/* Guarantee + 2-Step Order Box */
.order-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 48px;
  align-items: start;
}

.guarantee-box {
  padding-top: 12px;
  border-top: 2px solid var(--c-ink);
}

.guarantee-box p {
  margin: 14px 0 0;
  font-size: 15.5px;
  color: var(--c-ink-muted);
  max-width: 56ch;
}

.guarantee-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.order-box {
  padding: clamp(24px, 3.6vw, 42px);
  background: var(--c-stone);
  border: 1px solid var(--c-rule);
}

.step-indicator {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.step-pill {
  padding: 6px 12px;
  background: var(--c-white);
  color: var(--c-ink-muted);
  border: 1px solid var(--c-rule);
}

.step-pill.active {
  background: var(--c-ink);
  color: #FFFFFF;
  border-color: var(--c-ink);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #CFCFD4;
  border-radius: 0;
  background: var(--c-white);
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--c-ink);
}

.field textarea {
  min-height: 84px;
  resize: vertical;
}

.bump-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: var(--c-white);
  border: 1px solid var(--c-rule);
  margin: 16px 0;
}

.bump-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-ink);
}

.bump-desc {
  font-size: 12.5px;
  color: var(--c-ink-muted);
  margin: 4px 0 0;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #D4D4D8;
  transition: background 0.2s var(--ease);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #FFFFFF;
  transition: transform 0.2s var(--ease);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--c-ink);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.partner-code-wrap {
  margin: 10px 0 18px;
}

.partner-code-toggle {
  font-size: 12.5px;
  color: var(--c-ink-muted);
  text-decoration: underline;
}

.partner-code-box {
  margin-top: 10px;
}

.form-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #FEF2F2;
  color: #991B1B;
  font-size: 13px;
}

.form-confirm {
  padding: 20px;
  background: var(--c-white);
  border: 1px solid var(--c-ink);
}

.hidden {
  display: none;
}

/* Modal Quick-View */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.hidden {
  display: none;
}

.modal-panel {
  width: 100%;
  max-width: 880px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--c-white);
  color: var(--c-ink);
  border: 1px solid var(--c-ink);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.modal-media {
  background: var(--c-stone);
  display: flex;
  flex-direction: column;
}

.modal-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.modal-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--c-rule);
  background: var(--c-white);
  font-size: 20px;
  cursor: pointer;
}

.modal-tabs {
  display: inline-flex;
  border: 1px solid var(--c-rule);
  align-self: flex-start;
}

.modal-tab-btn {
  padding: 6px 12px;
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.modal-tab-btn.active {
  background: var(--c-ink);
  color: #FFFFFF;
}

.modal-specs {
  border-top: 1px solid var(--c-rule);
  padding-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  font-size: 12.5px;
}

.modal-spec-k {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}

.modal-spec-v {
  font-weight: 600;
  color: var(--c-ink);
}

/* Clean White Colophon Footer */
.site-footer {
  background: var(--c-white);
  color: var(--c-ink-muted);
  padding: 56px 0 92px;
  border-top: 1px solid var(--c-rule-strong);
  font-size: 13px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-rule);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.colophon-note {
  margin: 20px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--c-ink);
  max-width: 66ch;
}

.footer-legal {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.65;
  max-width: 66ch;
}

/* Sticky Mobile Bar */
.sticky-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-rule-strong);
}

.sticky-bar-meta {
  font-size: 11.5px;
  color: var(--c-ink-muted);
}

.sticky-bar-meta strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--c-ink);
}

.sticky-bar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  background: var(--c-ink);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.mt-6 { margin-top: 6px; }
.mt-16 { margin-top: 16px; }
.mb-0 { margin-bottom: 0; }

@media (max-width: 1100px) {
  .retail-grid,
  .formats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .house-grid,
  .tiers-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid,
  .estimator-grid,
  .order-layout,
  .modal-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    gap: 10px;
    min-height: 60px;
  }
  .brand-mark {
    font-size: 19.5px;
  }
  .header-nav {
    gap: 8px;
  }
  .header-nav a {
    display: none;
  }
  .menu-trigger {
    display: inline-flex;
  }
  .bag-trigger {
    padding: 6px 10px;
    font-size: 11px;
  }
  .retail-grid,
  .house-grid,
  .formats-grid,
  .tiers-row,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .sticky-mobile-bar {
    display: flex;
  }
}

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