/* ==========================================================================
   VOUCHRA — SWISS INTERNATIONAL TYPOGRAPHIC STYLE (NEUE GRAFIK)
   Inspired by Josef Müller-Brockmann & the Zurich/Basel Design Tradition:
   Stark white architectural canvas, rigid exposed 1px grid coordinates,
   uncompromising left-aligned Neo-Grotesque typography, sharp 90-degree
   geometry, split-image documentary storytelling, and a dramatic footer.
   ========================================================================== */

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

:root {
  /* Architectural Swiss Palette */
  --canvas: #FFFFFF;
  --canvas-subtle: #F8F9FA;
  --canvas-muted: #F1F3F5;
  --canvas-dark: #0A0A0A;

  /* Ink & Typography */
  --ink: #0A0A0A;
  --ink-secondary: #3F3F46;
  --ink-muted: #71717A;
  --ink-border: #E4E4E7;
  --ink-border-dark: #0A0A0A;
  --ink-white: #FFFFFF;

  /* Swiss Structural Accents (Signature Cyan-Blue Primary) */
  --swiss-red: #0A8F9C;
  --swiss-red-bright: #14B8C4;
  --swiss-red-subtle: #E6F7F8;
  --flag-red: #DC2626;
  --swiss-green: #16A34A;
  --swiss-green-subtle: #DCFCE7;

  /* Grid Rules */
  --grid-line: 1px solid #E4E4E7;
  --grid-line-dark: 1px solid #0A0A0A;
  --grid-line-bold: 2px solid #0A0A0A;

  /* Typography */
  --font-grotesk: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Space Mono', monospace;

  /* Layout */
  --max-width: 1320px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-grotesk);
  background-color: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--canvas);
  color: var(--ink);
  overflow-x: hidden;
  position: relative;
}

/* Scroll Progress Hairline */
.scroll-progress-line {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background-color: var(--swiss-red);
  width: 0%;
  z-index: 1100;
  transition: width 0.05s linear;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-grotesk);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-align: left;
}

p {
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* Swiss Coordinate Kickers */
.grid-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 12px;
}

.grid-index span.red {
  color: var(--swiss-red);
}

.grid-index::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background-color: var(--ink);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================================
   CLEAN EDITORIAL SWISS HEADER (SPACIOUS, NO CRAMPED CELL BORDERS)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-border);
}

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

.brand-cell {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  height: 28px;
  display: block;
}

.engine-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--canvas-subtle);
  border: 1px solid var(--ink-border);
  padding: 4px 10px;
}

.engine-dot {
  width: 6px;
  height: 6px;
  background-color: var(--swiss-red);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.nav-matrix {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-secondary);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-item:hover, .nav-item.active {
  color: var(--ink);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--swiss-red);
}

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

/* Swiss Rectangular Action Buttons */
.btn-swiss-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--ink);
  color: var(--ink-white);
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-swiss-primary:hover {
  background-color: var(--swiss-red);
  border-color: var(--swiss-red);
  color: #FFFFFF;
}

.btn-swiss-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--ink);
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--ink-border);
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-swiss-secondary:hover {
  border-color: var(--ink);
  background-color: var(--canvas-subtle);
}

/* Mobile Toggle & Drawer */
.mobile-hamburger {
  display: none;
  background: none;
  border: none;
  padding: 12px;
  cursor: pointer;
  color: var(--ink);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 380px;
  background: #FFFFFF;
  border-left: 2px solid #0A0A0A;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 2px solid #0A0A0A;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.drawer-nav a {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-border);
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   HERO SECTION: REFINED MÜLLER-BROCKMANN BROADSHEET MATRIX
   ========================================================================== */
.hero-section {
  padding: 64px 0 72px;
  border-bottom: var(--grid-line-bold);
  position: relative;
  background: 
    linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border: var(--grid-line-dark);
  background: #FFFFFF;
}

.hero-col-left {
  padding: 56px 48px;
  border-right: var(--grid-line-dark);
  display: flex;
  flex-direction: column;
}

.hero-trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-trust-tag strong {
  color: var(--ink);
}

.hero-title {
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title span.red {
  color: var(--swiss-red);
}

.hero-desc {
  font-size: 16.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-metrics-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--grid-line-dark);
  margin-top: auto;
}

.metric-cell {
  padding: 20px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background-color 0.15s ease;
}

.metric-cell:hover {
  background-color: var(--canvas-subtle);
}

.metric-cell:not(:first-child) {
  border-left: var(--grid-line);
  padding-left: 20px;
}

.metric-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.metric-num.red {
  color: var(--swiss-red);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

/* ==========================================================================
   HERO RIGHT: LIVE SCANNER PROOF SHEET
   ========================================================================== */
.hero-col-right {
  background: var(--canvas-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-scenario-tabs {
  display: flex;
  border-bottom: var(--grid-line-dark);
  background: var(--canvas-muted);
}

.hero-tab-pill {
  flex: 1;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-right: var(--grid-line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-secondary);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.hero-tab-pill:last-child {
  border-right: none;
}

.hero-tab-pill:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--ink);
}

.hero-tab-pill.active {
  background: #FFFFFF;
  color: var(--swiss-red);
  box-shadow: inset 0 2px 0 0 var(--swiss-red);
  font-weight: 800;
}

.proof-sheet-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--canvas);
  border-bottom: var(--grid-line-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.ocr-chip-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  background: var(--canvas-subtle);
  border: 1px solid var(--ink-border);
  color: var(--ink-secondary);
}

.ocr-chip-inline.red {
  background: var(--swiss-red-subtle);
  border-color: var(--swiss-red);
  color: var(--swiss-red);
}

.ocr-chip-inline.green {
  background: var(--swiss-green-subtle);
  border-color: var(--swiss-green);
  color: var(--swiss-green);
}

/* Tactile Audit Rubber Stamp */
.audit-rubber-stamp {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 2px dashed var(--swiss-red);
  color: var(--swiss-red);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transform: rotate(-7deg);
  opacity: 0.85;
  pointer-events: none;
  background: rgba(254, 226, 226, 0.4);
}

.proof-sheet-content {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
  position: relative;
}

/* Laser Scanning Line in Swiss Red */
.swiss-laser-sweep {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--swiss-red);
  box-shadow: 0 0 10px 1px var(--swiss-red);
  z-index: 10;
  pointer-events: none;
  animation: laserScan 4.5s ease-in-out infinite;
}

@keyframes laserScan {
  0% { top: 5%; opacity: 0.2; }
  20% { opacity: 0.85; }
  50% { top: 85%; opacity: 0.85; }
  80% { opacity: 0.85; }
  100% { top: 5%; opacity: 0.2; }
}

.specimen-matrix-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.specimen-cell {
  background: #FFFFFF;
  border: var(--grid-line-dark);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.specimen-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: var(--grid-line);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-muted);
}

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

.specimen-item-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

.specimen-item-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.variance-action-card {
  background: #FFFFFF;
  border: 2px solid var(--swiss-red);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.variance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--swiss-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.variance-headline {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.variance-breakdown {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.variance-breakdown strong {
  color: var(--ink);
}

.variance-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: var(--grid-line);
  margin-top: 4px;
}

.variance-amount {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-muted);
}

.variance-amount strong {
  font-size: 17px;
  color: var(--swiss-red);
}

/* ==========================================================================
   VERIFIABLE SOCIAL PROOF: EXPOSED 3-COLUMN SWISS GRID
   ========================================================================== */
.proof-section {
  border-bottom: var(--grid-line-bold);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: var(--grid-line-dark);
  border-right: var(--grid-line-dark);
}

.proof-cell {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.proof-cell:not(:last-child) {
  border-right: var(--grid-line-dark);
}

.proof-corp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.proof-corp-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.proof-cac-stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--swiss-red);
}

.proof-desc {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   SPLIT-IMAGE STORYTELLING SECTION (THE DOCKSIDE INTAKE)
   ========================================================================== */
.split-story-section {
  border-bottom: var(--grid-line-bold);
  position: relative;
}

.split-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: var(--grid-line-dark);
  border-right: var(--grid-line-dark);
}

.split-story-grid > *:first-child {
  border-right: var(--grid-line-dark);
}

.split-story-img-cell {
  position: relative;
  min-height: 480px;
  background: var(--canvas-dark);
  overflow: hidden;
}

/* IMAGE HOVER RULE: Normal in color by default, B&W (grayscale) on hover */
.split-story-img-cell img,
.phase-img-wrap img,
.team-img-wrap img,
.story-img-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0%) contrast(1.02);
  transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease;
}

.split-story-img-cell:hover img,
.photo-phase-card:hover .phase-img-wrap img,
.team-cell:hover .team-img-wrap img,
.story-img-cell:hover img {
  filter: grayscale(100%) contrast(1.15);
  transform: scale(1.02);
}

.split-img-overlay-stamp {
  position: absolute;
  top: 24px;
  left: 24px;
  background: #0A0A0A;
  color: #FFFFFF;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.split-img-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.95) 100%);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.split-story-text-cell {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FFFFFF;
}

.mini-discrepancy-table {
  border: var(--grid-line-dark);
  margin-top: 28px;
  background: var(--canvas-subtle);
}

.mini-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 12.5px;
  border-bottom: var(--grid-line);
}

.mini-row:last-child {
  border-bottom: none;
}

/* ==========================================================================
   THE 3-WAY RECONCILIATION TRIPTYCH (INTERACTIVE COMPARATOR)
   ========================================================================== */
.triptych-section {
  padding: 80px 0;
  border-bottom: var(--grid-line-bold);
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-title {
  font-size: 42px;
  line-height: 1.05;
  margin-bottom: 14px;
}

.triptych-tabs-row {
  display: flex;
  border: var(--grid-line-dark);
  border-bottom: none;
  background: var(--canvas-subtle);
}

.triptych-tab-btn {
  flex: 1;
  padding: 14px 16px;
  background: transparent;
  border: none;
  border-right: var(--grid-line-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.triptych-tab-btn:last-child {
  border-right: none;
}

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

.triptych-tab-btn.active {
  background: #FFFFFF;
  color: var(--ink);
  border-top: 3px solid var(--swiss-red);
}

.triptych-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  border: var(--grid-line-dark);
}

.triptych-column {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.triptych-column:not(:last-child) {
  border-right: var(--grid-line-dark);
}

.triptych-column.engine-center {
  background: var(--canvas-subtle);
}

.triptych-col-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: var(--grid-line-dark);
  margin-bottom: 20px;
}

.triptych-col-name {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.triptych-card-item {
  padding: 16px;
  border: var(--grid-line-dark);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.triptych-card-item.flagged {
  border-color: var(--swiss-red);
  background: var(--swiss-red-subtle);
}

.triptych-card-item.cleared {
  border-color: var(--swiss-green);
  background: var(--swiss-green-subtle);
}

/* ==========================================================================
   TRIPLE-PHOTO PROCESS SPREAD (AUTHENTIC FRESH PHOTOS)
   ========================================================================== */
.triple-photo-section {
  border-bottom: var(--grid-line-bold);
}

.triple-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: var(--grid-line-dark);
  border-right: var(--grid-line-dark);
}

.photo-phase-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.photo-phase-card:not(:last-child) {
  border-right: var(--grid-line-dark);
}

.phase-img-wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
  background: #0A0A0A;
  border-bottom: var(--grid-line-dark);
}

.phase-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #0A0A0A;
  color: #FFFFFF;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.phase-text-box {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #FFFFFF;
}

.phase-title {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.phase-desc {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   OPERATIONAL LEAKAGE MATRIX (THE 4 PAIN POINTS)
   ========================================================================== */
.leakage-section {
  padding: 80px 0;
  border-bottom: var(--grid-line-bold);
}

.leakage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--grid-line-dark);
}

.leakage-module {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.leakage-module:not(:last-child) {
  border-right: var(--grid-line-dark);
}

.leakage-coord {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--swiss-red);
  letter-spacing: 0.06em;
}

.leakage-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.leakage-text {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   MATHEMATICAL ROI CALCULATOR
   ========================================================================== */
.calc-section {
  padding: 80px 0;
  border-bottom: var(--grid-line-bold);
  background: var(--canvas-subtle);
}

.calc-box {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: var(--grid-line-dark);
  background: #FFFFFF;
}

.calc-left {
  padding: 48px;
  border-right: var(--grid-line-dark);
  display: flex;
  flex-direction: column;
}

.calc-slider-wrap {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.calc-slider-header span {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.calc-slider-header strong {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--swiss-red);
}

input[type="range"].swiss-slider {
  width: 100%;
  height: 4px;
  background: var(--ink-border);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  border-radius: 0;
}

input[type="range"].swiss-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--ink);
  cursor: pointer;
  border: 2px solid var(--swiss-red);
  border-radius: 0;
}

.calc-right {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--canvas-subtle);
}

.calc-kpi-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-kpi-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.calc-kpi-val {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 900;
  color: var(--swiss-red);
  letter-spacing: -0.04em;
  line-height: 1;
}

/* ==========================================================================
   TRANSPARENT PRICING GRID (3 COLUMNS)
   ========================================================================== */
.pricing-section {
  padding: 80px 0;
  border-bottom: var(--grid-line-bold);
}

.pricing-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: var(--grid-line-dark);
}

.pricing-cell {
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
}

.pricing-cell:not(:last-child) {
  border-right: var(--grid-line-dark);
}

.pricing-cell.featured {
  background: var(--canvas-subtle);
  border-top: 4px solid var(--swiss-red);
  margin-top: -4px;
}

.tier-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--swiss-red);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tier-name {
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 8px;
}

.tier-desc {
  font-size: 13.5px;
  color: var(--ink-secondary);
  min-height: 44px;
  margin-bottom: 24px;
}

.tier-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: var(--grid-line);
  margin-bottom: 28px;
}

.tier-currency {
  font-size: 24px;
  font-weight: 800;
}

.tier-amount {
  font-family: var(--font-mono);
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.tier-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.tier-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
}

.tier-feature-item::before {
  content: '■';
  color: var(--swiss-red);
  font-size: 8px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ==========================================================================
   LEADERSHIP TEAM (4-COLUMN COORDINATE GRID)
   ========================================================================== */
.team-section {
  padding: 80px 0;
  border-bottom: var(--grid-line-bold);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--grid-line-dark);
}

.team-cell {
  display: flex;
  flex-direction: column;
}

.team-cell:not(:last-child) {
  border-right: var(--grid-line-dark);
}

.team-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-bottom: var(--grid-line-dark);
  overflow: hidden;
}

.team-info {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.team-role {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--swiss-red);
  margin-bottom: 8px;
}

.team-bio {
  font-size: 12.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.team-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}

.team-link:hover {
  color: var(--swiss-red);
}

/* ==========================================================================
   THE DRAMATIC FOOTER
   ========================================================================== */
.dramatic-footer {
  background: #0A0A0A;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.footer-hero-banner {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 80px 0 60px;
  background-image: 
    linear-gradient(180deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.96) 100%),
    url('img/warehouse_real.jpg');
  background-size: cover;
  background-position: center;
}

.footer-hero-statement {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 24px;
  max-width: 960px;
}

.footer-hero-statement span.red {
  color: var(--swiss-red);
}

.footer-hero-sub {
  font-size: 17px;
  color: #A1A1AA;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.footer-matrix-dark {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-dark-cell {
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-dark-cell:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-dark-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 8px;
}

.footer-dark-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-dark-nav a {
  font-size: 13.5px;
  color: #A1A1AA;
  transition: color 0.15s ease;
}

.footer-dark-nav a:hover {
  color: var(--swiss-red);
}

.footer-giant-wordmark-bar {
  padding: 48px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.footer-giant-wordmark {
  font-size: clamp(68px, 11vw, 150px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
}

.footer-dark-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #71717A;
  text-transform: uppercase;
}

/* ==========================================================================
   DASHBOARD UPLOAD DROPZONE COMPONENT
   ========================================================================== */
.upload-hero-container {
  border: 2px dashed var(--ink);
  background: var(--canvas-subtle);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  position: relative;
  transition: all 0.2s ease;
  margin-bottom: 32px;
}

.upload-hero-container.drag-over {
  border-color: var(--swiss-red);
  background: var(--swiss-red-subtle);
}

.upload-icon-box {
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.upload-title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.upload-sub {
  font-size: 13.5px;
  color: var(--ink-secondary);
  max-width: 520px;
}

.upload-chips-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.upload-chip {
  padding: 4px 10px;
  background: #FFFFFF;
  border: 1px solid var(--ink-border);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}

.upload-btn-group {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Processing Progress Bar */
.ocr-progress-box {
  width: 100%;
  max-width: 500px;
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.ocr-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--ink-border);
  position: relative;
  overflow: hidden;
}

.ocr-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--swiss-red);
  transition: width 0.3s ease;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (STRICT MOBILE AUDIT)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-col-left {
    border-right: none;
    border-bottom: var(--grid-line-dark);
  }
  .split-story-grid {
    grid-template-columns: 1fr;
  }
  .split-story-grid > *:first-child {
    border-right: none;
    border-bottom: var(--grid-line-dark);
  }
  .split-story-img-cell {
    min-height: 300px;
    max-height: 380px;
  }
  .triple-photo-grid {
    grid-template-columns: 1fr;
  }
  .photo-phase-card:not(:last-child) {
    border-right: none;
    border-bottom: var(--grid-line-dark);
  }
  .triptych-stage-grid {
    grid-template-columns: 1fr;
  }
  .triptych-column:not(:last-child) {
    border-right: none;
    border-bottom: var(--grid-line-dark);
  }
  .leakage-grid {
    grid-template-columns: 1fr 1fr;
  }
  .leakage-module:nth-child(2) {
    border-right: none;
  }
  .leakage-module:nth-child(-n+2) {
    border-bottom: var(--grid-line-dark);
  }
  .pricing-matrix {
    grid-template-columns: 1fr;
  }
  .pricing-cell:not(:last-child) {
    border-right: none;
    border-bottom: var(--grid-line-dark);
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .team-cell:nth-child(2) {
    border-right: none;
  }
  .team-cell:nth-child(-n+2) {
    border-bottom: var(--grid-line-dark);
  }
  .footer-matrix-dark {
    grid-template-columns: 1fr 1fr;
  }
  .footer-dark-cell:nth-child(2) {
    border-right: none;
  }
  .footer-dark-cell:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 780px) {
  .container {
    padding: 0 16px;
  }
  .nav-matrix, .header-actions {
    display: none;
  }
  .mobile-hamburger {
    display: block;
  }
  .header-inner {
    height: 64px;
  }
  .hero-section {
    padding: 20px 0 36px;
  }
  .hero-trust-tag {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 10px;
    margin-bottom: 14px;
    line-height: 1.3;
  }
  .hero-title {
    font-size: 36px;
    line-height: 0.98;
    margin-bottom: 14px;
  }
  .hero-desc {
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 22px;
  }
  .hero-col-left {
    padding: 24px 18px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 24px;
  }
  .hero-actions .btn-swiss-primary,
  .hero-actions .btn-swiss-secondary {
    width: 100%;
    text-align: center;
    padding: 13px 20px;
  }
  .hero-scenario-tabs {
    flex-direction: column;
  }
  .hero-tab-pill {
    border-right: none;
    border-bottom: 1px solid var(--ink-border);
    padding: 10px 14px;
    text-align: left;
  }
  .hero-tab-pill:last-child {
    border-bottom: none;
  }
  .proof-sheet-content {
    padding: 20px 16px;
  }
  .audit-rubber-stamp {
    position: static;
    transform: none;
    display: inline-block;
    margin-bottom: 8px;
    width: fit-content;
  }
  .specimen-matrix-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .variance-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .split-story-text-cell {
    padding: 32px 16px;
  }
  .hero-metrics-matrix {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .metric-cell {
    padding: 14px 8px 4px;
  }
  .metric-cell:not(:first-child) {
    border-left: var(--grid-line);
    padding-left: 10px;
    border-top: none;
    padding-top: 14px;
  }
  .metric-num {
    font-size: 17px;
  }
  .metric-label {
    font-size: 8.5px;
    line-height: 1.25;
  }
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .proof-cell {
    padding: 24px 16px;
  }
  .proof-cell:not(:last-child) {
    border-right: none;
    border-bottom: var(--grid-line-dark);
  }
  .triptych-tabs-row {
    flex-direction: column;
  }
  .triptych-tab-btn {
    border-right: none;
    border-bottom: var(--grid-line);
    padding: 12px 14px;
  }
  .leakage-grid {
    grid-template-columns: 1fr;
  }
  .leakage-module {
    padding: 24px 16px;
  }
  .leakage-module:not(:last-child) {
    border-right: none;
    border-bottom: var(--grid-line-dark);
  }
  .calc-box {
    grid-template-columns: 1fr;
  }
  .calc-left {
    border-right: none;
    border-bottom: var(--grid-line-dark);
    padding: 28px 16px;
  }
  .calc-right {
    padding: 28px 16px;
  }
  .calc-kpi-val {
    font-size: 38px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-cell:not(:last-child) {
    border-right: none;
    border-bottom: var(--grid-line-dark);
  }
  .footer-hero-banner {
    padding: 48px 0 40px;
  }
  .footer-hero-statement {
    font-size: 30px;
    line-height: 1.05;
  }
  .footer-matrix-dark {
    grid-template-columns: 1fr;
  }
  .footer-dark-cell {
    padding: 32px 16px;
  }
  .footer-dark-cell:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .footer-dark-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   SWISS ARCHITECTURAL MOTION & REVEAL SYSTEM
   ========================================================================== */
@keyframes swissEnter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes swissPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-col-left .hero-trust-tag {
  animation: swissEnter 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.hero-col-left .hero-title {
  animation: swissEnter 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}
.hero-col-left .hero-desc {
  animation: swissEnter 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero-col-left .hero-actions {
  animation: swissEnter 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}
.hero-col-left .hero-metrics-matrix {
  animation: swissEnter 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}
.hero-col-right {
  animation: swissEnter 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

/* Scroll-triggered architectural reveals */
.reveal-pending {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle architectural card interactions */
.proof-cell,
.leakage-module,
.pricing-cell {
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.proof-cell:hover,
.leakage-module:hover {
  background-color: var(--canvas-subtle);
}

.live-ocr-pulse {
  animation: swissPulse 1.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-col-left *,
  .hero-col-right,
  .reveal-pending,
  .swiss-laser-sweep {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
