/* ==========================================================================
   SOLIDFORM 3D — MAIN STYLESHEET
   Mixpanel-Inspired Editorial Composition × Interactive 3D Manufacturing
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #F3EEF8;
  color: var(--ink-primary);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: transparent !important;
  color: var(--ink-primary);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

:focus-visible {
  outline: 2px solid var(--color-primary-violet);
  outline-offset: 2px;
}

.admin-plum-workspace :focus-visible,
.auth-card :focus-visible,
.account-plum-workspace :focus-visible,
.site-footer :focus-visible {
  outline: 2px solid var(--color-soft-lavender);
  outline-offset: 2px;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.08;
  color: inherit;
}

.font-mono, code, pre, .tech-meta {
  font-family: var(--font-mono);
  font-feature-settings: "zero" 1, "ss01" 1;
}

p {
  max-width: 64ch;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
}

/* ==========================================================================
   PART 3 — SLIM, PALE GLOBAL NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(245, 242, 243, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border-grey);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color var(--duration-normal) var(--ease-smooth),
              border-color var(--duration-normal) var(--ease-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-align: left;
}

.brand-mark-svg {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-deep-plum) 0%, var(--color-dark-aubergine) 100%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(169, 149, 255, 0.35);
  box-shadow: 0 2px 8px rgba(25, 13, 43, 0.14);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--color-primary-text);
  display: block;
  line-height: 1.05;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--color-secondary-text);
  letter-spacing: 0.04em;
  display: block;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-pure-white);
  padding: 5px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-grey);
  box-shadow: var(--shadow-xs);
}

.nav-btn {
  padding: 8px 16px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-secondary-text);
  border-radius: var(--radius-pill);
  transition: color var(--duration-fast) var(--ease-smooth),
              background-color var(--duration-fast) var(--ease-smooth);
  white-space: nowrap;
}

.nav-btn:hover {
  color: var(--color-primary-text);
  background-color: var(--color-warm-porcelain);
}

.nav-btn.active {
  color: var(--color-pure-white);
  background-color: var(--color-deep-plum);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.account-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-grey);
  background-color: var(--color-pure-white);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary-text);
  transition: border-color var(--duration-fast), background-color var(--duration-fast);
}

.account-pill-btn:hover {
  border-color: var(--color-soft-lavender);
  background-color: var(--color-pale-lavender);
}

.account-pill-btn.active {
  border-color: var(--color-primary-violet);
  background-color: var(--color-pale-lavender);
  color: var(--color-deep-plum);
}

.cart-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background-color: var(--color-pure-white);
  color: var(--color-primary-text);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  border: 1px solid var(--color-border-grey);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--duration-fast), transform var(--duration-fast);
}

.cart-trigger-btn:hover {
  border-color: var(--color-primary-violet);
}

.cart-count-badge {
  background-color: var(--color-primary-violet);
  color: var(--color-pure-white);
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
}

.mobile-menu-btn {
  display: none;
  padding: 8px 14px;
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-pill);
  background-color: var(--color-pure-white);
  font-size: var(--text-xs);
  font-weight: 600;
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: var(--space-4);
    right: var(--space-4);
    background-color: var(--color-pure-white);
    border: 1px solid var(--color-border-grey);
    border-radius: var(--radius-lg);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-3);
    box-shadow: var(--shadow-modal);
    z-index: 1000;
  }
  .main-nav.open,
  .main-nav.mobile-open {
    display: flex;
  }
  .main-nav .nav-btn {
    padding: 12px 16px;
    font-size: var(--text-sm);
    text-align: left;
    width: 100%;
    min-height: 44px;
    border-radius: var(--radius-md);
  }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0 var(--space-2);
  }
  .brand-sub {
    display: none;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .account-pill-btn,
  .cart-trigger-btn,
  .mobile-menu-btn {
    padding: 6px 10px;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   BUTTONS & SEMANTIC BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 11px 22px;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: transform var(--duration-fast) var(--ease-smooth),
              background-color var(--duration-fast) var(--ease-smooth),
              border-color var(--duration-fast) var(--ease-smooth),
              box-shadow var(--duration-fast) var(--ease-smooth);
  white-space: nowrap;
  user-select: none;
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.btn-primary {
  background-color: var(--color-primary-violet);
  color: var(--color-pure-white);
  box-shadow: 0 4px 14px rgba(118, 82, 246, 0.32);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--accent-violet-hover);
  box-shadow: 0 6px 20px rgba(118, 82, 246, 0.42);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-pure-white);
  color: var(--color-primary-text);
  border-color: var(--color-border-grey);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover:not(:disabled) {
  border-color: var(--color-primary-violet);
  color: var(--color-primary-violet);
  background-color: var(--surface-lavender-tint);
}

.btn-plum-outline {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-pure-white);
  border-color: rgba(233, 228, 255, 0.28);
}

.btn-plum-outline:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-soft-lavender);
}

.btn-dark {
  background-color: var(--color-deep-plum);
  color: var(--color-pure-white);
  border-color: var(--surface-plum-border);
}

.btn-dark:hover:not(:disabled) {
  background-color: var(--color-dark-aubergine);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-primary-text);
  border-color: var(--color-border-grey);
}

.btn-ghost:hover:not(:disabled) {
  border-color: var(--color-primary-violet);
  background-color: var(--color-pale-lavender);
}

.btn-danger {
  background-color: var(--status-error-bg);
  color: var(--status-error-ink);
  border-color: var(--status-error-border);
}

.btn-sm {
  padding: 7px 14px;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 14px 28px;
  font-size: var(--text-base);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-mint {
  background-color: var(--status-success-bg);
  color: var(--status-success-ink);
  border-color: var(--status-success-border);
}

.badge-violet {
  background-color: var(--color-pale-lavender);
  color: #391E8A;
  border-color: var(--color-soft-lavender);
}

.badge-plum {
  background-color: var(--color-deep-plum);
  color: var(--color-pale-lavender);
  border-color: var(--surface-plum-border);
}

.badge-warning {
  background-color: var(--status-warning-bg);
  color: var(--status-warning-ink);
  border-color: var(--status-warning-border);
}

.badge-error {
  background-color: var(--status-error-bg);
  color: var(--status-error-ink);
  border-color: var(--status-error-border);
}

.badge-neutral {
  background-color: var(--color-warm-porcelain);
  color: var(--color-secondary-text);
  border-color: var(--color-border-grey);
}

/* ==========================================================================
   VIEW TRANSITIONS & SECTION STRUCTURES
   ========================================================================== */
.view-section {
  display: none;
  animation: fadeSlideUp var(--duration-normal) var(--ease-smooth);
}

.view-section.active {
  display: block;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-block {
  padding: var(--space-20) 0;
}

.section-block.surface-white {
  background-color: var(--color-pure-white);
  border-top: 1px solid var(--color-border-grey);
  border-bottom: 1px solid var(--color-border-grey);
}

.section-block.surface-plum {
  background: var(--gradient-plum-hero);
  color: var(--color-pure-white);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-primary-violet);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-3);
}

.surface-plum .eyebrow {
  color: var(--color-soft-lavender);
}

.eyebrow-pill {
  background-color: rgba(118, 82, 246, 0.12);
  border: 1px solid rgba(169, 149, 255, 0.32);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.section-title {
  font-size: var(--text-3xl);
  max-width: 24ch;
}

.section-subtitle {
  color: var(--color-secondary-text);
  font-size: var(--text-base);
  max-width: 58ch;
  margin-top: var(--space-3);
}

.surface-plum .section-subtitle {
  color: var(--ink-on-plum-secondary);
}

/* ==========================================================================
   PART 4.1 — DEEP-PLUM HERO SECTION (MIXPANEL-INSPIRED COMPOSITION)
   ========================================================================== */
.hero-plum-section {
  background: var(--gradient-plum-hero);
  color: var(--color-pure-white);
  padding: var(--space-16) 0 var(--space-20);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-headline {
  font-size: var(--text-display);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-6);
  color: var(--color-pure-white);
}

.hero-headline .lavender-text {
  background: linear-gradient(90deg, #FFFFFF 0%, #A995FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: var(--text-lg);
  color: var(--ink-on-plum-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 50ch;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(233, 228, 255, 0.14);
}

.hero-metric-item .m-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--color-soft-lavender);
  display: block;
}

.hero-metric-item .m-val {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-pure-white);
  margin-top: 2px;
  display: block;
}

/* Layered Card Composition in Hero */
.hero-showcase-card {
  background-color: var(--color-dark-aubergine);
  border: 1px solid rgba(169, 149, 255, 0.26);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 4, 20, 0.45);
}

.hero-card-topbar {
  padding: 12px 18px;
  background-color: rgba(25, 13, 43, 0.7);
  border-bottom: 1px solid rgba(169, 149, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-on-plum-secondary);
}

.hero-media-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  background-color: #120920;
  overflow: hidden;
}

.hero-media-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-annotation-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-floating-pill {
  position: absolute;
  background-color: rgba(25, 13, 43, 0.9);
  color: var(--color-pure-white);
  border: 1px solid rgba(169, 149, 255, 0.4);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  border-radius: var(--radius-md);
  line-height: 1.4;
}

.hero-floating-pill.top-left {
  top: 14px;
  left: 14px;
}

.hero-floating-pill.bottom-right {
  bottom: 14px;
  right: 14px;
  border-color: var(--color-success-mint);
}

.hero-card-footer {
  padding: 14px 18px;
  background-color: var(--color-deep-plum);
  border-top: 1px solid rgba(169, 149, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.layer-scrubber-inline {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-on-plum-secondary);
  flex: 1;
}

.layer-scrubber-inline input[type="range"] {
  flex: 1;
  accent-color: var(--color-primary-violet);
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-metrics-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PART 4.2 — CAPABILITY OVERVIEW (01 CUSTOM PRINTING, 02 SHOP, 03 PROJECTS)
   ========================================================================== */
.pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.pathway-card {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-normal) var(--ease-smooth),
              border-color var(--duration-normal) var(--ease-smooth),
              box-shadow var(--duration-normal) var(--ease-smooth);
}

.pathway-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-soft-lavender);
  box-shadow: var(--shadow-card-hover);
}

.pathway-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary-violet);
  background-color: var(--color-pale-lavender);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: var(--space-4);
}

.pathway-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.pathway-desc {
  color: var(--color-secondary-text);
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
}

/* ==========================================================================
   PART 4.3 — MANUFACTURING SHOWCASE & PART 4.5 HOW IT WORKS
   ========================================================================== */
.showcase-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: stretch;
}

.showcase-panel {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-panel.dark-plum {
  background-color: var(--color-deep-plum);
  color: var(--color-pure-white);
  border-color: var(--surface-plum-border);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.process-step-card {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  position: relative;
  transition: border-color var(--duration-fast);
}

.process-step-card:hover {
  border-color: var(--color-primary-violet);
}

.step-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary-violet);
  margin-bottom: var(--space-2);
  display: block;
}

.step-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.step-body {
  font-size: var(--text-sm);
  color: var(--color-secondary-text);
  margin-bottom: var(--space-4);
}

.step-tech-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-secondary-text);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--color-border-grey);
}

@media (max-width: 980px) {
  .pathways-grid,
  .showcase-split,
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PART 5 — CUSTOM 3D PRINTING & INSTANT ESTIMATOR WORKSPACE
   ========================================================================== */
.estimator-workspace {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: var(--space-6);
  align-items: start;
}

.state-pipeline-bar {
  background-color: var(--color-deep-plum);
  color: var(--color-pure-white);
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  overflow-x: auto;
  border: 1px solid var(--surface-plum-border);
}

.pipeline-steps {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: nowrap;
}

.pipeline-node {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--color-dark-aubergine);
  color: var(--ink-on-plum-secondary);
  border: 1px solid var(--surface-plum-border);
  white-space: nowrap;
}

.pipeline-node.active {
  background-color: var(--color-primary-violet);
  color: var(--color-pure-white);
  border-color: var(--color-soft-lavender);
  font-weight: 700;
}

.pipeline-node.completed {
  background-color: rgba(181, 232, 213, 0.16);
  color: var(--color-success-mint);
  border-color: var(--color-success-mint);
}

.pipeline-node.error {
  background-color: var(--status-error-bg);
  color: var(--status-error-ink);
  border-color: var(--status-error-border);
  font-weight: 700;
}

.pipeline-arrow {
  color: var(--color-soft-lavender);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.viewport-panel {
  background-color: var(--color-deep-plum);
  color: var(--color-pure-white);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.viewport-toolbar {
  padding: 12px 18px;
  background-color: var(--color-dark-aubergine);
  border-bottom: 1px solid var(--surface-plum-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.viewport-controls-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.vp-btn {
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background-color: var(--color-deep-plum);
  color: var(--color-pale-lavender);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-pill);
  transition: all var(--duration-fast);
}

.vp-btn:hover {
  border-color: var(--color-soft-lavender);
}

.vp-btn.active {
  background-color: var(--color-primary-violet);
  color: var(--color-pure-white);
  border-color: var(--color-primary-violet);
  font-weight: 600;
}

.canvas-stage-wrapper {
  position: relative;
  width: 100%;
  height: 460px;
  background: radial-gradient(circle at 50% 45%, #2B1846 0%, #150A24 100%);
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.canvas-stage-wrapper:active {
  cursor: grabbing;
}

#estimator-canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

.vp-hud-top-left {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(25, 13, 43, 0.88);
  border: 1px solid var(--surface-plum-border);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  pointer-events: none;
  line-height: 1.5;
}

.vp-hud-bottom-bar {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  pointer-events: none;
  flex-wrap: wrap;
}

.vp-slice-control {
  pointer-events: auto;
  background-color: rgba(25, 13, 43, 0.92);
  border: 1px solid var(--surface-plum-border);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.vp-slice-control input[type="range"] {
  width: 130px;
  accent-color: var(--color-primary-violet);
}

.geometry-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background-color: var(--color-dark-aubergine);
  border-top: 1px solid var(--surface-plum-border);
}

.geo-cell {
  padding: 12px 16px;
  border-right: 1px solid var(--surface-plum-border);
}

.geo-cell:last-child {
  border-right: none;
}

.geo-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-on-plum-secondary);
  text-transform: uppercase;
  display: block;
}

.geo-val {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-pure-white);
  margin-top: 3px;
  display: block;
}

.upload-dropzone-panel {
  background-color: var(--color-pure-white);
  border: 1.5px dashed var(--color-soft-lavender);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-top: var(--space-5);
  transition: border-color var(--duration-fast), background-color var(--duration-fast);
}

.upload-dropzone-panel.dragover {
  border-color: var(--color-primary-violet);
  background-color: var(--color-pale-lavender);
}

.preset-models-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

.estimator-config-panel {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.config-group {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border-grey);
}

.config-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.config-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-primary-text);
}

.config-hint {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-secondary-text);
}

.option-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

.option-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}

.option-card-btn {
  padding: 10px 12px;
  border: 1px solid var(--color-border-grey);
  background-color: var(--color-warm-porcelain);
  border-radius: var(--radius-md);
  text-align: left;
  transition: all var(--duration-fast);
}

.option-card-btn:hover:not(:disabled) {
  border-color: var(--color-soft-lavender);
  background-color: var(--surface-lavender-tint);
}

.option-card-btn.selected {
  border-color: var(--color-primary-violet);
  background-color: var(--color-deep-plum);
  color: var(--color-pure-white);
  box-shadow: 0 0 0 2px rgba(118, 82, 246, 0.25);
}

.option-card-btn .opt-title {
  font-weight: 600;
  font-size: var(--text-sm);
  display: block;
}

.option-card-btn .opt-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  opacity: 0.82;
  display: block;
  margin-top: 2px;
}

.color-swatch-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.swatch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--color-border-grey);
  background-color: var(--color-pure-white);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 500;
}

.swatch-btn.selected {
  border-color: var(--color-primary-violet);
  background-color: var(--color-pale-lavender);
  color: var(--color-deep-plum);
  font-weight: 700;
}

.swatch-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(33, 26, 43, 0.28);
  display: inline-block;
}

.quote-summary-box {
  background: var(--gradient-plum-cta);
  color: var(--color-pure-white);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  margin-top: var(--space-4);
  border: 1px solid var(--surface-plum-border);
}

.quote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  padding: 4px 0;
  color: var(--ink-on-plum-secondary);
}

.quote-row strong {
  color: var(--color-pure-white);
}

.quote-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: var(--space-3);
  margin-top: var(--space-3);
  border-top: 1px solid rgba(233, 228, 255, 0.18);
}

.quote-price-large {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-success-mint);
}

.diagnostic-alert {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid;
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}

.diagnostic-alert.error {
  background-color: var(--status-error-bg);
  border-color: var(--status-error-border);
  color: var(--status-error-ink);
}

.diagnostic-alert.warning {
  background-color: var(--status-warning-bg);
  border-color: var(--status-warning-border);
  color: var(--status-warning-ink);
}

.diagnostic-alert.mint {
  background-color: var(--status-success-surface);
  border-color: var(--status-success-border);
  color: var(--status-success-ink);
}

@media (max-width: 1024px) {
  .estimator-workspace {
    grid-template-columns: 1fr;
  }
  .estimator-config-panel {
    position: static;
  }
  .geometry-telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   PART 6 — STOREFRONT & PRODUCT CARDS
   ========================================================================== */
.store-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  padding: var(--space-4) var(--space-5);
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.filter-pill {
  padding: 7px 15px;
  font-size: var(--text-xs);
  font-weight: 600;
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-pill);
  background-color: var(--color-warm-porcelain);
  color: var(--color-secondary-text);
  transition: all var(--duration-fast);
}

.filter-pill:hover {
  border-color: var(--color-soft-lavender);
  color: var(--color-primary-text);
}

.filter-pill.active {
  background-color: var(--color-primary-violet);
  color: var(--color-pure-white);
  border-color: var(--color-primary-violet);
}

.search-sort-group {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.input-control, .select-control {
  padding: 9px 14px;
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-primary-text);
}

.input-control:focus, .select-control:focus {
  border-color: var(--color-primary-violet);
  outline: none;
  box-shadow: 0 0 0 3px rgba(118, 82, 246, 0.14);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.product-card {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-normal) var(--ease-smooth),
              border-color var(--duration-normal) var(--ease-smooth),
              box-shadow var(--duration-normal) var(--ease-smooth);
}

.product-card:hover {
  border-color: var(--color-soft-lavender);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.product-card-media,
.product-media-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  background: linear-gradient(135deg, #FAF8FB 0%, #EDE7F6 100%);
  border-bottom: 1px solid var(--color-border-grey);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-media img,
.product-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-3);
  display: block;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.product-card:hover .product-card-media img,
.product-card:hover .product-media-wrap img {
  transform: scale(1.05);
}

.product-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.product-sku-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(25, 13, 43, 0.86);
  color: var(--color-pure-white);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.product-3d-trigger {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-deep-plum);
  border: 1px solid var(--color-soft-lavender);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
}

.product-3d-trigger:hover {
  background-color: var(--color-primary-violet);
  color: var(--color-pure-white);
  border-color: var(--color-primary-violet);
}

.product-card-body,
.product-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta-row,
.product-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-secondary-text);
  margin-bottom: var(--space-2);
}

.product-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary-text);
  margin-bottom: var(--space-1);
  line-height: 1.35;
  cursor: pointer;
}

.product-title:hover {
  color: var(--color-primary-violet);
}

.product-desc,
.product-tagline {
  font-size: var(--text-xs);
  color: var(--color-secondary-text);
  line-height: 1.45;
  margin-bottom: var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.variant-swatches,
.product-variants-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.variant-dot,
.variant-dot-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--color-border-grey);
  cursor: pointer;
  position: relative;
  transition: transform var(--duration-fast), border-color var(--duration-fast);
}

.variant-dot.selected,
.variant-dot-btn.active {
  border-color: var(--color-deep-plum);
  transform: scale(1.15);
  box-shadow: 0 0 0 2px var(--color-primary-violet);
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-grey);
}

.product-price {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-deep-plum);
}

.bundles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.bundle-card {
  background: var(--gradient-plum-cta);
  color: var(--color-pure-white);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
  box-shadow: var(--shadow-card);
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bundles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PART 7 — PORTFOLIO & VERIFIED REVIEWS
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  align-items: stretch;
}

.portfolio-card,
.case-card {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-normal) var(--ease-smooth),
              border-color var(--duration-normal) var(--ease-smooth),
              box-shadow var(--duration-normal) var(--ease-smooth);
}

.portfolio-card:hover,
.case-card:hover {
  border-color: var(--color-soft-lavender);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.portfolio-media,
.case-media {
  position: relative;
  width: 100%;
  height: 250px;
  max-height: 250px;
  aspect-ratio: 16 / 10;
  background-color: var(--color-deep-plum);
  border-bottom: 1px solid var(--color-border-grey);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-media img,
.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.portfolio-card:hover .portfolio-media img,
.case-card:hover .case-media img {
  transform: scale(1.03);
}

.portfolio-body,
.case-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-spec-grid,
.case-spec-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  background-color: var(--color-warm-porcelain);
  padding: var(--space-4);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-md);
  margin: var(--space-4) 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

.spec-kv {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-kv .k {
  font-size: 0.65rem;
  color: var(--color-secondary-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-kv .v {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary-text);
}

.cap-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  border-top: 1px solid var(--color-border-grey);
}

.cap-spec-table tr {
  border-bottom: 1px solid var(--color-border-grey);
}

.cap-spec-table td {
  padding: 9px 0;
}

.cap-spec-table td:first-child {
  color: var(--color-secondary-text);
}

.cap-spec-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--color-primary-text);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
}

.trust-panel {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-grey);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

@media (max-width: 900px) {
  .portfolio-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PART 9 — DEEP-PLUM ADMIN COMMAND CENTER
   ========================================================================== */
.admin-plum-workspace {
  background-color: var(--color-deep-plum);
  color: var(--color-pure-white);
  min-height: calc(100vh - var(--header-height));
  padding: var(--space-12) 0 var(--space-20);
}

.admin-rbac-bar {
  background-color: var(--color-dark-aubergine);
  color: var(--color-pure-white);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  border: 1px solid var(--surface-plum-border);
  border-left: 5px solid var(--color-primary-violet);
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.kpi-card {
  background-color: var(--color-dark-aubergine);
  border: 1px solid var(--surface-plum-border);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
}

.kpi-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--ink-on-plum-secondary);
}

.kpi-val {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-pure-white);
  margin-top: 6px;
}

.printer-workcell-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.printer-card {
  background-color: var(--color-dark-aubergine);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.admin-table-wrap {
  background-color: var(--color-dark-aubergine);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin-bottom: var(--space-8);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  text-align: left;
  color: var(--color-pure-white);
}

.admin-table th {
  background-color: rgba(25, 13, 43, 0.75);
  color: var(--color-soft-lavender);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  padding: 12px 14px;
  white-space: nowrap;
  border-bottom: 1px solid var(--surface-plum-border);
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--surface-plum-border);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background-color: rgba(118, 82, 246, 0.08);
}

.admin-plum-workspace .input-control,
.admin-plum-workspace .select-control {
  background-color: var(--color-deep-plum);
  color: var(--color-pure-white);
  border-color: var(--surface-plum-border);
}

.admin-plum-workspace .trust-panel {
  background-color: var(--color-dark-aubergine);
  color: var(--color-pure-white);
  border-color: var(--surface-plum-border);
}

.stock-meter {
  width: 110px;
  height: 7px;
  background-color: var(--color-deep-plum);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.stock-meter-fill {
  height: 100%;
  background-color: var(--color-success-mint);
}

.stock-meter-fill.low {
  background-color: #F59E0B;
}

@media (max-width: 980px) {
  .admin-kpi-grid,
  .printer-workcell-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CART DRAWER, MODALS & FOOTER
   ========================================================================== */
.backdrop-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(25, 13, 43, 0.65);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

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

.modal-dialog {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-modal);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  animation: fadeSlideUp var(--duration-normal) var(--ease-smooth);
}

.modal-header {
  background-color: var(--color-deep-plum);
  color: var(--color-pure-white);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-body {
  padding: var(--space-6);
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

@media (max-width: 680px) {
  .product-modal-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 470px;
  background-color: var(--color-warm-porcelain);
  border-left: 1px solid var(--color-border-grey);
  z-index: 250;
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-modal);
}

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

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-5);
}

.cart-item-card {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-grey);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-xs);
}

.cart-footer {
  padding: var(--space-5);
  background-color: var(--color-pure-white);
  border-top: 1px solid var(--color-border-grey);
}

.toast-stack {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 390px;
}

.toast-msg {
  background-color: var(--color-deep-plum);
  color: var(--color-pure-white);
  border-left: 4px solid var(--color-success-mint);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-size: var(--text-sm);
  animation: fadeSlideUp var(--duration-fast) var(--ease-smooth);
}

.toast-msg.error {
  border-left-color: #EF4444;
}

.toast-msg.warning {
  border-left-color: var(--color-primary-violet);
}

/* Deep-Plum Final CTA & Footer */
.plum-cta-banner {
  background: var(--gradient-plum-cta);
  color: var(--color-pure-white);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-12);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-8);
  align-items: center;
  border: 1px solid var(--surface-plum-border);
  box-shadow: var(--shadow-card);
}

.site-footer {
  margin-top: auto;
  background-color: var(--color-deep-plum);
  color: var(--color-pure-white);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--surface-plum-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-8);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--surface-plum-border);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  color: var(--color-soft-lavender);
  margin-bottom: var(--space-3);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--ink-on-plum-secondary);
}

.footer-links button:hover,
.footer-links a:hover {
  color: var(--color-pure-white);
}

@media (max-width: 900px) {
  .plum-cta-banner {
    grid-template-columns: 1fr;
    padding: var(--space-10) var(--space-6);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   PHASE 2: CUSTOMER AUTHENTICATION, DACHSHUND STRENGTH METER & ACCOUNT STYLES
   ============================================================================ */

.account-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-grey);
  color: var(--color-primary-text);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.account-nav-btn:hover {
  background-color: var(--color-pale-lavender);
  border-color: var(--color-primary-violet);
  color: var(--color-deep-plum);
  transform: translateY(-1px);
}

.account-nav-btn.authenticated {
  border-color: var(--color-primary-violet);
  background-color: var(--color-pale-lavender);
  color: var(--color-deep-plum);
  font-weight: 700;
}

/* Auth View Layout */
.auth-wrapper {
  max-width: 520px;
  margin: var(--space-8) auto var(--space-16);
  padding: 0 var(--space-4);
}

.auth-card {
  background-color: var(--color-dark-aubergine);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-xl, 20px);
  padding: var(--space-8);
  box-shadow: 0 20px 40px rgba(10, 4, 20, 0.4);
  position: relative;
  overflow: hidden;
}

.auth-header-lockup {
  text-align: center;
  margin-bottom: var(--space-6);
}

.auth-header-lockup h1 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-pure-white);
  margin-bottom: var(--space-1);
}

.auth-header-lockup p {
  color: var(--color-soft-lavender);
  font-size: var(--text-sm);
}

.auth-tab-bar {
  display: flex;
  background-color: var(--color-deep-plum);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: var(--space-6);
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: #D8CCE8; /* High contrast > 10:1 against deep plum #20152D */
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-tab-btn.active {
  background-color: var(--color-primary-violet);
  color: var(--color-pure-white);
  box-shadow: 0 4px 12px rgba(118, 82, 246, 0.35);
}

.auth-tab-btn:hover:not(.active) {
  color: var(--color-pure-white);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.auth-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-form label {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--color-soft-lavender);
  font-weight: 600;
}

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrap input {
  width: 100%;
  padding-right: 44px !important;
}

.password-toggle-btn {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: var(--color-soft-lavender);
  padding: 6px 8px;
  cursor: pointer;
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.password-toggle-btn:hover {
  color: var(--color-pure-white);
}

/* ============================================================================
   DACHSHUND PASSWORD STRENGTH COMPONENT
   Inspired by interactive stepped password-strength feedback
   ============================================================================ */

.dachshund-card {
  background-color: var(--color-deep-plum);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-top: 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dachshund-card.lvl-1 {
  border-color: rgba(244, 63, 94, 0.4);
}

.dachshund-card.lvl-2 {
  border-color: rgba(245, 158, 11, 0.4);
}

.dachshund-card.lvl-3 {
  border-color: rgba(169, 149, 255, 0.5);
}

.dachshund-card.lvl-4 {
  border-color: var(--color-mint);
  box-shadow: 0 0 16px rgba(181, 232, 213, 0.15);
}

.dachshund-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: var(--space-3);
  overflow: hidden;
}

.dachshund-svg {
  width: 220px;
  max-width: 100%;
  height: 60px;
  display: block;
}

@keyframes tailWag {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(20deg); }
}

.dachshund-svg.lvl-4 .dachshund-tail {
  transform-origin: 32px 36px;
  animation: tailWag 0.4s ease-in-out infinite;
}

.dachshund-tag-wrap {
  margin-top: 4px;
}

.dachshund-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background-color: rgba(169, 149, 255, 0.15);
  color: var(--color-soft-lavender);
  transition: all 0.3s ease;
}

.dachshund-tag.lvl-1 {
  background-color: rgba(244, 63, 94, 0.2);
  color: #fb7185;
}

.dachshund-tag.lvl-2 {
  background-color: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}

.dachshund-tag.lvl-3 {
  background-color: rgba(118, 82, 246, 0.25);
  color: #c4b5fd;
}

.dachshund-tag.lvl-4 {
  background-color: rgba(181, 232, 213, 0.25);
  color: var(--color-mint);
}

/* 4-Step Segmented Strength Bar */
.strength-meter-bars {
  display: flex;
  gap: 6px;
  margin-bottom: var(--space-3);
}

.strength-bar-segment {
  flex: 1;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

.strength-bar-segment.active.lvl-1 {
  background-color: #f43f5e;
}

.strength-bar-segment.active.lvl-2 {
  background-color: #f59e0b;
}

.strength-bar-segment.active.lvl-3 {
  background-color: var(--color-primary-violet);
}

.strength-bar-segment.active.lvl-4 {
  background-color: var(--color-mint);
}

.password-tip-box {
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: var(--text-xs);
  color: var(--color-soft-lavender);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.password-rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
}

.rule-item {
  color: rgba(233, 228, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.rule-item.valid {
  color: var(--color-mint);
}

.rule-icon {
  font-weight: 700;
  display: inline-block;
  width: 12px;
}

/* ============================================================================
   CUSTOMER ACCOUNT DASHBOARD LAYOUT
   ============================================================================ */

.account-page-wrap {
  padding: var(--space-8) 0 var(--space-16);
}

.account-grid-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-8);
  align-items: start;
}

.account-sidebar-card {
  background-color: var(--color-dark-aubergine);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: sticky;
  top: 90px;
}

.account-user-brief {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--surface-plum-border);
}

.account-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-violet), #9333ea);
  color: var(--color-pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  box-shadow: 0 4px 10px rgba(118, 82, 246, 0.3);
}

.account-user-meta h3 {
  font-size: var(--text-sm);
  color: var(--color-pure-white);
  font-weight: 600;
}

.account-user-meta span {
  font-size: var(--text-xs);
  color: var(--color-soft-lavender);
  display: block;
}

.account-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-nav-item-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: var(--color-soft-lavender);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.account-nav-item-btn:hover {
  background-color: rgba(118, 82, 246, 0.15);
  color: var(--color-pure-white);
}

.account-nav-item-btn.active {
  background-color: var(--color-primary-violet);
  color: var(--color-pure-white);
  font-weight: 600;
}

.account-content-pane {
  background-color: var(--color-dark-aubergine);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  min-height: 480px;
}

.pane-heading-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--surface-plum-border);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.pane-heading-wrap h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-pure-white);
}

.pane-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.pane-stat-card {
  background-color: var(--color-deep-plum);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.pane-stat-label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--color-soft-lavender);
  text-transform: uppercase;
  display: block;
}

.pane-stat-val {
  font-size: var(--text-2xl);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-pure-white);
  margin-top: 4px;
  display: block;
}

/* Empty State Cards */
.empty-state-box {
  text-align: center;
  padding: var(--space-12) var(--space-4);
  background-color: rgba(25, 13, 43, 0.4);
  border: 1px dashed var(--surface-plum-border);
  border-radius: var(--radius-lg);
}

.empty-state-icon {
  font-size: 2.4rem;
  margin-bottom: var(--space-3);
  display: block;
}

.empty-state-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-pure-white);
  margin-bottom: var(--space-1);
}

.empty-state-desc {
  font-size: var(--text-sm);
  color: var(--color-soft-lavender);
  max-width: 380px;
  margin: 0 auto var(--space-4);
}

/* Order Item Cards in Customer View */
.customer-order-card {
  background-color: var(--color-deep-plum);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  transition: border-color var(--transition-fast);
}

.customer-order-card:hover {
  border-color: var(--color-primary-violet);
}

.customer-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.order-badges-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

/* Wishlist Grid */
.wishlist-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-4);
}

.wishlist-card {
  background-color: var(--color-deep-plum);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Address Cards */
.address-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
}

.address-box {
  background-color: var(--color-deep-plum);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  position: relative;
}

.address-box.is-default {
  border-color: var(--color-mint);
}

/* Store Wishlist Bookmark Button */
.wishlist-toggle-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(36, 20, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-soft-lavender);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all var(--transition-fast);
}

.wishlist-toggle-btn:hover,
.wishlist-toggle-btn.saved {
  background-color: var(--color-primary-violet);
  color: var(--color-pure-white);
  border-color: var(--color-primary-violet);
  transform: scale(1.1);
}

/* Responsive Account Layout */
@media (max-width: 900px) {
  .account-grid-layout {
    grid-template-columns: 1fr;
    min-width: 0;
  }
  .account-sidebar-card {
    position: static;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .account-content-pane {
    min-width: 0;
    max-width: 100%;
  }
  .account-nav-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .account-nav-item-btn {
    white-space: nowrap;
  }
  .pane-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pane-stats-grid {
    grid-template-columns: 1fr;
  }
  .auth-card {
    padding: var(--space-5);
  }
}

/* ----------------------------------------------------------------------------
   ACCESSIBILITY: PREFERS REDUCED MOTION
   ---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .dachshund-svg.lvl-4 .dachshund-tail {
    animation: none !important;
  }
}


/* ============================================================================
   THE WAITING WORKSHOP — MINIATURE DIORAMA & MOTION SYSTEM
   ============================================================================ */
.waiting-workshop-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid rgba(183, 163, 255, 0.22);
  background-color: var(--color-deep-plum);
  box-shadow: 0 24px 48px rgba(15, 8, 25, 0.45);
}

.workshop-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-pure-white);
  letter-spacing: 0.04em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-success-mint);
  box-shadow: 0 0 8px var(--color-success-mint);
  animation: pulseGlow 2s infinite ease-in-out;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 12px var(--color-success-mint); }
}

.workshop-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  background-color: #170B26;
  overflow: hidden;
}

.waiting-workshop-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Printhead Carriage Travel across X-Axis */
.anim-printhead {
  animation: printheadTravel 4.5s ease-in-out infinite alternate;
}

@keyframes printheadTravel {
  0% { transform: translate(250px, 235px); }
  50% { transform: translate(490px, 235px); }
  100% { transform: translate(310px, 235px); }
}

/* Hotend Thermal Glow Pulse */
.anim-hotend-glow {
  animation: hotendPulse 1.4s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes hotendPulse {
  0% { filter: drop-shadow(0 0 2px #FF5533); opacity: 0.85; }
  100% { filter: drop-shadow(0 0 7px #FFA73B); opacity: 1; }
}

/* Spool Rotation */
.anim-spool-spin {
  animation: spoolSpin 16s linear infinite;
  transform-origin: 635px 75px;
}

@keyframes spoolSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Character 1: The Inspector Lean & Bob */
.anim-inspector-idle {
  animation: inspectorBob 3.6s ease-in-out infinite alternate;
  transform-origin: 100px 390px;
}

@keyframes inspectorBob {
  0% { transform: translate(100px, 345px) rotate(0deg); }
  50% { transform: translate(100px, 343px) rotate(1.5deg); }
  100% { transform: translate(100px, 345px) rotate(-0.5deg); }
}

/* Character 2: The Watcher Head Tracking */
.anim-watcher-head {
  animation: watcherPan 4.5s ease-in-out infinite alternate;
  transform-origin: 0px -18px;
}

@keyframes watcherPan {
  0% { transform: rotate(-10deg); }
  50% { transform: rotate(12deg); }
  100% { transform: rotate(-4deg); }
}

/* Character 3: The Scribe Writing Log */
.anim-scribe-pencil {
  animation: scribePencil 1.8s ease-in-out infinite;
  transform-origin: -12px -14px;
}

@keyframes scribePencil {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(2px, 1px); }
  50% { transform: translate(-1px, 2px); }
  75% { transform: translate(1px, -1px); }
}

/* Character 4: Celebrator Waiting vs Cheering */
.anim-celebrator {
  animation: celebratorWait 2.4s ease-in-out infinite;
  transform-origin: 0px 8px;
}

.celebrate-sparks {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes celebratorWait {
  0%, 100% { transform: translate(605px, 388px); }
  50% { transform: translate(605px, 386px); }
}

.waiting-workshop-card.celebrate-active .anim-celebrator {
  animation: celebratorCheer 0.6s cubic-bezier(0.17, 0.67, 0.3, 1.33) infinite alternate;
}

.waiting-workshop-card.celebrate-active .celebrate-sparks {
  opacity: 1;
  animation: sparksBurst 0.8s ease-in-out infinite alternate;
}

@keyframes celebratorCheer {
  0% { transform: translate(605px, 388px) scale(1); }
  100% { transform: translate(605px, 372px) scale(1.08); }
}

@keyframes sparksBurst {
  0% { transform: scale(0.8); opacity: 0.4; }
  100% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 6px #B7A3FF); }
}

/* ============================================================================
   EDITORIAL SYSTEM — "MADE YOU THINK" MANUFACTURING SCIENCE
   ============================================================================ */
.editorial-science-section {
  background-color: var(--color-pure-white);
  border-top: 1px solid var(--color-border-grey);
  border-bottom: 1px solid var(--color-border-grey);
}

.editorial-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-warm-porcelain);
  border: 1px solid var(--color-border-grey);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-deep-plum);
}

.editorial-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.editorial-fact-card {
  background-color: var(--color-warm-porcelain);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--duration-fast) var(--ease-smooth),
              box-shadow var(--duration-fast) var(--ease-smooth),
              border-color var(--duration-fast) var(--ease-smooth);
}

.editorial-fact-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-soft-lavender);
  box-shadow: 0 12px 28px rgba(32, 21, 45, 0.08);
}

.editorial-fact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
  gap: var(--space-2);
}

.editorial-fact-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary-violet);
  letter-spacing: 0.06em;
}

.editorial-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background-color: var(--color-pale-lavender);
  color: var(--color-deep-plum);
  border: 1px solid rgba(112, 72, 245, 0.2);
}

.editorial-fact-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary-text);
  margin-bottom: var(--space-3);
  line-height: 1.25;
}

.editorial-fact-body {
  font-size: var(--text-sm);
  color: var(--color-secondary-text);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.editorial-stat-box {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-grey);
  border-left: 4px solid var(--color-primary-violet);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-highlight {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-deep-plum);
  letter-spacing: 0.03em;
}

.stat-sub {
  font-size: 0.72rem;
  color: var(--color-secondary-text);
  line-height: 1.35;
}

/* Manufacturing Note (Used in Estimator) */
.manufacturing-note {
  background-color: var(--color-warm-porcelain);
  border: 1px solid var(--color-soft-lavender);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mfg-note-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary-violet);
  letter-spacing: 0.04em;
}

.mfg-note-text {
  font-size: var(--text-xs);
  color: var(--color-primary-text);
  line-height: 1.6;
}

/* Product Insight (Used in Store) */
.product-insight-banner {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-grey);
  border-left: 4px solid var(--color-primary-violet);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  box-shadow: var(--shadow-xs);
}

.insight-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-primary-violet);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.insight-content h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary-text);
  margin-bottom: 4px;
}

.insight-content p {
  font-size: var(--text-xs);
  color: var(--color-secondary-text);
  line-height: 1.55;
}

/* Technical Callout (Used in Portfolio) */
.technical-callout {
  background-color: var(--color-dark-aubergine);
  border: 1px solid var(--surface-plum-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-6);
  color: var(--color-pure-white);
  box-shadow: 0 16px 36px rgba(18, 10, 28, 0.35);
}

.callout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(183, 163, 255, 0.15);
}

.callout-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.callout-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-soft-lavender);
}

.callout-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-pale-lavender);
  letter-spacing: 0.05em;
}

.callout-spec-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-soft-lavender);
  background: rgba(112, 72, 245, 0.25);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(183, 163, 255, 0.25);
}

.callout-body {
  font-size: var(--text-xs);
  color: #D8CCE8;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .editorial-facts-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================================
   DAILY EDITORIAL POSTER SYSTEM — FEATURED HOMEPAGE POSTER
   ============================================================================ */
.section-editorial-poster {
  background-color: var(--color-warm-porcelain);
  padding: var(--space-12) 0;
  position: relative;
}

.editorial-poster-frame {
  position: relative;
  background: radial-gradient(130% 120% at 50% 15%, #25163C 0%, #150B24 100%);
  border: 1px solid rgba(183, 163, 255, 0.25);
  border-radius: var(--radius-2xl);
  padding: var(--space-8) var(--space-10);
  box-shadow: 0 28px 64px rgba(13, 6, 22, 0.48), 0 2px 8px rgba(112, 72, 245, 0.12);
  color: var(--color-pure-white);
  overflow: hidden;
}

/* Drafting Corner Cropmarks */
.poster-cropmark {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-soft-lavender);
  opacity: 0.65;
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

.poster-cropmark.top-left { top: 12px; left: 16px; }
.poster-cropmark.top-right { top: 12px; right: 16px; }
.poster-cropmark.bottom-left { bottom: 12px; left: 16px; }
.poster-cropmark.bottom-right { bottom: 12px; right: 16px; }

/* Vector drafting lattice backdrop */
.poster-vector-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

/* Poster Top Stamp Bar */
.poster-stamp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(183, 163, 255, 0.18);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.poster-stamp-group {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.poster-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(36, 21, 59, 0.8);
  border: 1px solid rgba(183, 163, 255, 0.3);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-pale-lavender);
}

.poster-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-success-mint);
  box-shadow: 0 0 8px var(--color-success-mint);
  display: inline-block;
}

.poster-meta-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-soft-lavender);
  letter-spacing: 0.05em;
}

.poster-category-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-pale-lavender);
  background: rgba(112, 72, 245, 0.28);
  border: 1px solid rgba(183, 163, 255, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.poster-origin-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.poster-origin-badge.verified {
  background: rgba(22, 125, 101, 0.25);
  border: 1px solid rgba(72, 255, 178, 0.4);
  color: #8CFFD9;
}

.poster-origin-badge.original {
  background: rgba(112, 72, 245, 0.3);
  border: 1px solid rgba(183, 163, 255, 0.4);
  color: var(--color-pale-lavender);
}

.poster-tz-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: rgba(233, 226, 255, 0.6);
  letter-spacing: 0.04em;
}

/* Central Quotation Stage */
.poster-quote-stage {
  margin: var(--space-8) 0 var(--space-6);
  position: relative;
  z-index: 1;
}

.poster-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.025em;
  color: var(--color-pure-white);
  max-width: 32ch;
  margin: 0 0 var(--space-6);
  text-wrap: balance;
}

/* Attribution Lockup */
.poster-attribution-lockup {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(183, 163, 255, 0.16);
}

.poster-author-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.poster-author-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-pale-lavender);
  letter-spacing: -0.01em;
}

.poster-author-separator {
  color: var(--color-soft-lavender);
  opacity: 0.5;
}

.poster-author-role {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-soft-lavender);
}

.poster-source-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.poster-source-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  color: #D8CCE8;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration-fast);
}

.poster-source-link:hover {
  color: var(--color-pure-white);
}

.poster-source-cite {
  font-size: var(--text-xs);
  color: #D8CCE8;
  font-style: italic;
}

.poster-editorial-note {
  font-size: var(--text-xs);
  color: rgba(216, 204, 232, 0.8);
  font-style: italic;
  max-width: 68ch;
  line-height: 1.5;
  margin-top: 4px;
}

/* Poster Bottom Technical Ledger Bar */
.poster-ledger-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(183, 163, 255, 0.14);
  position: relative;
  z-index: 1;
}

.poster-ledger-bar .ledger-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.poster-ledger-bar .l-lbl {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--color-soft-lavender);
  letter-spacing: 0.06em;
}

.poster-ledger-bar .l-val {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-pale-lavender);
}

/* ============================================================================
   AMBIENT EDITORIAL STRIP (SITE-WIDE SUBTLE VARIANT)
   ============================================================================ */
.ambient-editorial-strip {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border-grey);
  border-left: 4px solid var(--color-primary-violet);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: relative;
}

.strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.strip-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.strip-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary-violet);
}

.strip-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-primary-violet);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.strip-date {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--color-secondary-text);
  padding-left: 6px;
  border-left: 1px solid var(--color-border-grey);
}

.strip-category {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-deep-plum);
  background-color: var(--color-pale-lavender);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.strip-quote {
  font-size: var(--text-sm);
  color: var(--color-primary-text);
  font-style: italic;
  line-height: 1.55;
  margin: 0;
}

.strip-author-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-secondary-text);
}

.strip-author {
  font-weight: 600;
  color: var(--color-primary-text);
}

.strip-role {
  color: var(--color-secondary-text);
}

.strip-source {
  color: var(--color-primary-violet);
  font-style: normal;
}

/* ============================================================================
   HUMAN-CENTRED ART DIRECTION — ASYMMETRIC SECTION COMPOSITIONS
   ============================================================================ */
/* Pattern A: Asymmetric Editorial Split for Platform Capabilities */
.pathways-grid.editorial-asymmetric {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-6);
}

.pathways-grid.editorial-asymmetric .pathway-card.featured-anchor {
  grid-row: 1 / 3;
  background: linear-gradient(160deg, #FFFFFF 0%, #F8F6FA 100%);
  border: 1.5px solid rgba(112, 72, 245, 0.35);
  box-shadow: 0 16px 36px rgba(112, 72, 245, 0.08);
  position: relative;
  overflow: hidden;
  padding: var(--space-8);
}

.featured-anchor::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-violet), var(--color-soft-lavender));
}

.pathway-specs-box {
  background-color: var(--color-warm-porcelain);
  border: 1px solid var(--color-border-grey);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin: var(--space-4) 0 var(--space-6);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.pathway-specs-box .spec-item {
  display: flex;
  flex-direction: column;
}

.pathway-specs-box .spec-lbl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--color-secondary-text);
  letter-spacing: 0.04em;
}

.pathway-specs-box .spec-val {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-deep-plum);
}

/* Pattern E: Connected Stepped Manufacturing Timeline for Process Steps */
.process-steps-grid.editorial-stepped {
  position: relative;
}

.process-steps-grid.editorial-stepped::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-soft-lavender) 0%, var(--color-primary-violet) 50%, var(--color-success-mint) 100%);
  z-index: 0;
  opacity: 0.45;
}

.process-step-card.step-digital {
  background: linear-gradient(180deg, #FFFFFF 0%, #F9F7FB 100%);
  border-color: rgba(183, 163, 255, 0.4);
}

.process-step-card.step-physical {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F9F7 100%);
  border-color: rgba(22, 125, 101, 0.3);
}

.process-phase-badge {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-2);
  display: inline-block;
}

.process-phase-badge.phase-digital {
  background-color: var(--color-pale-lavender);
  color: var(--color-deep-plum);
}

.process-phase-badge.phase-physical {
  background-color: #E6F5EF;
  color: #167D65;
}

@media (max-width: 980px) {
  .pathways-grid.editorial-asymmetric {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .pathways-grid.editorial-asymmetric .pathway-card.featured-anchor {
    grid-row: auto;
  }
  .process-steps-grid.editorial-stepped::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .editorial-poster-frame {
    padding: var(--space-6) var(--space-5);
  }
  .poster-stamp-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .poster-ledger-bar {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}


/* ============================================================================
   FULL-PAGE EDITORIAL ARTWORK CANVAS — SPANS ACROSS ALL PAGES
   ============================================================================ */
.global-site-artwork {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: #F3EEF8;
}

.global-artwork-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Layer page elements cleanly over fixed background artwork */
#main-content {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(247, 245, 248, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 220, 232, 0.85);
}

.hero-plum-section {
  position: relative;
  z-index: 2;
  background: var(--gradient-plum-hero);
  color: var(--color-pure-white);
  border-bottom: 1px solid rgba(183, 163, 255, 0.18);
}

.section-block {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.section-block.surface-white {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: none;
  border-bottom: none;
}

.section-editorial-poster {
  position: relative;
  z-index: 2;
  background: rgba(24, 13, 38, 0.94) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Viewport Panels & Cards Elevated Contrast */
.pathway-card,
.process-step-card,
.product-card,
.portfolio-card,
.trust-panel,
.editorial-fact-card {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 220, 232, 0.90);
  box-shadow: 0 4px 20px -2px rgba(20, 10, 34, 0.05);
}

.viewport-panel,
.config-panel,
.tracker-card,
.auth-card,
.account-card,
.admin-card {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-footer {
  position: relative;
  z-index: 1;
  background: rgba(20, 11, 33, 0.96) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}


/* ============================================================================
   MOBILE PHONE REFINEMENT & LEGIBILITY SYSTEM (STRICTLY <= 768px)
   Scoped exclusively to mobile viewports. Does NOT touch desktop layout.
   ============================================================================ */
@media (max-width: 768px) {
  /* 1. Global Artwork Background on Mobile - soften to prevent line-text clashes */
  .global-site-artwork {
    opacity: 0.28 !important;
  }

  /* 2. Global Site Header on Mobile - uncluttered, fits all phone widths */
  .site-header {
    height: 60px !important;
    padding: 0 var(--space-3) !important;
  }

  .header-inner {
    gap: 8px !important;
  }

  .brand-mark-svg {
    width: 32px !important;
    height: 32px !important;
  }

  .brand-name {
    font-size: 1.05rem !important;
  }

  .brand-sub {
    display: none !important;
  }

  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  /* Hide secondary desktop buttons from mobile top bar */
  .account-pill-btn,
  .header-actions .btn-primary {
    display: none !important;
  }

  /* Compact Auth button - icon only on mobile */
  .account-nav-btn {
    padding: 6px 9px !important;
    min-height: 34px !important;
  }

  #header-auth-label {
    display: none !important;
  }

  .cart-trigger-btn {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
    min-height: 34px !important;
  }

  /* Prominent Mobile Menu Pill Button */
  .mobile-menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 6px 12px !important;
    min-height: 34px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-pill) !important;
    background: var(--color-pure-white) !important;
    border: 1px solid var(--color-border-grey) !important;
    color: var(--color-primary-text) !important;
    box-shadow: var(--shadow-xs) !important;
    cursor: pointer !important;
  }

  /* 3. Dropdown Mobile Navigation Panel */
  .main-nav {
    position: absolute !important;
    top: 60px !important;
    left: 12px !important;
    right: 12px !important;
    background: #FFFFFF !important; box-shadow: 0 20px 48px -4px rgba(20, 10, 34, 0.28) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(226, 220, 232, 0.95) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 16px 40px -8px rgba(20, 10, 34, 0.18) !important;
    padding: 10px !important;
    gap: 6px !important;
    z-index: 1000 !important;
  }

  .main-nav .nav-btn {
    padding: 12px 16px !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    text-align: left !important;
    width: 100% !important;
    border-radius: var(--radius-md) !important;
    border: none !important;
    color: var(--ink-primary) !important;
    background: transparent !important;
  }

  
  .mobile-only-nav-item {
    display: block !important;
    border-top: 1px solid var(--color-border-grey) !important;
    margin-top: 4px !important;
    padding-top: 12px !important;
    color: var(--color-primary-violet) !important;
  }

  .main-nav .nav-btn.active {
    background: var(--color-deep-plum) !important;
    color: var(--color-pure-white) !important;
  }

  /* 4. Deep Plum Hero Section on Mobile - 100% Opaque & High-Contrast */
  .hero-plum-section {
    background: #170B28 !important;
    background: linear-gradient(180deg, #150924 0%, #1A0D2E 50%, #21133A 100%) !important;
    padding: 2.25rem 0 3rem !important;
    border-bottom: 1px solid rgba(183, 163, 255, 0.22) !important;
  }

  .hero-headline {
    font-size: 2.2rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
    color: #FFFFFF !important;
    margin-bottom: 1rem !important;
  }

  .hero-headline .lavender-text {
    color: #C4B5FD !important;
    text-shadow: 0 0 16px rgba(169, 149, 255, 0.35) !important;
  }

  .eyebrow.eyebrow-pill {
    font-size: 0.68rem !important;
    padding: 5px 12px !important;
    background: rgba(112, 72, 245, 0.32) !important;
    color: #E4DAFF !important;
    border: 1px solid rgba(183, 163, 255, 0.35) !important;
    margin-bottom: 1rem !important;
    display: inline-block !important;
    white-space: normal !important;
  }

  .hero-lead {
    font-size: 1rem !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-cta-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
  }

  .hero-cta-row .btn {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 0.95rem !important;
    justify-content: center !important;
  }

  .hero-cta-row .btn-plum-outline {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.30) !important;
    color: #FFFFFF !important;
  }

  .hero-specs-row,
  .hero-metrics-strip {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    background: rgba(23, 11, 38, 0.85) !important;
    border: 1px solid rgba(183, 163, 255, 0.20) !important;
    border-radius: var(--radius-lg) !important;
    padding: 1.25rem !important;
  }

  .hero-spec-item,
  .hero-metric-box {
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid rgba(183, 163, 255, 0.12) !important;
  }

  .hero-spec-item:last-child,
  .hero-metric-box:last-child {
    border-bottom: none !important;
  }

  .hero-spec-label,
  .hero-metric-label {
    color: #B7A3FF !important;
    font-size: 0.68rem !important;
  }

  .hero-spec-value,
  .hero-metric-value {
    color: #FFFFFF !important;
    font-size: 0.85rem !important;
  }

  /* 5. Waiting Workshop Animation Card on Mobile */
  .hero-showcase-card {
    border-radius: var(--radius-xl) !important;
    overflow: hidden !important;
    margin-top: 1.5rem !important;
  }

  .hero-card-topbar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding: 10px 14px !important;
  }

  .hero-card-topbar > div:last-child {
    font-size: 0.68rem !important;
    color: #B7A3FF !important;
  }

  .hero-floating-pill {
    font-size: 0.65rem !important;
    padding: 6px 10px !important;
  }

  .hero-floating-pill.top-left {
    top: 8px !important;
    left: 8px !important;
  }

  .hero-floating-pill.bottom-right {
    bottom: 8px !important;
    right: 8px !important;
    left: 8px !important;
    text-align: center !important;
  }

  /* 6. Section Headers Legibility - Frosted Protection Card on Mobile */
  .section-block {
    padding: var(--space-8) 0 !important;
  }

  .section-header {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(226, 220, 232, 0.90) !important;
    border-radius: var(--radius-xl) !important;
    padding: 1.5rem 1.25rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 4px 20px -2px rgba(20, 10, 34, 0.05) !important;
  }

  .section-header .eyebrow {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #7048F5 !important;
    margin-bottom: 0.5rem !important;
    display: inline-block !important;
    letter-spacing: 0.06em !important;
  }

  .section-title {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
    color: #140A22 !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: -0.02em !important;
  }

  .section-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    color: #4A3E56 !important;
  }

  /* 7. Homepage Pathways & Showcase on Mobile */
  .pathways-grid,
  .pathways-grid.editorial-asymmetric {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .pathway-card {
    padding: 1.5rem 1.25rem !important;
  }

  .pathway-title {
    font-size: 1.25rem !important;
  }

  /* 8. Featured Daily Poster on Mobile */
  .section-editorial-poster {
    padding: var(--space-8) 0 !important;
  }

  .editorial-poster-frame {
    padding: 1.5rem 1.25rem !important;
    border-radius: var(--radius-xl) !important;
  }

  .poster-stamp-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding-bottom: 1rem !important;
  }

  .poster-quote-text {
    font-size: 1.25rem !important;
    line-height: 1.45 !important;
  }

  .poster-attribution {
    margin-top: 1rem !important;
  }

  .poster-author-name {
    font-size: 1rem !important;
  }

  /* 9. Interactive CAD Estimator on Mobile */
  .estimator-workspace {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .viewport-panel {
    padding: 1rem !important;
  }

  .viewport-canvas-container {
    height: 300px !important;
    min-height: 300px !important;
  }

  .viewport-controls-bar {
    flex-wrap: wrap !important;
    gap: 6px !important;
    justify-content: center !important;
  }

  .pipeline-status-bar {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 6px !important;
    white-space: nowrap !important;
  }

  .pipeline-step-badge {
    font-size: 0.68rem !important;
    padding: 4px 8px !important;
  }

  .config-panel {
    padding: 1.25rem !important;
  }

  .material-cards-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .material-card {
    padding: 10px !important;
  }

  .price-summary-card {
    padding: 1.25rem !important;
  }

  .price-summary-total {
    font-size: 1.75rem !important;
  }

  .price-add-cart-btn {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 1rem !important;
  }

  /* 10. Store Catalog on Mobile */
  .store-filter-bar {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 8px !important;
    flex-wrap: nowrap !important;
  }

  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .product-card {
    padding: 1.25rem !important;
  }

  .product-thumbnail-stage {
    height: 220px !important;
  }

  .product-card-actions {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .product-card-actions .btn {
    width: 100% !important;
  }

  /* 11. Order Tracker on Mobile */
  .tracker-lookup-card {
    padding: 1.5rem 1.25rem !important;
  }

  
  /* Tracker Form Mobile Override */
  #tracker-search-form {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  #tracker-search-form > div {
    width: 100% !important;
  }
  #tracker-search-form button[type="submit"] {
    width: 100% !important;
    min-height: 48px !important;
    height: auto !important;
  }

  .tracker-form-row {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .tracker-form-row .form-group {
    width: 100% !important;
  }

  .tracker-form-row .btn {
    width: 100% !important;
    min-height: 48px !important;
  }

  .tracker-timeline-wrap {
    padding: 1.25rem 1rem !important;
  }

  /* 12. Auth Form & Accounts on Mobile */
  .auth-card {
    padding: 1.75rem 1.25rem !important;
    margin: 1rem auto !important;
    border-radius: var(--radius-xl) !important;
  }

  .auth-header-lockup h1 {
    font-size: 1.5rem !important;
  }

  .auth-tab-bar {
    gap: 4px !important;
  }

  .auth-tab-btn {
    padding: 10px 8px !important;
    font-size: 0.85rem !important;
  }

  .auth-card .form-input,
  .auth-card .form-control {
    min-height: 48px !important;
    font-size: 1rem !important;
  }

  .dachshund-card {
    padding: 12px !important;
  }

  .account-grid-layout {
    grid-template-columns: 1fr !important;
  }

  .account-sidebar-card {
    margin-bottom: 1rem !important;
  }

  /* 13. Footer on Mobile */
  .site-footer {
    padding: var(--space-8) 0 var(--space-6) !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* Extra small mobile screens (<= 400px) */
@media (max-width: 400px) {
  .hero-headline {
    font-size: 1.85rem !important;
  }
  .section-title {
    font-size: 1.45rem !important;
  }
  .brand-name {
    font-size: 0.95rem !important;
  }
}


.mobile-only-nav-item {
  display: none !important;
}
