/* The Voxel Herbarium — Nocturnal Conservatory Design System */

:root {
  --bg-conservatory: #152019;
  --bg-deep: #101813;
  --bg-elevated: #1b2720;
  --bg-vitrine: #1e2b23;
  --bg-vitrine-hover: #24342a;
  --linen-paper: #f6f3ec;
  --cream-ink: #faf8f2;
  --cream-muted: #b8c5bb;
  --sand: #c8b388;
  --sand-soft: rgba(200, 179, 136, 0.16);
  --sand-ink: #152019;
  --border-subtle: #314337;
  --border-strong: #496152;
  --shadow-vitrine: 0 26px 60px rgba(6, 10, 7, 0.55);
  --shadow-plate: 0 18px 36px rgba(6, 10, 7, 0.45);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at 75% 8%, #1f3025 0%, var(--bg-conservatory) 45%, var(--bg-deep) 100%);
  color: var(--cream-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Conservatory Outer Hairline Shell */
.conservatory-shell {
  min-height: 100vh;
  position: relative;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 12px;
}

h1,
h2,
h3,
.serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Top Announcement Ribbon */
.announcement-bar {
  background: #101813;
  border-bottom: 1px solid var(--border-subtle);
  padding: 9px 16px;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.announcement-bar strong {
  color: var(--sand);
  font-weight: 700;
}

/* Sticky Conservatory Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(21, 32, 25, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-crest {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.brand-wordmark {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-ink);
  white-space: nowrap;
}

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

.main-nav a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cream-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--sand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--sand);
  color: var(--sand-ink);
  border-color: var(--sand);
}

.btn-primary:hover {
  background: #d6c39b;
}

.btn-secondary {
  background: transparent;
  color: var(--cream-ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--sand);
  background: var(--sand-soft);
}

.btn-light {
  background: var(--cream-ink);
  color: var(--sand-ink);
  border-color: var(--cream-ink);
}

.btn-light:hover {
  background: #ffffff;
}

.btn-compact {
  padding: 9px 16px;
  font-size: 0.72rem;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--cream-ink);
  padding: 8px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Segmented Controls */
.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.seg-btn {
  background: transparent;
  border: none;
  color: var(--cream-muted);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.seg-btn.is-active {
  background: var(--sand);
  color: var(--sand-ink);
}

.seg-btn:not(.is-active):hover {
  color: var(--cream-ink);
}

/* Section Spacing */
.section {
  padding: 76px 0;
  border-bottom: 1px solid rgba(49, 67, 55, 0.55);
}

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

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.08;
  margin: 0;
  color: var(--cream-ink);
}

.section-subtitle {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--cream-muted);
  font-size: 0.98rem;
}

/* Hero Section + Backlit Twin Vitrine */
.hero-section {
  padding: 64px 0 78px;
  border-bottom: 1px solid rgba(49, 67, 55, 0.7);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.55rem, 4.6vw, 4rem);
  line-height: 1.02;
  margin: 0 0 20px;
  color: var(--cream-ink);
}

.hero-lead {
  font-size: 1.04rem;
  color: var(--cream-muted);
  margin: 0 0 28px;
  max-width: 540px;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--sand);
  line-height: 1.2;
}

.metric-item span {
  font-size: 0.78rem;
  color: var(--cream-muted);
}

.hero-grid > *,
.ratio-grid > *,
.wall-sim-grid > *,
.trust-grid > *,
.compendiums-feature > *,
.drawer-layout > *,
.catalog-grid > *,
.twin-plates > * {
  min-width: 0;
}

/* Twin Vitrine Panel */
.hero-vitrine {
  background: linear-gradient(180deg, #1f2e24 0%, #17231b 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-vitrine);
}

.vitrine-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.vitrine-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 700;
}

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

.backlit-plate {
  position: relative;
  background: var(--linen-paper);
  border-radius: 6px;
  padding: 6px;
  box-shadow: var(--shadow-plate);
  border: 1px solid rgba(250, 248, 242, 0.55);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.backlit-plate:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.58);
}

.backlit-plate img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}

.plate-caption {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: var(--cream-muted);
}

.plate-caption strong {
  color: var(--cream-ink);
  font-weight: 600;
}

.vitrine-foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--cream-muted);
}

/* Catalog Collection Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pack-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-vitrine);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: border-color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.pack-card:hover {
  border-color: var(--sand);
  background: var(--bg-vitrine-hover);
  transform: translateY(-3px);
}

.pack-card.is-featured,
.pack-card.is-drop04 {
  border-color: rgba(200, 179, 136, 0.65);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.pack-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--linen-paper);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.pack-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.pack-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(21, 32, 25, 0.9);
  color: var(--sand);
  border: 1px solid rgba(200, 179, 136, 0.45);
}

.pack-badge.highlight {
  background: var(--sand);
  color: var(--sand-ink);
  border-color: var(--sand);
}

.pack-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 4px 4px;
}

.pack-series-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 6px;
}

.pack-title {
  font-size: 1.48rem;
  margin: 0 0 8px;
  color: var(--cream-ink);
  line-height: 1.15;
}

.pack-specimens {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--cream-muted);
}

.pack-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pack-price {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--cream-ink);
}

.pack-price small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--cream-muted);
}

.pack-actions {
  display: flex;
  gap: 8px;
}

/* Flagship Compendiums Banner Card */
.compendiums-feature {
  margin-top: 26px;
  background: linear-gradient(135deg, #213227 0%, #19261e 100%);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-vitrine);
}

.compendiums-visual-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;
}

.compendiums-thumb-main {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(246, 243, 236, 0.35);
  aspect-ratio: 3 / 4;
  cursor: pointer;
}

.compendiums-thumb-main img,
.compendiums-quad-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compendiums-quad-stack {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.compendiums-quad-item {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(246, 243, 236, 0.25);
  background: var(--linen-paper);
  cursor: pointer;
}

.compendiums-copy h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  margin: 0 0 12px;
  line-height: 1.12;
}

.compendiums-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px;
}

.spec-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(16, 24, 19, 0.75);
  border: 1px solid var(--border-strong);
  color: var(--cream-ink);
}

/* Proof Studio (Dual Modules: Ratio + Macro Loupe | Architectural Wall Scale) */
.proof-tabs {
  margin-bottom: 24px;
}

.studio-panel {
  background: var(--bg-vitrine);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.studio-panel[hidden] {
  display: none;
}

/* Module A: Frame Ratio Visualizer + 100% Archival Zoom Loupe */
.ratio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.ratio-stage-wrap {
  background: #101813;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  min-height: 460px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.frame-simulator {
  box-sizing: content-box;
  position: relative;
  background: transparent;
  padding: 0;
  border: 10px solid #c5a882;
  border-radius: 1px;
  box-shadow:
    inset 0 0 0 1px rgba(24, 18, 12, 0.25),
    0 22px 50px rgba(0, 0, 0, 0.65);
  transition: width 0.28s ease, height 0.28s ease, padding 0.28s ease, aspect-ratio 0.28s ease;
  overflow: hidden;
  width: 290px;
  aspect-ratio: 3 / 4;
}

.frame-simulator.is-matted {
  background: linear-gradient(155deg, #ebe6da 0%, #e0d8c8 100%);
  padding: 25px 20px;
  box-shadow:
    inset 0 0 0 1px rgba(24, 18, 12, 0.28),
    inset 0 2px 7px rgba(0, 0, 0, 0.14),
    0 22px 50px rgba(0, 0, 0, 0.65);
}

.frame-simulator img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-simulator.is-matted img {
  box-shadow:
    0 0 0 1px rgba(48, 38, 26, 0.26),
    0 1px 4px rgba(20, 15, 10, 0.12);
}

.frame-dimension-tag {
  margin-top: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
  text-align: center;
}

.control-group {
  margin-bottom: 22px;
}

.control-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 10px;
}

.ratio-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  color: var(--cream-muted);
  border-radius: 6px;
  padding: 9px 13px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.chip-btn.is-active,
.chip-btn:hover {
  border-color: var(--sand);
  color: var(--cream-ink);
}

.chip-btn.is-active {
  background: var(--sand);
  color: var(--sand-ink);
}

.ratio-meta-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 22px;
}

.ratio-meta-card h4 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--cream-ink);
}

.ratio-meta-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--cream-muted);
}

/* Archival Print Spec Callout (replaces removed 300 DPI loupe box) */
.print-spec-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 18px;
}

.print-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-bottom: 14px;
}

.print-spec-item strong {
  display: block;
  color: var(--cream-ink);
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.print-spec-item span {
  display: block;
  color: var(--cream-muted);
  font-size: 0.8rem;
}

.print-spec-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

/* Module B: Architectural Wall-Scale Simulator */
.wall-sim-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
}

.wall-room-viewport {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 24px 0;
  transition: background 0.3s ease;
}

.wall-room-viewport.wall-plaster {
  background: radial-gradient(circle at 22% 18%, #f3eee4 0%, #dfd7c8 56%, #c6bca9 100%);
  color: #242220;
}

.wall-room-viewport.wall-olive {
  background: radial-gradient(circle at 22% 18%, #35473b 0%, #24332a 60%, #19241d 100%);
  color: #faf8f2;
}

/* Sunlight wash across simulated architectural wall */
.wall-sunlight-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(255, 250, 236, 0.26) 0%, rgba(255, 250, 236, 0) 58%);
  pointer-events: none;
}

.wall-art-cluster {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
  min-height: 250px;
}

.wall-frame-item {
  background: linear-gradient(155deg, #ede8dd 0%, #e3dbcc 100%);
  padding: 9px;
  box-shadow:
    inset 0 0 0 1px rgba(24, 18, 12, 0.20),
    0 18px 34px rgba(15, 18, 15, 0.34);
  transition: all 0.25s ease;
}

.wall-frame-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(48, 38, 26, 0.20);
}

.wall-frame-item.frame-oak {
  border: 7px solid #bfa077;
}

.wall-frame-item.frame-black {
  border: 7px solid #1d1e1c;
}

.wall-frame-item.frame-walnut {
  border: 7px solid #6b4c35;
}

.wall-frame-item.size-medium.mode-triptych {
  width: 132px;
}

.wall-frame-item.size-large.mode-triptych {
  width: 158px;
}

.wall-frame-item.size-medium.mode-statement {
  width: 175px;
}

.wall-frame-item.size-large.mode-statement {
  width: 215px;
}

/* Minimalist Architectural 180 cm Oak Bench */
.bench-elevation {
  position: relative;
  z-index: 2;
  width: 78%;
  max-width: 520px;
  margin: 0 auto;
}

.bench-top {
  height: 16px;
  background: linear-gradient(90deg, #b89468 0%, #cfa97c 50%, #ad885c 100%);
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.bench-legs {
  display: flex;
  justify-content: space-between;
  padding: 0 38px;
}

.bench-leg {
  width: 16px;
  height: 54px;
  background: linear-gradient(180deg, #8f6e48 0%, #735637 100%);
}

.scale-ruler {
  position: relative;
  z-index: 2;
  background: rgba(16, 24, 19, 0.88);
  color: #faf8f2;
  padding: 10px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  border-radius: 6px;
  margin-bottom: 14px;
}

/* Studio Note, Dispatch & FAQ */
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: start;
}

.studio-card {
  background: var(--bg-vitrine);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.studio-card h3 {
  font-size: 1.7rem;
  margin: 0 0 12px;
}

.studio-card p {
  color: var(--cream-muted);
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.dispatch-box {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.dispatch-form {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.dispatch-input {
  flex: 1;
  min-width: 0;
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--cream-ink);
  font-size: 0.9rem;
}

.dispatch-status {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--sand);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--cream-ink);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.24rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-trigger span[aria-hidden="true"] {
  color: var(--sand);
  font-family: var(--font-sans);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-trigger span[aria-hidden="true"] {
  transform: rotate(45deg);
}

.faq-panel {
  padding: 0 20px 18px;
  color: var(--cream-muted);
  font-size: 0.92rem;
}

.faq-panel[hidden] {
  display: none;
}

/* Footer */
.site-footer {
  padding: 44px 0 56px;
  background: var(--bg-deep);
  font-size: 0.84rem;
  color: var(--cream-muted);
}

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

.footer-legal {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  color: #9ba89f;
}

.footer-legal p {
  margin: 0;
}

.footer-disclaimer {
  color: var(--cream-muted);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.footer-meta {
  color: #8f9e93;
}

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

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

.drawer-dialog {
  width: 100%;
  max-width: 1020px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg-conservatory);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-vitrine);
  padding: 28px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-deep);
  color: var(--cream-ink);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.25rem;
  cursor: pointer;
}

.modal-close:hover {
  border-color: var(--sand);
  color: var(--sand);
}

.drawer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.drawer-stage {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.drawer-main-frame {
  background: var(--linen-paper);
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 14px;
}

.drawer-main-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}

.drawer-main-caption {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--sand);
  text-align: center;
}

.drawer-thumbs {
  display: grid;
  grid-template-columns: repeat(var(--thumb-cols, 6), minmax(0, 1fr));
  gap: 8px;
}

.drawer-thumb-btn {
  padding: 2px;
  border-radius: 4px;
  border: 2px solid transparent;
  background: var(--linen-paper);
  cursor: pointer;
  overflow: hidden;
}

.drawer-thumb-btn.is-active {
  border-color: var(--sand);
}

.drawer-thumb-btn img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.specimen-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  border-top: 1px solid var(--border-subtle);
}

.specimen-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.specimen-list em {
  color: var(--sand);
  font-style: italic;
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 18px;
}

.swatch-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 7px;
  border-radius: 6px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  color: var(--cream-ink);
}

.swatch-dot {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.drawer-delivery-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 18px;
}

.drawer-delivery-copy {
  margin: 0 0 4px;
  font-size: 0.84rem;
  color: var(--cream-ink);
  line-height: 1.45;
}

.drawer-delivery-sub {
  margin: 0;
  font-size: 0.76rem;
  color: var(--cream-muted);
}

#setupZipFile {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.setup-dialog {
  max-width: 560px;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .hero-grid,
  .compendiums-feature,
  .ratio-grid,
  .wall-sim-grid,
  .trust-grid,
  .drawer-layout {
    grid-template-columns: 1fr;
  }

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

  .compendiums-feature {
    padding: 20px;
  }
}

@media (max-width: 720px) {
  html,
  body,
  .conservatory-shell {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
  }

  .brand-wordmark {
    font-size: 0.94rem;
    letter-spacing: 0.08em;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-strong);
    padding: 18px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .hero-section {
    padding: 36px 0 48px;
  }

  .section {
    padding: 52px 0;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }

  .hero-vitrine,
  .studio-panel,
  .studio-card,
  .compendiums-feature,
  .drawer-dialog {
    padding: 16px;
  }

  .twin-plates {
    gap: 10px;
  }

  .segmented {
    width: 100%;
  }

  .seg-btn {
    flex: 1 1 auto;
    padding: 8px 10px;
    font-size: 0.7rem;
  }

  .catalog-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .pack-footer,
  .pack-actions,
  .print-spec-grid {
    flex-wrap: wrap;
    grid-template-columns: 1fr;
  }

  .ratio-stage-wrap {
    padding: 16px;
    min-height: 360px;
  }

  .frame-simulator {
    max-width: calc(100% - 20px);
  }

  .wall-room-viewport {
    padding: 24px 14px 0;
    min-height: 360px;
  }

  .wall-frame-item.size-medium.mode-triptych {
    width: 82px;
  }

  .wall-frame-item.size-large.mode-triptych {
    width: 96px;
  }

  .dispatch-form {
    flex-direction: column;
  }

  .drawer-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
