/* Control Panel Pros — light high-end shopping theme */
:root {
  /* Surfaces (legacy navy_* names kept so existing rules cascade to light) */
  --navy-950: #f4f4f4;
  --navy-900: #ffffff;
  --navy-800: #ffffff;
  --navy-700: #ececec;
  /* Text (legacy steel_* — inverted for light backgrounds) */
  --steel-100: #0a0a0a;
  --steel-200: #171a20;
  --steel-300: #393c41;
  --steel-400: #5c5e62;
  --steel-500: #8e8e93;
  --steel-600: #c8c8c8;
  --steel-700: #e5e5e5;
  --steel-800: #f4f4f4;
  --steel-900: #ffffff;
  /* Accent: charcoal / near-black (replaces amber brand) */
  --amber-200: #8e8e93;
  --amber-300: #5c5e62;
  --amber-400: #393c41;
  --amber-500: #171a20;
  --amber-600: #000000;
  --amber: #171a20;
  /* --white historically meant "bright heading text on dark"; now ink */
  --white: #171a20;
  --paper: #ffffff;
  --ink: #171a20;
  --muted: #5c5e62;
  --border: #e5e5e5;
  --danger: #dc2626;
  --success: #059669;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 36px rgba(0, 0, 0, 0.1);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  --max: 1240px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--muted); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--paper);
  padding: 0.6rem 1rem; font-weight: 700; border-radius: 6px;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--ink); text-decoration: none;
}
.logo:hover { color: var(--ink); opacity: 0.75; }
.logo-mark { color: var(--ink); flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo { flex: 0 0 auto; }
.logo-name { font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; white-space: nowrap; }
.logo-tag {
  font-size: 0.7rem; color: var(--muted);
  letter-spacing: 0.04em;
}
.site-nav { min-width: 0; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; justify-content: flex-end; gap: 0.15rem 0.55rem; flex-wrap: wrap;
}
.site-nav a {
  color: var(--muted); text-decoration: none;
  font-size: 0.78rem; font-weight: 500; padding: 0.35rem 0; white-space: nowrap;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a.is-active { border-bottom: 1.5px solid var(--ink); }
.nav-phone {
  color: var(--ink) !important; font-weight: 600 !important;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--muted) !important; }
.nav-cta {
  background: var(--ink); color: var(--paper) !important;
  padding: 0.5rem 1rem !important; border-radius: 999px; font-weight: 600 !important;
  border-bottom: none !important;
}
.nav-cta:hover { background: #000; color: var(--paper) !important; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--border); border-radius: 8px;
  background: transparent; cursor: pointer;
}
.nav-toggle-bar {
  display: block; width: 20px; height: 2px; margin-inline: auto;
  background: var(--ink); border-radius: 1px;
}

/* Hero */
.hero {
  position: relative; padding: 5.5rem 0 5rem; overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.92) 38%,
    rgba(255, 255, 255, 0.75) 68%,
    rgba(255, 255, 255, 0.4) 100%
  );
  z-index: 1;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.28;
  filter: saturate(0.7) contrast(1.02) brightness(1.08);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.page-hero .hero-content { max-width: 780px; }
.eyebrow {
  margin: 0 0 0.85rem; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em; color: var(--muted);
}
.hero h1 {
  margin: 0 0 1.25rem; font-size: clamp(2.1rem, 4.8vw, 3.25rem);
  line-height: 1.1; color: var(--ink); letter-spacing: -0.03em; font-weight: 600;
}
.hero-lead {
  margin: 0 0 2rem; font-size: 1.15rem; color: var(--muted); max-width: 40rem; line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.25rem; }
.hero-stats {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  font-size: 0.92rem; color: var(--steel-400);
}
.hero-stats strong { color: var(--steel-200); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.btn-primary {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.btn-primary:hover {
  background: #000; border-color: #000; color: var(--paper);
}
.btn-secondary {
  background: transparent; color: var(--ink); border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); background: rgba(0,0,0,0.02); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }

/* Sections */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--navy-950); }
.section-header { max-width: 640px; margin-bottom: 3rem; }
.section-header.wide { max-width: 780px; }
.section-header h2 {
  margin: 0 0 1rem; font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.2; color: var(--ink); letter-spacing: -0.025em; font-weight: 600;
}
.section-intro { margin: 0; color: var(--steel-400); }

.card-grid { display: grid; gap: 1.5rem; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 0.65rem; font-size: 1.1rem; color: var(--white); }
.card p { margin: 0; color: var(--steel-400); font-size: 0.98rem; }
.card-icon { color: var(--amber-500); margin-bottom: 1rem; }
.case-meta {
  margin: 0 0 0.5rem !important; font-size: 0.78rem !important; font-weight: 700;
  letter-spacing: 0.04em; color: var(--muted) !important; font-weight: 600 !important;
}

.cap-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.25rem;
}
.cap-list li {
  background: var(--navy-800);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-left: 2px solid var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.5rem;
}
.cap-list h3 { margin: 0 0 0.45rem; font-size: 1.05rem; color: var(--white); }
.cap-list p { margin: 0; color: var(--steel-400); font-size: 0.95rem; }

.process-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem;
}
.process-steps li {
  background: var(--navy-800); border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius); padding: 1.5rem 1.25rem 1.4rem;
}
.step-num {
  display: block; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--muted); margin-bottom: 0.75rem;
}
.process-steps h3 { margin: 0 0 0.5rem; font-size: 1.05rem; color: var(--white); }
.process-steps p { margin: 0; font-size: 0.93rem; color: var(--steel-400); }

.badge-row {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.badge {
  display: inline-flex; align-items: center;
  padding: 0.65rem 1rem; background: var(--navy-800);
  border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 999px;
  font-size: 0.88rem; font-weight: 600; color: var(--steel-200);
}

/* FAQ / accordion */
.faq-list, .accordion { display: flex; flex-direction: column; gap: 0.75rem; max-width: 900px; }
.faq-item, .accordion-item {
  background: var(--navy-800); border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius); padding: 0; overflow: hidden;
}
.faq-item summary, .accordion-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.35rem;
  font-weight: 650; font-size: 1.02rem; color: var(--white);
  position: relative; padding-right: 2.75rem;
}
.faq-item summary::-webkit-details-marker,
.accordion-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after, .accordion-item summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%;
  transform: translateY(-50%); color: var(--amber-500);
  font-size: 1.35rem; font-weight: 700; line-height: 1;
}
.faq-item[open] summary::after, .accordion-item[open] summary::after { content: "–"; }
.faq-item summary:hover, .accordion-item summary:hover { color: var(--steel-100); }
.faq-item p, .accordion-item .acc-body {
  margin: 0; padding: 0 1.35rem 1.2rem; color: var(--steel-400); font-size: 0.98rem;
}
.accordion-item .acc-body p { margin: 0 0 0.75rem; color: var(--steel-400); }
.accordion-item .acc-body ul { margin: 0 0 0.75rem; padding-left: 1.2rem; color: var(--steel-400); }

/* Quote / form */
.quote {
  background: var(--navy-950);
  border-top: 1px solid var(--border);
}
.quote-layout {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: start;
}
.quote-copy h2 {
  margin: 0 0 1rem; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--white);
}
.quote-copy > p { color: var(--steel-300); margin: 0 0 1.25rem; }
.quote-bullets { margin: 0; padding-left: 1.2rem; color: var(--steel-300); }
.quote-bullets li { margin-bottom: 0.4rem; }
.quote-form-wrap {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; box-shadow: var(--shadow);
}
.lead-form .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.field { margin-bottom: 1rem; }
.field label {
  display: block; margin-bottom: 0.4rem; font-size: 0.88rem;
  font-weight: 600; color: var(--steel-200);
}
.req { color: var(--amber-500); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--paper); color: var(--ink);
  font-family: inherit; font-size: 1rem;
}
.field input::placeholder, .field textarea::placeholder {
  color: var(--steel-400); opacity: 0.75;
}
.field input:hover, .field select:hover, .field textarea:hover {
  border-color: rgba(148, 163, 184, 0.55);
}
.field input.invalid, .field select.invalid, .field textarea.invalid {
  border-color: var(--danger);
}
.field-error { margin: 0.35rem 0 0; font-size: 0.82rem; color: #b91c1c; }
.form-note { margin: 0 0 1rem; font-size: 0.82rem; color: var(--steel-400); }
.form-note code { font-size: 0.85em; color: var(--amber-400); }
.form-success { text-align: center; padding: 1.5rem 0.5rem; }
.form-success[hidden], .lead-form[hidden] { display: none !important; }
.success-icon { color: var(--success); display: flex; justify-content: center; margin-bottom: 1rem; }
.form-success h3 { margin: 0 0 0.75rem; color: var(--white); }
.form-success p { margin: 0 0 1.5rem; color: var(--steel-300); }

.phone-cta-block {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  margin-top: 1.5rem; padding: 1.35rem 1.5rem;
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.phone-cta-block .phone-big {
  font-size: 1.35rem; font-weight: 600; color: var(--ink);
  text-decoration: none; letter-spacing: -0.01em;
}
.phone-cta-block .phone-big:hover { color: var(--muted); }
.phone-cta-block p { margin: 0; color: var(--steel-400); font-size: 0.95rem; }

.phone-link { color: var(--ink); text-decoration: none; font-weight: 600; }
.phone-link:hover { color: var(--muted); }

/* Footer */
.site-footer {
  background: #ffffff; border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1.4fr 1fr 1fr 1.2fr;
  gap: 1.75rem; margin-bottom: 2.5rem;
}
.footer-brand { margin: 0 0 0.35rem; font-weight: 700; color: var(--white); font-size: 1.05rem; }
.footer-tag, .footer-grid p { margin: 0 0 0.35rem; font-size: 0.92rem; color: var(--steel-400); }
.footer-grid a { color: var(--steel-300); text-decoration: none; }
.footer-grid a:hover { color: var(--amber-400); }
.footer-label {
  margin: 0 0 0.65rem !important; font-size: 0.78rem !important; font-weight: 600;
  letter-spacing: 0.02em; color: var(--muted) !important;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  padding-top: 1.25rem; border-top: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.85rem; color: var(--steel-400);
}
.footer-bottom a { color: var(--steel-300); text-decoration: none; }
.footer-bottom a:hover { color: var(--amber-400); }

/* Vendors strip */
.vendor-strip {
  display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: flex-start;
}
.vendor-chip {
  padding: 0.55rem 0.95rem; background: var(--navy-800);
  border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 8px;
  font-size: 0.88rem; font-weight: 600; color: var(--steel-200);
}
.vendor-note { margin: 1rem 0 0; font-size: 0.88rem; color: var(--steel-400); }

/* Filter chips */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem;
}
.filter-chip {
  padding: 0.45rem 0.9rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.35); background: transparent;
  color: var(--steel-300); font-family: inherit; font-size: 0.88rem; font-weight: 600;
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-active {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
}
.vendor-card[hidden] { display: none !important; }
.vendor-card .v-cat {
  margin: 0 0 0.4rem; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--muted);
}

/* Tabs */
.tabs { margin-top: 0.5rem; }
.tab-list {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem;
  list-style: none; padding: 0;
}
.tab-btn {
  padding: 0.6rem 1.1rem; border-radius: 8px; cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.3); background: var(--navy-800);
  color: var(--steel-300); font-family: inherit; font-size: 0.92rem; font-weight: 600;
}
.tab-btn:hover { color: var(--white); border-color: var(--steel-400); }
.tab-btn[aria-selected="true"] {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
}
.tab-panel {
  background: var(--navy-800); border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius); padding: 1.5rem 1.5rem 1.35rem;
}
.tab-panel[hidden] { display: none !important; }
.tab-panel h3 { margin: 0 0 0.75rem; color: var(--white); font-size: 1.15rem; }
.tab-panel p { margin: 0 0 0.85rem; color: var(--steel-400); }
.tab-panel ul { margin: 0 0 0.85rem; padding-left: 1.2rem; color: var(--steel-400); }
.tab-panel li { margin-bottom: 0.35rem; }

/* Checklist */
.checklist {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem;
}
.checklist li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.85rem 1rem; background: var(--navy-900);
  border: 1px solid rgba(148, 163, 184, 0.12); border-radius: 8px;
}
.checklist .check-mark {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 4px;
  background: rgba(23, 26, 32, 0.08); border: 1px solid var(--amber-500);
  color: var(--amber-500); display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; margin-top: 0.1rem;
}
.checklist strong { color: var(--steel-100); }

/* Example callout / tables */
.example-callout {
  margin: 1rem 0; padding: 0.85rem 1.1rem;
  background: rgba(23, 26, 32, 0.04); border-left: 3px solid var(--amber-500);
  border-radius: 0 8px 8px 0; font-size: 0.9rem; color: var(--steel-300);
}
.example-callout strong { color: var(--amber-400); }

.data-table-wrap { overflow-x: auto; margin: 1rem 0 0.5rem; }
.data-table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem;
}
.data-table th, .data-table td {
  padding: 0.65rem 0.85rem; text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}
.data-table th {
  background: #f4f4f4; color: var(--ink); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.02em;
}
.data-table td { color: var(--steel-400); }
.data-table tr:hover td { background: rgba(148, 163, 184, 0.05); }
.data-table code { font-family: var(--mono); font-size: 0.85em; color: var(--amber-400); }

/* Code blocks */
.code-block {
  margin: 1rem 0; background: #0a0f18; border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px; overflow: hidden;
}
.code-block-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 1rem; background: #111b2e;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 0.8rem; color: #94a3b8; font-weight: 600;
}
.code-block pre {
  margin: 0; padding: 1.1rem 1.2rem; overflow-x: auto;
  font-family: var(--mono); font-size: 0.82rem; line-height: 1.55;
  color: #e2e8f0;
}
.code-block code { font-family: inherit; }

/* Project cards */
.project-card { display: flex; flex-direction: column; gap: 0.75rem; }
.project-card .outcome {
  margin-top: auto; padding-top: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 0.92rem; color: var(--steel-300);
}
.project-card .outcome strong { color: var(--success); }
.project-detail {
  background: var(--navy-800); border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius); padding: 1.75rem; margin-bottom: 1.5rem;
}
.project-detail h3 { margin: 0 0 0.5rem; color: var(--white); }
.project-meta-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  margin-bottom: 1rem; font-size: 0.88rem; color: var(--steel-400);
}
.project-meta-row span strong { color: var(--steel-200); }
.project-grid-detail h4 {
  margin: 1.1rem 0 0.4rem; font-size: 0.95rem; color: var(--muted);
  font-weight: 600; letter-spacing: 0.02em;
}
.project-grid-detail p { margin: 0; color: var(--steel-400); }

/* Fit quiz */
.quiz-wrap {
  background: var(--navy-800); border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px; padding: 1.75rem; max-width: 720px;
}
.quiz-progress {
  height: 6px; background: var(--navy-950); border-radius: 3px; margin-bottom: 1.25rem; overflow: hidden;
}
.quiz-progress-bar {
  height: 100%; width: 0%; background: var(--amber-500); border-radius: 3px;
  transition: width 0.25s ease;
}
.quiz-step[hidden] { display: none !important; }
.quiz-step h3 { margin: 0 0 1rem; color: var(--white); font-size: 1.15rem; }
.quiz-options { display: flex; flex-direction: column; gap: 0.55rem; }
.quiz-option {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.85rem 1rem; background: var(--navy-900);
  border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 8px;
  cursor: pointer; color: var(--steel-200);
}
.quiz-option:hover { border-color: var(--amber-500); }
.quiz-option input { margin-top: 0.25rem; accent-color: var(--amber-500); }
.quiz-option.is-selected { border-color: var(--amber-500); background: rgba(23, 26, 32, 0.04); }
.quiz-nav { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.quiz-result {
  padding: 1.25rem; background: var(--navy-900); border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.quiz-result[hidden] { display: none !important; }
.quiz-result h3 { margin: 0 0 0.75rem; color: var(--white); }
.quiz-result p { margin: 0 0 1rem; color: var(--steel-300); }
.quiz-result .fit-level {
  display: inline-block; padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700; margin-bottom: 0.85rem;
}
.fit-strong { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.fit-good { background: rgba(23, 26, 32, 0.1); color: var(--amber-400); }
.fit-maybe { background: rgba(148, 163, 184, 0.2); color: var(--steel-300); }

/* Teaser cards */
.teaser-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.teaser-card a { text-decoration: none; color: inherit; display: block; height: 100%; }
.teaser-card a:hover h3 { color: var(--amber-400); }

/* Contact phone highlight in header strip */
.cta-band {
  background: var(--navy-800); border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  padding: 0.85rem 0;
}
.cta-band-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
  font-size: 0.95rem; color: var(--steel-300);
}
.cta-band a.phone-inline {
  color: var(--ink); font-weight: 600; text-decoration: none; font-size: 1.05rem;
}
.cta-band a.phone-inline:hover { color: var(--muted); }


/* Needs / discovery cards */
.needs-section .section-header { max-width: 720px; }
.needs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.need-card {
  display: flex;
  flex-direction: column;
  background: var(--navy-800);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.need-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.need-card:hover .need-card-visual img {
  transform: scale(1.03);
}
.need-card-visual {
  position: relative;
  width: 100%;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  /* Match card top corners; card already has overflow:hidden */
  border-radius: var(--radius) var(--radius) 0 0;
}
.need-card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}
.need-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.3rem 1.4rem;
  gap: 0.65rem;
}
.need-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--white);
  letter-spacing: -0.01em;
}
.need-why {
  margin: 0;
  color: var(--steel-300);
  font-size: 0.96rem;
}
.need-exp {
  margin: 0;
  padding: 0.55rem 0.75rem;
  background: rgba(244, 244, 244, 0.9);
  border-left: 3px solid var(--amber-500);
  border-radius: 0 6px 6px 0;
  font-size: 0.88rem;
  color: var(--steel-400);
  line-height: 1.45;
}
.need-exp strong {
  color: var(--steel-200);
  font-weight: 600;
}
.need-card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.needs-footer-note {
  margin: 1.75rem 0 0;
  color: var(--steel-400);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 960px) {
  .card-grid.three, .card-grid.four, .process-steps, .footer-grid, .teaser-row, .needs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quote-layout { grid-template-columns: 1fr; }
  .cap-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy-900); border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding: 0.75rem 1rem 1.25rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .site-nav a { display: block; padding: 0.7rem 0.5rem; }
  .site-nav a.is-active { border-bottom: none; background: #f4f4f4; border-radius: 8px; color: var(--ink); }
  .nav-cta { text-align: center; margin-top: 0.35rem; }
  .header-inner { position: relative; }
  .hero { padding: 3rem 0 2.75rem; }
  .section { padding: 3.25rem 0; }
  .card-grid.two, .card-grid.three, .card-grid.four,
  .process-steps, .footer-grid, .lead-form .form-row, .teaser-row, .needs-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .quiz-progress-bar { transition: none; }
}

/* AI checklist labels */
.checklist label {
  display: flex; gap: 0.75rem; align-items: flex-start;
  cursor: pointer; color: var(--steel-200); width: 100%;
}
.checklist label input {
  margin-top: 0.3rem; accent-color: var(--amber-500); flex-shrink: 0;
}
@media (max-width: 1100px) {
  .site-nav a { font-size: 0.82rem; }
  .nav-phone { font-size: 0.8rem !important; }
}

/* ==========================================================================
   Panel Designer / Configurator (.panel-designer / .pd-* / .cfg-*)
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.pd-tool-section { padding-top: 1.25rem; padding-bottom: 3rem; }

/* Sticky chrome */
.cfg-chrome {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.cfg-chrome-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}
.cfg-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.cfg-step {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.35rem;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}
.cfg-step:disabled { opacity: 0.35; cursor: not-allowed; }
.cfg-step.is-active {
  border-color: transparent;
  border-bottom-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.cfg-step.is-done { color: var(--ink); border-bottom-color: transparent; }
.cfg-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: transparent; border: 1.5px solid var(--border);
  color: inherit; font-size: 0.72rem; font-weight: 600;
}
.cfg-step.is-active .cfg-step-num {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.cfg-step.is-done .cfg-step-num {
  border-color: var(--ink); color: var(--ink);
}
.cfg-chrome-cta .btn:disabled { opacity: 0.45; cursor: not-allowed; }

.cfg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 1.5rem;
  align-items: start;
}
.cfg-main { min-width: 0; }

.cfg-stage {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.cfg-stage-head { margin-bottom: 1.1rem; }
.cfg-stage-head h3 { margin: 0 0 0.35rem; color: var(--white); font-size: 1.35rem; }
.cfg-stage-sub { margin: 0; color: var(--steel-400); font-size: 0.95rem; }

.cfg-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  flex-wrap: wrap;
}

.cfg-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
}
.trim-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.cfg-shop-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cfg-shop-card:hover {
  border-color: #c8c8c8;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.cfg-shop-card.is-selected {
  border-color: var(--ink);
  box-shadow: 0 0 0 1.5px var(--ink), var(--shadow);
}
.cfg-shop-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(145deg, #ececec, #d8d8d8);
  display: block;
}
.cfg-shop-card {
  position: relative;
}
.cfg-shop-card .cfg-shop-img {
  transition: transform 0.35s ease;
}
.cfg-shop-card:hover .cfg-shop-img {
  transform: scale(1.04);
}
.cfg-shop-media {
  position: relative;
  overflow: hidden;
  background: #e8e8e8;
}
.cfg-shop-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.65), transparent);
  pointer-events: none;
}
#industry-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.cfg-shop-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem 1rem;
}
.cfg-shop-title { font-weight: 700; color: var(--white); font-size: 0.98rem; line-height: 1.3; }
.cfg-shop-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.cfg-shop-meta { font-size: 0.82rem; color: var(--steel-400); line-height: 1.4; }
.cfg-shop-cat {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.02em; color: var(--muted);
}
.cfg-bullet-list {
  margin: 0.25rem 0 0; padding-left: 1.1rem;
  font-size: 0.82rem; color: var(--steel-300); line-height: 1.45;
}
.cfg-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(148, 163, 184, 0.15);
  color: var(--steel-300);
  border: 1px solid rgba(148, 163, 184, 0.3);
}
.cfg-badge-on {
  background: rgba(23, 26, 32, 0.08);
  border-color: var(--amber-500);
  color: var(--amber-400);
}
.cfg-badge-warn {
  background: rgba(220, 38, 38, 0.08);
  border-color: var(--danger);
  color: #b91c1c;
}

.cfg-hazard-banner {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 10px;
  color: #991b1b;
  font-size: 0.92rem;
}

.cfg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.cfg-system-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.cfg-system-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--navy-800);
  border: 2px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  cursor: pointer;
}
.cfg-system-card.is-selected,
.cfg-system-card:has(input:checked) {
  border-color: var(--ink);
  box-shadow: 0 0 0 1.5px var(--ink);
}
.cfg-system-card input { margin-top: 0.25rem; accent-color: var(--amber-500); }
.cfg-system-title { display: block; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.cfg-system-desc { display: block; font-size: 0.86rem; color: var(--steel-400); line-height: 1.45; }

.cfg-regs {
  margin-top: 0.5rem;
  padding: 1rem;
  background: rgba(244, 244, 244, 0.9);
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.15);
}
.cfg-regs h4, .cfg-regs h5 { margin: 0 0 0.5rem; color: var(--white); }
.cfg-reg-chip { cursor: pointer; background: transparent; font: inherit; }
.cfg-reg-detail {
  margin-top: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: rgba(23, 26, 32, 0.04);
  border-left: 3px solid var(--amber-500);
  border-radius: 0 6px 6px 0;
  font-size: 0.88rem;
  color: var(--steel-300);
}
.cfg-industry-regs ul { margin: 0.35rem 0; padding-left: 1.2rem; color: var(--steel-300); font-size: 0.9rem; }

.cfg-option-groups { display: flex; flex-direction: column; gap: 1.25rem; }
.cfg-option-group {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 1rem;
  padding: 1rem;
  background: var(--navy-800);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
}
.cfg-option-media img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.cfg-option-fields h4 { margin: 0 0 0.75rem; color: var(--white); }
.cfg-check-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin: 0.75rem 0;
}
.cfg-mini-thumb {
  display: inline-block;
  width: 40px; height: 30px;
  object-fit: cover;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 0.35rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.cfg-swatches { border: 0; margin: 0 0 0.85rem; padding: 0; }
.cfg-swatches legend { font-weight: 600; color: var(--steel-200); margin-bottom: 0.5rem; }
.cfg-swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.65rem;
}
.cfg-swatch {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.4rem;
  background: var(--navy-900);
  border: 2px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  cursor: pointer;
}
.cfg-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-swatch img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.cfg-swatch-name { font-size: 0.78rem; color: var(--steel-300); font-weight: 600; text-align: center; }
.cfg-swatch.is-selected, .cfg-swatch:has(input:checked) {
  border-color: var(--amber-500);
}

.cfg-filter-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.85rem; }
.cfg-acc-card { cursor: default; }
.cfg-acc-card .btn { align-self: flex-start; margin-top: 0.35rem; }

.cfg-canvas-block {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}
.cfg-canvas-block h4 { margin: 0 0 0.75rem; color: var(--white); }

.cfg-review-sticker {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.cfg-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
}
.cfg-review-grid strong { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; }
.cfg-review-grid p { margin: 0.2rem 0 0; color: var(--steel-200); font-size: 0.95rem; }
.cfg-review-span { grid-column: 1 / -1; }
.cfg-edu-checklist {
  background: rgba(244, 244, 244, 0.9);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
}
.cfg-edu-checklist h4 { margin: 0 0 0.5rem; color: var(--white); }
.cfg-edu-checklist ul { margin: 0; padding-left: 1.2rem; color: var(--steel-400); font-size: 0.9rem; }

/* Build summary sticker */
.cfg-sticker {
  position: sticky;
  top: calc(var(--header-h) + 3.5rem);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cfg-sticker-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
}
.cfg-sticker-body { padding: 1rem 1.2rem 1.25rem; }
.cfg-sticker-body.is-collapsed { display: none; }
.cfg-sticker-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 500;
  text-transform: none;
}
.cfg-sticker-dl { margin: 0 0 0.85rem; }
.cfg-sticker-dl > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.88rem;
}
.cfg-sticker-dl dt { color: var(--steel-400); margin: 0; }
.cfg-sticker-dl dd { margin: 0; color: var(--steel-200); font-weight: 600; text-align: right; }
.cfg-sticker-caveat {
  margin: 0.75rem 0;
  font-size: 0.78rem;
  color: var(--steel-400);
  line-height: 1.4;
}
.cfg-sticker .btn-block { width: 100%; margin-bottom: 0.45rem; text-align: center; }
.cfg-sticker .btn-sm { font-size: 0.85rem; }

.pd-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}
.pd-form-grid.three { grid-template-columns: repeat(3, 1fr); }
.pd-hint, .pd-muted { color: var(--steel-400); font-size: 0.92rem; }
.pd-hint { margin: 0.35rem 0 0.65rem; }

.pd-cat-tabs, .cfg-filter-chips {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.85rem;
}
.pd-cat-tab {
  background: var(--navy-800);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--steel-300);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.pd-cat-tab:hover { color: var(--white); border-color: var(--steel-400); }
.pd-cat-tab.is-active {
  background: rgba(23, 26, 32, 0.08);
  border-color: var(--amber-500);
  color: var(--amber-400);
}

.btn-sm { padding: 0.4rem 0.75rem !important; font-size: 0.85rem !important; }
.btn-block { display: inline-flex; justify-content: center; width: 100%; }

.pd-canvas-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  align-items: center; margin-bottom: 0.65rem;
}
.pd-toggle {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.9rem; color: var(--steel-200); cursor: pointer;
}
.pd-toggle input { accent-color: var(--amber-500); }
.pd-scale-hint {
  margin: 0 0 0.65rem; font-size: 0.82rem; color: var(--steel-400); font-family: var(--mono);
}
.pd-canvas-wrap {
  background: #070d18;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 12px; padding: 0.75rem; overflow: auto;
}
.pd-canvas { width: 100%; max-height: 70vh; background: #0a1424; border-radius: 4px; }
.pd-enc { fill: #152238; stroke: #94a3b8; stroke-width: 2; }
.pd-subpanel { fill: #1a2a44; stroke: rgba(148, 163, 184, 0.35); stroke-width: 1; }
.pd-grid line { stroke: rgba(148, 163, 184, 0.08); stroke-width: 1; }
.pd-duct { fill: rgba(148, 163, 184, 0.22); stroke: rgba(148, 163, 184, 0.45); stroke-width: 1; }
.pd-duct-label { fill: #94a3b8; font-size: 9px; font-family: var(--mono); }
.pd-door-split { stroke: #cbd5e1; stroke-width: 1.5; stroke-dasharray: 6 4; opacity: 0.7; }
.pd-device-label {
  fill: #171a20; font-size: 8px; font-weight: 700; font-family: var(--font); pointer-events: none;
}
.pd-door-overlay .pd-door-panel {
  fill: rgba(23, 26, 32, 0.03); stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 4;
}
.pd-door-title { fill: #cbd5e1; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; }
.pd-wiring-note, .pd-canvas-badge { fill: #94a3b8; font-size: 9px; font-family: var(--mono); }

.pd-legend {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  margin: 0.85rem 0 1rem; font-size: 0.82rem; color: var(--steel-300);
}
.pd-legend-item { display: inline-flex; align-items: center; gap: 0.35rem; }
.pd-bom-swatch {
  display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 2px; flex-shrink: 0;
}
.pd-bom-wrap {
  background: var(--navy-800);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px; padding: 1rem;
}
.pd-bom-wrap h3 { margin: 0 0 0.35rem; color: var(--white); font-size: 1.05rem; }
.pd-bom-meta { font-size: 0.85rem; color: var(--steel-400); margin-bottom: 0.65rem; }
.pd-bom { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.pd-bom-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.5rem; background: rgba(244, 244, 244, 0.9);
  border-radius: 6px; font-size: 0.9rem;
}
.pd-bom-label { flex: 1; color: var(--steel-200); }
.pd-bom-actions { display: flex; gap: 0.2rem; }
.pd-bom-empty { color: var(--steel-400); font-size: 0.9rem; padding: 0.5rem; }
.pd-icon-btn {
  width: 1.75rem; height: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: var(--navy-900); color: var(--steel-300);
  border-radius: 4px; cursor: pointer; font-size: 0.8rem; line-height: 1;
}
.pd-icon-btn:hover:not(:disabled) { color: var(--white); border-color: var(--steel-300); }
.pd-icon-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.pd-icon-btn.pd-remove:hover:not(:disabled) { color: var(--danger); border-color: var(--danger); }
.pd-complexity { margin: 0.85rem 0 0; font-size: 0.88rem; color: var(--steel-300); line-height: 1.45; }

.pd-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 0.75rem; }
.pd-validate-msg { color: var(--danger); font-size: 0.92rem; margin: 0 0 0.75rem; }
.pd-quote-panel {
  margin-top: 1rem; padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pd-quote-panel h3 { margin-top: 0; color: var(--white); }
.pd-quote-panel textarea[readonly] {
  background: rgba(244, 244, 244, 0.95); color: var(--steel-200);
  font-family: var(--mono); font-size: 0.82rem;
}
.pd-print-summary {
  margin-top: 1rem; padding: 1rem; background: #ffffff; color: #111; border-radius: 8px;
}
.pd-print-summary pre { white-space: pre-wrap; font-family: var(--mono); font-size: 0.85rem; }

.pd-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.pd-chip {
  display: inline-block; padding: 0.25rem 0.55rem;
  background: rgba(23, 26, 32, 0.06);
  border: 1px solid rgba(23, 26, 32, 0.16);
  border-radius: 999px; font-size: 0.75rem; color: var(--amber-400); font-weight: 600;
}
.pd-tip {
  margin: 0.5rem 0 0; padding: 0.65rem 0.85rem;
  background: rgba(23, 26, 32, 0.04);
  border-left: 3px solid var(--amber-500);
  border-radius: 0 6px 6px 0;
  font-size: 0.88rem; color: var(--steel-300);
}

@media (max-width: 960px) {
  .cfg-layout { grid-template-columns: 1fr; }
  .cfg-sticker {
    position: sticky;
    bottom: 0; top: auto;
    z-index: 80;
    order: 2;
    border-radius: 12px 12px 0 0;
    margin: 0 -1rem;
  }
  .cfg-main { order: 1; }
  .cfg-option-group { grid-template-columns: 1fr; }
  .cfg-system-cards, .cfg-form-row, .pd-form-grid, .pd-form-grid.three, .cfg-review-grid {
    grid-template-columns: 1fr;
  }
  .cfg-step-label { display: none; }
  .cfg-chrome-inner { justify-content: center; }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle,
  .cfg-chrome, .cfg-sticker, .pd-actions, .pd-canvas-toolbar,
  .pd-quote-panel, .cfg-stage:not(#stage-review), .cfg-nav-row {
    display: none !important;
  }
  .pd-print-summary { display: block !important; }
  body { background: #fff; color: #111; }
}


/* ---- NEMA picker & parts catalog (configurator upgrade) ---- */
.cfg-nema-block { margin-bottom: 1.5rem; }
.nema-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cfg-nema-card.is-hazard { border-color: var(--ink); }
.cfg-ip-tip { font-size: 0.78rem; color: var(--amber, #171a20); margin: 0.35rem 0 0; line-height: 1.35; }
.cfg-swatch.is-disabled { opacity: 0.35; pointer-events: none; }
.cfg-swatch.is-preferred { outline: 2px solid var(--ink); }
.cfg-swatch-note { display: block; font-size: 0.7rem; color: var(--steel-400); }
.cfg-acc-card.is-nema-blocked { opacity: 0.45; }
.cfg-acc-card.is-nema-blocked .btn { pointer-events: none; }
.cfg-subhead { margin: 1.75rem 0 0.75rem; font-size: 1.05rem; color: var(--white); }
.cfg-catalog { margin: 0.75rem 0 1.25rem; border: 1px solid var(--border); border-radius: 16px; background: var(--paper); overflow: hidden; box-shadow: var(--shadow); }
.cfg-catalog-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0.75rem; border-bottom: 1px solid rgba(148,163,184,0.2); }
.cfg-catalog-tab { appearance: none; border: 1px solid var(--border); background: #f4f4f4; color: var(--muted); border-radius: 999px; padding: 0.35rem 0.75rem; font-size: 0.78rem; cursor: pointer; }
.cfg-catalog-tab.is-active { background: var(--ink); color: var(--paper); border-color: transparent; font-weight: 600; }
.cfg-catalog-panel { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 1rem; padding: 1rem; }
@media (max-width: 800px) { .cfg-catalog-panel { grid-template-columns: 1fr; } }
.cfg-catalog-controls { display: grid; gap: 0.75rem; }
.cfg-catalog-preview { text-align: center; }
.cfg-catalog-preview img { width: 100%; max-width: 240px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #e8e8e8; }
.cfg-catalog-add-row { display: flex; align-items: end; }
.cfg-selected-parts { margin: 0.5rem 0 1.25rem; }
.cfg-selected-parts-ul { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.5rem; }
.cfg-selected-parts-ul li { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.85rem; border-radius: 10px; background: #f7f7f7; border: 1px solid var(--border); }
.cfg-selected-parts-ul li img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; }
.cfg-selected-parts-ul li span { flex: 1; font-size: 0.9rem; }

.cfg-part-cat { display: block; font-size: 0.72rem; color: var(--steel-400, #94a3b8); font-style: normal; font-weight: 600; }
.cfg-nema-filter-note { grid-column: 1 / -1; margin: 0 0 0.5rem; }
.cfg-catalog-tabs { max-height: 9rem; overflow-y: auto; }
#catalog-sku optgroup { font-weight: 700; color: #171a20; }

/* Education / standards / wire */
.cfg-edu-panel { margin: 1rem 0 1.25rem; padding: 1rem 1.15rem; border-radius: 12px; border: 1px solid rgba(23, 26, 32, 0.16); background: rgba(23, 26, 32, 0.04); }
.cfg-edu-panel h4 { margin: 0 0 0.5rem; color: var(--ink); }
.cfg-wire-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; margin-top: 0.5rem; }
.cfg-wire-table th, .cfg-wire-table td { border-bottom: 1px solid rgba(148,163,184,0.2); padding: 0.4rem 0.5rem; text-align: left; vertical-align: top; }
.cfg-wire-swatch { font-weight: 700; color: var(--white); }
.cfg-standards-block { margin: 1.25rem 0; padding: 1.15rem; border-radius: 16px; background: #f7f7f7; border: 1px solid var(--border); }
.cfg-std-disclaimer, .cfg-std-disclaimer { font-size: 0.8rem; color: var(--steel-400); }
.cfg-std-chip { background: rgba(59,130,246,0.2); border-color: rgba(59,130,246,0.45); }
.cfg-sticker-wiring { font-size: 0.8rem; color: var(--steel-300); margin: 0.35rem 0; }
.std-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.std-card { padding: 1.25rem; border-radius: 16px; background: var(--paper); border: 1px solid var(--border); box-shadow: var(--shadow); }
.std-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.std-hub { color: var(--muted); font-size: 0.85rem; }
.std-callout { padding: 1rem; border-left: 4px solid var(--amber, #171a20); background: rgba(23, 26, 32, 0.04); margin-bottom: 1.25rem; }
.std-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 800px) { .std-two-col { grid-template-columns: 1fr; } }
.std-block { margin: 2rem 0; }

/* ===== Parts catalog hub (DigiKey / McMaster style) ===== */
.parts-hero .hero-lead { max-width: 46rem; }
.parts-disclaimer {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(23, 26, 32, 0.18);
  background: rgba(23, 26, 32, 0.04);
  font-size: 0.88rem;
  color: var(--steel-200, #e2e8f0);
  line-height: 1.45;
}
.parts-disclaimer code {
  font-size: 0.8rem;
  background: #f4f4f4;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}
.parts-hub { padding: 1.5rem 0 2.5rem; }
.parts-hub-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 960px) {
  .parts-hub-layout { grid-template-columns: 1fr; }
}
.parts-sidebar {
  position: sticky;
  top: 4.5rem;
  padding: 1.15rem;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.65rem;
}
.parts-sidebar-title { margin: 0 0 0.25rem; font-size: 1.05rem; color: var(--white); }
.parts-sidebar .field label { font-size: 0.78rem; color: var(--steel-300); }
.parts-sidebar input,
.parts-sidebar select {
  width: 100%;
  background: var(--navy-950);
  color: var(--white);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
}
.btn-block { width: 100%; justify-content: center; }
.parts-count { margin: 0.25rem 0 0; font-size: 0.82rem; color: var(--amber-500, #171a20); font-weight: 700; }
.parts-cat-nav { display: grid; gap: 0.25rem; margin-top: 0.5rem; max-height: 18rem; overflow: auto; }
.parts-cat-link {
  appearance: none;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: var(--steel-300);
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  font-size: 0.78rem;
  cursor: pointer;
}
.parts-cat-link:hover { background: rgba(244, 244, 244, 0.95); color: var(--white); }
.parts-cat-link.is-active {
  background: rgba(23, 26, 32, 0.08);
  border-color: rgba(23, 26, 32, 0.2);
  color: var(--amber-500, #171a20);
  font-weight: 700;
}
.parts-main { min-width: 0; }
.sticky-toolbar {
  position: sticky;
  top: 3.75rem;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.parts-cat-intro { flex: 1; min-width: 200px; }
.parts-cat-intro h3 { margin: 0 0 0.25rem; font-size: 1.05rem; color: var(--white); }
.parts-cat-intro p { margin: 0; font-size: 0.85rem; color: var(--steel-300); }
.parts-view-toggle { display: inline-flex; border-radius: 999px; overflow: hidden; border: 1px solid rgba(148, 163, 184, 0.35); }
.parts-view-btn {
  appearance: none;
  border: 0;
  background: var(--navy-800);
  color: var(--steel-300);
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  cursor: pointer;
}
.parts-view-btn.is-active { background: var(--ink); color: var(--paper); font-weight: 700; }
.parts-table-wrap { overflow: auto; border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.22); }
.parts-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; background: #ffffff; }
.parts-table th, .parts-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  text-align: left;
  vertical-align: middle;
}
.parts-table th {
  position: sticky;
  top: 0;
  background: var(--navy-900);
  color: var(--steel-200);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 1;
}
.parts-table tbody tr { cursor: pointer; }
.parts-table tbody tr:hover { background: rgba(23, 26, 32, 0.04); }
.parts-td-img img {
  width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: #e8e8e8;
}
.parts-mpn {
  font-size: 0.75rem;
  color: var(--amber-500, #171a20);
  background: rgba(244, 244, 244, 0.98);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}
.parts-type-mini, .parts-desc-mini { font-size: 0.75rem; color: var(--steel-400); margin-top: 0.2rem; }
.parts-td-specs { max-width: 220px; font-size: 0.75rem; color: var(--steel-300); }
.btn-sm { padding: 0.3rem 0.65rem; font-size: 0.78rem; }
.parts-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.9rem;
}
.parts-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.parts-card:hover { border-color: var(--ink); box-shadow: var(--shadow-hover); }
.parts-card img { width: 100%; aspect-ratio: 1.2; object-fit: cover; background: #e8e8e8; }
.parts-card-body { padding: 0.85rem; display: grid; gap: 0.35rem; }
.parts-card-body h3 { margin: 0; font-size: 1rem; color: var(--white); }
.parts-card-type { margin: 0; font-size: 0.78rem; color: var(--steel-400); }
.parts-card-body p { margin: 0; font-size: 0.82rem; color: var(--steel-300); }
.parts-empty { color: var(--steel-400); padding: 1.5rem; text-align: center; }

.parts-type-index { padding-bottom: 2.5rem; }
.parts-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}
.parts-type-chip {
  appearance: none;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font-size: 0.82rem;
}
.parts-type-chip:hover { border-color: var(--ink); color: var(--ink); }
.parts-type-count {
  background: rgba(23, 26, 32, 0.1);
  color: var(--amber-500);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.parts-drawer[hidden],
.parts-drawer-backdrop[hidden] {
  display: none !important;
}
.parts-drawer-backdrop {
  position: fixed; inset: 0; background: rgba(2, 6, 23, 0.65); z-index: 80;
}
.parts-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100%);
  z-index: 90; background: var(--navy-900); border-left: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
  display: flex; flex-direction: column; overflow: hidden;
}
.parts-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 1rem; border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: var(--navy-950);
}
.parts-drawer-head h2 { margin: 0; font-size: 1.05rem; }
.parts-drawer-close {
  appearance: none; border: 0; background: transparent; color: var(--steel-200);
  font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0.2rem 0.45rem;
}
.parts-drawer-body { overflow: auto; padding: 1rem 1.1rem 2rem; }
.parts-drawer-grid {
  display: grid; grid-template-columns: 140px 1fr; gap: 1rem; margin-bottom: 1rem;
}
@media (max-width: 520px) {
  .parts-drawer-grid { grid-template-columns: 1fr; }
}
.parts-drawer-media img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #e8e8e8;
}
.parts-mpn-lg code { color: var(--amber-500); font-size: 0.9rem; }
.parts-type-line { font-size: 0.82rem; color: var(--steel-400); }
.parts-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.5rem 0 0.75rem; }
.parts-chip {
  font-size: 0.72rem; padding: 0.2rem 0.5rem; border-radius: 999px;
  background: rgba(23, 26, 32, 0.06); border: 1px solid var(--border); color: var(--ink);
}
.parts-drawer-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.parts-specs-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; margin: 0.35rem 0 1rem; }
.parts-specs-table th, .parts-specs-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.18); padding: 0.4rem 0.35rem; text-align: left; vertical-align: top;
}
.parts-specs-table th { width: 42%; color: var(--steel-400); font-weight: 600; }
.parts-drawer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .parts-drawer-cols { grid-template-columns: 1fr; } }
.parts-drawer-cols h3 { margin: 0 0 0.35rem; font-size: 0.95rem; }
.parts-drawer-cols ul { margin: 0; padding-left: 1.1rem; font-size: 0.84rem; color: var(--steel-300); }
body.parts-drawer-open { overflow: hidden; }

/* Design Tool catalog expandable DigiKey details */
.cfg-catalog-details {
  margin-top: 0.75rem; text-align: left;
  border-top: 1px solid rgba(148, 163, 184, 0.2); padding-top: 0.65rem;
}
.cfg-catalog-details summary {
  cursor: pointer; color: var(--amber-500, #171a20); font-weight: 700; font-size: 0.82rem;
}
.cfg-catalog-details[open] summary { margin-bottom: 0.5rem; }
.cfg-catalog-mpn { font-size: 0.75rem; color: var(--amber-500); }
.cfg-catalog-specs { width: 100%; border-collapse: collapse; font-size: 0.75rem; margin: 0.35rem 0; }
.cfg-catalog-specs th, .cfg-catalog-specs td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.15); padding: 0.25rem 0.3rem; text-align: left;
}
.cfg-catalog-specs th { color: var(--steel-400); width: 40%; }
.cfg-catalog-preview .parts-chips { justify-content: center; }

/* ===== I/O Map stage ===== */
.io-tip-panel { margin-bottom: 1rem; }
.io-arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.io-arch-card {
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  color: var(--ink);
  cursor: pointer;
}
.io-arch-card.is-selected {
  border-color: var(--ink);
  box-shadow: 0 0 0 1.5px var(--ink);
}
.io-arch-name { display: block; font-weight: 700; margin-bottom: 0.35rem; color: var(--ink); }
.io-arch-blurb { display: block; font-size: 0.85rem; color: var(--muted); }
.io-counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0;
}
.io-counter label { display: block; font-size: 0.8rem; color: var(--steel-300); margin-bottom: 0.25rem; }
.io-counter-btns { display: flex; gap: 0.35rem; align-items: center; }
.io-counter-btns input[type="number"] { width: 4.5rem; }
.io-module-estimate, .io-live-totals {
  background: #f7f7f7;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0.75rem 0 1rem;
  font-size: 0.92rem;
}
.io-map-toolbar, .io-block-toolbar, .quote-section-toolbar, .quote-wire-toolbar, .design-doc-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin: 0.5rem 0 0.75rem;
}
.io-map-table-wrap { overflow-x: auto; margin-bottom: 0.75rem; }
.io-map-table, .io-doc-table {
  width: 100%; border-collapse: collapse; font-size: 0.85rem;
}
.io-map-table th, .io-map-table td, .io-doc-table th, .io-doc-table td {
  border: 1px solid var(--border);
  padding: 0.4rem 0.5rem;
  vertical-align: middle;
}
.io-map-table th { background: #f4f4f4; color: var(--ink); text-align: left; font-weight: 600; }
.io-map-table input, .io-map-table select {
  width: 100%; min-width: 4rem; background: #ffffff; color: var(--ink);
  border: 1px solid var(--border); border-radius: 6px; padding: 0.3rem;
}
.io-row-actions { white-space: nowrap; }
.io-block-grid, .quote-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}
.io-block-card, .quote-card, .quote-section-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
}
.quote-card.is-selected { border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.quote-card { cursor: pointer; text-align: left; color: inherit; }
.quote-card strong { display: block; color: var(--ink); }
.io-cap-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }
.io-cap-chip {
  border: 1px solid var(--steel-500); background: transparent; color: var(--steel-200);
  border-radius: 999px; padding: 0.15rem 0.55rem; font-size: 0.75rem; cursor: pointer;
}
.io-cap-chip.is-on { background: rgba(23, 26, 32, 0.08); border-color: var(--ink); color: var(--ink); }
.io-block-fields, .quote-section-fields, .quote-hmi-row, .quote-enc-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.5rem; margin-top: 0.5rem;
}
.io-overlays .cfg-check, .cfg-check-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }

/* ===== Quote specs ===== */
.quote-software-list { display: grid; gap: 0.75rem; margin-bottom: 1rem; }
.quote-soft-group h5 { margin: 0 0 0.35rem; color: var(--ink); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.quote-soft-row {
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 0.5rem; align-items: center;
  padding: 0.35rem 0; border-bottom: 1px solid rgba(71, 85, 105, 0.45);
}
.quote-soft-qty { width: 3.5rem; }
.quote-labor-box, .quote-labor-list { margin: 0.5rem 0; }
.quote-labor-total { color: var(--ink); font-size: 1.05rem; }
.quote-sections-list { display: grid; gap: 0.75rem; margin: 0.75rem 0; }

/* ===== Design document ===== */
.design-doc-wrap { margin: 1.25rem 0; }
.design-doc-root, .design-doc {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}
.design-doc h3, .design-doc h4 { color: var(--ink); }
.design-doc section { margin: 1rem 0; padding-top: 0.5rem; border-top: 1px solid var(--border); }
.design-doc-abbrev {
  white-space: pre-wrap; background: #f4f4f4; padding: 0.75rem; border-radius: 8px;
  font-size: 0.8rem; color: var(--ink);
}
.design-doc-foot { font-size: 0.8rem; color: var(--steel-400); }
.btn-link, .btn-link {
  background: none; border: none; color: var(--ink); text-decoration: underline; cursor: pointer; padding: 0; font: inherit;
}

@media print {
  body.print-design-doc * { visibility: hidden; }
  body.print-design-doc .design-doc-wrap,
  body.print-design-doc .design-doc-wrap * { visibility: visible; }
  body.print-design-doc .design-doc-wrap { position: absolute; left: 0; top: 0; width: 100%; }
  body.print-design-doc .design-doc-toolbar .design-doc-actions { display: none; }
}


/* Home design-tool teaser */
.pd-home-cta {
  margin-top: 1.75rem;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

/* Photo-forward homepage */
.hero-photo { opacity: 0.92; filter: none; object-position: 70% center; }
.hero-bg::after {
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.94) 34%, rgba(255,255,255,0.55) 58%, rgba(255,255,255,0.15) 100%);
}
.proof {
  padding: 0 0 3.5rem;
  background: #fff;
}
.proof-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}
.proof-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #111;
}
.proof-grid figure:first-child { grid-row: 1 / span 2; }
.proof-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.proof-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1rem 0.9rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
}
.page-hero { position: relative; }
.page-hero .hero-bg { display: block; }
@media (max-width: 800px) {
  .proof-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px 180px; }
  .proof-grid figure:first-child { grid-row: auto; grid-column: 1 / -1; height: 220px; }
  .hero-bg::after { background: rgba(255,255,255,0.88); }
}

.logo { flex: 0 0 auto; min-width: 15rem; }
.logo-name { white-space: nowrap; }

/* ——— Boutique brand rail (word-cloud marquees) ——— */
.brand-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.brand-rail {
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, #fafafa 0%, #ffffff 40%, #f7f7f8 100%);
  overflow: hidden;
}
.brand-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brand-marquee + .brand-marquee { margin-top: 0.55rem; }
.brand-marquee-track {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: max-content;
  padding: 0.35rem 0;
  animation: brand-marquee-left 42s linear infinite;
}
.brand-marquee-b .brand-marquee-track {
  animation-name: brand-marquee-right;
  animation-duration: 52s;
}
.brand-rail:hover .brand-marquee-track { animation-play-state: paused; }
.brand-chip {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3a4250;
  white-space: nowrap;
  padding: 0.35rem 0.15rem;
}
.brand-chip-lg {
  font-size: 1.15rem;
  font-weight: 750;
  color: #0f1724;
  letter-spacing: 0.08em;
}
.brand-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c45c26; /* warm accent from brand sheet */
  flex: 0 0 auto;
  opacity: 0.9;
}
@keyframes brand-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes brand-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.brand-showcase {
  padding: 4.5rem 0 3.5rem;
  background: #fff;
}
.brand-showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.75rem;
}
.brand-showcase-copy h2 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  color: #0f1724;
}
.brand-service-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0f1724;
}
.brand-service-row li {
  position: relative;
  padding-right: 1.1rem;
}
.brand-service-row li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c45c26;
  transform: translateY(-50%);
}
.brand-sheet-frame {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(15, 23, 36, 0.1);
  background: #fff;
}
.brand-sheet-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.brand-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.brand-pillar {
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8f8f9 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brand-pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.brand-pillar-icon {
  color: #1a2740;
  margin-bottom: 0.85rem;
}
.brand-pillar h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #0f1724;
}
.brand-pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.brand-matters {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1a2740;
}
.brand-matters span { color: #c45c26; margin-right: 0.45rem; }

.brand-keyword-slider {
  padding: 3.25rem 0;
  background: #0f1724;
  color: #f5f6f8;
}
.brand-keyword-inner { text-align: center; }
.brand-keyword-slider .eyebrow {
  color: rgba(245, 246, 248, 0.55);
  margin-bottom: 1rem;
}
.brand-keyword-stage {
  position: relative;
  min-height: 4.5rem;
  display: grid;
  place-items: center;
}
.brand-keyword-line {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.brand-keyword-line.is-active { opacity: 1; transform: translateY(0); }
.brand-keyword-line[hidden] { display: none !important; }
.brand-keyword-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
}
.brand-keyword-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(245, 246, 248, 0.28);
  cursor: pointer;
}
.brand-keyword-dots button.is-active { background: #c45c26; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (max-width: 900px) {
  .brand-showcase-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .brand-pillars { grid-template-columns: 1fr; }
  .brand-sheet-frame { max-width: 420px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-marquee-track { animation: none !important; }
  .brand-keyword-line { transition: none; }
}


/* ——— Scroll story: vertical flow (Apple full-bleed + heyoodle reveals) ——— */
.flow-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: transparent; pointer-events: none;
}
.flow-progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #c45c26, #e8894f);
  transition: width 80ms linear;
}
[data-reveal] {
  opacity: 0;
  transform: translateY(64px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

.flow-kicker {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #c45c26; font-weight: 600; margin: 0 0 2rem;
}
.flow-kicker-light { color: rgba(245,246,248,0.8); }

/* 1) Big words that scroll up one after another */
.flow-words {
  background: radial-gradient(120% 80% at 50% 0%, #1b2433 0%, #0b0f16 60%, #07090d 100%);
  color: #f5f6f8;
  padding: 18vh 0 12vh;
}
.flow-word-row {
  min-height: 62vh;
  display: grid;
  grid-template-columns: 4rem 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 1.5rem;
  border-top: 1px solid rgba(245,246,248,0.1);
}
.flow-num {
  grid-row: 1 / span 2; align-self: start; padding-top: 1.2rem;
  font-size: 0.9rem; letter-spacing: 0.12em; color: rgba(245,246,248,0.4);
  font-variant-numeric: tabular-nums;
}
.flow-word {
  margin: 0; font-size: clamp(2.8rem, 8.5vw, 7.5rem); line-height: 1.02;
  font-weight: 650; letter-spacing: -0.035em; color: #f5f6f8;
}
.flow-word-accent {
  background: linear-gradient(90deg, #f5f6f8 0%, #e8894f 60%, #c45c26 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.flow-note {
  margin: 1.1rem 0 0; max-width: 34rem;
  font-size: clamp(1rem, 1.5vw, 1.25rem); color: rgba(245,246,248,0.66);
}

/* 2) Full-bleed photo panels that travel up the page with parallax */
.flow-media { background: #07090d; }
.flow-panel {
  position: relative; height: 100vh; min-height: 560px; overflow: hidden;
  display: flex; align-items: flex-end;
}
.flow-panel-img {
  position: absolute; inset: -12% 0; will-change: transform;
}
.flow-panel-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.flow-panel-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,9,13,0.15) 0%, rgba(7,9,13,0.25) 45%, rgba(7,9,13,0.85) 100%);
}
.flow-panel-copy {
  position: relative; z-index: 2; padding-bottom: 12vh; color: #f5f6f8;
}
.flow-panel-copy h2 {
  margin: 0 0 0.6rem; font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 1; letter-spacing: -0.035em; font-weight: 650; color: #fff;
}
.flow-panel-copy p { margin: 0; max-width: 32rem; font-size: clamp(1rem, 1.6vw, 1.3rem); color: rgba(245,246,248,0.85); }
.flow-panel-right .flow-panel-copy { text-align: right; }
.flow-panel-right .flow-panel-copy p { margin-left: auto; }
.flow-panel + .flow-panel { border-top: 1px solid rgba(255,255,255,0.06); }

/* 3) Promise lines alternating left/right on a light ground */
.flow-pillars { background: #f5f6f8; color: #0f1724; padding: 18vh 0; }
.flow-pillar { min-height: 48vh; display: flex; flex-direction: column; justify-content: center; }
.flow-pillar h2 {
  margin: 0; font-size: clamp(2.6rem, 7.5vw, 6.5rem); line-height: 1.02;
  letter-spacing: -0.035em; font-weight: 650; color: #0f1724;
}
.flow-pillar p { margin: 0.6rem 0 0; font-size: clamp(1.4rem, 3vw, 2.4rem); color: #5c5e62; letter-spacing: -0.01em; }
.flow-pillar-right { text-align: right; align-items: flex-end; }
.flow-pillar-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; padding-top: 6vh; }

@media (max-width: 720px) {
  .flow-word-row { grid-template-columns: 1fr; min-height: 50vh; }
  .flow-num { grid-row: auto; padding-top: 1rem; }
  .flow-panel { height: 85vh; }
  .flow-panel-right .flow-panel-copy { text-align: left; }
  .flow-panel-right .flow-panel-copy p { margin-left: 0; }
  .flow-pillar-right { text-align: left; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .flow-panel-img { inset: 0; transform: none !important; }
}

/* heyoodle-like familiar strip after chapters */
.story-familiar {
  padding: 4.5rem 0 5rem;
  background: #0f1724;
  color: #f5f6f8;
}
.story-familiar .section-header h2 { color: #f5f6f8; }
.story-familiar .section-intro { color: rgba(245,246,248,0.65); }
.story-familiar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.story-familiar-card {
  padding: 1.35rem 1.25rem;
  border: 1px solid rgba(245,246,248,0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(245,246,248,0.88);
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.55s ease, opacity 0.55s ease, border-color 0.25s ease;
}
.story-familiar-card.is-in {
  transform: translateY(0);
  opacity: 1;
}
.story-familiar-card:hover { border-color: rgba(196,92,38,0.55); }

@media (max-width: 900px) {
  .story-familiar-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .story-familiar-card { opacity: 1; transform: none; }
}

/* ==========================================================================
   Data security / OT cybersecurity section (index #security)
   ========================================================================== */
.sec-subhead {
  margin: 3rem 0 1.25rem; font-size: 1.2rem; font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
}
.sec-section .section-header + .sec-subhead { margin-top: 0; }
.sec-why-grid .card { padding: 1.5rem 1.35rem; }
.sec-why-grid .card p:last-child { font-size: 0.94rem; }
.sec-cap-list li p + p { margin-top: 0.65rem; }
.sec-why { font-size: 0.92rem !important; color: var(--steel-300) !important; }
.sec-why strong { color: #c45c26; font-weight: 600; }
.sec-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: 3rem; align-items: start;
}
.sec-split h3 { margin: 0 0 1rem; font-size: 1.15rem; color: var(--ink); }
.sec-deliverables .checklist li { font-size: 0.94rem; color: var(--steel-400); }
.sec-check { max-width: none; box-shadow: var(--shadow); }
.sec-check .checklist label { font-size: 0.94rem; }
.sec-check-summary { margin: 1.25rem 0 0; color: var(--steel-300); font-size: 0.95rem; }
.sec-check-summary strong { color: var(--ink); }
.sec-note { margin: 2rem 0 0; max-width: 780px; font-size: 0.88rem; color: var(--steel-400); }
@media (max-width: 960px) {
  .sec-split { grid-template-columns: 1fr; }
}
.sec-check .checklist { gap: 0.5rem; }
.sec-check .checklist li { padding: 0.65rem 0.9rem; }

/* ==========================================================================
   v20261007img — visual scroll story, process timeline, specs
   ========================================================================== */

/* Reveal variants */
[data-reveal="clip"] {
  opacity: 1; transform: none;
  clip-path: inset(14% 10% 14% 10% round 28px);
  transition: clip-path 1.2s cubic-bezier(.2,.7,.2,1);
}
[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 22px); }

/* 1) Flow words — each row now carries a technical graphic */
.flow-words { padding: 14vh 0 10vh; }
.flow-word-row {
  min-height: 56vh;
  grid-template-columns: 4rem minmax(0, 1fr) minmax(280px, 380px);
  column-gap: 2.5rem;
  padding: 3rem 0;
}
.flow-word { font-size: clamp(2.6rem, 6.6vw, 6.25rem); }
.fw-viz {
  grid-column: 3; grid-row: 1 / span 2; align-self: center;
  margin: 0; padding: 1rem 1rem 0.85rem;
  border: 1px solid rgba(245,246,248,0.12); border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  opacity: 0; transform: translateY(28px) scale(0.97);
  transition: opacity 0.8s ease 0.25s, transform 0.9s cubic-bezier(.2,.7,.2,1) 0.25s;
}
.flow-word-row.is-in .fw-viz { opacity: 1; transform: none; }
.fw-viz svg { width: 100%; height: auto; display: block; overflow: hidden; }
.fw-viz figcaption {
  margin-top: 0.65rem; font-size: 0.8rem; line-height: 1.4; color: rgba(245,246,248,0.55);
}
.fw-viz figcaption a { color: #e8894f; text-decoration: none; font-weight: 600; }
.fw-viz figcaption a:hover { color: #f5f6f8; }
.fw-viz text { font-family: var(--mono); font-size: 10px; fill: rgba(245,246,248,0.62); }
.fw-viz .viz-txt-strong { fill: #f5f6f8; font-weight: 600; }
.fw-viz .viz-txt-dim { fill: rgba(245,246,248,0.42); }
.fw-viz .viz-txt-acc { fill: #e8894f; }
.fw-viz .viz-line { fill: none; stroke: rgba(245,246,248,0.72); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.fw-viz .viz-dim { fill: none; stroke: rgba(245,246,248,0.18); stroke-width: 1; }
.fw-viz .viz-acc { fill: none; stroke: #e8894f; stroke-width: 1.6; stroke-linecap: round; }
.fw-viz .viz-acc.dash, .fw-viz .viz-acc.beam { stroke-dasharray: 4 4; stroke-width: 1.2; }
.fw-viz .viz-acc-fill { fill: #e8894f; }
.fw-viz .viz-trend { fill: none; stroke: #f5f6f8; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.fw-viz .viz-box { fill: rgba(245,246,248,0.06); stroke: rgba(245,246,248,0.35); stroke-width: 1; }
.fw-viz .viz-box-strong { fill: rgba(245,246,248,0.08); stroke: rgba(245,246,248,0.7); stroke-width: 1.2; }
.fw-viz .viz-node { fill: #121925; stroke: #e8894f; stroke-width: 1.2; }
.fw-viz .viz-dim-box { fill: rgba(245,246,248,0.03); stroke: rgba(245,246,248,0.14); }
.fw-viz .viz-duct { fill: rgba(245,246,248,0.07); stroke: rgba(245,246,248,0.22); }
.fw-viz .viz-plate { fill: rgba(232,137,79,0.12); stroke: #e8894f; }
.fw-viz .viz-carton { fill: #c9a27a; stroke: #8a6a4a; stroke-width: 0.8; }
.fw-viz .t-blue { fill: #3b82f6; } .fw-viz .t-acc { fill: #e8894f; } .fw-viz .t-grey { fill: rgba(245,246,248,0.45); }
.fw-viz .tl-node {
  fill: #0b0f16; stroke: rgba(245,246,248,0.5); stroke-width: 1.4;
  transition: fill 0.4s ease, stroke 0.4s ease; transition-delay: calc(0.5s + var(--i) * 0.18s);
}
.flow-word-row.is-in .tl-node { fill: #e8894f; stroke: #e8894f; }
/* line drawing */
.fw-viz .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.4,.1,.2,1) 0.35s; }
.flow-word-row.is-in .fw-viz .draw { stroke-dashoffset: 0; }
.fw-viz .viz-flow { animation: fw-convey 7s linear infinite; animation-play-state: paused; }
.flow-word-row.is-in .viz-flow { animation-play-state: running; }
@keyframes fw-convey { from { transform: translateX(0); } to { transform: translateX(560px); } }
.fw-viz .pulse { transform-origin: 318px 152px; transform-box: view-box; animation: fw-pulse 1.8s ease-in-out infinite; }
@keyframes fw-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
.fw-code {
  margin: 0; padding: 0.4rem 0.2rem; overflow-x: auto;
  font-family: var(--mono); font-size: 0.78rem; line-height: 1.7; color: rgba(245,246,248,0.85);
  white-space: pre;
}
.fw-code .k { color: #e8894f; font-weight: 600; }
.fw-code .c { color: rgba(245,246,248,0.42); }
.fw-code .n { color: #7cc4ff; }

/* 3) Pillars — image + spec card + copy, alternating */
.flow-pillars { padding: 14vh 0 12vh; }
.pillar {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: 4.5rem 0;
}
.pillar + .pillar { border-top: 1px solid rgba(15,23,36,0.08); }
.pillar-flip .pillar-visual { order: 2; }
.pillar-visual { position: relative; padding-bottom: 3rem; }
.pillar-media {
  position: relative; overflow: hidden; border-radius: 22px;
  aspect-ratio: 4 / 3; background: #0f1724;
  box-shadow: 0 30px 60px -30px rgba(15,23,36,0.45);
}
.pillar-img { position: absolute; inset: -12% 0; will-change: transform; }
.pillar-img picture, .pillar-img img { display: block; width: 100%; height: 100%; }
.pillar-img img { object-fit: cover; transform: scale(1.14); transition: transform 1.8s cubic-bezier(.2,.7,.2,1); }
.pillar-media.is-in .pillar-img img { transform: scale(1); }
.pillar-card {
  position: absolute; right: -1.5rem; bottom: 0; width: min(330px, 78%);
  padding: 1rem 1.1rem; border-radius: 16px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(15,23,36,0.08); box-shadow: 0 20px 40px -18px rgba(15,23,36,0.35);
  transition-delay: 0.35s;
}
.pillar-flip .pillar-card { right: auto; left: -1.5rem; }
.pillar-card-title {
  margin: 0 0 0.6rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #c45c26;
}
.pillar-check, .pillar-alarms, .pillar-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.pillar-check li { display: flex; gap: 0.55rem; font-size: 0.86rem; line-height: 1.35; color: #171a20; }
.pillar-check li span { color: #059669; font-weight: 700; }
.pillar-alarms li { display: grid; gap: 0.1rem; padding: 0.45rem 0.6rem; border-radius: 8px; background: #fff4ee; border-left: 3px solid #c45c26; }
.pillar-alarms li:nth-child(3) { background: #f4f4f4; border-left-color: #8e8e93; }
.pillar-alarms code { font-family: var(--mono); font-size: 0.74rem; color: #171a20; font-weight: 600; }
.pillar-alarms span { font-size: 0.8rem; color: #5c5e62; }
.pillar-tl { gap: 0.3rem; position: relative; }
.pillar-tl li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 0.5rem; font-size: 0.82rem; line-height: 1.35; color: #393c41; }
.pillar-tl b { font-family: var(--mono); font-size: 0.74rem; color: #171a20; }
.pillar-tl li:last-child { color: #171a20; font-weight: 600; }
.pillar-num { margin: 0 0 0.9rem; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: #c45c26; font-weight: 600; }
.pillar-copy h2 {
  margin: 0 0 1rem; font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.04;
  letter-spacing: -0.035em; font-weight: 650; color: #0f1724;
}
.pillar-lead { margin: 0 0 1.25rem; font-size: 1.08rem; color: #393c41; max-width: 34rem; }
.pillar-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; max-width: 34rem; }
.pillar-facts li { position: relative; padding-left: 1.4rem; font-size: 0.97rem; color: #5c5e62; line-height: 1.5; }
.pillar-facts li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.6rem; height: 2px; background: #c45c26; }
.flow-pillar-cta { padding-top: 3rem; }

/* Vendor chips with product lines */
.vendor-chip small { display: block; margin-top: 0.1rem; font-size: 0.74rem; font-weight: 500; color: var(--steel-400); }

/* Process timeline */
.proc-list { list-style: none; margin: 0; padding: 0; position: relative; }
.proc-list::before { content: ""; position: absolute; left: 1.15rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: linear-gradient(#c45c26, rgba(196,92,38,0.15)); }
.proc-step {
  position: relative; display: grid; grid-template-columns: 17rem 1fr 1fr; gap: 1.5rem 2rem;
  padding: 1.5rem 0 1.5rem 3.5rem; border-bottom: 1px solid var(--border);
}
.proc-step:last-child { border-bottom: none; }
.proc-num {
  position: absolute; left: 0; top: 1.45rem; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid #c45c26;
  font-size: 0.8rem; font-weight: 700; color: #c45c26; font-variant-numeric: tabular-nums;
}
.proc-head h3 { margin: 0.3rem 0 0.25rem; font-size: 1.1rem; color: var(--ink); }
.proc-time { margin: 0; font-size: 0.82rem; color: var(--muted); font-family: var(--mono); }
.proc-what, .proc-out { margin: 0.3rem 0 0; font-size: 0.95rem; color: var(--steel-400); }
.proc-out strong { color: var(--ink); }
.proc-note { margin: 1.5rem 0 0; font-size: 0.85rem; color: var(--steel-400); }

/* Specs + closeout */
.spec-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: start; }
.spec-card h3 { margin: 0 0 1rem; }
.spec-list { margin: 0; display: grid; gap: 0; }
.spec-list > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid var(--border); }
.spec-list dt { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.spec-list dd { margin: 0; font-size: 0.93rem; color: var(--steel-400); }
.spec-card .checklist li { font-size: 0.93rem; color: var(--steel-400); padding: 0.7rem 0.9rem; }

@media (max-width: 960px) {
  .proc-step { grid-template-columns: 1fr; gap: 0.35rem; }
  .spec-split { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .flow-word-row { grid-template-columns: 3rem minmax(0, 1fr); }
  .fw-viz { grid-column: 1 / -1; grid-row: auto; margin-top: 1.75rem; max-width: 460px; }
}
@media (max-width: 720px) {
  .flow-words { padding: 4.5rem 0 3rem; }
  .flow-kicker { margin-bottom: 1.25rem; }
  .flow-word-row { grid-template-columns: 1fr; min-height: 0; padding: 2.25rem 0 2.5rem; }
  .flow-word { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .flow-note { margin-top: 0.7rem; }
  .fw-viz { margin-top: 1.25rem; max-width: none; padding: 0.8rem 0.8rem 0.7rem; }
  .fw-code { font-size: 0.72rem; }
  .flow-pillars { padding: 4rem 0 3.5rem; }
  .pillar, .pillar-flip { grid-template-columns: 1fr; gap: 1.25rem; padding: 2.25rem 0 2.5rem; }
  .pillar-flip .pillar-visual { order: 0; }
  .pillar-visual { padding-bottom: 0; }
  .pillar-media { aspect-ratio: 4 / 3; border-radius: 18px; }
  .pillar-card, .pillar-flip .pillar-card {
    position: relative; left: auto; right: auto; bottom: auto;
    width: auto; margin: -2.75rem 0.75rem 0;
  }
  .pillar-copy h2 { font-size: clamp(1.9rem, 8.5vw, 2.5rem); }
  .pillar-lead { font-size: 1rem; }
  .flow-pillar-cta { padding-top: 1.5rem; justify-content: flex-start; }
  .proc-step { padding-left: 3.1rem; }
  .spec-list > div { grid-template-columns: 1fr; gap: 0.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal="clip"] { clip-path: none; transition: none; }
  .fw-viz { opacity: 1; transform: none; transition: none; }
  .fw-viz .draw { stroke-dashoffset: 0; transition: none; }
  .fw-viz .viz-flow, .fw-viz .pulse { animation: none; }
  .fw-viz .tl-node { fill: #e8894f; stroke: #e8894f; transition: none; }
  .pillar-img { inset: 0; transform: none !important; }
  .pillar-img img { transform: none; transition: none; }
}
.flow-word-row > .flow-word { align-self: end; }
.flow-word-row > .flow-note { align-self: start; }
@media (max-width: 900px) {
  .flow-word-row > .flow-word, .flow-word-row > .flow-note { align-self: auto; }
}

/* ===== Safety: vendors, standards references, "Would you like to know more?" ===== */
.sf-block { margin-top: 3.25rem; }
.sf-subhead {
  margin: 0 0 0.4rem; font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 600;
  letter-spacing: -0.02em; color: var(--ink);
}
.sf-lead { margin: 0 0 1.5rem; color: var(--steel-400); max-width: 46rem; font-size: 0.98rem; }
.sf-vendors { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: start; }
.sf-vendor h4 { margin: 0 0 0.6rem; font-size: 1.2rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.sf-vcat { margin: 0 0 0.35rem !important; font-size: 0.75rem !important; font-weight: 600; letter-spacing: 0.02em; color: var(--muted) !important; }
.sf-lines { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.sf-lines li {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.9rem; align-items: baseline;
  padding-top: 0.7rem; border-top: 1px solid var(--border); font-size: 0.93rem; color: var(--steel-400);
}
.sf-lines strong { color: var(--ink); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.01em; }
.sf-note {
  margin-top: 1.1rem !important; padding: 0.75rem 0.9rem; border-radius: 10px;
  background: #f4f4f4; font-size: 0.9rem !important; color: var(--steel-300) !important;
}

.sf-std-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.sf-std-group {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.1rem; box-shadow: var(--shadow);
}
.sf-std-cat { margin: 0 0 0.75rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; color: var(--muted); text-transform: uppercase; }
.sf-std-list { list-style: none; margin: 0; padding: 0; }
.sf-std-list li {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.85rem; align-items: baseline;
  padding: 0.6rem 0; border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--steel-400); line-height: 1.5;
}
.sf-std-list li:first-child { border-top: 0; padding-top: 0.2rem; }
.sf-std-code { font-weight: 600; color: var(--ink); font-size: 0.86rem; white-space: nowrap; }

/* Expandable panel */
.sf-more {
  margin-top: 2.5rem; background: var(--paper); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.sf-more:hover, .sf-more[open] { box-shadow: var(--shadow-hover); }
.sf-more[open] { border-color: #d6d6d6; }
.sf-more > summary {
  list-style: none; cursor: pointer; position: relative;
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 1.4rem 4.25rem 1.4rem 1.6rem;
}
.sf-more > summary::-webkit-details-marker { display: none; }
.sf-more > summary::marker { content: ""; }
.sf-more > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; border-radius: 18px; }
.sf-more-title { font-size: 1.2rem; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.sf-more-sub { font-size: 0.92rem; color: var(--muted); }
.sf-chev {
  position: absolute; right: 1.4rem; top: 50%; width: 2.1rem; height: 2.1rem; margin-top: -1.05rem;
  border-radius: 50%; background: #f4f4f4; transition: transform 0.3s ease, background 0.2s ease;
}
.sf-chev::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 0.5rem; height: 0.5rem;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translate(-50%, -70%) rotate(45deg);
}
.sf-more > summary:hover .sf-chev { background: #ebebeb; }
.sf-more[open] .sf-chev { transform: rotate(180deg); }
.sf-more-body {
  padding: 0.25rem 1.6rem 1.75rem; border-top: 1px solid var(--border);
  color: var(--steel-400); font-size: 0.96rem;
}
.sf-more[open] .sf-more-body { animation: sfReveal 0.35s ease both; }
@keyframes sfReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.sf-more-body h4 {
  margin: 2rem 0 0.5rem; font-size: 1.08rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
}
.sf-more-body h4:first-child { margin-top: 1.5rem; }
.sf-more-body p { margin: 0 0 0.8rem; max-width: 52rem; }
.sf-more-body strong { color: var(--steel-200); }
.sf-bullets { margin: 0 0 0.9rem; padding-left: 1.2rem; max-width: 52rem; }
.sf-bullets li { margin: 0.3rem 0; }
.sf-small { font-size: 0.86rem !important; color: var(--muted); }
.sf-table-wrap { border: 1px solid var(--border); border-radius: 12px; margin: 0.75rem 0 0.75rem; -webkit-overflow-scrolling: touch; }
.sf-table-wrap:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sf-table { font-size: 0.9rem; }
.sf-narrow { max-width: 560px; }
.sf-table th, .sf-table td:first-child { white-space: nowrap; }
.sf-table tr:last-child td { border-bottom: 0; }
.sf-table td strong { color: var(--ink); }
.sf-callout {
  margin: 1.75rem 0 0.5rem; padding: 1.1rem 1.25rem; border-radius: 12px;
  background: #f4f4f4; border-left: 3px solid var(--ink);
}
.sf-callout p:last-child { margin-bottom: 0; }
.sf-disclaimer {
  margin-top: 1.5rem !important; padding-top: 1rem; border-top: 1px solid var(--border);
  font-size: 0.88rem; color: var(--steel-400);
}
.need-more-link { margin: 0; font-size: 0.92rem; font-weight: 500; }

@media (max-width: 900px) {
  .sf-vendors, .sf-std-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sf-lines li, .sf-std-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  .sf-std-code { white-space: normal; }
  .sf-more > summary { padding: 1.15rem 3.6rem 1.15rem 1.15rem; }
  .sf-chev { right: 1rem; }
  .sf-more-body { padding: 0.25rem 1.15rem 1.4rem; }
  /* Category table: stack rows into labeled cards on phones */
  .sf-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sf-stack, .sf-stack tbody, .sf-stack tr, .sf-stack td { display: block; width: 100%; }
  .sf-stack tr { padding: 0.65rem 0.85rem; border-bottom: 1px solid var(--border); }
  .sf-stack tr:last-child { border-bottom: 0; }
  .sf-stack td { border: 0; padding: 0.15rem 0; display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.6rem; }
  .sf-stack td::before { content: attr(data-label); font-size: 0.78rem; font-weight: 600; color: var(--muted); }
  .sf-stack tr:hover td { background: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sf-chev, .sf-more { transition: none; }
  .sf-more[open] .sf-more-body { animation: none; }
}

/* ===== Safety hardware by device type (v2) ===== */
.sf-hw { display: grid; gap: 1.25rem; }
.sf-dev {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 1.75rem;
  background: var(--paper); border: 1px solid var(--border); border-radius: 18px;
  padding: 1.75rem 1.75rem 1.6rem; box-shadow: var(--shadow);
}
.sf-dev-kicker { margin: 0 0 0.3rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.sf-dev h4 { margin: 0 0 0.7rem; font-size: 1.22rem; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.sf-dev-main > p { margin: 0 0 0.75rem; color: var(--steel-400); font-size: 0.95rem; line-height: 1.6; }
.sf-dev-main strong { color: var(--steel-200); }
.sf-dev-list { margin: 0 0 0.75rem; padding-left: 1.1rem; color: var(--steel-400); font-size: 0.93rem; }
.sf-dev-list li { margin: 0.35rem 0; }
.sf-warn {
  padding: 0.7rem 0.9rem; border-radius: 10px; background: #fff7ed;
  border-left: 3px solid #c2410c; font-size: 0.9rem !important; color: var(--steel-300) !important;
}
.sf-brands { display: flex; flex-direction: column; gap: 0.6rem; }
.sf-brand { padding: 0.85rem 1rem; border-radius: 12px; background: #f6f6f7; border: 1px solid #ededee; }
.sf-bname { margin: 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.sf-models { margin: 0.15rem 0 0.3rem; font-size: 0.95rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.sf-bnote { margin: 0; font-size: 0.86rem; color: var(--steel-400); line-height: 1.5; }
.sf-wire {
  margin-top: 0.9rem; border: 1px solid var(--border); border-radius: 12px; background: #fafafa;
  overflow: hidden;
}
.sf-wire > summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 0.7rem 2.6rem 0.7rem 1rem; font-size: 0.9rem; font-weight: 600; color: var(--ink);
}
.sf-wire > summary::-webkit-details-marker { display: none; }
.sf-wire > summary::marker { content: ""; }
.sf-wire > summary::after {
  content: ""; position: absolute; right: 1.05rem; top: 50%; width: 0.45rem; height: 0.45rem;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.25s ease;
}
.sf-wire[open] > summary::after { transform: translateY(-30%) rotate(225deg); }
.sf-wire > summary:hover { background: #f2f2f2; }
.sf-wire > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; border-radius: 12px; }
.sf-wire ul { margin: 0; padding: 0.2rem 1.1rem 0.9rem 2.1rem; border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--steel-400); line-height: 1.55; }
.sf-wire[open] ul { animation: sfReveal 0.3s ease both; }
.sf-wire li { margin: 0.55rem 0 0; }
.sf-wire strong { color: var(--steel-200); }
.sf-note-wide { max-width: none; margin-top: 1.25rem !important; background: var(--paper) !important; border: 1px solid var(--border); }
@media (max-width: 900px) {
  .sf-dev { grid-template-columns: 1fr; gap: 1.1rem; padding: 1.35rem 1.2rem; }
}
@media (max-width: 560px) {
  .sf-dev { padding: 1.15rem 1rem; border-radius: 16px; }
  .sf-wire ul { padding-left: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sf-wire > summary::after { transition: none; }
  .sf-wire[open] ul { animation: none; }
}

/* ===== Per-card "Would you like to know more?" (v3) ===== */
.sf-dev { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
.sf-dev-one { margin: 0 !important; font-size: 1rem !important; color: var(--steel-300) !important; line-height: 1.6; max-width: 34rem; }
.sf-more.sf-more-card {
  grid-column: 1 / -1; margin-top: 0.25rem; border-radius: 14px; box-shadow: none; background: #fafafa;
}
.sf-more.sf-more-card:hover, .sf-more.sf-more-card[open] { box-shadow: none; border-color: #d6d6d6; }
.sf-more-card > summary { padding: 0.95rem 3.5rem 0.95rem 1.15rem; gap: 0.1rem; }
.sf-more-card > summary:focus-visible { border-radius: 14px; }
.sf-more-card .sf-more-title { font-size: 1rem; }
.sf-more-card .sf-more-sub { font-size: 0.85rem; }
.sf-more-card .sf-chev { right: 1rem; width: 1.8rem; height: 1.8rem; margin-top: -0.9rem; background: #ececec; }
.sf-more-card > summary:hover .sf-chev { background: #e2e2e2; }
.sf-more-card .sf-more-body { padding: 0.1rem 1.15rem 1.2rem; font-size: 0.93rem; background: var(--paper); }
.sf-more-body h5 { margin: 1.25rem 0 0.4rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.sf-more-card .sf-bullets li { margin: 0.45rem 0; }
.sf-more-card .sf-dev-list { font-size: 0.93rem; }
.sf-brands .sf-brand { padding: 0.7rem 0.95rem; }
.sf-brands .sf-models { margin-bottom: 0; }
@media (max-width: 900px) {
  .sf-dev { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sf-more-card > summary { padding: 0.85rem 3.2rem 0.85rem 0.95rem; }
  .sf-more-card .sf-chev { right: 0.85rem; }
  .sf-more-card .sf-more-body { padding: 0.1rem 0.95rem 1.1rem; }
}

/* Email contact (replaces placeholder phone) */
.phone-cta-block .phone-big, .cta-band a.phone-inline, .phone-link { overflow-wrap: anywhere; }

/* Done right */
.dr-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: center; }
.dr-layout.compact { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.dr-photo { margin: 0; }
.dr-photo img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: cover; object-position: center 30%; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.dr-photo figcaption { margin-top: .6rem; font-size: .9rem; color: #5b6470; }
.dr-copy h2 { margin-top: .25rem; }
.dr-compare ul { list-style: none; margin: 1.25rem 0 0; padding: 0; border: 1px solid rgba(0,0,0,.1); border-radius: 12px; overflow: hidden; background: #fff; }
.dr-compare li { display: grid; grid-template-columns: 1fr 1fr; }
.dr-compare li + li { border-top: 1px solid rgba(0,0,0,.08); }
.dr-compare span { padding: .7rem 1rem; font-size: .95rem; }
.dr-compare .dr-head span { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; background: #f3f4f6; }
.dr-bad { color: #7a2e2e; }
.dr-good { color: #1d4d32; font-weight: 600; border-left: 1px solid rgba(0,0,0,.08); }
.dr-head span + span { border-left: 1px solid rgba(0,0,0,.08); }
@media (max-width: 860px) {
  .dr-layout, .dr-layout.compact { grid-template-columns: 1fr; gap: 1.5rem; }
  .dr-photo img { max-height: 520px; }
  .dr-compare span { padding: .6rem .7rem; font-size: .9rem; }
}

/* Real photos */
.real-photo { margin: 0 0 1.75rem; }
.real-photo img { display: block; width: 100%; object-fit: cover; border-radius: 18px; }
.real-photo figcaption { margin-top: .55rem; font-size: .9rem; color: #5b6470; }
.real-pair { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 1.25rem; align-items: start; }
.real-pair .real-photo { margin: 0; }
@media (max-width: 860px) { .real-pair { grid-template-columns: 1fr; } .real-photo img { height: 300px !important; } }
.real-intro { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 2rem; align-items: center; margin-bottom: 1.75rem; }
.real-intro .section-header { margin-bottom: 0; }
.real-intro .real-photo { margin: 0; }
@media (max-width: 860px) { .real-intro { grid-template-columns: 1fr; } }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.1rem; }
.gallery-item { margin: 0; }
.gallery-item a { display: block; border-radius: 14px; overflow: hidden; }
.gallery-item img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; transition: transform .3s ease; }
.gallery-item a:hover img, .gallery-item a:focus-visible img { transform: scale(1.03); }
.gallery-item figcaption { margin-top: .5rem; font-size: .9rem; color: #5b6470; }
@media (max-width: 960px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Scroll panels (sticky slide-over) */
.scroll-panels { position: relative; background: #0b0d10; }
.sp-panel { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; --e: 1; --x: 0; }
.sp-media { position: absolute; inset: 0; transform: scale(calc(1 + 0.08 * var(--x))) translateY(calc(-4% * var(--x))); will-change: transform; }
.sp-media img, .sp-media picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,8,12,.82) 0%, rgba(5,8,12,.45) 40%, rgba(5,8,12,.12) 75%); pointer-events: none; }
.sp-copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 12svh; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; color: #fff; opacity: var(--e); transform: translateY(calc(40px * (1 - var(--e)))); }
.sp-copy h2 { color: #fff; font-size: clamp(2rem, 5.5vw, 4.25rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 .75rem; max-width: 14ch; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.sp-copy p { color: rgba(255,255,255,.9); font-size: clamp(1.02rem, 1.6vw, 1.3rem); max-width: 40ch; margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .sp-panel { position: relative; }
  .sp-media { transform: none !important; }
  .sp-copy { opacity: 1 !important; transform: none !important; }
}

/* Ready to do things the right way */
.right-way .dr-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.right-way .check-list, .about-story .check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.6rem; }
.right-way .check-list li, .about-story .check-list li { display: flex; gap: 0.6rem; align-items: baseline; }
@media (max-width: 860px) {
  .right-way .dr-layout { grid-template-columns: 1fr; }
  .right-way .dr-photo { order: -1; }
}

/* Bold hero (index) */
.hero.hero-bold { position: relative; min-height: 92vh; display: flex; align-items: flex-end; padding: 0; overflow: hidden; background: #0b0d10; color: #fff; }
.hero-bold .hb-bg { position: absolute; inset: 0; }
.hero-bold .hb-bg picture, .hero-bold .hb-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-bold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,12,.45) 0%, rgba(5,8,12,.55) 40%, rgba(5,8,12,.88) 100%); }
.hero-bold .hb-content { position: relative; z-index: 1; padding-top: 6rem; padding-bottom: clamp(3rem, 9vh, 6rem); width: 100%; }
.hb-kicker { margin: 0 0 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.hero-bold h1 { margin: 0; color: #fff; text-transform: uppercase; font-weight: 900; letter-spacing: -0.02em; line-height: .95; font-size: clamp(2.6rem, 8.2vw, 6rem); max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-bold .hb-l1, .hero-bold .hb-l2 { display: block; }
.hero-bold .hb-l2 { font-weight: 700; color: rgba(255,255,255,.78); margin-top: .12em; }
.hb-lead { margin: 1.25rem 0 0; max-width: 46ch; font-size: clamp(1.02rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.92); }
.hb-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hb-btn-primary { background: #fff; color: #0b0d10; border: 1px solid #fff; }
.hb-btn-primary:hover { background: rgba(255,255,255,.88); }
.hb-btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.7); }
.hb-btn-ghost:hover { background: rgba(255,255,255,.18); }
.hb-link { display: inline-block; margin-top: 1.1rem; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta-band-below { margin: 0; }
.flow-words { overflow-x: clip; }
@media (max-width: 640px) {
  .hero.hero-bold { min-height: 88vh; min-height: 88svh; }
  .hero-bold .hb-content { padding-top: 4rem; }
  .hb-actions .btn { flex: 1 1 100%; text-align: center; }
}
.hero-bold .hb-content { padding-left: clamp(1.25rem, 4vw, 2rem); padding-right: clamp(1.25rem, 4vw, 2rem); box-sizing: border-box; max-width: 1200px; margin: 0 auto; }
@media (max-width: 640px) { .hb-kicker { letter-spacing: .1em; font-size: .72rem; } }

/* Quote configurator (design.html) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cf-main { background: #fff; min-height: 70vh; }
.cf-progress { position: sticky; top: 0; z-index: 5; height: 3px; background: #eef0f3; }
.cf-progress span { display: block; height: 100%; background: #111; transform-origin: left; transform: scaleX(0.14); transition: transform .35s ease; }
.cf { max-width: 720px; margin: 0 auto; padding: 2.5rem 1.25rem 8rem; }
.cf-kicker { margin: 0 0 .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6b7280; }
.cf-q { font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5rem; outline: none; }
.cf-sub { color: #5b6470; font-size: 1.05rem; margin: 0 0 1.5rem; }
.cf-step.cf-in { animation: cfIn .35s ease both; }
@keyframes cfIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.cf-cards { display: grid; gap: .75rem; }
.cf-cards.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cf-card { position: relative; display: flex; align-items: center; gap: 1rem; min-height: 72px; padding: 1rem 1.1rem; border: 1.5px solid #e3e6ea; border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.cf-cards.two .cf-card { flex-direction: column; align-items: flex-start; gap: .6rem; min-height: 112px; }
.cf-card:hover { border-color: #b8bec6; }
.cf-card input, .cf-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cf-card:has(input:checked) { border-color: #111; box-shadow: 0 0 0 1px #111 inset; background: #f7f8fa; }
.cf-card:has(input:focus-visible), .cf-chip:has(input:focus-visible) { outline: 3px solid #2563eb; outline-offset: 2px; }
.cf-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #f1f3f5; color: #111; }
.cf-ico svg { width: 26px; height: 26px; }
.cf-txt strong { display: block; font-size: 1.05rem; }
.cf-txt small { display: block; color: #6b7280; font-size: .9rem; margin-top: .15rem; }
.cf-size { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.cf-size i { display: block; width: 7px; background: #111; border-radius: 2px; }
.cf-size i:nth-child(1) { height: 10px; } .cf-size i:nth-child(2) { height: 17px; } .cf-size i:nth-child(3) { height: 26px; }
.cf-size.unknown { font-weight: 800; font-size: 1.2rem; align-items: center; }
.cf-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.cf-chip { position: relative; cursor: pointer; }
.cf-chip span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.15rem; border: 1.5px solid #e3e6ea; border-radius: 999px; font-weight: 600; transition: all .2s; }
.cf-chip input:checked + span { background: #111; color: #fff; border-color: #111; }
.cf-summary { list-style: none; margin: 0 0 2rem; padding: 0; border: 1px solid #e6e8eb; border-radius: 18px; overflow: hidden; }
.cf-summary li + li { border-top: 1px solid #eef0f2; }
.cf-row { width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "l e" "v e"; gap: .15rem 1rem; text-align: left; padding: .9rem 1.1rem; min-height: 56px; background: #fff; border: 0; cursor: pointer; font: inherit; color: inherit; }
.cf-row:hover { background: #f7f8fa; }
.cf-row:focus-visible { outline: 3px solid #2563eb; outline-offset: -3px; }
.cf-row span { grid-area: l; font-size: .82rem; color: #6b7280; }
.cf-row strong { grid-area: v; font-size: 1.02rem; }
.cf-row em { grid-area: e; align-self: center; font-style: normal; font-size: .85rem; color: #2563eb; font-weight: 600; }
.cf-contact h2 { font-size: 1.3rem; margin: 0 0 1rem; }
.cf-field { display: block; margin-bottom: .9rem; }
.cf-field span { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.cf-field em { font-style: normal; color: #8a929c; font-weight: 400; }
.cf-field input, .cf-field textarea { width: 100%; box-sizing: border-box; min-height: 50px; padding: .75rem .9rem; font: inherit; font-size: 16px; border: 1.5px solid #dfe3e7; border-radius: 12px; background: #fff; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: #111; box-shadow: 0 0 0 3px rgba(17,17,17,.08); }
.cf-field input[aria-invalid="true"] { border-color: #b42318; }
.cf-error { color: #b42318; font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cf-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid #eceef1; padding: .75rem 1.25rem calc(.75rem + env(safe-area-inset-bottom)); }
.cf-bar-inner { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: .75rem; }
.cf-back { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #e3e6ea; background: #fff; font-size: 1.2rem; cursor: pointer; }
.cf-count { flex: 1; font-size: .85rem; color: #6b7280; }
.cf-next, .cf-submit { min-height: 50px; min-width: 160px; justify-content: center; }
.cf-next:disabled { opacity: .35; cursor: not-allowed; }
.cf-adv { text-align: center; margin: 0; padding: 0 1rem 7rem; font-size: .9rem; }
.cf-adv a { color: #6b7280; }
.cf-done .btn { margin-top: 1rem; }
@media (max-width: 480px) {
  .cf { padding-top: 1.75rem; }
  .cf-next, .cf-submit { flex: 1; min-width: 0; }
  .cf-count { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cf-step.cf-in { animation: none; } .cf-progress span { transition: none; } }
.cf [hidden], .cf-bar[hidden] { display: none !important; }

/* ISA-95 / Purdue pyramid */
.pyr { margin: 0 auto; max-width: 760px; display: grid; gap: .5rem; }
.pyr-l, .pyr-dmz { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .25rem .75rem; text-align: center; padding: 1rem 1.25rem; border-radius: 14px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.pyr-l strong, .pyr-dmz strong { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.pyr-l span, .pyr-dmz span { font-size: 1rem; }
.pyr .l4 { width: 55%; background: #111; color: #fff; }
.pyr .l3 { width: 70%; background: #2b3138; color: #fff; }
.pyr .l2 { width: 85%; background: #e9ecef; color: #111; }
.pyr .l1 { width: 100%; background: #f5f6f7; color: #111; border: 1px solid #e3e6ea; }
.pyr-dmz { width: 62%; border: 2px dashed #9aa3ad; color: #3d444c; background: #fff; padding: .6rem 1rem; }
.pyr figcaption { text-align: center; color: #6b7280; font-size: .9rem; margin-top: .5rem; }
@media (max-width: 640px) { .pyr .l4, .pyr .l3, .pyr .l2, .pyr-dmz { width: 100%; } .pyr-l span, .pyr-dmz span { font-size: .92rem; } }

/* Healthcare: GS1 label + routing flow */
.card-grid.one { grid-template-columns: 1fr; }
.gs1-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem; align-items: start; }
.gs1 { position: relative; margin: 0; background: #fff; border: 1px solid #e3e6ea; border-radius: 18px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.gs1-tag { position: absolute; top: 1rem; right: 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #fff4d6; color: #7a5a00; padding: .25rem .6rem; border-radius: 999px; }
.gs1-code { width: 96px; height: 96px; margin-bottom: 1.25rem; background: #fff; border: 1px solid #111; padding: 6px; box-sizing: border-box; }
.gs1-code span { display: block; width: 100%; height: 100%; background:
  linear-gradient(90deg, #111 0 2px, transparent 2px) 0 0 / 100% 100% no-repeat,
  linear-gradient(0deg, #111 0 2px, transparent 2px) 0 0 / 100% 100% no-repeat,
  repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 0 / 14px 14px; opacity: .9; }
.gs1-list { margin: 0; display: grid; gap: .6rem; }
.gs1-list > div { display: grid; grid-template-columns: 3.4rem 1fr; gap: .75rem; align-items: start; padding: .6rem 0; border-top: 1px solid #eef0f2; }
.gs1-list dt { font-family: ui-monospace, Menlo, monospace; font-weight: 700; font-size: 1.05rem; }
.gs1-list dd { margin: 0; display: grid; gap: .1rem; }
.gs1-list code { font-family: ui-monospace, Menlo, monospace; font-size: 1rem; word-break: break-all; }
.gs1-list small { color: #6b7280; }
.gs1 figcaption { margin-top: .75rem; color: #6b7280; font-size: .88rem; }
.hflow { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 1.4rem; counter-reset: hf; }
.hflow li { position: relative; }
.hflow li span { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 72px; padding: .6rem; border-radius: 14px; background: #111; color: #fff; font-weight: 700; }
.hflow li:last-child span { background: #2b3138; }
.hflow small { font-weight: 500; font-size: .78rem; opacity: .8; }
.hflow li:not(:last-child)::after { content: "→"; position: absolute; right: -.7rem; top: 50%; transform: translate(50%, -50%); color: #8a929c; z-index: 1; font-size: .9rem; }
@media (max-width: 860px) {
  .gs1-wrap { grid-template-columns: 1fr; }
  .hflow { grid-template-columns: 1fr; gap: .9rem; }
  .hflow li:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -.95rem; transform: translateX(50%); }
}

/* Pick / pack / ship groups */
.pps-list { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .7rem; }
.pps-list li { display: grid; gap: .1rem; padding-top: .7rem; border-top: 1px solid #eef0f2; }
.pps-list strong { font-size: .98rem; }
.pps-list span { color: #5b6470; font-size: .92rem; line-height: 1.45; }

/* Print & apply */
.pa-subhead { font-size: 1.25rem; margin: 0 0 1rem; }
.pa-subhead.pa-gap { margin-top: 2.5rem; }
.hflow.hflow-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
@media (max-width: 860px) { .hflow.hflow-5 { grid-template-columns: 1fr; } }

/* Comparison table */
.card-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 860px) { .card-grid.two { grid-template-columns: 1fr; } }
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e3e6ea; border-radius: 16px; background: #fff; }
.cmp-wrap:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .95rem; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: .85rem 1rem; border-bottom: 1px solid #eef0f2; }
.cmp thead th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #5b6470; background: #f7f8fa; }
.cmp tbody th { font-weight: 700; white-space: nowrap; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; box-sizing: border-box; }
  .cmp tr { border-bottom: 1px solid #e3e6ea; padding: .5rem 0; }
  .cmp tbody th { font-size: 1.05rem; padding-bottom: .25rem; border: 0; }
  .cmp td { border: 0; padding: .3rem 1rem; display: grid; grid-template-columns: 7.5rem 1fr; gap: .5rem; }
  .cmp td::before { content: attr(data-label); font-weight: 600; color: #6b7280; font-size: .85rem; }
}

/* About story (index why-section) */
.about-story{max-width:46rem;margin:3rem auto 0;padding-top:2.5rem;border-top:1px solid rgba(127,127,127,.25)}
.about-story h3{font-size:clamp(1.5rem,4.5vw,2.1rem);line-height:1.15;margin:.25rem 0 1rem}
.about-story p{margin:0 0 1rem}
.about-story .check-list{margin:1.25rem 0 1.5rem}
@media (max-width:520px){.about-story .hero-actions .btn{width:100%;text-align:center}}
