/* ==========================================================================
   BLUNT ENGINEERING (bluntengineering.com)
   FULL-WIDTH BORDERLESS + 100VH FULL-HEIGHT SECTIONS + UNIFIED PHOTO FOOTER
   ========================================================================== */

:root {
  --bg-page: #FFFFFF;
  --bg-soft: #F6F7F9;
  --bg-pill: #F1F3F6;
  --bg-dark: #0B0E14;
  --bg-dark-card: #131822;
  --ink-primary: #0B0E14;
  --ink-secondary: #475467;
  --ink-muted: #667085;
  --accent-orange: #FF5500;
  --accent-orange-hover: #E04800;
  --accent-orange-soft: rgba(255, 85, 0, 0.09);
  --status-green: #00A859;
  --status-green-soft: rgba(0, 168, 89, 0.10);
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-page);
  overflow-x: hidden;
  line-height: 1.6;
  width: 100%;
}

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

.canvas {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 5vw;
}

/* Frameless floating machine blend */
.machine-float {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.03) brightness(1.01);
  transition: transform 0.5s var(--ease-out);
}

/* 1. STICKY HEADER WITH RESTORED b/e LOGO */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 84px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  box-shadow: 0 1px 0 rgba(11, 14, 20, 0.05);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink-primary);
}

.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--ink-primary);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.03em;
  box-shadow: 0 6px 16px rgba(11, 14, 20, 0.14);
}

.brand-badge.light {
  background: var(--accent-orange);
  color: #FFFFFF;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.brand-name .accent-dot {
  color: var(--accent-orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-link:hover, .nav-link.active {
  color: var(--ink-primary);
  background: var(--bg-soft);
}

.nav-link .nav-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
}

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

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.account-pill:hover {
  background: #E8ECF2;
}

.account-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-green);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn-sm {
  padding: 11px 20px;
  font-size: 0.74rem;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: #FFFFFF;
  box-shadow: 0 10px 24px -6px rgba(255, 85, 0, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--bg-soft);
  color: var(--ink-primary);
}

.btn-secondary:hover {
  background-color: #E6EAF0;
  transform: translateY(-2px);
}

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

.btn-dark:hover {
  background-color: var(--accent-orange);
  transform: translateY(-2px);
}

/* Eyebrow Pill */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* 2. FULL-HEIGHT HERO STAGE (100VH) */
.hero-section {
  width: 100%;
  min-height: calc(100vh - 84px);
  padding: 96px 5vw 110px;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  align-items: center;
  gap: 4vw;
  max-width: 100%;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5.2vw, 5.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
  color: var(--ink-primary);
}

.hero-title .accent {
  color: var(--accent-orange);
}

.hero-lead {
  font-size: 1.22rem;
  color: var(--ink-secondary);
  max-width: 48ch;
  line-height: 1.68;
  margin-bottom: 42px;
  font-weight: 400;
}

.hero-lead strong {
  color: var(--ink-primary);
  font-weight: 600;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 24px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* Frameless Floating Machine Stage with Non-Overlapping Pins */
.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.hero-stage .machine-float {
  max-height: 580px;
  width: 100%;
}

.floating-hotspot {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(11, 14, 20, 0.09);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-primary);
  z-index: 4;
}

.floating-hotspot .hs-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #FFFFFF;
  font-size: 0.66rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hs-1 { top: 4%; left: 2%; }
.hs-2 { bottom: 10%; left: 6%; }
.hs-3 { top: 18%; right: 2%; }

.floating-price-pill {
  position: absolute;
  bottom: 2%;
  right: 3%;
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 18px 28px;
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(11, 14, 20, 0.22);
  font-family: var(--font-mono);
  z-index: 5;
}

.floating-price-pill .fp-top {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.floating-price-pill .fp-main {
  font-size: 1.12rem;
  font-weight: 700;
  margin-top: 4px;
}

.floating-price-pill .fp-main span {
  color: var(--accent-orange);
}

/* 3. FULL-HEIGHT VENTION-STYLE HORIZONTAL STEPPER + 5 FRICTION CARDS (100VH) */
.friction-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 5vw;
  background: var(--bg-soft);
}

.friction-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 3.8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink-primary);
}

.section-desc {
  font-size: 1.08rem;
  color: var(--ink-secondary);
  max-width: 52ch;
}

.vention-stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  margin: 64px auto 48px;
  max-width: 1180px;
}

.vention-stepper::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: #D0D5DD;
  z-index: 1;
}

.v-step-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
  font-family: var(--font-sans);
}

.v-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid #98A2B3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.v-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.2s ease;
}

.v-step-btn.active .v-dot, .v-step-btn:hover .v-dot {
  border-color: var(--accent-orange);
  background: #FFFFFF;
  box-shadow: 0 0 0 5px rgba(255, 85, 0, 0.14);
}

.v-step-btn.active .v-dot::after {
  background: var(--accent-orange);
}

.v-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.v-step-btn.active .v-label, .v-step-btn:hover .v-label {
  color: var(--ink-primary);
}

.friction-bento-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  text-align: left;
}

.friction-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s var(--ease-out);
  border: 2px solid transparent;
}

.friction-card.active-card, .friction-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-orange);
}

.friction-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.friction-topic {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.friction-old {
  color: var(--ink-muted);
  font-size: 0.84rem;
  line-height: 1.45;
  margin-bottom: 14px;
  text-decoration: line-through;
}

.friction-new {
  color: var(--ink-primary);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 24px;
}

.friction-action {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 4. TURNKEY CELLS SHOWCASE (FULL HEIGHT + GENEROUS SPACING) */
.cells-section {
  width: 100%;
  min-height: 100vh;
  padding: 150px 5vw;
  max-width: 100%;
  margin: 0 auto;
}

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

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  padding-top: 32px;
}

.dossier-split-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 32px;
  align-items: start;
}

.cell-card {
  background: var(--bg-soft);
  border-radius: 32px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease-out);
}

.cell-card:hover {
  transform: translateY(-4px);
}

.cell-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cell-id {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-orange);
  background: var(--accent-orange-soft);
  padding: 6px 14px;
  border-radius: 999px;
}

.cell-output-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-primary);
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: 999px;
}

.cell-Visual {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 24px;
}

.cell-Visual .machine-float {
  max-height: 265px;
}

.cell-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.cell-desc {
  color: var(--ink-secondary);
  font-size: 0.98rem;
  margin-bottom: 22px;
}

.cell-modules-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.mod-pill {
  background: #FFFFFF;
  padding: 8px 14px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-primary);
  font-weight: 500;
}

.mod-pill strong {
  color: var(--accent-orange);
}

.cell-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.cell-price {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cell-price-sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--status-green);
  font-weight: 600;
}

/* 5. CONCISE STORYTELLING ROWS (EACH ROW FULL VIEWPORT FEEL) */
.story-section {
  width: 100%;
  padding: 150px 5vw;
  max-width: 100%;
  margin: 0 auto;
}

.story-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 6vw;
  min-height: 82vh;
  padding: 72px 0;
}

.story-row.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.story-row.reverse .story-copy {
  order: 2;
}

.story-row.reverse .story-visual {
  order: 1;
}

.story-step-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.story-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.story-body {
  font-size: 1.1rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 48ch;
}

.story-Deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.deliverable-chip {
  background: var(--bg-soft);
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.deliverable-chip span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.story-visual .machine-float {
  max-height: 460px;
}

/* ==========================================================================
   6. DEDICATED CONFIGURATOR, BUYING GUIDE & CUSTOMIZATION PAGE (/configure.html)
   ========================================================================== */
.config-page-hero {
  background: var(--bg-soft);
  padding: 48px 5vw 36px;
}

.config-page-hero-inner {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.zero-gate-banner {
  background: #FFFFFF;
  padding: 16px 22px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--ink-primary);
  font-weight: 500;
}

.zero-gate-banner strong {
  color: var(--status-green);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.buying-guide-section {
  max-width: 100%;
  margin: 0 auto;
  padding: 64px 5vw 40px;
}

.guide-selector-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.guide-goal-btn {
  background: var(--bg-soft);
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 20px 18px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.guide-goal-btn:hover {
  background: #EDF0F5;
}

.guide-goal-btn.active {
  background: #FFFFFF;
  border-color: var(--accent-orange);
  box-shadow: 0 12px 28px -8px rgba(255, 85, 0, 0.18);
}

.guide-goal-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-orange);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.guide-goal-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 4px;
}

.guide-goal-sub {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.spec-decoder-box {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
}

.decoder-left h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.decoder-left p {
  font-size: 0.9rem;
  color: #98A2B3;
}

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

.decoder-term-card {
  background: var(--bg-dark-card);
  padding: 18px;
  border-radius: 14px;
}

.decoder-term-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-orange);
  font-weight: 700;
  margin-bottom: 6px;
}

.decoder-term-meaning {
  font-size: 0.84rem;
  color: #E4E7EC;
  line-height: 1.45;
}

.config-workspace {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 24px 5vw 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.config-step-block {
  background: var(--bg-soft);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 28px;
}

.config-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.config-step-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--ink-primary);
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.config-step-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.custom-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0 14px 6px;
}

.custom-table td {
  background: #FFFFFF;
  padding: 16px 14px;
  font-size: 0.88rem;
}

.custom-table tr td:first-child {
  border-radius: 14px 0 0 14px;
  font-weight: 600;
}

.custom-table tr td:last-child {
  border-radius: 0 14px 14px 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: right;
}

.custom-select {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid #D0D5DD;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--bg-soft);
  color: var(--ink-primary);
}

.catalog-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.cat-pill {
  padding: 9px 16px;
  border-radius: 999px;
  background: #FFFFFF;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cat-pill.active, .cat-pill:hover {
  background: var(--ink-primary);
  color: #FFFFFF;
}

.sku-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.shop-bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.config-sku-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.sku-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s var(--ease-out);
  border: 2px solid transparent;
}

.sku-card.selected-in-line {
  border-color: var(--accent-orange);
  box-shadow: 0 12px 24px -8px rgba(255, 85, 0, 0.2);
}

.sku-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sku-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.sku-rate {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-orange);
}

.sku-img-box {
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 12px;
}

.sku-img-box .machine-float {
  max-height: 145px;
}

.sku-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
}

.sku-meaning {
  font-size: 0.81rem;
  color: var(--ink-secondary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.sku-specs-mini {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 9px 12px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--ink-primary);
  display: flex;
  justify-content: space-between;
}

.sku-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.sku-price-val {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
}

.sticky-receipt {
  position: sticky;
  top: 96px;
  background: var(--bg-dark);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 24px 22px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 24px 48px -16px rgba(11, 14, 20, 0.32);
}

.receipt-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.receipt-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.receipt-line-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  max-height: 240px;
  overflow-y: auto;
}

.receipt-item {
  background: var(--bg-dark-card);
  padding: 10px 12px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.receipt-item-code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-orange);
  display: block;
}

.receipt-item-price {
  font-family: var(--font-mono);
  font-weight: 700;
  white-space: nowrap;
}

.receipt-custom-summary {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: #D0D5DD;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  margin-bottom: 6px;
}

.receipt-total-val {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent-orange);
}

.receipt-gate-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 20px;
}

.gate-box {
  background: var(--bg-dark-card);
  padding: 10px 12px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #98A2B3;
}

.gate-box strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.9rem;
  margin-top: 2px;
}

/* 7. ACCOUNT & SAVED FACILITY BLUEPRINT PAGE (/account.html) */
.account-grid {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 40px 5vw 120px;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.account-card {
  background: var(--bg-soft);
  border-radius: 28px;
  padding: 40px;
}

.blueprint-vault-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.vault-stat-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 22px;
}

.vault-stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-orange);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

.vault-stat-val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

/* 8. UNIFIED 100VH FULL-WIDTH PHOTO FOOTER (IMAGE COVERS ENTIRE FOOTER) */
.unified-photo-footer {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #0B0E14;
  color: #FFFFFF;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 5vw 72px;
}

.unified-footer-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.78;
}

.unified-footer-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 14, 20, 0.72) 0%,
    rgba(11, 14, 20, 0.52) 45%,
    rgba(11, 14, 20, 0.92) 82%,
    rgba(11, 14, 20, 0.97) 100%
  );
}

.unified-footer-top {
  position: relative;
  z-index: 2;
  max-width: 100%;
  width: 100%;
  margin: auto auto 96px;
}

.unified-footer-bottom {
  position: relative;
  z-index: 2;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.unified-footer-bottom .footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-orange);
  margin-bottom: 18px;
}

.unified-footer-bottom .footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.unified-footer-bottom .footer-col ul a:hover {
  color: #FFFFFF;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 14, 20, 0.72);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-window {
  background: #FFFFFF;
  width: 100%;
  max-width: 680px;
  border-radius: 28px;
  padding: 40px;
  max-height: 92vh;
  overflow-y: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-secondary);
}

.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #D0D5DD;
  background: var(--bg-soft);
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

/* VENTION-STYLE ISOMETRIC FACILITY FLOOR LAYOUT + BIG NUMBERS */
.floor-layout-wrapper {
  width: 100%;
  margin-top: 56px;
}

.floor-layout-stage {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floor-layout-img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  filter: contrast(1.04) brightness(1.01);
}

.floor-zone-pin {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 9px 15px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(11, 14, 20, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-primary);
  border: 1px solid rgba(11, 14, 20, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.floor-zone-pin:hover {
  transform: translateY(-2px);
  border-color: var(--accent-orange);
  box-shadow: 0 16px 32px rgba(255, 85, 0, 0.18);
}

.floor-zone-pin .z-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.floor-zone-pin.z-1 {
  top: 10%;
  left: 11%;
}

.floor-zone-pin.z-2 {
  bottom: 13%;
  left: 9%;
}

.floor-zone-pin.z-3 {
  top: 9%;
  right: 11%;
}

.floor-zone-pin.z-4 {
  bottom: 13%;
  right: 10%;
}

.vention-metrics-bar {
  width: 100%;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(11, 14, 20, 0.14);
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 36px;
  align-items: start;
  text-align: left;
}

.v-metric-lead {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-secondary);
  line-height: 1.5;
  padding-top: 8px;
}

.v-metric-big {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 5.4vw, 5.2rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--ink-primary);
  font-feature-settings: "tnum" 1;
  margin-bottom: 12px;
}

.v-metric-desc {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.45;
  max-width: 26ch;
}

/* machine page hero: picture beside the facts on wide screens, stacked on phones */
.sku-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5vw;
  align-items: center;
}
.sku-hero-visual {
  background: var(--bg-soft);
  border-radius: 32px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* a grid track never grows past the screen because of a long word or a table inside it */
.config-workspace > *, .account-grid > *, .hero-section > *, .sku-hero-grid > *, .dossier-split-grid > * {
  min-width: 0;
}

.mobile-nav-bar {
  display: none;
}

.mobile-cart-bar {
  display: none;
}

@media (max-width: 1120px) {
  .hero-section, .story-row, .story-row.reverse, .config-workspace, .account-grid, .spec-decoder-box, .dossier-split-grid {
    grid-template-columns: 1fr;
  }
  .sticky-receipt {
    position: static;
    max-width: 100%;
  }
  .friction-bento-grid, .guide-selector-bar, .vention-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .cells-grid, .sku-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .unified-footer-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 95;
    background: rgba(11, 14, 20, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #FFFFFF;
    padding: 12px 4vw calc(12px + env(safe-area-inset-bottom));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    box-shadow: 0 -10px 30px rgba(11, 14, 20, 0.28);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  body {
    padding-bottom: 72px;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 68px;
    padding: 0 4vw;
  }
  .mobile-nav-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 4vw;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(11, 14, 20, 0.07);
    position: sticky;
    top: 68px;
    z-index: 98;
  }
  .mobile-nav-bar::-webkit-scrollbar {
    display: none;
  }
  .mobile-nav-bar .nav-link {
    padding: 6px 13px;
    font-size: 0.78rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .friction-bento-grid, .guide-selector-bar, .cells-grid, .guides-grid, .sku-grid, .shop-bundles-grid, .config-sku-grid, .form-grid, .unified-footer-bottom, .vention-metrics-bar {
    grid-template-columns: 1fr;
  }
  .nav-links, .floor-zone-pin, #headerAccountPill {
    display: none;
  }
  .header-actions .cart-header-btn {
    display: inline-flex !important;
    padding: 8px 13px;
    font-size: 0.72rem;
  }
  .header-actions {
    gap: 6px;
    min-width: 0;
  }
  .brand-mark {
    gap: 8px;
  }
  .brand-badge {
    width: 32px;
    height: 32px;
  }
  .brand-name {
    font-size: 16px;
    white-space: nowrap;
  }
  #globalCurrencySelect {
    padding: 6px 8px !important;
    font-size: 0.68rem !important;
  }
  .header-lang-select {
    padding: 6px 8px !important;
    font-size: 0.68rem !important;
    max-width: 74px;
  }
  .config-page-hero {
    padding: 28px 4vw 22px;
  }
  .config-page-hero .section-title {
    font-size: clamp(1.65rem, 6.2vw, 2.2rem);
  }
  .zero-gate-banner {
    padding: 12px 14px;
    font-size: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .config-workspace {
    padding: 16px 4vw 96px;
    gap: 20px;
  }
  .config-step-block {
    padding: 18px 14px;
    border-radius: 18px;
    margin-bottom: 20px;
  }
  .config-step-title {
    font-size: 1.2rem;
  }
  .catalog-filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    width: 100%;
  }
  .catalog-filter-pills::-webkit-scrollbar {
    display: none;
  }
  .sku-card {
    padding: 18px 16px;
  }
  .spec-decoder-box {
    padding: 24px 20px;
  }
  .decoder-terms-grid {
    grid-template-columns: 1fr;
  }
  .sku-hero-grid {
    grid-template-columns: 1fr;
  }
  .sku-hero-visual {
    padding: 24px;
  }
  .custom-table {
    display: block;
    overflow-x: auto;
  }
}

/* Cart Header Badge & Slide-Over Cart + Config Drawer */
.cart-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cart-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}
.modal-backdrop.cart-drawer-mode {
  justify-content: flex-end;
  padding: 0;
}
.modal-backdrop.cart-drawer-mode .modal-window {
  max-width: 620px;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  border-radius: 28px 0 0 28px;
  padding: 32px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: -24px 0 64px rgba(11, 14, 20, 0.28);
}
.cart-section-box {
  background: var(--bg-soft);
  border: 1px solid rgba(16, 20, 25, 0.08);
  border-radius: 18px;
  padding: 18px 20px;
}
.cart-section-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cart-line-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(16, 20, 25, 0.08);
}
.cart-line-row:last-child {
  border-bottom: none;
}
.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid rgba(16, 20, 25, 0.12);
  border-radius: 999px;
  padding: 2px 6px;
}
.cart-qty-btn {
  border: none;
  background: transparent;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--ink-primary);
}
.cart-qty-btn:hover {
  background: var(--bg-soft);
  color: var(--accent-orange);
}
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.shop-search-input {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(16, 20, 25, 0.14);
  background: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  min-width: 260px;
  flex: 0 1 340px;
}
@media (max-width: 720px) {
  .modal-backdrop.cart-drawer-mode .modal-window {
    border-radius: 0;
    padding: 20px 16px 36px;
  }
  .shop-search-input {
    min-width: 100%;
    flex: 1 1 100%;
  }
}

/* Compact Guide Cards (.guide-hub-card) */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
  padding-top: 16px;
}

.cell-card.guide-hub-card {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(16, 20, 25, 0.07);
  background: var(--bg-soft);
}

.cell-card.guide-hub-card .cell-top-bar {
  margin-bottom: 10px;
  gap: 6px;
}

.cell-card.guide-hub-card .cell-id {
  font-size: 0.65rem;
  padding: 4px 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 175px;
}

.cell-card.guide-hub-card .cell-output-pill {
  font-size: 0.66rem;
  padding: 4px 9px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cell-card.guide-hub-card .cell-Visual {
  height: 124px;
  margin: 6px 0 12px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 10px;
}

.cell-card.guide-hub-card .cell-Visual .machine-float {
  max-height: 104px;
  width: auto;
}

.cell-card.guide-hub-card .cell-name {
  font-size: 1.04rem;
  line-height: 1.32;
  margin-bottom: 7px;
  letter-spacing: -0.015em;
}

.cell-card.guide-hub-card .cell-desc {
  font-size: 0.83rem;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cell-card.guide-hub-card .cell-modules-pills {
  gap: 6px;
  margin-bottom: 12px;
}

.cell-card.guide-hub-card .mod-pill {
  padding: 4px 8px;
  font-size: 0.68rem;
  border-radius: 7px;
}

.cell-card.guide-hub-card .cell-bottom-bar {
  padding-top: 10px;
  border-top: 1px solid rgba(16, 20, 25, 0.08);
  gap: 8px;
}
