/* ==========================================================================
   mode40.com staging site — layout & components  (v2, high-fidelity)
   Reproduces the LIVE mode40.com design language (extracted from the theme's
   app.min.css): navy + beige + red CTA + teal, the fluid type scale, dark nav
   with teal gradient, radial-gradient proof cards, watermark footer.
   Refined with DOSS-style confident type sizing and the scannable rhythm.
   Built for Chez Koop to reimplement in WordPress.
   ========================================================================== */

/* DOSS scale knob: 1rem = up to 100px, fluid below 1440, locked above.
   Authored in rem (px@1440 / 100) so the whole page scales in lockstep. */
:root { font-size: min(6.944vw, 100px); }
:root {
  --navy:#001d24; --ink:#001d24; --ink-text:#1a2327;
  --light:#fbfbfb; --on-dark:#f3f2f0;
  --beige:#f2f2f0; --cream-1:#f2f2f0; --cream-2:#e9e7e3; --cream-3:#e1ded8;
  --red:#cf3b2a; --red-hover:#b5321f;
  --teal:#00d4de; --teal-dark:#04515f; --yellow:#f8d152;
  --body:#2b3439; --muted:#6f6a63; --muted-dark:rgba(243,242,240,0.62);
  --hairline:rgba(0,29,36,0.12); --hairline-dark:rgba(255,255,255,0.13);
  --navy-grad:rgba(4,81,95,0.20);
  --fs-xs:.11rem; --fs-sm:.14rem; --fs-base:.165rem; --fs-lg:.20rem; --fs-xl:.245rem;
  --fs-2xl:.30rem; --fs-3xl:.38rem; --fs-4xl:.46rem; --fs-5xl:.52rem; --fs-6xl:.60rem; --fs-7xl:.68rem;
  --sans:'IBM Plex Sans','Segoe UI',system-ui,-apple-system,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,'SFMono-Regular',Menlo,monospace;
  --maxw:14.4rem; --gutter:.64rem; --sec-y:1.35rem;
}
@media (max-width:991px){
  :root{ font-size:16px;
    --fs-xs:11px; --fs-sm:13px; --fs-base:16px; --fs-lg:18px; --fs-xl:21px;
    --fs-2xl:25px; --fs-3xl:29px; --fs-4xl:33px; --fs-5xl:37px; --fs-6xl:41px; --fs-7xl:45px;
    --maxw:100%; --gutter:20px; --sec-y:64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--body);
  background: var(--beige);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* --------------------------------------------------------------------------
   NAV — dark navy with teal gradient, small links, red CTA (matches live)
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  background-image: linear-gradient(to top, var(--navy-grad) 0%, rgba(0,0,0,0) 100%);
  border-bottom: 1px solid rgba(0,212,222,0.14);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo { display: block; height: 32px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); flex-wrap: wrap; }
.nav__link {
  font-size: var(--fs-sm); color: var(--light); font-weight: 400;
  letter-spacing: 0.01em; opacity: 0.9;
}
.nav__link:hover { color: var(--teal); opacity: 1; text-decoration: none; }

/* --------------------------------------------------------------------------
   BUTTONS — primary is RED (live site), on-dark/ghost variants
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600;
  font-size: var(--fs-sm); letter-spacing: 0.04em; text-transform: uppercase;
  line-height: 1; padding: 0.14rem 0.24rem; border-radius: 9999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .05s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn--ghost:hover { border-color: var(--teal-dark); color: var(--teal-dark); }
.section--dark .btn--ghost { color: var(--light); border-color: var(--light-20, rgba(251,251,251,0.3)); }

/* --------------------------------------------------------------------------
   SECTION RHYTHM
   -------------------------------------------------------------------------- */
.section { padding: var(--sec-y) 0; }
.section--tight { padding: clamp(48px,7vw,96px) 0; }
.section--beige { background: var(--beige); }
.section--white { background: var(--light); }
.section--dark { background: var(--navy); color: var(--light); }
.section--dark .eyebrow { color: var(--teal); }
.section--dark a { color: var(--teal); }

/* eyebrow: mono, uppercase, teal-dark on light / teal on dark */
.eyebrow {
  font-family: var(--mono); font-size: var(--fs-sm);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-dark); margin: 0 0 20px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; display: inline-block; }

/* headline: big, light weight — DOSS-confident sizing (5xl) */
.headline {
  font-family: var(--sans); font-weight: 300;
  font-size: var(--fs-5xl); line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 20px; max-width: 18ch;
}
.section--dark .headline { color: var(--light); }
.headline--xl { font-size: var(--fs-6xl); }
.headline--sm { font-size: var(--fs-4xl); }

/* subhead: one line, xl, muted */
.subhead {
  font-size: var(--fs-xl); line-height: 1.35; font-weight: 300;
  color: var(--muted); margin: 0 0 32px; max-width: 42ch;
}
.section--dark .subhead { color: rgba(251,251,251,0.7); }

/* lede lines: short fragments, air between */
.lines p { margin: 0 0 14px; max-width: 54ch; font-size: var(--fs-lg); line-height: 1.5; }
.lines p.big { font-size: var(--fs-2xl); color: var(--ink); font-weight: 400; line-height: 1.3; }
.section--dark .lines p { color: rgba(251,251,251,0.82); }
.section--dark .lines p.big { color: var(--light); }

/* --------------------------------------------------------------------------
   HERO — dark navy + gradient image, huge display type (7xl)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--light);
  padding: clamp(64px, 10vw, 140px) 0 clamp(56px, 8vw, 112px);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; object-fit: cover; width: 100%; height: 100%; opacity: 0.5; }
.hero::after { content:""; position:absolute; inset:0; z-index:0; background: linear-gradient(160deg, rgba(0,29,36,0.35), rgba(0,29,36,0.85)); }
.hero .container { position: relative; z-index: 1; }
.hero__worldview { max-width: 60ch; }
.hero__worldview p {
  font-size: var(--fs-lg); line-height: 1.5; font-weight: 300;
  color: rgba(0,212,222,0.85); margin: 0 0 16px;
}
.hero__worldview p.turn { color: var(--light); }
.hero__category {
  font-family: var(--sans); font-weight: 500;
  font-size: var(--fs-7xl); line-height: 1.0; letter-spacing: -0.03em;
  color: var(--light); margin: clamp(32px,5vw,56px) 0 32px; max-width: 16ch;
}
.hero__category b { color: var(--teal); font-weight: 300; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.video-slot {
  margin-top: clamp(32px,5vw,56px); aspect-ratio: 16/9; width: 100%; max-width: 920px;
  border: 1px solid rgba(0,212,222,0.25); border-radius: 6px;
  display: grid; place-items: center; color: rgba(0,212,222,0.5);
  font-family: var(--mono); font-size: var(--fs-sm); letter-spacing: 0.06em;
  background: rgba(0,212,222,0.03);
}

/* --------------------------------------------------------------------------
   CUSTOMER LOGO WALL
   -------------------------------------------------------------------------- */
.logowall { padding: clamp(40px,6vw,72px) 0; background: var(--light); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.logowall__label { font-family: var(--mono); font-size: var(--fs-sm); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; margin: 0 0 36px; }
.logowall__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px,4vw,56px); }
.logowall__row img { height: 30px; width: auto; opacity: 0.55; filter: grayscale(100%); transition: opacity .2s, filter .2s; }
.logowall__row img:hover { opacity: 1; filter: grayscale(0); }

/* --------------------------------------------------------------------------
   CARDS
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(16px,2vw,28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  border: 1px solid var(--hairline); border-radius: 6px;
  padding: clamp(24px,3vw,36px); background: var(--light);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(0,212,222,0.5); transform: translateY(-2px); }
.card__title { font-weight: 600; font-size: var(--fs-lg); color: var(--ink); margin: 0 0 10px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.card__title .tag { color: var(--teal-dark); font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; }
.card p { margin: 0; font-size: var(--fs-base); color: var(--body); }
.card--dark { background: var(--teal-dark); border-color: transparent; color: var(--light); }
.card--dark .card__title { color: var(--light); }
.card--dark p { color: rgba(251,251,251,0.85); }

/* --------------------------------------------------------------------------
   PROOF STRIP — radial teal-gradient cards (live "credentials" idiom)
   -------------------------------------------------------------------------- */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,24px); }
.proof__card {
  border-radius: 8px; padding: clamp(28px,3vw,40px);
  background: radial-gradient(circle at 85% 12%, var(--teal) 0%, var(--teal-dark) 45%, var(--navy) 100%);
  color: var(--light);
}
.proof__num { font-family: var(--sans); font-weight: 300; font-size: var(--fs-6xl); line-height: 1; color: var(--light); margin: 0 0 14px; }
.proof__ctx { font-size: var(--fs-base); color: rgba(251,251,251,0.85); margin: 0; max-width: 32ch; }

/* --------------------------------------------------------------------------
   STEP SPINE
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px,2vw,28px); }
.step { border-top: 3px solid var(--teal); padding-top: 20px; }
.step__n { font-family: var(--mono); font-size: var(--fs-sm); color: var(--teal); letter-spacing: 0.04em; }
.step__t { font-weight: 600; font-size: var(--fs-xl); color: var(--light); margin: 10px 0; }
.section--dark .step p { color: rgba(251,251,251,0.8); }
.step p { margin: 0 0 12px; font-size: var(--fs-base); }
.step a { font-family: var(--mono); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   INDUSTRY / LINK ROWS
   -------------------------------------------------------------------------- */
.rows { border-top: 1px solid var(--hairline); }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--hairline); transition: padding-left .2s; }
.row:hover { padding-left: 8px; }
.row__name { font-size: var(--fs-xl); font-weight: 400; color: var(--ink); }
.row__status { font-family: var(--mono); font-size: var(--fs-sm); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.row__status.live { color: var(--teal-dark); }

/* media split (photo + copy) */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.media__img { border-radius: 8px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* trade-off callout */
.callout { border-left: 3px solid var(--red); padding: 6px 0 6px 28px; margin: 32px 0; max-width: 56ch; }
.callout p { margin: 0 0 12px; }

.textlink { font-family: var(--mono); font-size: var(--fs-sm); letter-spacing: 0.03em; text-transform: uppercase; }
.textlink::after { content: " \2192"; }

/* --------------------------------------------------------------------------
   FOOTER — dark navy, newsletter, giant watermark (live idiom)
   -------------------------------------------------------------------------- */
.footer { position: relative; overflow: hidden; background: var(--navy); color: rgba(251,251,251,0.7); padding: clamp(56px,7vw,96px) 0 40px; }
.footer__watermark {
  position: absolute; left: 0; right: 0; bottom: -0.18em; z-index: 0;
  font-family: var(--sans); font-weight: 600; font-size: 26vw; line-height: 0.8;
  color: rgba(251,251,251,0.04); text-align: center; letter-spacing: -0.04em; pointer-events: none; user-select: none;
}
.footer > .container { position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.5fr; gap: clamp(28px,4vw,56px); }
.footer__logo { height: 36px; width: auto; margin-bottom: 20px; }
.footer__tag { font-size: var(--fs-base); color: rgba(0,212,222,0.75); max-width: 30ch; margin: 0; }
.footer h4 { font-family: var(--mono); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal); margin: 0 0 16px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: rgba(251,251,251,0.7); font-size: var(--fs-base); }
.footer__col a:hover { color: var(--teal); }
.footer__newsletter p { font-size: var(--fs-base); color: rgba(251,251,251,0.6); margin: 0 0 16px; max-width: 32ch; }
.footer__form { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__form input { flex: 1 1 180px; padding: 13px 15px; border-radius: 3px; border: 1px solid rgba(0,212,222,0.3); background: rgba(0,212,222,0.05); color: var(--light); font-family: var(--sans); font-size: var(--fs-base); }
.footer__form input::placeholder { color: rgba(251,251,251,0.4); }
.footer__legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(48px,6vw,80px); padding-top: 24px; border-top: 1px solid rgba(251,251,251,0.1); font-family: var(--mono); font-size: var(--fs-sm); color: rgba(251,251,251,0.4); }
.footer__legal a { color: rgba(251,251,251,0.4); }
.footer__legal a:hover { color: var(--teal); }

/* --------------------------------------------------------------------------
   STAGING FLAG
   -------------------------------------------------------------------------- */
.staging-flag {
  background: repeating-linear-gradient(45deg, #001d24, #001d24 12px, #012a34 12px, #012a34 24px);
  color: var(--teal); font-family: var(--mono); font-size: 12px; text-align: center; padding: 6px; letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .grid--3, .grid--4, .proof, .steps { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .media { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4, .proof, .steps, .footer__grid { grid-template-columns: 1fr; }
  .nav__inner { flex-wrap: wrap; gap: 12px; }
  .nav__links { gap: 14px; }
  .row { flex-direction: column; gap: 4px; }
  .footer__watermark { font-size: 34vw; }
}

/* ==========================================================================
   V3 REDESIGN (2026-07-13) — world-class hero + varied section devices
   Hero = headline + subhead + CTA + node graphic + capability strip.
   Worldview promoted to its own manifesto section.
   ========================================================================== */

/* --- HERO v3 --- */
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px,5vw,72px); align-items: center; }
.hero__headline {
  font-family: var(--sans); font-weight: 300;
  font-size: var(--fs-7xl); line-height: 0.98; letter-spacing: -0.03em;
  color: var(--light); margin: 0 0 24px; max-width: 14ch;
}
.hero__headline b { color: var(--teal); font-weight: 300; }
.hero__subhead {
  font-size: var(--fs-xl); line-height: 1.4; font-weight: 300;
  color: rgba(251,251,251,0.78); margin: 0 0 32px; max-width: 46ch;
}
.hero__subhead b { color: var(--light); font-weight: 400; }
.hero__cta { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.hero__cta .textlink { color: var(--teal); }

/* node/network graphic — "one connected view of your operation" */
.nodeviz { width: 100%; max-width: 520px; margin: 0 auto; display: block; }
.nodeviz .edge { stroke: rgba(0,212,222,0.28); stroke-width: 1; }
.nodeviz .outer { fill: rgba(0,212,222,0.15); stroke: rgba(0,212,222,0.55); stroke-width: 1.5; }
.nodeviz .outer-dot { fill: var(--teal); }
.nodeviz .core { fill: url(#coreGrad); stroke: var(--teal); stroke-width: 2; }
.nodeviz .core-label { fill: var(--light); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; }
.nodeviz .pulse { transform-origin: center; animation: nodepulse 3.2s ease-in-out infinite; }
@keyframes nodepulse { 0%,100% { opacity: 0.35; r: 60px; } 50% { opacity: 0.08; r: 78px; } }
.nodeviz .flow { stroke: var(--teal); stroke-width: 1.5; stroke-dasharray: 3 7; animation: flow 2.4s linear infinite; opacity: 0.7; }
@keyframes flow { to { stroke-dashoffset: -20; } }
@media (prefers-reduced-motion: reduce){ .nodeviz .pulse, .nodeviz .flow { animation: none; } }

/* capability strip (DOSS-style, below hero) */
.capstrip { border-top: 1px solid rgba(0,212,222,0.18); margin-top: clamp(40px,6vw,72px); padding-top: clamp(28px,4vw,44px); display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(20px,3vw,40px); }
.capstrip__item { }
.capstrip__label { font-family: var(--mono); font-size: var(--fs-sm); letter-spacing: 0.04em; color: var(--teal); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.capstrip__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.capstrip__cap { font-size: var(--fs-base); color: rgba(251,251,251,0.7); margin: 0; line-height: 1.45; }

/* --- MANIFESTO (worldview, promoted) --- */
.manifesto { background: var(--teal-dark); background-image: linear-gradient(160deg, var(--teal-dark), var(--navy)); }
.manifesto__body { max-width: 40ch; }
.manifesto__body p { font-size: var(--fs-2xl); line-height: 1.35; font-weight: 300; color: rgba(251,251,251,0.72); margin: 0 0 22px; }
.manifesto__body p.turn { color: var(--light); font-weight: 400; }

/* --- PROBLEM triptych (varied device) --- */
.triptych { border-top: 1px solid var(--hairline); margin-top: 12px; }
.trip { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--hairline); align-items: start; }
.trip__ico { width: 44px; height: 44px; color: var(--teal-dark); }
.trip__lead { font-size: var(--fs-xl); font-weight: 500; color: var(--ink); margin: 0 0 4px; }
.trip__desc { font-size: var(--fs-base); color: var(--muted); margin: 0; }

/* --- card icons --- */
.card__ico { width: 32px; height: 32px; color: var(--teal-dark); margin-bottom: 16px; display: block; }
.section--dark .card__ico { color: var(--teal); }

/* --- proof numbers to hero size --- */
.proof__num { font-size: var(--fs-7xl); }

/* --- industry status dots --- */
.row__status { display: inline-flex; align-items: center; gap: 9px; }
.row__status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.row__status.live::before { background: var(--teal); box-shadow: 0 0 0 4px rgba(0,212,222,0.15); }

/* --- connect stanzas --- */
.stanza { margin: 0 0 20px; max-width: 52ch; }
.stanza p { margin: 0 0 4px; font-size: var(--fs-lg); }

@media (max-width: 900px){
  .hero__grid { grid-template-columns: 1fr; }
  .nodeviz { max-width: 400px; margin-top: 24px; }
  .capstrip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){ .capstrip { grid-template-columns: 1fr; } .trip { grid-template-columns: 36px 1fr; gap: 14px; } }

/* ==========================================================================
   V4 — interactive layer: auto-sliders, scroll-reveal, progress, depth polish
   ========================================================================== */

/* scroll progress bar (top) */
#scrollbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; background: var(--teal); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }

/* scroll-reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* ---- PLATFORM SLIDER (the interactive centerpiece) ---- */
.pslider { background: var(--navy); position: relative; overflow: hidden; }
.pslider::before { content:""; position:absolute; width:640px; height:640px; right:-160px; top:-160px; border-radius:50%; background: radial-gradient(circle, rgba(0,212,222,0.16), rgba(0,212,222,0) 68%); pointer-events:none; }
.pslider .container { position: relative; z-index: 1; }
.pslider__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px,5vw,72px); align-items: stretch; margin-top: 40px; }

.slider__tabs { display: flex; flex-direction: column; gap: 6px; }
.slider__tab { text-align: left; background: none; border: 0; border-left: 2px solid rgba(251,251,251,0.12); padding: 20px 22px; cursor: pointer; color: rgba(251,251,251,0.55); transition: color .2s, background .2s, border-color .2s; border-radius: 0 4px 4px 0; }
.slider__tab:hover { color: var(--light); background: rgba(0,212,222,0.04); }
.slider__tab.is-active { color: var(--light); background: rgba(0,212,222,0.06); border-left-color: var(--teal); }
.slider__tab-n { font-family: var(--mono); font-size: var(--fs-sm); color: var(--teal); }
.slider__tab-t { font-size: var(--fs-xl); font-weight: 500; margin: 6px 0 6px; line-height: 1.15; }
.slider__tab-d { font-size: var(--fs-base); color: rgba(251,251,251,0.55); margin: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .3s ease, margin .3s; }
.slider__tab.is-active .slider__tab-d { max-height: 120px; opacity: 1; margin-top: 4px; }
.slider__bar { height: 2px; background: rgba(251,251,251,0.1); margin-top: 16px; border-radius: 2px; overflow: hidden; display: none; }
.slider__tab.is-active .slider__bar { display: block; }
.slider__bar > span { display: block; height: 100%; background: var(--teal); transform: scaleX(0); transform-origin: 0 50%; }

.slider__stage { position: relative; border: 1px solid rgba(0,212,222,0.18); border-radius: 10px; background: linear-gradient(160deg, rgba(4,81,95,0.35), rgba(0,29,36,0.6)); min-height: 380px; overflow: hidden; }
.slider__panel { position: absolute; inset: 0; display: grid; place-items: center; padding: 40px; opacity: 0; transform: scale(.98); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.slider__panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.slider__panel svg { width: 100%; max-width: 420px; height: auto; }
.panel__cap { position: absolute; left: 28px; bottom: 24px; right: 28px; font-size: var(--fs-base); color: rgba(251,251,251,0.75); margin: 0; }

/* mini viz shared bits */
.mini .edge { stroke: rgba(0,212,222,0.3); stroke-width: 1.2; }
.mini .dot { fill: var(--teal); }
.mini .ring { fill: none; stroke: rgba(0,212,222,0.4); stroke-width: 1.4; }
.mini .cell { fill: rgba(0,212,222,0.14); stroke: rgba(0,212,222,0.5); }
.mini .chip { fill: rgba(0,212,222,0.1); stroke: var(--teal); stroke-width: 1.4; }
.mini .chip-t { fill: var(--light); font-family: var(--mono); font-size: 12px; }
.mini .bar { fill: var(--teal); }
.mini .bar.dim { fill: rgba(0,212,222,0.35); }
.mini .core { fill: url(#coreGrad2); stroke: var(--teal); stroke-width: 2; }
.mini .glow { animation: nodepulse 3.2s ease-in-out infinite; transform-origin: center; }

/* depth polish */
.section--dark { position: relative; }
.card { box-shadow: 0 1px 2px rgba(0,29,36,0.04); }
.card:hover { box-shadow: 0 12px 32px rgba(0,29,36,0.10); }
.proof__card { box-shadow: 0 16px 40px rgba(0,29,36,0.35); }
.media__img { box-shadow: 0 20px 50px rgba(0,29,36,0.18); }

@media (max-width: 900px){
  .pslider__grid { grid-template-columns: 1fr; }
  .slider__stage { min-height: 300px; }
}

/* ==========================================================================
   V5 — DOSS-grade typography + Digital Employees + Industry slider
   ========================================================================== */

/* ---- TYPOGRAPHY: bolder, tighter, more designed (Chip vs DOSS) ---- */
.hero__headline { font-weight: 500; letter-spacing: -0.03em; line-height: 1.0; }
.headline { font-weight: 500; letter-spacing: -0.03em; line-height: 1.04; }
.headline--xl { line-height: 0.92; }
.hero__category { font-weight: 500; letter-spacing: -0.03em; }
.subhead { font-weight: 400; color: var(--muted); }
.section--dark .subhead { color: rgba(251,251,251,0.62); }
.eyebrow { letter-spacing: 0.14em; font-weight: 500; }
.slider__tab-t, .step__t, .card__title, .row__name { letter-spacing: -0.01em; }
.pslider .headline, .employees .headline { max-width: 22ch; }

/* ---- DIGITAL EMPLOYEES (agents) ---- */
.employees { background: var(--beige); }
.emp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,24px); margin-top: 44px; }
.emp {
  position: relative; background: var(--light); border: 1px solid var(--hairline);
  border-radius: 12px; padding: clamp(24px,2.4vw,34px);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.emp:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,29,36,0.12); border-color: rgba(0,212,222,0.5); }
.emp::after { content:""; position:absolute; right:-40px; bottom:-40px; width:150px; height:150px; border-radius:50%; background: radial-gradient(circle, rgba(0,212,222,0.10), rgba(0,212,222,0) 70%); }
.emp__badge { width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(150deg, var(--teal), var(--teal-dark)); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 8px 20px rgba(4,81,95,0.3); }
.emp__badge svg { width: 28px; height: 28px; color: #fff; }
.emp__name { font-size: var(--fs-2xl); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 4px; }
.emp__role { font-family: var(--mono); font-size: var(--fs-sm); letter-spacing: 0.04em; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 14px; }
.emp__desc { font-size: var(--fs-base); color: var(--body); margin: 0; line-height: 1.5; }

/* ---- INDUSTRY SLIDER (horizontal tabs on top, arrangement changes per tab) ---- */
.indslider { background: var(--navy); position: relative; overflow: hidden; }
.indslider::before { content:""; position:absolute; left:-140px; bottom:-160px; width:560px; height:560px; border-radius:50%; background: radial-gradient(circle, rgba(4,81,95,0.5), rgba(4,81,95,0) 68%); }
.indslider .container { position: relative; z-index: 1; }
.ind-tabs { display: flex; gap: clamp(18px,3vw,44px); border-bottom: 1px solid rgba(251,251,251,0.14); margin-top: 40px; overflow-x: auto; }
.ind-tab { flex: 0 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 0 0 18px; cursor: pointer; color: rgba(251,251,251,0.5); font-family: var(--sans); font-size: var(--fs-lg); font-weight: 500; letter-spacing: -0.01em; transition: color .2s, border-color .2s; white-space: nowrap; }
.ind-tab:hover { color: var(--light); }
.ind-tab.is-active { color: var(--light); border-bottom-color: var(--teal); }
.ind-stage { position: relative; min-height: 420px; margin-top: 40px; }
.ind-panel { position: absolute; inset: 0; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px,5vw,72px); align-items: center; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.ind-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.ind-panel__status { font-family: var(--mono); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.05em; color: var(--teal); display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; }
.ind-panel__status::before { content:""; width:9px; height:9px; border-radius:50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0,212,222,0.15); }
.ind-panel h3 { font-size: var(--fs-4xl); font-weight: 600; letter-spacing: -0.03em; line-height: 1.0; color: var(--light); margin: 0 0 18px; }
.ind-panel p { font-size: var(--fs-lg); color: rgba(251,251,251,0.72); margin: 0 0 10px; max-width: 44ch; }
.ind-scene { border: 1px solid rgba(0,212,222,0.18); border-radius: 12px; background: linear-gradient(160deg, rgba(4,81,95,0.3), rgba(0,29,36,0.55)); padding: 20px; }
.ind-scene svg { width: 100%; height: auto; }
.iso .plate { fill: rgba(0,212,222,0.06); stroke: rgba(0,212,222,0.4); }
.iso .box-t { fill: rgba(0,212,222,0.28); } .iso .box-l { fill: rgba(0,212,222,0.16); } .iso .box-r { fill: rgba(0,212,222,0.10); }
.iso .box-t.hot { fill: var(--teal); } .iso .box-l.hot { fill: rgba(0,212,222,0.6); } .iso .box-r.hot { fill: rgba(0,212,222,0.4); }
.iso .lbl { fill: var(--light); font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; }
.iso .wire { stroke: rgba(0,212,222,0.5); stroke-width: 1.4; fill: none; }
.iso .wire.dash { stroke-dasharray: 4 5; }
.iso .chip { fill: rgba(0,29,36,0.6); stroke: var(--teal); stroke-width: 1.2; }

@media (max-width: 900px){
  .emp-grid { grid-template-columns: 1fr 1fr; }
  .ind-panel { grid-template-columns: 1fr; }
  .ind-stage { min-height: 0; }
  .ind-panel { position: relative; display: none; }
  .ind-panel.is-active { display: grid; }
}
@media (max-width: 600px){ .emp-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   V6 — DOSS design-system pull (mode40 colors + IBM Plex kept)
   ========================================================================== */

/* buttons: sentence case (DOSS pills aren't uppercase) */
.btn { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: var(--fs-base); }

/* section surfaces: strict dark <-> warm-cream rhythm */
.section--white { background: var(--cream-2); }        /* warm the old "white" to cream */
.section--cream { background: var(--cream-1); }
.section--cream2 { background: var(--cream-2); }
.employees { background: var(--cream-1); }
.logowall { background: var(--cream-2); }

/* one-weight discipline: hierarchy from size + color, not bold */
.card__title, .emp__name, .step__t, .slider__tab-t, .row__name, .ind-panel h3, .proof__num, .stat__n, .hero__category, .headline, .hero__headline { font-weight: 500; }
.subhead { color: var(--muted); font-weight: 400; }
.section--dark .subhead, .pslider .subhead, .indslider .subhead { color: var(--muted-dark); }
.lines p { color: var(--body); }
.section--dark .lines p { color: var(--muted-dark); }

/* dashed blueprint guide-lines (DOSS signature motif) */
.guides { position: relative; }
.guides::before, .guides::after { content:""; position:absolute; left:0; right:0; height:0; border-top:1px dashed var(--hairline-dark); }
.guides::before { top:0; } .guides::after { bottom:0; }
.section--white.guides::before, .section--white.guides::after, .section--cream.guides::before, .section--cream.guides::after, .employees.guides::before, .employees.guides::after { border-top-color: var(--hairline); }
.guide-v { position:absolute; top:0; bottom:0; left:50%; border-left:1px dashed var(--hairline-dark); pointer-events:none; }

/* DOSS-style STAT blocks: big number + short label, minimal (replaces heavy cards) */
.proof { gap: var(--gutter); }
.proof__card { background: none; box-shadow: none; border: 0; border-top: 1px solid var(--hairline-dark); border-radius: 0; padding: 0.18rem 0 0; }
.proof__num { font-size: var(--fs-6xl); letter-spacing: -0.03em; color: var(--teal); margin: 0 0 0.06rem; }
.proof__ctx { color: var(--muted-dark); font-size: var(--fs-small, var(--fs-sm)); }

/* closing CTA band, DOSS-style on cream */
.cta-band { background: var(--cream-2); color: var(--ink-text); text-align: left; }
.cta-band .headline { color: var(--ink-text); }
.cta-band .subhead { color: var(--muted); }
.cta-band .cta-note { color: var(--muted); }

/* nav + footer stay dark (DOSS: hero + footer always dark) */
