/* =========================================================================
   CodingNexus LLC — Corporate Site Styles  (v3, extends product-site v2)
   Hybrid: light corporate hero + dark industrial showcase block.
   Extends the product-site CSS with:
     - pillar/engagement/founder/disqualifier components
     - status badges (Live / Beta / Coming-Soon)
     - tag-row + engagement-meta + bridge-callout primitives
     - pillar accent classes (Industrial=teal, Software=violet)
   Self-hosted Source Serif 4 in /assets/fonts/source-serif-4-var.woff2.
   ========================================================================= */

/* ---------- Font (self-hosted, drop in /assets/fonts/source-serif-4-var.woff2) ---------- */
@font-face {
  font-family: 'Source Serif 4';
  src: url('/assets/fonts/source-serif-4-var.woff2') format('woff2-variations'),
       url('/assets/fonts/source-serif-4-var.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Light theme tokens */
  --bg:           #fbfaf7;
  --bg-2:         #f3f1ec;
  --surface:      #ffffff;
  --ink:          #15212e;
  --ink-2:        #2e3b4d;
  --ink-3:        #5a6678;
  --ink-4:        #8a94a4;
  --rule:         #d8d4cb;
  --rule-soft:    #e6e2d8;
  --accent:       #1d3557;
  --accent-soft:  #e9edf3;
  --accent-2:     #4cc2ff;
  --ok:           #1a8754;
  --warn:         #b45309;
  --err:          #b3261e;
  --focus-ring:   0 0 0 3px rgba(29, 53, 87, 0.30);

  /* Dark industrial palette (industrial-section + footer) */
  --d-bg:         #0e1116;
  --d-surface:    #1a2027;
  --d-surface-2:  #232c37;
  --d-border:     #2c3540;
  --d-ink:        #e8eef3;
  --d-ink-2:      #98a3ad;
  --d-ink-3:      #5d6770;
  --d-accent:     #4cc2ff;
  --d-ok:         #3dd68c;
  --d-warn:       #f5a623;
  --d-err:        #ff4d4f;
  --d-port-plc:   #06b6d4;
  --d-port-cv:    #2dd4bf;
  --d-port-ai:    #a78bfa;
  --d-port-trig:  #fb923c;

  /* Status colors for product cards */
  --status-live:        #1a8754;
  --status-beta:        #b45309;
  --status-coming-soon: #5a6678;
  --d-port-trig:  #fb923c;

  /* Type scale */
  --fs-xs:        12px;
  --fs-sm:        14px;
  --fs-base:      17px;
  --fs-lg:        20px;
  --fs-xl:        24px;
  --fs-2xl:       30px;
  --fs-3xl:       38px;
  --fs-4xl:       48px;
  --fs-5xl:       56px;
  --lh-tight:     1.18;
  --lh-body:      1.6;

  --container:    1180px;
  --pad-x:        clamp(20px, 4vw, 40px);
  --nav-h:        72px;

  --serif:        'Source Serif 4', Charter, 'Iowan Old Style', Georgia, serif;
  --sans:         -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --mono:         'JetBrains Mono', 'Cascadia Mono', 'SF Mono', Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 8px); }

body {
  font-family: var(--serif);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute; top: -100px; left: 8px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px;
  font-family: var(--sans); font-weight: 600; font-size: var(--fs-sm);
  text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ---------- Focus rings (single source of truth) ---------- */
:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible,
[role="button"]:focus-visible, input:focus-visible, textarea:focus-visible,
.cal-day:focus-visible, .slot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
  border-radius: 1px;
}
.industrial-section *:focus-visible {
  outline-color: var(--d-accent);
  box-shadow: 0 0 0 3px rgba(76, 194, 255, 0.4);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; letter-spacing: -0.012em; line-height: var(--lh-tight); }
h1 { font-size: clamp(var(--fs-3xl), 5.2vw, var(--fs-5xl)); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: clamp(var(--fs-2xl), 3.6vw, 42px); margin-bottom: 18px; }
h3 { font-size: var(--fs-lg); font-weight: 600; margin-bottom: 8px; letter-spacing: -0.005em; }
h4 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-family: var(--sans); }

p { color: var(--ink-2); margin-bottom: 14px; }
p.lead { font-size: var(--fs-lg); color: var(--ink-2); max-width: 760px; line-height: 1.55; }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.eyebrow {
  display: inline-block; font-family: var(--sans); font-weight: 700;
  font-size: var(--fs-xs); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}

.ic {
  font-family: var(--mono); font-size: 0.88em;
  background: var(--bg-2); border: 1px solid var(--rule);
  padding: 1px 6px; color: var(--accent);
}

/* Card title (unified across audience/value/plc) */
.card-title {
  font-family: var(--sans); font-size: 16px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.005em; margin-bottom: 8px;
}

.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.subline-narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.note-muted { font-size: var(--fs-sm); color: var(--ink-3); }
.brand-suffix { font-style: normal; font-weight: 400; color: var(--ink-3); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms, box-shadow 160ms;
}
.nav.scrolled { border-bottom-color: var(--rule); box-shadow: 0 1px 0 var(--rule); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 600; font-size: 20px;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.nav-brand-mark {
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
}
.nav-brand-mark img { width: 100%; height: 100%; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; font-family: var(--sans); }
.nav-links a {
  font-size: 14.5px; color: var(--ink-2); text-decoration: none; font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-family: var(--sans); font-weight: 600; font-size: 14.5px;
  background: var(--accent); color: #fff !important; padding: 11px 18px;
  text-decoration: none !important;
  border-radius: 2px;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.18);
  transition: background 120ms, transform 100ms;
}
.nav-cta:hover { background: var(--ink); }
.nav-cta:active { transform: translateY(1px); }
.lang-switch { font-family: var(--sans); font-size: 13px; color: var(--ink-3); letter-spacing: 0.04em; }
.lang-switch a { color: var(--ink-3); text-decoration: none; padding: 2px 6px; }
.lang-switch a.active, .lang-switch a[aria-current="page"] { color: var(--ink); font-weight: 700; }

.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 8px; flex-direction: column; gap: 5px; justify-content: center;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 1px; transition: transform 160ms; }
.nav[data-open="true"] .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav[data-open="true"] .nav-toggle span:nth-child(2) { opacity: 0; }
.nav[data-open="true"] .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    padding: 18px var(--pad-x);
  }
  .nav[data-open="true"] .nav-links { display: flex; }
  .nav-links a, .nav-links .nav-cta { font-size: 16px; padding: 10px 0; width: 100%; }
  .nav-links .nav-cta { padding: 12px 16px; margin-top: 8px; text-align: center; }
  .nav-links .lang-switch { padding: 8px 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 80px) 0 clamp(56px, 8vw, 90px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -200px; right: -150px;
  width: 700px; height: 700px; pointer-events: none;
  background: radial-gradient(circle, rgba(29, 53, 87, 0.06) 0%, transparent 70%);
}
.hero-inner { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.04em; color: var(--ink-3);
  padding: 6px 12px; background: var(--surface); border: 1px solid var(--rule);
  margin-bottom: 24px;
}
.hero-tag .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--d-accent);
  box-shadow: 0 0 0 0 rgba(76, 194, 255, 0.5);
  animation: led-pulse 2.4s ease-in-out infinite;
}
@keyframes led-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 194, 255, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(76, 194, 255, 0); }
}
.hero h1 .accent {
  color: var(--accent);
  box-shadow: inset 0 -8px 0 var(--accent-soft);
}
.hero-definition {
  font-family: var(--serif); font-size: var(--fs-lg);
  color: var(--ink); max-width: 720px; margin: 18px 0 0;
  border-left: 3px solid var(--accent); padding-left: 16px;
}
.hero-definition strong { color: var(--ink); font-weight: 600; }
.hero-subline {
  font-size: clamp(17px, 1.8vw, 20px); color: var(--ink-2);
  max-width: 760px; line-height: 1.5; margin: 24px 0 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta-note {
  display: block; font-family: var(--sans); font-size: 13px;
  color: var(--ink-3); margin-top: 14px;
}

/* ---------- Buttons (unified primitive) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 13px 20px; text-decoration: none; border: 1px solid transparent;
  border-radius: 2px; cursor: pointer; transition: background 120ms, color 120ms, border-color 120ms, transform 100ms;
  line-height: 1.2;
}
.btn--sm { padding: 9px 14px; font-size: 13.5px; }
.btn--primary, .btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.18), 0 1px 0 rgba(0,0,0,0.04);
}
.btn--primary:hover, .btn-primary:hover { background: var(--ink); color: #fff; }
.btn--primary:active, .btn-primary:active { transform: translateY(1px); box-shadow: none; }
.btn--secondary, .btn-secondary {
  background: transparent; color: var(--ink); border-color: var(--rule);
}
.btn--secondary:hover, .btn-secondary:hover { border-color: var(--ink); background: var(--bg-2); }
.btn-arrow svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; transition: transform 140ms; }
.btn-arrow:hover svg { transform: translateX(2px); }

/* ---------- Hero metrics (outcome-oriented) ---------- */
.hero-metrics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 44px; border-top: 1px solid var(--rule); gap: 0;
}
.hero-metric { padding: 22px 0 0; padding-right: 20px; }
.hero-metric .val {
  font-family: var(--sans); font-weight: 700; font-size: 22px;
  color: var(--accent); line-height: 1.15; letter-spacing: -0.005em;
  font-feature-settings: 'tnum';
}
.hero-metric .lbl {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-3);
  letter-spacing: 0.02em; margin-top: 8px; line-height: 1.45;
}

/* ---------- Hero visual (compact dark flow board) ---------- */
.hero-visual {
  background: var(--d-bg); border: 1px solid var(--d-border);
  padding: 20px; font-family: var(--mono);
  box-shadow: 0 20px 40px -20px rgba(14, 17, 22, 0.4);
}
.hero-visual-head {
  font-size: 10.5px; letter-spacing: 0.22em; color: var(--d-ink-2);
  text-transform: uppercase; margin-bottom: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.hero-visual-head .live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(61, 214, 140, 0.12); color: var(--d-ok);
  padding: 3px 8px; font-size: 10px; letter-spacing: 0.14em;
}
.hero-visual-head .live-pill .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--d-ok);
  animation: led-pulse-dark 1.6s ease-in-out infinite;
}
@keyframes led-pulse-dark {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.6); }
  50% { box-shadow: 0 0 0 5px rgba(61, 214, 140, 0); }
}
.hero-visual-nodes { display: grid; gap: 8px; }
.hero-visual-node {
  background: var(--d-surface); border: 1px solid var(--d-border);
  padding: 8px 12px; font-size: 11.5px; color: var(--d-ink-2);
  display: flex; align-items: center; gap: 10px;
}
.hero-visual-node strong { color: var(--d-ink); font-weight: 500; }
.hero-visual-node .stripe { width: 3px; height: 18px; border-radius: 1px; }
.hero-visual-node.--plc  .stripe { background: var(--d-port-plc); }
.hero-visual-node.--cv   .stripe { background: var(--d-port-cv); }
.hero-visual-node.--ai   .stripe { background: var(--d-port-ai); }
.hero-visual-node.--trig .stripe { background: var(--d-port-trig); }
.hero-visual-node .val { color: var(--d-ok); margin-left: auto; font-weight: 700; }
.hero-visual-node .verdict { background: var(--d-ok); color: var(--d-bg); padding: 1px 7px; font-size: 10px; font-weight: 700; margin-left: auto; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { max-width: 800px; margin-bottom: 48px; }
.section-head p { font-size: var(--fs-lg); line-height: 1.55; }

/* ---------- Audience tabs (deep-linkable, JS-free fallback via noscript) ---------- */
.audience-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
  font-family: var(--sans);
}
.audience-tab {
  background: var(--surface); border: 1px solid var(--rule);
  padding: 10px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: all 120ms; user-select: none;
  border-radius: 2px;
}
.audience-tab:hover { border-color: var(--ink-3); color: var(--ink); }
.audience-tab.active, .audience-tab[aria-selected="true"] {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.audience-panel { display: grid; }
.audience-panel[hidden] { display: none; }

.audience-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.audience-card { padding: 24px 26px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--surface); }
.audience-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--ink); font-family: var(--sans); font-weight: 700; }
.audience-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* ---------- Value props (asymmetric manifesto layout) ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.value-card {
  padding: 28px 26px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: var(--surface);
  border-left-width: 3px; border-left-style: solid; border-left-color: transparent;
  transition: border-left-color 140ms, transform 140ms;
}
.value-card:hover { border-left-color: var(--accent); }
.value-num {
  font-family: var(--sans); font-size: var(--fs-xs); font-weight: 700;
  color: var(--accent); letter-spacing: 0.18em; margin-bottom: 12px;
}
.value-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--ink); }
.value-card p { font-size: 14.5px; line-height: 1.55; margin: 0; }

/* ---------- Industrial dark showcase ---------- */
.industrial-section {
  background: var(--d-bg);
  color: var(--d-ink);
  padding: clamp(80px, 10vw, 120px) 0;
  border-top: 1px solid var(--d-border);
  border-bottom: 1px solid var(--d-border);
}
.industrial-section h2, .industrial-section h3 { color: var(--d-ink); }
.industrial-section .eyebrow { color: var(--d-accent); }
.industrial-section p { color: var(--d-ink-2); }
.industrial-section p.lead { color: var(--d-ink-2); }
.industrial-section .ic { background: var(--d-surface); border-color: var(--d-border); color: var(--d-accent); }

.flow-board {
  background: var(--d-surface); border: 1px solid var(--d-border);
  padding: 24px; margin-top: 36px; font-family: var(--mono);
}
.flow-board-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 11px; letter-spacing: 0.24em; color: var(--d-ink-2);
  text-transform: uppercase; margin-bottom: 20px;
}
.flow-board-head .live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(61, 214, 140, 0.12); color: var(--d-ok);
  padding: 4px 10px; font-size: 10.5px; letter-spacing: 0.14em;
}
.flow-board-head .live-pill .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--d-ok);
  animation: led-pulse-dark 1.6s ease-in-out infinite;
}
.flow-nodes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fnode { background: var(--d-surface-2); border: 1px solid var(--d-border); overflow: hidden; }
.fnode-head {
  background: rgba(0,0,0,0.18); padding: 10px 14px; font-size: 12.5px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--d-border); color: var(--d-ink);
}
.fnode-head .left { display: flex; align-items: center; gap: 10px; }
.fnode-head .led { width: 8px; height: 8px; border-radius: 50%; background: var(--d-ok); box-shadow: 0 0 6px var(--d-ok); }
.node-meta { color: var(--d-ink-2); font-size: 11px; }
.fnode--plc  { border-left: 4px solid var(--d-port-plc); }
.fnode--cv   { border-left: 4px solid var(--d-port-cv); }
.fnode--ai   { border-left: 4px solid var(--d-port-ai); }
.fnode--trig { border-left: 4px solid var(--d-port-trig); }
.fnode--plc  .fnode-head .icon { color: var(--d-port-plc); }
.fnode--cv   .fnode-head .icon { color: var(--d-port-cv); }
.fnode--ai   .fnode-head .icon { color: var(--d-port-ai); }
.fnode--trig .fnode-head .icon { color: var(--d-port-trig); }
.fnode-body { padding: 12px 14px; font-size: 12px; color: var(--d-ink-2); line-height: 1.7; }
.fnode-body strong { color: var(--d-ink); font-weight: 500; }
.fnode-live {
  background: rgba(0,0,0,0.32); padding: 9px 14px; font-size: 11.5px;
  border-top: 1px solid var(--d-border);
  display: flex; align-items: center; gap: 10px;
}
.fnode-live .val { color: var(--d-ok); font-weight: 700; }
.fnode-live .verdict { background: var(--d-ok); color: var(--d-bg); padding: 1px 7px; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; }
.fnode-live .spark { color: var(--d-accent); letter-spacing: -1px; font-size: 13px; }
.fnode-live .ts { color: var(--d-ink-3); margin-left: auto; }

.industrial-bullets {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0; margin-top: 36px; border-top: 1px solid var(--d-border); border-left: 1px solid var(--d-border);
}
.industrial-bullets li {
  list-style: none; padding: 22px 24px;
  border-right: 1px solid var(--d-border); border-bottom: 1px solid var(--d-border);
}
.industrial-bullets li strong {
  display: block; color: var(--d-accent); font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 4px;
}
.industrial-bullets li span { font-size: 14px; color: var(--d-ink-2); line-height: 1.55; }

/* ---------- PLC section (vendor cards + protocol matrix) ---------- */
.plc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.plc-card { padding: 28px 26px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--surface); border-top: 3px solid transparent; }
.plc-card.--siemens   { border-top-color: var(--d-port-cv); }
.plc-card.--beckhoff  { border-top-color: var(--d-port-plc); }
.plc-card.--codesys   { border-top-color: var(--d-port-ai); }
.plc-vendor { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.plc-meta { font-family: var(--sans); font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; margin-bottom: 12px; }
.plc-card p { font-size: 14.5px; margin: 0; }

.proto-matrix { margin-top: 40px; border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: 14px; background: var(--surface); border: 1px solid var(--rule); }
.proto-matrix caption { text-align: left; font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--rule); font-weight: 700; }
.proto-matrix th, .proto-matrix td { padding: 12px 14px; border-bottom: 1px solid var(--rule-soft); text-align: left; }
.proto-matrix thead th { background: var(--bg-2); font-weight: 700; color: var(--ink); font-size: 13px; }
.proto-matrix tbody th { font-weight: 600; color: var(--ink); }
.proto-matrix td { color: var(--ink-2); text-align: center; }
.proto-matrix td.--yes { color: var(--ok); font-weight: 700; }
.proto-matrix td.--lib { color: var(--accent); font-weight: 600; }
.proto-matrix td.--no  { color: var(--ink-4); }

/* ---------- Comparison section ---------- */
.compare-table { margin-top: 16px; border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: 14px; background: var(--surface); border: 1px solid var(--rule); }
.compare-table caption { text-align: left; font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--rule); font-weight: 700; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--rule-soft); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--bg-2); font-weight: 700; color: var(--ink); font-size: 13px; white-space: nowrap; }
.compare-table tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.compare-table tbody tr:first-child td, .compare-table tbody tr:first-child th { background: var(--accent-soft); }
.compare-table td.--good { color: var(--ok); font-weight: 600; }
.compare-table td.--bad  { color: var(--ink-4); }
@media (max-width: 720px) {
  .proto-matrix, .compare-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- FAQ (AEO) ---------- */
.faq { max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-item summary {
  cursor: pointer; padding: 22px 0; font-family: var(--serif); font-size: 19px;
  font-weight: 600; color: var(--ink); list-style: none;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--sans); font-size: 24px; color: var(--ink-3);
  flex-shrink: 0; line-height: 1; transition: transform 200ms;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--accent); }
.faq-item .answer { padding: 0 0 22px; max-width: 760px; }
.faq-item .answer p { font-size: 15.5px; line-height: 1.65; }

@media (forced-colors: active) {
  .faq-item summary::after { forced-color-adjust: auto; }
}

/* ---------- Booking section ---------- */
.booking-section {
  background: var(--bg);
  padding: clamp(60px, 8vw, 100px) 0;
}
.booking-trust { max-width: 820px; margin: 0 auto 36px; padding: 0 8px; }
.booking-trust h3 {
  font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 14px; text-align: center;
}
.booking-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
  list-style: none; padding: 0; counter-reset: bstep;
}
.booking-steps li {
  padding: 18px 22px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: var(--surface); position: relative; counter-increment: bstep;
  font-family: var(--sans); font-size: 14px; color: var(--ink-2);
}
.booking-steps li::before {
  content: counter(bstep, decimal-leading-zero);
  display: block; font-size: 11px; color: var(--accent);
  font-weight: 700; letter-spacing: 0.18em; margin-bottom: 6px;
}
.booking-steps li strong { color: var(--ink); font-weight: 700; }

.booking-shell {
  background: var(--surface); border: 1px solid var(--rule);
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
@media (max-width: 760px) { .booking-shell { grid-template-columns: 1fr; } }
.booking-info { padding: 36px 32px; border-right: 1px solid var(--rule); background: var(--bg); }
@media (max-width: 760px) { .booking-info { border-right: none; border-bottom: 1px solid var(--rule); } }
.booking-info h2 { font-size: 26px; margin-bottom: 10px; }
.booking-info .meta {
  display: flex; align-items: center; gap: 8px; font-family: var(--sans);
  font-size: 13px; color: var(--ink-3); margin: 6px 0;
}
.booking-info .meta svg { width: 16px; height: 16px; stroke: var(--ink-3); }
.booking-info ul { list-style: none; margin-top: 22px; padding: 0; font-size: 14.5px; color: var(--ink-2); }
.booking-info ul li { padding: 8px 0; border-bottom: 1px solid var(--rule-soft); }
.booking-info ul li:last-child { border-bottom: none; }
.booking-info ul li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 10px; }

.booking-picker { padding: 36px 32px; display: flex; flex-direction: column; }
.booking-step-title { font-family: var(--sans); font-weight: 700; font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }

.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-header .month { font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--ink); }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  background: var(--surface); border: 1px solid var(--rule); width: 36px; height: 36px;
  cursor: pointer; font-family: var(--sans); color: var(--ink-2); font-size: 16px;
  min-width: 36px;
}
.cal-nav button:hover { background: var(--bg-2); }
.cal-nav button:disabled { opacity: 0.4; cursor: not-allowed; }

.cal-grid { width: 100%; border-collapse: separate; border-spacing: 4px; font-family: var(--sans); }
.cal-grid thead th { font-size: 11px; color: var(--ink-3); padding: 6px 0; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; text-align: center; }
.cal-grid td { padding: 0; }
.cal-day {
  width: 100%; min-height: 44px; padding: 12px 0; text-align: center;
  background: var(--bg); border: 1px solid var(--rule); cursor: pointer;
  font-size: 14px; color: var(--ink-2); font-family: var(--sans);
  transition: all 100ms; touch-action: manipulation;
}
.cal-day:hover:not(:disabled):not(.selected) { border-color: var(--accent); color: var(--ink); }
.cal-day:disabled { background: transparent; color: var(--ink-4); cursor: not-allowed; border-color: transparent; }
.cal-day.selected { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }
.cal-day.today:not(.selected) { box-shadow: inset 0 -2px 0 var(--accent); }
.cal-caption { font-family: var(--sans); font-size: 12px; color: var(--ink-3); margin-top: 10px; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot {
  background: var(--bg); border: 1px solid var(--rule); cursor: pointer;
  padding: 13px 12px; min-height: 44px; text-align: center; font-family: var(--sans); font-size: 13.5px;
  color: var(--ink-2); transition: all 100ms; touch-action: manipulation;
}
.slot:hover { border-color: var(--accent); color: var(--ink); }
.slot.selected { background: var(--accent); color: #fff; border-color: var(--accent); }

.booking-form { display: grid; gap: 12px; margin-top: 8px; }
.booking-form .field { display: grid; gap: 6px; }
.booking-form label { font-family: var(--sans); font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.booking-form input, .booking-form textarea {
  font-family: var(--sans); font-size: 14.5px; padding: 11px 13px;
  background: var(--bg); border: 1px solid var(--rule); color: var(--ink);
  width: 100%; transition: border-color 120ms; border-radius: 1px;
}
.booking-form input:focus, .booking-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }
.booking-form input[aria-invalid="true"], .booking-form textarea[aria-invalid="true"] { border-color: var(--err); }
.booking-form textarea { min-height: 80px; resize: vertical; font-family: var(--serif); }
.booking-error { font-family: var(--sans); font-size: 12.5px; color: var(--err); font-weight: 600; }
.booking-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.booking-back {
  background: transparent; border: 1px solid var(--rule); color: var(--ink-2);
  font-family: var(--sans); font-weight: 600; font-size: 14px; padding: 11px 18px; cursor: pointer;
  border-radius: 2px;
}
.booking-back:hover { border-color: var(--ink); color: var(--ink); }
.booking-submit {
  background: var(--accent); color: #fff; border: none;
  font-family: var(--sans); font-weight: 600; font-size: 14px; padding: 12px 22px; cursor: pointer;
  border-radius: 2px; box-shadow: inset 0 -1px 0 rgba(0,0,0,0.18);
}
.booking-submit:hover { background: var(--ink); }
.booking-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.booking-success { text-align: center; padding: 40px 20px; }
.booking-success .check {
  width: 64px; height: 64px; border-radius: 50%; background: var(--ok); margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 32px; font-weight: 700;
}
.booking-success h3 { font-size: 22px; margin-bottom: 10px; }
.booking-success p { color: var(--ink-2); }
.booking-summary {
  background: var(--bg-2); padding: 12px 14px; margin-top: 18px;
  font-family: var(--sans); font-size: 13.5px; color: var(--ink-2);
  border-left: 3px solid var(--accent);
}
.booking-summary strong { color: var(--ink); }

.booking-fallback {
  padding: 32px 28px; text-align: center; background: var(--surface);
  border: 1px solid var(--rule); max-width: 600px; margin: 0 auto;
}
.booking-fallback p { margin-bottom: 14px; }

/* ---------- Legal pages ---------- */
.legal-section { padding-top: clamp(40px, 6vw, 80px); }
.legal-section h2 { font-size: 22px; }
.legal-section ul { color: var(--ink-2); }

/* ---------- sr-only ---------- */
.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;
}

/* ---------- Footer (matches industrial section) ---------- */
footer.site-footer {
  background: var(--d-bg); color: var(--d-ink-2);
  padding: 56px 0 24px;
  font-family: var(--sans); font-size: 14px;
}
footer.site-footer a { color: var(--d-ink-2); text-decoration: none; }
footer.site-footer a:hover { color: var(--d-ink); }
footer.site-footer h4 { color: var(--d-ink); font-size: var(--fs-xs); letter-spacing: 0.14em; margin-bottom: 14px; font-weight: 700; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 36px; border-bottom: 1px solid var(--d-border);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid ul li { padding: 4px 0; }
.footer-brand { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--d-ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.footer-tagline { font-size: 13.5px; line-height: 1.55; max-width: 320px; color: var(--d-ink-2); }
.footer-bottom {
  padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--d-ink-3);
}
.footer-legal a { color: var(--d-ink-2); }
.footer-legal a[aria-current="page"] { color: var(--d-ink); font-weight: 700; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   CORPORATE-SITE-ONLY COMPONENTS (added on top of product-site v2)
   ========================================================================= */

/* ---------- Pillar accent classes (semantic markers, never text color) ---------- */
.pillar-industrial { --pillar-accent: var(--d-port-cv); }   /* teal */
.pillar-software   { --pillar-accent: var(--d-port-ai); }   /* violet */

/* ---------- Pillar Card (Homepage 2-pillar block) ---------- */
.pillar-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.pillar-card {
  display: flex; flex-direction: column;
  padding: 36px 32px; background: var(--surface);
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  border-top: 3px solid var(--pillar-accent, var(--accent));
  text-decoration: none; color: var(--ink);
  transition: background 140ms, transform 140ms;
}
.pillar-card:hover { background: var(--bg-2); transform: translateY(-2px); color: var(--ink); }
.pillar-card .pillar-icon { width: 48px; height: 48px; margin-bottom: 18px; color: var(--pillar-accent); }
.pillar-card h2 { font-family: var(--serif); font-size: var(--fs-xl); margin-bottom: 12px; color: var(--ink); }
.pillar-card p { font-size: 15px; color: var(--ink-2); margin-bottom: 16px; max-width: 38ch; }
.pillar-card .pillar-count {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 24px;
}
.pillar-card .pillar-arrow {
  margin-top: auto; align-self: flex-end;
  font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  color: var(--accent); display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- Engagement Card (Recent-Work block) ---------- */
.engagement-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.engagement-card {
  padding: 26px 28px; background: var(--surface);
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.engagement-card h3 {
  font-family: var(--serif); font-size: var(--fs-lg); font-weight: 600;
  color: var(--ink); margin-bottom: 10px; letter-spacing: -0.005em;
}
.engagement-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin-bottom: 14px; }

/* ---------- Tag Row ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tag {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 11.5px; color: var(--accent);
  padding: 3px 8px; min-height: 24px;
  background: var(--bg-2); border: 1px solid var(--rule);
  letter-spacing: 0.02em;
}

/* ---------- Engagement Pattern ("How I work" steps) ---------- */
.engagement-patterns {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0; counter-reset: epstep;
  border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.engagement-pattern {
  padding: 24px 26px; background: var(--surface);
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  counter-increment: epstep;
}
.engagement-pattern::before {
  content: counter(epstep, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin-bottom: 14px;
  background: var(--accent); color: #fff;
  font-family: var(--sans); font-weight: 700; font-size: 13px;
  border-radius: 50%;
}
.engagement-pattern h3 {
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  color: var(--ink); margin-bottom: 6px; letter-spacing: 0;
}
.engagement-pattern p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* ---------- Service Tile (used on pillar pages) ---------- */
.service-tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.service-tile {
  padding: 22px 24px; background: var(--surface); text-decoration: none; color: var(--ink);
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 8px;
  transition: background 140ms;
}
.service-tile:hover { background: var(--bg-2); color: var(--ink); }
.service-tile h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--ink); margin: 0; }
.service-tile p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }
.service-tile .tile-arrow {
  margin-top: auto; font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  color: var(--accent); display: inline-flex; align-items: center; gap: 4px;
}

/* ---------- Product Card with Status Badge ---------- */
.product-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.product-card {
  position: relative; padding: 28px 26px; background: var(--surface);
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  text-decoration: none; color: var(--ink);
  transition: background 140ms;
}
.product-card:hover { background: var(--bg-2); color: var(--ink); }
.status-badge {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 8px; min-height: 24px;
  display: inline-flex; align-items: center;
  color: #fff;
}
.status-badge--live          { background: var(--status-live); }
.status-badge--beta          { background: var(--status-beta); }
.status-badge--coming-soon   { background: var(--status-coming-soon); }
.product-card h3 { font-family: var(--serif); font-size: 18px; margin: 0 0 8px; }
.product-card p { font-size: 14px; color: var(--ink-2); margin: 0 0 10px; }

/* ---------- Founder Hero ---------- */
.founder-hero {
  display: grid; grid-template-columns: 4fr 6fr; gap: 36px; align-items: center;
}
@media (max-width: 760px) { .founder-hero { grid-template-columns: 1fr; } }
.founder-portrait {
  aspect-ratio: 4 / 5; width: 100%; object-fit: cover;
  border: 1px solid var(--rule); background: var(--bg-2);
}
.founder-meta {
  font-family: var(--sans); font-size: 13px; color: var(--ink-3);
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px;
}

/* ---------- Disqualifier ("When NOT to hire me" box) ---------- */
.disqualifier {
  padding: 18px 22px; margin: 24px 0;
  background: #fdf6e3;
  border-left: 3px solid var(--warn);
  display: flex; gap: 14px; align-items: flex-start;
}
.disqualifier .icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--warn); }
.disqualifier h4 {
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--warn);
  margin: 0 0 6px;
}
.disqualifier p { font-size: 14px; color: var(--ink); margin: 0; line-height: 1.55; }

/* ---------- Bridge Callout (Product Bridge Pages) ---------- */
.bridge-callout {
  margin: 32px 0; padding: 28px 32px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.bridge-callout p { color: #fff; margin: 0; font-size: 16px; max-width: 520px; }
.bridge-callout p strong { color: #fff; }
.bridge-callout code {
  font-family: var(--mono); font-size: 13px;
  background: rgba(255,255,255,0.12); padding: 2px 8px; color: #fff;
}
.bridge-callout a.bridge-cta {
  flex-shrink: 0;
  background: #fff; color: var(--accent); text-decoration: none;
  font-family: var(--sans); font-weight: 700; font-size: 14.5px;
  padding: 12px 22px; display: inline-flex; align-items: center; gap: 8px;
  transition: background 120ms;
}
.bridge-callout a.bridge-cta:hover { background: var(--bg); }

/* ---------- Coming-Soon Badge (large, hero-context) ---------- */
.coming-soon-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: #fff;
  background: var(--status-coming-soon);
  padding: 6px 12px; margin-bottom: 18px;
}
.coming-soon-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--d-warn);
  box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.5);
  animation: led-pulse 2.4s ease-in-out infinite;
}

/* ---------- Engagement Meta (volume indicator) ---------- */
.engagement-meta {
  font-family: var(--sans); font-size: 13px; color: var(--ink-3);
  letter-spacing: 0.02em; margin: 16px 0; padding: 10px 14px;
  background: var(--bg-2); border-left: 3px solid var(--accent);
}
.engagement-meta strong { color: var(--ink); }

/* ---------- Stock Hero (image-right service heroes) ---------- */
.stock-hero {
  display: grid; grid-template-columns: 6fr 4fr; gap: 36px; align-items: center;
  margin: 36px 0;
}
@media (max-width: 880px) { .stock-hero { grid-template-columns: 1fr; } }
.stock-hero-img-wrap { position: relative; }
.stock-hero-img-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(29, 53, 87, 0.15);
  mix-blend-mode: multiply; pointer-events: none;
}
.stock-hero-img {
  aspect-ratio: 4 / 3; width: 100%; object-fit: cover;
  border: 1px solid var(--rule); display: block;
}

/* ---------- Consent checkbox (booking form) ---------- */
.booking-form .field-checkbox {
  display: block;
}
.booking-form .checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--sans); font-size: 13px; color: var(--ink-2);
  cursor: pointer; line-height: 1.5; padding: 6px 0;
  text-transform: none; letter-spacing: 0; font-weight: 400;
}
.booking-form .checkbox-label input[type="checkbox"] {
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px;
  cursor: pointer;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-3);
  margin: 14px 0 24px; letter-spacing: 0.02em;
}
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { padding: 0 8px; color: var(--ink-4); }

/* ---------- "More from [Pillar]" sibling block ---------- */
.more-from {
  margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--rule);
}
.more-from h2 {
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-3); margin-bottom: 18px;
}

/* ---------- High-contrast / forced-colors safety ---------- */
@media (forced-colors: active) {
  .status-badge, .coming-soon-badge, .bridge-callout a.bridge-cta {
    forced-color-adjust: none;
    border: 2px solid CanvasText;
  }
  .disqualifier { border-left-width: 4px; }
  .product-card, .pillar-card, .engagement-card { border: 1px solid CanvasText; }
}

/* ---------- Print ---------- */
@media print {
  @page { margin: 16mm; }
  .nav, .booking-section, .industrial-section { background: #fff !important; color: #000 !important; }
  .nav { position: static !important; border-bottom: 1px solid #000 !important; backdrop-filter: none; }
  .nav-cta, .nav-toggle { display: none !important; }
  footer.site-footer { background: #fff !important; color: #000 !important; padding: 16pt 0; }
  footer.site-footer a { color: #000 !important; }
  footer.site-footer h4, .footer-brand { color: #000 !important; }
  .industrial-section * { color: #000 !important; background: transparent !important; }
  .fnode, .flow-board { border-color: #999 !important; background: #fff !important; }
  .fnode-live .verdict { background: #000 !important; color: #fff !important; }
  [data-booking-widget]::before {
    content: "Book a demo at https://nexusvision.coding-nexus.com/#book";
    display: block; padding: 12px 0; font-weight: 700;
  }
  [data-booking-widget] .booking-shell { display: none !important; }
  details.faq-item { break-inside: avoid; }
  details.faq-item > *:not(summary) { display: block !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; color: #555; }
  .hero-visual, .nav-toggle, .industrial-bullets { break-inside: avoid; }
}

/* =========================================================================
   Corporate-site homepage additions (light-themed hero, list-pillars,
   product status decoration, simple image hero, engagement grid).
   Adds new classes only — does not override product-site dark hero board.
   ========================================================================= */

/* ---- Light hero (corporate homepage) ---- */
.hero-text { display: flex; flex-direction: column; gap: 18px; }
.hero-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(34px, 5vw, 56px); line-height: 1.08;
  letter-spacing: -0.01em; color: var(--ink); margin: 0;
}
.hero-title em {
  font-style: italic; color: var(--accent); font-weight: 600;
}
.hero-meta {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-wrap: wrap; gap: 22px;
  font-family: var(--sans); font-size: 13px; color: var(--ink-3);
  letter-spacing: 0.02em;
}
.hero-meta li strong { color: var(--ink); font-weight: 700; }

/* Corporate hero uses an image rather than the dark flow board.
   Override the dark .hero-visual paint only when it directly wraps an <img>. */
.hero-visual:has(> img) {
  background: transparent; border: none; padding: 0; box-shadow: none;
}
.hero-visual > img { width: 100%; height: auto; display: block; }

/* ---- Section lead paragraph ---- */
.section-lead {
  font-size: var(--fs-lg); line-height: 1.55; color: var(--ink-2);
  max-width: 70ch; margin-top: 8px;
}

/* ---- Pillar card item list ---- */
.pillar-items {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: grid; gap: 6px;
  font-family: var(--sans); font-size: 13.5px; color: var(--ink-2);
}
.pillar-items li {
  padding-left: 14px; position: relative;
}
.pillar-items li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 6px; height: 1px; background: var(--pillar-accent, var(--accent));
}

/* ---- Engagement card grid ---- */
.engagement-cards {
  display: grid; gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.engagement-cards > .engagement-card {
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 28px 26px; margin: 0;
}

/* ---- Product status decoration (used on .product-card and footer) ---- */
.product-status {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 8px; min-height: 24px;
  display: inline-flex; align-items: center;
  color: #fff;
}
.product-status.status-live        { background: var(--status-live); }
.product-status.status-beta        { background: var(--status-beta); }
.product-status.status-coming-soon { background: var(--status-coming-soon); }

.product-cta {
  display: inline-block; margin-top: 14px;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.02em;
}

.footer-status {
  display: inline-block; margin-left: 6px;
  font-family: var(--sans); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1px 5px; color: #fff; vertical-align: middle;
}
.footer-status.status-live        { background: var(--status-live); }
.footer-status.status-coming-soon { background: var(--status-coming-soon); }

/* =========================================================================
   Design polish v2 — post-first-review fixes
   1. Breadcrumb: kill default OL numbers, add › separators
   2. Engagement patterns: kill default OL numbers (double numbering)
   3. FAQ: hide duplicate + span (keep the ::after glyph)
   4. Pillar-items: better bullet baseline + scoped compact badge
   5. Product cards: wider min, extra room for status badge, no h3 collision
   6. Hero visual: constrain image container with proper aspect
   7. Booking area: breathing room between intro, steps, widget
   ========================================================================= */

/* 1. Breadcrumb */
.breadcrumb ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center;
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
  content: "›"; padding: 0 10px; color: var(--ink-4);
  font-weight: 400; font-size: 15px;
}
.breadcrumb li[aria-current="page"] { color: var(--ink-2); font-weight: 600; }

/* 2. Engagement patterns — kill default OL numbering (custom counter stays) */
.engagement-patterns { list-style: none; padding: 0; margin: 0; }

/* 3. FAQ — hide the literal + span; ::after handles the glyph alone */
.faq-item summary .faq-icon { display: none; }

/* 4. Pillar-items — tighter baseline, scoped small badge inside list */
.pillar-items {
  font-size: 14.5px; gap: 10px;
}
.pillar-items li {
  padding-left: 18px; line-height: 1.5;
  display: flex; align-items: center; gap: 10px;
}
.pillar-items li::before {
  top: 50%; transform: translateY(-50%);
  width: 10px; height: 2px;
  background: var(--pillar-accent, var(--accent));
  border-radius: 1px;
}
.pillar-items .coming-soon-badge {
  margin: 0; padding: 2px 8px;
  font-size: 9.5px; letter-spacing: 0.14em;
  line-height: 1.4;
}
.pillar-items .coming-soon-badge::before { display: none; }

/* 5. Product cards — more breathing room + no h3/badge collision */
.product-cards {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.product-card {
  padding: 32px 28px 28px;
}
.product-card h3 { padding-right: 96px; }
.product-status {
  top: 20px; right: 20px;
  padding: 4px 10px;
}

/* 6. Hero visual — proper aspect, image scales without squashing */
.hero-visual:has(> img) {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: transparent;
}
.hero-visual > img {
  width: 100%; height: 100%;
  object-fit: contain;
  max-height: 100%;
}
@media (max-width: 980px) {
  .hero-visual:has(> img) { aspect-ratio: 16 / 9; max-height: 340px; }
}

/* 7. Booking area — proper vertical rhythm */
.booking-grid { gap: 48px; align-items: start; }
@media (max-width: 980px) { .booking-grid { gap: 32px; } }
.booking-intro > .lead + h3 { margin-top: 28px; }
.booking-intro h3 { margin-bottom: 14px; font-size: 17px; }
.booking-intro .booking-steps { margin-top: 14px; margin-bottom: 20px; }
.booking-intro > p.note-muted { margin-top: 22px !important; }


/* Forced-colors safety for the new badges */
@media (forced-colors: active) {
  .product-status, .footer-status {
    forced-color-adjust: none;
    background: ButtonText; color: ButtonFace; border: 1px solid ButtonText;
  }
}

/* ---- Founder principles (definition list) ---- */
.founder-principles {
  display: grid; gap: 18px;
  margin: 24px 0 0; padding: 0;
}
.founder-principles dt {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  color: var(--ink); margin: 0;
}
.founder-principles dd {
  margin: 4px 0 0; padding-left: 0;
  font-size: 15px; line-height: 1.6; color: var(--ink-2);
  max-width: 70ch;
}

/* ---- Contact channels (3-col) ---- */
.contact-channels {
  display: grid; gap: 0; margin-top: 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.contact-channel {
  padding: 24px 22px;
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.contact-channel-icon {
  font-size: 22px; line-height: 1; margin-bottom: 12px;
}
.contact-channel h2 {
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  margin: 0 0 8px; color: var(--ink);
}
.contact-channel p {
  font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0 0 14px;
}
.contact-channel-link {
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  color: var(--accent); text-decoration: none;
}
.contact-channel-link:hover { text-decoration: underline; }

/* ---- Contact address block ---- */
.contact-address {
  font-style: normal; font-size: 15.5px; line-height: 1.65;
  padding: 18px 22px; background: var(--bg-2);
  border-left: 3px solid var(--accent);
  max-width: 480px;
}
