/* ═════════════════════════════════════════════════════════════════════════════
   VIOLIN ARCHING — 2026 EDITION
   Crisp, Scientific & Light Cinematic Design System
   Pairing Playfair Display (historical craftsmanship),
   Inter (precision clean typography), and IBM Plex Mono (CAD readouts).
   ═════════════════════════════════════════════════════════════════════════════ */

:root {
  color-scheme: light dark;
  
  /* ── MOUNT FAY (High, icy, bright — Light Look) ── */
  --bg: #eef3f7;
  --bg-subtle: #dfe9f1;
  --panel: #f8fbfd;
  --panel-tint: #e9f0f6;
  --panel-glass: rgba(248, 251, 253, 0.94);
  --header-bg: rgba(238, 243, 247, 0.92);
  --panel-border: rgba(98, 115, 135, 0.22);
  --panel-border-strong: rgba(61, 127, 184, 0.35);
  
  /* Ink & Typography */
  --ink: #1b2733;
  --ink-secondary: #3e5063;
  --ink-muted: #627387;
  --ink-faint: #98a7b8;
  
  /* Glacier Blue Accent & Gold Aliases */
  --gold: #3d7fb8;             /* Glacier blue */
  --gold-warm: #4d92cc;
  --gold-soft: rgba(61, 127, 184, 0.14);
  --gold-glow: rgba(61, 127, 184, 0.28);
  
  --blue: #3d7fb8;
  --blue-electric: #4d92cc;
  --blue-deep: #15283a;
  --blue-soft: rgba(61, 127, 184, 0.14);
  --blue-glow: rgba(61, 127, 184, 0.28);
  
  --cobalt: #2e9aa8;
  --cobalt-soft: rgba(46, 154, 168, 0.12);
  --sect-coral: #c22f3a;        /* Hornet's Red */
  --sect-soft: rgba(194, 47, 58, 0.14);
  
  /* 3D Viewport on Mount Fay Icy Ground */
  --viewer-bg: #dfe9f1;
  --viewer-bg2: #ffffff;
  --viewer-grid-a: #c9d6e2;
  --viewer-grid-b: #dce6ee;
  
  --antic: 'Libre Baskerville', 'Baskerville', Georgia, serif;
  --six-caps: 'Six Caps', sans-serif;
  --serif: 'Libre Baskerville', 'Baskerville', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;

  --shadow-sm: 0 1px 3px rgba(27, 39, 51, 0.05);
  --shadow-md: 0 4px 14px rgba(27, 39, 51, 0.07);
  --shadow-lg: 0 12px 36px rgba(27, 39, 51, 0.09);
  --shadow-xl: 0 24px 60px rgba(27, 39, 51, 0.12);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 9999px;
}

/* ── GREYMOOR (Rain, fog, cold steel grey-blue — Dark Look) ── */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #12161c;               /* Deep cold graphite */
  --bg-subtle: #141a21;        /* Mist abyss */
  --panel: #181e26;            /* Cold slate panel */
  --panel-tint: #1e2530;       /* Bench tint */
  --panel-glass: rgba(24, 30, 38, 0.94);
  --header-bg: rgba(18, 22, 28, 0.92);
  --panel-border: rgba(147, 161, 178, 0.20);
  --panel-border-strong: rgba(168, 191, 220, 0.35);
  
  --ink: #dfe5ec;              /* Crisp silver mist */
  --ink-secondary: #b5c2d1;    /* Pale slate */
  --ink-muted: #93a1b2;        /* Fog gray */
  --ink-faint: #5a6676;
  
  --gold: #a8bfdc;             /* Cold Steel Accent */
  --gold-warm: #c9dcf2;        /* Cold highlight rim */
  --gold-soft: rgba(168, 191, 220, 0.16);
  --gold-glow: rgba(168, 191, 220, 0.32);
  
  --blue: #a8bfdc;
  --blue-electric: #c9dcf2;
  --blue-deep: #86c7d4;
  --blue-soft: rgba(168, 191, 220, 0.16);
  --blue-glow: rgba(168, 191, 220, 0.32);
  
  --cobalt: #86c7d4;
  --cobalt-soft: rgba(134, 199, 212, 0.15);
  --sect-coral: #d0434a;       /* Hornet's Red */
  --sect-soft: rgba(208, 67, 74, 0.20);
  
  --viewer-bg: #141a21;
  --viewer-bg2: #2a3340;
  --viewer-grid-a: #252e39;
  --viewer-grid-b: #1a2029;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.85);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.95);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #12161c;
    --bg-subtle: #141a21;
    --panel: #181e26;
    --panel-tint: #1e2530;
    --panel-glass: rgba(24, 30, 38, 0.94);
    --header-bg: rgba(18, 22, 28, 0.92);
    --panel-border: rgba(147, 161, 178, 0.20);
    --panel-border-strong: rgba(168, 191, 220, 0.35);
    
    --ink: #dfe5ec;
    --ink-secondary: #b5c2d1;
    --ink-muted: #93a1b2;
    --ink-faint: #5a6676;
    
    --gold: #a8bfdc;
    --gold-warm: #c9dcf2;
    --gold-soft: rgba(168, 191, 220, 0.16);
    --gold-glow: rgba(168, 191, 220, 0.32);
    
    --blue: #a8bfdc;
    --blue-electric: #c9dcf2;
    --blue-deep: #86c7d4;
    --blue-soft: rgba(168, 191, 220, 0.16);
    --blue-glow: rgba(168, 191, 220, 0.32);
    
    --cobalt: #86c7d4;
    --cobalt-soft: rgba(134, 199, 212, 0.15);
    --sect-coral: #d0434a;
    --sect-soft: rgba(208, 67, 74, 0.20);
    
    --viewer-bg: #141a21;
    --viewer-bg2: #2a3340;
    --viewer-grid-a: #252e39;
    --viewer-grid-b: #1a2029;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.85);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.95);
  }
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* ── TYPOGRAPHY BASICS ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.mono {
  font-family: var(--mono);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: currentColor;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink-secondary);
  font-weight: 300;
}

/* ── WRAPPERS & GRIDS ────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 1.25rem;
  }
}

/* ── HEADER / NAVIGATION ─────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--panel-border);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background 0.3s ease;
}

#site-header.site-header-active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--antic);
  font-size: 1.28rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}

.brand-badge svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.brand-tag {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-left: 1px solid var(--panel-border-strong);
  padding-left: 10px;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-family: var(--antic);
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 400;
  color: var(--ink-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link[aria-current="page"] {
  color: var(--ink);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link[aria-current="page"]::after {
  width: 100%;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--antic);
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 400;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-cta:hover {
  background: var(--gold);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--panel-border-strong);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-cta-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}

#nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  color: var(--ink);
  padding: 4px;
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  #nav-toggle {
    display: block;
  }
}

/* ── MOBILE NAV OVERLAY ──────────────────────────────────────────── */
#mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  padding: 6rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-drawer.active {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-links a {
  font-family: var(--antic);
  font-size: 1.85rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.mobile-drawer-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--ink);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── LANDING SECTION: THESIS, WORKSHOP IMAGERY & 3D BENCH ─────────── */
#hero {
  padding-top: 6.5rem;
  padding-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

/* 1. Center-Justified Thesis Block */
.thesis-block {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-confidentiality-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-pill);
  padding: 5px 14px 5px 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.hero-confidentiality-pill .pulse-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.thesis-headline {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.18;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 1.35rem;
  max-width: 22ch;
  text-align: center;
}

.thesis-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.65;
  color: var(--ink-secondary);
  font-weight: 300;
  max-width: 760px;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.thesis-body {
  font-size: clamp(0.9rem, 1.3vw, 0.98rem);
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 720px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.thesis-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 760px;
  padding: 1.25rem 0;
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  margin-bottom: 2.25rem;
}

@media (max-width: 680px) {
  .thesis-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.thesis-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.thesis-stat .num {
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}

.thesis-stat .lbl {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.thesis-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* 2. Physical Lutherie Workshop Products Showcase */
.products-section {
  margin-bottom: 5.5rem;
}

.products-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.products-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--ink);
  margin-top: 0.35rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 2rem;
}

@media (max-width: 860px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--panel-border-strong);
}

.product-img-wrap {
  position: relative;
  height: 260px;
  background: var(--bg-subtle);
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(14, 21, 30, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold);
  border: 1px solid var(--panel-border-strong);
  font-family: var(--mono);
  font-size: 0.70rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

:root[data-theme="light"] .product-badge {
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-deep);
  border-color: rgba(98, 115, 135, 0.35);
}

.product-body {
  padding: 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.product-lead {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ink-secondary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
  flex: 1;
}

.product-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--panel-border);
  padding-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-specs li {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-secondary);
}

.product-specs li span {
  color: var(--gold);
  font-weight: 600;
}

/* Special Projects Highlight Card */
.special-projects-card {
  background: var(--panel);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.5rem;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.special-projects-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
  .special-projects-card {
    grid-template-columns: 1fr;
  }
}

.sp-content {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sp-content h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.sp-lead {
  font-size: 1rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.sp-desc {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.sp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--panel-border);
  padding-top: 1.25rem;
  margin-bottom: 1rem;
}

@media (max-width: 650px) {
  .sp-features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.sp-feature-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sp-feature-title {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
}

.sp-feature-sub {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
}

.sp-media {
  position: relative;
  min-height: 280px;
  background: var(--bg-subtle);
  overflow: hidden;
}

.sp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.special-projects-card:hover .sp-media img {
  transform: scale(1.04);
}

.mosaic-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 500;
}

.mosaic-caption h4 {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 6px;
  font-weight: 500;
  line-height: 1.3;
}

.mosaic-caption p {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

/* 3. Interactive 3D Model Inspection Bench Portal */
.inspection-bench-portal {
  margin: 3.5rem 0 5rem;
}

.bench-portal-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  background: var(--panel-tint);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bench-portal-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 30px rgba(61, 127, 184, 0.08);
}

.bench-portal-content h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  line-height: 1.15;
  color: var(--ink);
  margin-top: 0.4rem;
  margin-bottom: 1rem;
}

.bench-portal-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin-bottom: 2rem;
}

.bench-portal-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  padding: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
}

.bp-feat-num {
  display: block;
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.2rem;
}

.bp-feat-label {
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.bench-portal-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.bench-portal-visual {
  position: relative;
}

.bench-portal-preview-link {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--panel-border-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bench-portal-preview-link:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(61, 127, 184, 0.2);
}

.bench-portal-preview-link img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.bench-portal-preview-link:hover img {
  transform: scale(1.05);
}

.bp-preview-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(9, 14, 21, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease;
}

.bench-portal-preview-link:hover .bp-preview-badge {
  background: var(--blue);
  border-color: var(--blue);
}

@media (max-width: 900px) {
  .bench-portal-card {
    grid-template-columns: 1fr;
    padding: 2.25rem 1.75rem;
    gap: 2rem;
  }
  .bench-portal-preview-link img {
    height: 260px;
  }
}

/* ── 3D HERO VIEWPORT CONTAINER ──────────────────────────────────── */
.hero-3d-card {
  position: relative;
  background: radial-gradient(120% 90% at 50% 18%, var(--viewer-bg2) 0%, var(--viewer-bg) 62%);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  height: clamp(520px, 68vh, 740px);
}

#hero-canvas-container {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 380px;
}

#hero-canvas-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  touch-action: none;
}

/* 3D Viewport Floating Toolbar & Readouts */
.viewport-topbar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 10;
  pointer-events: none;
}

.viewport-topbar > * {
  pointer-events: auto;
}

.model-selector-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--panel-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-md);
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  box-shadow: var(--shadow-sm);
}

.model-selector-pill select {
  background: transparent;
  border: none;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  outline: none;
}

.model-selector-pill select option {
  background: var(--panel);
  color: var(--ink);
}

.viewport-tools {
  display: flex;
  gap: 6px;
}

.vp-btn {
  background: var(--panel-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--panel-border-strong);
  color: var(--ink-secondary);
  border-radius: var(--radius-md);
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.vp-btn:hover {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--gold);
}

.vp-btn[aria-pressed="true"] {
  background: var(--blue);
  color: #020617;
  border-color: var(--blue);
  font-weight: 600;
}

/* 3D Readout Overlay */
.readout-card {
  position: absolute;
  bottom: 84px;
  left: 14px;
  background: var(--panel-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 0.75rem;
  box-shadow: var(--shadow-md);
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.readout-card .r-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.readout-card .r-k {
  color: var(--ink-muted);
}

.readout-card .r-v {
  font-weight: 600;
  color: var(--ink);
}

/* 3D Bottom Floating Control Bar (Lighting & Section Cutting) */
.viewport-bottombar {
  background: var(--panel-glass);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--panel-border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 10;
}

@media (max-width: 680px) {
  .viewport-bottombar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 14px;
  }
}

.control-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-secondary);
}

.control-group label {
  white-space: nowrap;
}

.control-group input[type="range"] {
  width: 120px;
  accent-color: var(--gold);
}

.segmented-control {
  display: inline-flex;
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.segmented-control button {
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 4px 8px;
  border-radius: 3px;
  color: var(--ink-secondary);
  transition: all 0.15s ease;
}

.segmented-control button[aria-pressed="true"] {
  background: var(--panel);
  color: var(--ink);
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}


/* ── PROVENANCE & SINGLE POINT OF CONTACT ────────────────────────── */
.provenance-section {
  padding: 5rem 0 3rem;
}

.provenance-card {
  background: var(--panel);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .provenance-card {
    padding: 2rem 1.5rem;
  }
}

.provenance-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 960px) {
  .provenance-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.provenance-main h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.provenance-lead {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.provenance-main p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin-bottom: 1.5rem;
}

.provenance-brands {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
}

.brand-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 600px) {
  .brand-item {
    flex-direction: column;
    gap: 2px;
  }
}

.brand-name {
  font-weight: 600;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.82rem;
  white-space: nowrap;
  min-width: 155px;
}

.brand-desc {
  color: var(--ink-muted);
  font-size: 0.84rem;
}

.provenance-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.aside-stat-box {
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
}

.aside-stat-box .aside-num {
  font-family: var(--mono);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 4px;
}

.aside-stat-box .aside-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.aside-stat-box p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin-bottom: 0;
}

/* ── CONFIDENTIALITY & NDA SECTION ───────────────────────────────── */
.confidentiality-section {
  padding: 6rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
}

.nda-card {
  background: var(--panel);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

@media (max-width: 768px) {
  .nda-card {
    padding: 2rem 1.5rem;
  }
}

.nda-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .nda-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.nda-statement h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-bottom: 1.25rem;
}

.nda-statement p {
  color: var(--ink-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.nda-pillars {
  display: grid;
  gap: 1.5rem;
}

.pillar-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.pillar-content h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.pillar-content p {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* ── MODELS CATALOG SECTION ──────────────────────────────────────── */
.models-section {
  padding: 7rem 0 6rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.section-head p.section-sub {
  font-size: 1.1rem;
  color: var(--ink-secondary);
  max-width: 58ch;
  margin-top: 0.5rem;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.75rem;
}

@media (max-width: 480px) {
  .models-grid {
    grid-template-columns: 1fr;
  }
}

.model-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.model-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.model-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.model-badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.model-card h3 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.model-card .model-origin {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.model-card p.model-desc {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex: 1;
}

.model-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.model-spec-table th, .model-spec-table td {
  padding: 7px 12px;
  border-bottom: 1px solid var(--panel-border);
}

.model-spec-table th {
  text-align: left;
  color: var(--ink-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.68rem;
}

.model-spec-table td {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}

.model-spec-table tr:last-child th,
.model-spec-table tr:last-child td {
  border-bottom: none;
}

.model-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.model-btn {
  flex: 1;
  text-align: center;
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.model-btn:hover {
  background: var(--gold);
  color: #FFFFFF;
  border-color: var(--gold);
}

/* ── PRICING & ECONOMICS SECTION ─────────────────────────────────── */
.pricing-section {
  padding: 7rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

@media (max-width: 1040px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

.price-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card.featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
}

.price-card.featured .popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.price-tier-name {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.price-figure {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 1rem;
}

.price-figure .currency {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--ink);
}

.price-figure .amount {
  font-family: var(--serif);
  font-size: 3.6rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.price-figure .unit {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.price-desc {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin-bottom: 1.75rem;
  min-height: 48px;
}

.price-features {
  list-style: none;
  border-top: 1px solid var(--panel-border);
  padding-top: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.45;
}

.price-features li svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.price-features li b {
  color: var(--ink);
  font-weight: 600;
}

.pricing-notes-box {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.p-note-item h4 {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.p-note-item p {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* ── WORKFLOW, PROCESS & RANGE OF COMPLETION ──────────────────────── */
.process-section {
  padding: 7rem 0;
}

.apprentice-banner {
  background: var(--panel);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  margin-top: 3.5rem;
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 860px) {
  .apprentice-banner {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    gap: 1.5rem;
  }
}

.apprentice-quote h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.apprentice-quote p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 0;
  max-width: 65ch;
}

.apprentice-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  white-space: nowrap;
}

.apprentice-badge .badge-num {
  font-family: var(--mono);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--gold);
}

.apprentice-badge .badge-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-top: 4px;
}

.apprentice-badge .badge-sub {
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-top: 6px;
  font-family: var(--mono);
}

.completion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.25rem;
}

@media (max-width: 1024px) {
  .completion-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.completion-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.completion-card:hover {
  transform: translateY(-2px);
  border-color: var(--panel-border-strong);
  box-shadow: var(--shadow-md);
}

.completion-card.highlighted {
  border-color: var(--gold);
  background: radial-gradient(120% 100% at 50% 0%, var(--gold-soft) 0%, var(--panel) 100%);
}

.completion-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.completion-tag.gold {
  color: var(--gold);
}

.completion-card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.completion-desc {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.completion-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.completion-bullets li {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-secondary);
  position: relative;
  padding-left: 18px;
}

.completion-bullets li::before {
  content: "•";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1.2;
}

.stock-models-callout {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--panel-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.stock-models-callout .pill {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.volume-feature-strip {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 680px) {
  .volume-feature-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
  }
}

.volume-feature-strip .v-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.volume-feature-strip .v-text h4 {
  font-size: 1.12rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.volume-feature-strip .v-text p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin-bottom: 0;
}

/* ── PRODUCTION PHOTO GALLERY ────────────────────────────────────── */
.gallery-section {
  padding: 6rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

@media (max-width: 900px) {
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
}

@media (max-width: 580px) {
  .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-sm);
  background: #E8E4DD;
}

.gallery-item.span-2 {
  grid-column: span 2;
}

@media (max-width: 580px) {
  .gallery-item.span-2 {
    grid-column: span 1;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item .overlay-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(20, 18, 14, 0.85) 0%, rgba(20, 18, 14, 0) 100%);
  color: #FFFFFF;
  padding: 1.5rem 1.25rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  opacity: 0.95;
}

/* ── VSA SPECIAL & INQUIRY FORM ───────────────────────────────────── */
.inquiry-section {
  padding: 7rem 0 8rem;
}

.inquiry-container {
  display: grid;
  grid-template-columns: 1.1fr 1.35fr;
  gap: 4rem;
  background: var(--panel);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
  .inquiry-container {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.75rem;
    gap: 2.5rem;
  }
}

.inquiry-info h2 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  margin-bottom: 1.25rem;
}

.inquiry-info p {
  color: var(--ink-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.vsa-callout-card {
  background: var(--bg-subtle);
  border: 1px solid var(--panel-border-strong);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.vsa-callout-card h4 {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.vsa-callout-card p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  margin-bottom: 0;
}

.contact-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink-secondary);
}

.contact-meta-list a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FORM ELEMENTS */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  font-weight: 500;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
  background: var(--panel);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 10px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  color: #065F46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #991B1B;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
#site-footer {
  background: var(--ink);
  color: #FAF8F5;
  padding: 5rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand h3 {
  color: #FAF8F5;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--ink-faint);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 38ch;
}

.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--ink-faint);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: var(--gold-warm);
}

/* ═════════════════════════════════════════════════════════════════════════════
   GENESIS 3D SCROLL SEQUENCE — CINEMATIC REVELATION
   White void -> Outline -> Cinque Sections -> Topo Contours -> 5% Opaque Surface
   ═════════════════════════════════════════════════════════════════════════════ */

#genesis-sequence.genesis-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999;
  background: var(--bg);
  overflow: hidden;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s ease;
}

#genesis-sequence.genesis-container.genesis-exit {
  transform: translateY(-100%);
  pointer-events: none;
}

.genesis-track {
  width: 100%;
  height: 100%;
}

.genesis-sticky {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
}

.genesis-canvas-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  z-index: 1;
}

.genesis-canvas-wrap:active {
  cursor: grabbing;
}

/* Initial Minimal Intro Overlay (fades out as you scroll down) */
.genesis-intro-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 680px;
  width: 90%;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

.genesis-title {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: lowercase;
  margin: 0;
}

.genesis-scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.6rem;
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--ink-muted);
  font-style: italic;
}

.mouse-icon {
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--panel-border-strong);
  border-radius: 12px;
  position: relative;
  display: block;
}

.mouse-wheel {
  width: 3px;
  height: 6px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseScrollAnim 1.8s ease-in-out infinite;
}

@keyframes mouseScrollAnim {
  0% { transform: translate(-50%, 0); opacity: 1; }
  65% { transform: translate(-50%, 9px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

/* Left-Hand Vertical Scroll Progress Rail & Enter Site Button */
.genesis-rail {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  pointer-events: auto;
}

.genesis-rail-orbit {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: var(--panel-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border-strong);
  cursor: grab;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.genesis-rail-orbit:hover {
  color: #ffffff;
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.12);
  box-shadow: 0 0 16px rgba(61, 127, 184, 0.45);
}

.genesis-rail-orbit svg {
  transition: transform 0.4s ease;
}

.genesis-rail-orbit:hover svg {
  transform: rotate(45deg);
}

.genesis-rail-track {
  width: 3px;
  height: 220px;
  background: var(--panel-border-strong);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.25);
}

.genesis-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 0 10px var(--gold);
  transition: height 0.08s linear;
}

.genesis-rail-btn {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  background: var(--panel-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--panel-border-strong);
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.genesis-rail-btn:hover {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
  transform: translateY(2px);
  box-shadow: 0 4px 16px rgba(61, 127, 184, 0.35);
}

.genesis-top-toggle {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 50;
}

@media (max-width: 600px) {
  .genesis-rail {
    left: 16px;
    gap: 12px;
  }
  .genesis-rail-track {
    height: 150px;
  }
  .genesis-rail-btn {
    padding: 6px 12px;
    font-size: 0.74rem;
  }
}

/* ── ARCHITECTURAL THEME TOGGLE (STUDIO / OLED) ─────────────────── */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--panel-tint);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  line-height: 1;
}

.theme-toggle-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 12px var(--blue-glow);
}

.theme-toggle-icon {
  font-size: 0.85rem;
  color: var(--blue);
  display: inline-block;
  transition: transform 0.3s ease;
}

.theme-toggle-btn:hover .theme-toggle-icon {
  transform: rotate(20deg);
}

/* ── OLED DARK NIGHT SPECIFIC REFINEMENTS ────────────────────────── */
:root[data-theme="dark"] #site-footer,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #site-footer {
    background: #000000;
    border-top: 1px solid var(--panel-border);
  }
}

:root[data-theme="dark"] .mesh-img-col {
  background: #0B1120;
}

:root[data-theme="dark"] .mesh-img-col img {
  mix-blend-mode: normal;
  filter: brightness(0.92) contrast(1.08);
}

:root[data-theme="dark"] .gallery-item {
  background: #0B1120;
}

:root[data-theme="dark"] .pillar-icon {
  background: var(--panel-tint);
  border-color: var(--panel-border);
}

:root[data-theme="dark"] .vsa-callout-card {
  background: var(--panel);
  border-color: var(--panel-border-strong);
}

:root[data-theme="dark"] .model-spec-table {
  background: var(--panel-tint);
}

:root[data-theme="dark"] .model-btn {
  background: var(--panel);
}

:root[data-theme="dark"] .model-btn:hover {
  background: var(--blue);
  color: #020617;
  border-color: var(--blue);
}

:root[data-theme="dark"] .price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
}

:root[data-theme="dark"] .popular-tag {
  background: var(--blue);
  color: #020617;
}

:root[data-theme="dark"] .btn-cta:hover {
  background: var(--blue);
  color: #020617;
}

:root[data-theme="dark"] .btn-cta-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}

/* ═════════════════════════════════════════════════════════════════════════════
   TYPEFACE SHOOTOUT: HISTORICAL LETTERPRESS & TRANSITIONAL SERIFS
   ═════════════════════════════════════════════════════════════════════════════ */

/* 1. IM Fell English (17th/18th C. Dutch Letterpress / Peter de Walpergen) — DEFAULT */
:root[data-font="fell"],
:root[data-font="fell"] body,
html:not([data-font]) {
  --serif: 'IM Fell English', Georgia, serif;
  --antic: 'IM Fell English', Georgia, serif;
}

/* 2. Cormorant Garamond (High-contrast Baroque Razor) */
:root[data-font="cormorant"],
:root[data-font="cormorant"] body {
  --serif: 'Cormorant Garamond', Georgia, serif;
  --antic: 'Cormorant Garamond', Georgia, serif;
}

/* 3. Newsreader (18th-C. French & Dutch Transitional) */
:root[data-font="newsreader"],
:root[data-font="newsreader"] body {
  --serif: 'Newsreader', Georgia, serif;
  --antic: 'Newsreader', Georgia, serif;
}

/* 4. Libre Baskerville (1757 English Transitional Masterwork) */
:root[data-font="baskerville"],
:root[data-font="baskerville"] body {
  --serif: 'Libre Baskerville', Georgia, serif;
  --antic: 'Libre Baskerville', Georgia, serif;
}

/* 5. Source Serif 4 (Pierre-Simon Fournier 1766 Manuel) */
:root[data-font="sourceserif"],
:root[data-font="sourceserif"] body {
  --serif: 'Source Serif 4', Georgia, serif;
  --antic: 'Source Serif 4', Georgia, serif;
}

/* 6. Antic (Original Baseline Hybrid) */
:root[data-font="antic"],
:root[data-font="antic"] body {
  --serif: 'Antic', Georgia, serif;
  --antic: 'Antic', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Floating Typeface Switcher Dock */
.font-switcher-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  background: var(--panel-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-pill);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 95vw;
  overflow-x: auto;
  scrollbar-width: none;
}
.font-switcher-dock::-webkit-scrollbar { display: none; }

.font-dock-header {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  border-right: 1px solid var(--panel-border);
  padding-right: 12px;
}

.font-dock-label {
  font-family: var(--mono);
  font-size: 0.60rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.font-dock-current {
  font-family: var(--serif);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s ease;
}

.font-dock-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}

.font-pill {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--ink-secondary);
  border: 1px solid var(--panel-border);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.font-pill-sub {
  font-family: var(--mono);
  font-size: 0.60rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.font-pill:hover {
  background: var(--panel-tint);
  color: var(--ink);
  border-color: var(--blue);
}

.font-pill.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.font-pill.active .font-pill-sub {
  color: var(--blue-electric);
}

:root[data-theme="dark"] .font-pill.active {
  background: var(--blue);
  color: #020617;
  border-color: var(--blue);
}

:root[data-theme="dark"] .font-pill.active .font-pill-sub {
  color: #020617;
}


