/* =====================================================================
   HiSoft Corporation — "Sovereign Mesh" creative homepage
   Stack: vanilla HTML/CSS/JS · Three.js (hero) · GSAP ScrollTrigger
   Brand: Teal Trust  (#008080 primary · #2DD4BF mint · #020A0F midnight)
   ===================================================================== */

:root {
  /* Brand accents — identical across both themes (this IS Teal Trust) */
  --teal:        #008080;
  --teal-bright: #2DD4BF;
  --mint:        #7fe9dc;

  /* ---- DARK theme (default) surface + text tokens ---- */
  --midnight:    #020A0F;   /* page canvas */
  --charcoal:    #07141C;
  --charcoal-60: rgba(7, 20, 28, 0.60);
  --white:       #FFFFFF;   /* headings */
  --silver:      #94A3B8;   /* body copy */
  --border:      rgba(45, 212, 191, 0.16);
  --border-soft: rgba(148, 163, 184, 0.14);
  --card:        rgba(13, 27, 37, 0.88);
  --card-edge:   rgba(148, 163, 184, 0.16);
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05),
                 0 1px 2px rgba(0, 0, 0, 0.40),
                 0 24px 48px -28px rgba(0, 0, 0, 0.85);

  /* Semantic surface tokens (theme-aware; replace hardcoded dark literals) */
  --ink:         rgba(2, 10, 15, 0.60);   /* sunken panels / inputs */
  --ink-strong:  rgba(2, 10, 15, 0.92);   /* solid dark chrome (header, mobile nav) */
  --panel-fill:  rgba(7, 20, 28, 0.90);   /* report title bar, agenda rows */
  --header-grad-top: rgba(2, 10, 15, 0.86);
  --header-grad-bot: rgba(2, 10, 15, 0.45);
  --footer-bg:   rgba(2, 10, 15, 0.70);
  --on-teal:     #021014;                 /* text on teal-filled buttons/badges */
  --shadow-strong: rgba(0, 0, 0, 0.55);
  --shadow-soft:   rgba(0, 0, 0, 0.45);
  --grid-line:   rgba(45, 212, 191, 0.04);
  --glow-a:      rgba(0, 128, 128, 0.22);
  --glow-b:      rgba(45, 212, 191, 0.10);
  --danger-text: #ff8a86;

  /* Icon tile + primary action (flat, lit edge — no gradient, no halo) */
  --icon-tile-bg:     rgba(45, 212, 191, 0.13);
  --icon-tile-border: rgba(45, 212, 191, 0.26);
  --btn-fill:         #0F766E;
  --btn-fill-hover:   #0E7368;
  --btn-text:         #FFFFFF;
  --btn-edge:         rgba(255, 255, 255, 0.12);

  /* One grade for every editorial photograph (see HOUSE PHOTO GRADE at the end).
     Partial desaturation is what actually unifies a mixed stock library: it pulls
     the warm/cool temperature spread of four different photographers toward neutral. */
  --photo-grade:       grayscale(0.34) saturate(1.06) contrast(1.02) brightness(1.14);
  --photo-grade-hero:  grayscale(0.20) saturate(1.05) contrast(1.08) brightness(1.04);
  /* Decorative bands (no text over them) get a light scrim; caption-bearing
     images get a heavy one so the label underneath stays readable. */
  --photo-scrim:         linear-gradient(180deg, rgba(2, 10, 15, 0.04) 0%, rgba(7, 20, 28, 0.62) 100%);
  --photo-scrim-caption: linear-gradient(180deg, rgba(2, 10, 15, 0.10) 0%, rgba(7, 20, 28, 0.88) 100%);

  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --sans:  "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, monospace;

  --shell: 1180px;

  /* Radius scale — three values only: cards, controls, chips */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

/* ===================== LIGHT THEME ===================== */
:root[data-theme="light"] {
  --teal-bright: #0F766E;   /* 4.89:1 on canvas, 5.47:1 on card — passes AA for 0.78rem text */
  --mint:        #0F766E;   /* Deep mint for lead copy and tags on light canvas */
  --midnight:    #EEF3F4;   /* soft off-white canvas */
  --charcoal:    #FFFFFF;
  --charcoal-60: rgba(255, 255, 255, 0.72);
  --white:       #0B1F27;   /* headings -> deep teal-ink */
  --silver:      #48606C;   /* body copy -> slate */
  --border:      rgba(0, 128, 128, 0.22);
  --border-soft: rgba(11, 31, 39, 0.12);
  --card:        #FFFFFF;                     /* solid card surface — reads as a card, not paper */
  --card-edge:   rgba(11, 31, 39, 0.09);
  --card-shadow: 0 1px 2px rgba(11, 31, 39, 0.05),
                 0 18px 40px -22px rgba(11, 31, 39, 0.22);

  --ink:         rgba(255, 255, 255, 0.75);
  --ink-strong:  rgba(255, 255, 255, 0.96);
  --panel-fill:  rgba(236, 243, 244, 0.94);
  --header-grad-top: rgba(255, 255, 255, 0.88);
  --header-grad-bot: rgba(255, 255, 255, 0.55);
  --footer-bg:   rgba(255, 255, 255, 0.70);
  --on-teal:     #FFFFFF;
  --shadow-strong: rgba(11, 31, 39, 0.18);
  --shadow-soft:   rgba(11, 31, 39, 0.10);
  --grid-line:   rgba(0, 128, 128, 0.06);
  --glow-a:      rgba(0, 128, 128, 0.16);     /* raised so the blur has depth to refract */
  --glow-b:      rgba(45, 212, 191, 0.14);
  --danger-text: #dc2626;

  /* Controls on a light canvas: tinted tile, deep teal action */
  --icon-tile-bg:     rgba(0, 128, 128, 0.07);
  --icon-tile-border: rgba(0, 128, 128, 0.18);
  --btn-fill:         #0F766E;
  --btn-fill-hover:   #0E7368;
  --btn-text:         #FFFFFF;
  --btn-edge:         rgba(255, 255, 255, 0.28);

  --photo-grade:       grayscale(0.28) saturate(1.04) contrast(1.02) brightness(1.04);
  --photo-grade-hero:  grayscale(0.16) saturate(1.02) contrast(1.05) brightness(1.06);
  --photo-scrim:         linear-gradient(180deg, rgba(238, 243, 244, 0.04) 0%, rgba(255, 255, 255, 0.60) 100%);
  --photo-scrim-caption: linear-gradient(180deg, rgba(238, 243, 244, 0.10) 0%, rgba(255, 255, 255, 0.88) 100%);

  color-scheme: light;
}

/* Light-theme cards: opaque white surface + hairline + soft elevation.
   (A 60%-white wash measured 1.07:1 against the canvas — invisible as a surface.) */
:root[data-theme="light"] .status-deck,
:root[data-theme="light"] .bento-card,
:root[data-theme="light"] .quote-card,
:root[data-theme="light"] .report-card,
:root[data-theme="light"] .prod-card,
:root[data-theme="light"] .contact-form,
:root[data-theme="light"] .cta-card,
:root[data-theme="light"] .catalog-card,
:root[data-theme="light"] .blog-card,
:root[data-theme="light"] .blog-featured-card,
:root[data-theme="light"] .contact-card,
:root[data-theme="light"] .form-success-card,
:root[data-theme="light"] .sovereign-card,
:root[data-theme="light"] .charter-item,
:root[data-theme="light"] .leader-card,
:root[data-theme="light"] .exec-card,
:root[data-theme="light"] .legacy-card,
:root[data-theme="light"] .pd-overview,
:root[data-theme="light"] .pd-cockpit-card,
:root[data-theme="light"] .pd-pillar-card,
:root[data-theme="light"] .pd-feature-card,
:root[data-theme="light"] .pd-highlight-item,
:root[data-theme="light"] .pd-usecase-card,
:root[data-theme="light"] .pd-cta-deck,
:root[data-theme="light"] .pd-cta-side-card,
:root[data-theme="light"] .article-author-card {
  border-color: var(--card-edge);
  box-shadow: var(--card-shadow);
}

* { box-sizing: border-box; }

/* SVG gradient theme responsiveness */
.bento-grad-stop-0 { stop-color: var(--teal-bright); }
.bento-grad-stop-1 { stop-color: var(--teal); }

/* Global input placeholder consistency across themes */
input::placeholder,
textarea::placeholder {
  color: var(--silver);
  opacity: 0.75;
}

/* Form validation errors */
.field-error {
  font-size: .8rem;
  color: var(--danger-text);
  margin-top: .25rem;
  display: block;
  font-weight: 500;
}

/* Smooth theme cross-fade (reduced-motion users get an instant swap below) */
body, .site-header, .status-deck, .bento-card, .report-card,
.quote-card, .contact-form, .site-footer, .prod-card,
.cta-card, .catalog-card, .blog-card, .blog-featured-card,
.contact-card, .sovereign-card, .leader-card, .exec-card,
.legacy-card, .pd-overview {
  transition: background-color .4s var(--ease), color .4s var(--ease),
              border-color .4s var(--ease), box-shadow .4s var(--ease);
}

/* Brand-tinted text selection (replaces default blue highlight) */
::selection { background: rgba(45, 212, 191, 0.28); color: var(--white); }
::-moz-selection { background: rgba(45, 212, 191, 0.28); color: var(--white); }

/* Decorative chrome: avoid accidental text selection during clicks/drags.
   Real content (headings, paragraphs, lists) remains selectable/copyable. */
.brand, .primary-nav, .hamburger, .btn,
.footer-legal, .mesh-canvas, .marquee { user-select: none; -webkit-user-select: none; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--silver);
  background: var(--midnight);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient page backdrop: subtle teal radial + faint grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -8%, var(--glow-a), transparent 60%),
    radial-gradient(700px 500px at 10% 8%, var(--glow-b), transparent 55%),
    var(--midnight);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--white); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
em { font-style: normal; color: var(--teal-bright); }
a { color: var(--teal-bright); text-decoration: none; }

.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--teal); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  padding: .72rem 1.25rem; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn-lg { padding: .95rem 1.7rem; font-size: 1.02rem; }
/* Flat brand fill + a lit top edge. No gradient, no coloured halo —
   a 44px pill with a 30px teal glow is the single most "template" tell on the site. */
.btn-primary {
  background: var(--btn-fill);
  color: var(--btn-text);
  border-color: var(--btn-edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 2px rgba(0, 0, 0, 0.28);
}
.btn-primary:hover {
  background: var(--btn-fill-hover);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.20), 0 6px 16px -8px rgba(0, 0, 0, 0.50);
}
.btn-primary:active { transform: translateY(0); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); }
.btn-outline { background: transparent; border-color: var(--border-soft); color: var(--white); }
.btn-outline:hover { border-color: var(--teal-bright); background: rgba(45, 212, 191, 0.06); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--silver); }
.btn-ghost:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, var(--header-grad-top), var(--header-grad-bot));
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--border-soft); background: var(--ink-strong); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }

.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  color: var(--white); flex: 0 0 auto;
  padding: .25rem .5rem; margin: -.25rem -.5rem;          /* hit-area padding w/o shifting layout */
}
/* 40px in a 72px bar — the wordmark is a signature, not a billboard. */
.brand-logo { height: 40px; width: auto; display: block; transition: opacity .25s var(--ease); }
.brand:hover .brand-logo { opacity: .88; }

/* Two-layer logo: full-colour PNG on light theme; on dark the baked-in
   dark "Corporation" word vanishes, so we swap to a pre-generated dark
   variant (hisoft-logo-dark.png) where only the dark word is lifted to a
   light tone and the teal wordmark is preserved. The dark copy stays
   in normal flow (position:relative) so the stack keeps its size and the
   logo never collapses out of the header. */
.brand-logo-stack { position: relative; display: inline-block; line-height: 0; }
.brand-logo--dark { display: none; }
[data-theme="dark"] .brand-logo--color { display: none; }
[data-theme="dark"] .brand-logo--dark {
  display: inline-block;
  position: relative;
}

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.primary-nav li { display: flex; align-items: center; }
.nav-link {
  position: relative;
  font: inherit; font-weight: 500; color: var(--silver); background: none; border: 0; cursor: pointer;
  padding: .55rem .85rem; border-radius: 10px; transition: color .2s, background .2s;
}
.nav-link:hover, .has-mega:hover .nav-link { color: var(--white); background: rgba(45,212,191,.08); }

.has-mega { position: relative; }
/* Invisible bridge fills the gap between the trigger and the absolutely
   positioned panel so :hover is never interrupted while the cursor travels. */
.has-mega::after {
  content: ""; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); width: min(640px, 90vw); height: 12px;
}
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(640px, 90vw);
  /* Theme-aware, near-opaque fill (same solid-chrome token as the scrolled
     header) so page content behind is occluded — no text bleed-through — while
     the backdrop blur keeps the frosted-glass edge. Dark in dark mode, light in
     light mode, automatically. */
  background: var(--ink-strong);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border); border-radius: 16px; padding: 1rem;
  opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease);
  box-shadow: 0 12px 32px var(--shadow-strong);
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.mega-item { display: block; padding: .8rem .9rem; border-radius: 12px; transition: background .2s; }
.mega-item strong { display: block; color: var(--white); font-family: var(--sans); font-size: .95rem; }
.mega-item span { font-size: .82rem; color: var(--silver); }
.mega-item:hover { background: rgba(45,212,191,.08); }

.header-cta { display: flex; gap: .5rem; align-items: center; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .5rem; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: .25rem; padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--border-soft); background: var(--ink-strong); }
.site-header.nav-open .mobile-nav { display: flex; }
.mobile-nav > a { color: var(--silver); padding: .7rem .2rem; border-bottom: 1px solid var(--border-soft); font-weight: 500; }
.mobile-nav > a:hover { color: var(--white); }
.mobile-cta { display: flex; gap: .6rem; margin-top: 1rem; align-items: center; }
.mobile-cta .btn { flex: 1; }
.mobile-cta .theme-toggle { width: 44px; height: 44px; flex: 0 0 44px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 7rem 0 4rem; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.60;
  filter: saturate(1.2) contrast(1.1);
  transform: scale(1.02);
  transition: opacity .4s var(--ease);
}
:root[data-theme="light"] .hero-bg-img {
  opacity: 0.55;
  filter: var(--photo-grade-hero);
}
/* Two layers: a left-to-right scrim so the copy sits on a clean field, plus the
   vertical fade into the page canvas. A single vertical wash left the headline
   fighting the bright cabling in the photo. */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(2, 10, 15, 0.92) 0%,
      rgba(2, 10, 15, 0.80) 38%,
      rgba(2, 10, 15, 0.42) 68%,
      rgba(2, 10, 15, 0.55) 100%),
    linear-gradient(
      180deg,
      rgba(2, 10, 15, 0.55) 0%,
      rgba(2, 10, 15, 0.45) 50%,
      rgba(2, 10, 15, 0.90) 100%
    );
}
:root[data-theme="light"] .hero-bg-overlay {
  background:
    linear-gradient(90deg,
      rgba(238, 243, 244, 0.90) 0%,
      rgba(238, 243, 244, 0.80) 38%,
      rgba(238, 243, 244, 0.42) 68%,
      rgba(238, 243, 244, 0.55) 100%),
    linear-gradient(
      180deg,
      rgba(238, 243, 244, 0.60) 0%,
      rgba(238, 243, 244, 0.50) 50%,
      rgba(238, 243, 244, 0.88) 100%
    );
}
.mesh-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-glow { position: absolute; inset: 0; z-index: 1; background: radial-gradient(60% 50% at 70% 40%, var(--glow-a), transparent 70%); pointer-events: none; }
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
}
.eyebrow, .section-eyebrow {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-bright); margin: 0 0 1rem;
}
.hero-title { max-width: 26ch; line-height: 1.04; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); }
.hero-copy { align-self: center; }
.hero-lede { font-size: 1.08rem; max-width: 46ch; color: var(--silver); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.8rem 0 1.6rem; }

.trust-ribbon { display: flex; flex-wrap: wrap; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.trust-ribbon li { display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--white); font-weight: 500; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 10px var(--teal-bright); }

/* ---------- Status Deck ---------- */
.status-deck {
  background: var(--card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-edge); border-radius: var(--radius); padding: 1.4rem;
  box-shadow: var(--card-shadow);
}
.deck-head { display: flex; align-items: center; gap: .55rem; font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 1.1rem; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 0 rgba(45,212,191,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(45,212,191,.55);} 70% { box-shadow: 0 0 0 12px rgba(45,212,191,0);} 100% { box-shadow: 0 0 0 0 rgba(45,212,191,0);} }
.deck-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.metric-num { font-family: var(--serif); font-weight: 700; font-size: 1.7rem; color: var(--white); line-height: 1; }
.metric-label { font-size: .78rem; color: var(--silver); margin-top: .3rem; }
.deck-foot { margin-top: 1.2rem; padding-top: .9rem; border-top: 1px solid var(--border-soft); }
.region { font-family: var(--mono); font-size: .72rem; color: var(--teal-bright); }

.scroll-cue { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 14px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; background: var(--teal-bright); border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; top: 8px;} 30% { opacity: 1;} 70% { opacity: 1; top: 22px;} 100% { opacity: 0; top: 22px;} }

/* ---------- Section scaffolding ---------- */
section { position: relative; padding: 6rem 0; }
.section-title { max-width: 18ch; }
.section-sub { max-width: 56ch; font-size: 1.02rem; }

/* ---------- Scrub report engine ---------- */
.scrub { border-top: 1px solid var(--border-soft); }
.scrub-stage { margin-top: 2.5rem; perspective: 1200px; display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: start; }
.scrub-left { display: flex; flex-direction: column; gap: 1.1rem; }
.scrub-copy p { font-size: 1.02rem; line-height: 1.65; max-width: 46ch; }
.scrub-copy .tick { margin-bottom: 1.6rem; }
.scrub-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.scrub-ticks li { position: relative; padding-left: 2rem; font-size: 1.02rem; line-height: 1.5; color: var(--silver); }
.scrub-ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; color: var(--on-teal);
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
}
.report-card {
  width: 100%; background: var(--card); border: 1px solid var(--card-edge);
  border-radius: var(--radius); overflow: hidden; transform-style: preserve-3d;
  box-shadow: var(--card-shadow);
  will-change: transform;
}
.report-bar { display: flex; align-items: center; gap: .5rem; padding: .8rem 1rem; background: var(--panel-fill); border-bottom: 1px solid var(--border-soft); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f56; } .dot.y { background: #ffbd2e; } .dot.g { background: #27c93f; }
.report-title { font-family: var(--mono); font-size: .78rem; color: var(--silver); margin-left: .4rem; }
.report-body { padding: 1.2rem 1.3rem 1.5rem; }
.report-eligible { font-size: .82rem; color: var(--silver); margin: 0 0 1rem; font-family: var(--mono); }
.report-eligible span { color: var(--white); }

/* Agenda list (always visible before generation) */
.agenda { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .5rem; }
.agenda-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem .85rem; border: 1px solid var(--border-soft); border-radius: 10px; background: var(--ink); font-size: .9rem; }
.agenda-name { color: var(--silver); }
.agenda-state { font-family: var(--mono); font-size: .72rem; color: var(--silver); padding: .2rem .5rem; border-radius: 999px; background: rgba(148,163,184,.12); }
.agenda-item.done .agenda-state { color: var(--on-teal); background: var(--teal-bright); }

/* Spinner */
.report-spinner { display: flex; align-items: center; gap: .7rem; padding: .9rem 0 1.1rem; }
.report-spinner[hidden] { display: none; }
.spinner-ring { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(45,212,191,.2); border-top-color: var(--teal-bright); animation: spin .8s linear infinite; }
.spinner-tick { display: none; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; color: var(--on-teal); font-weight: 700; background: linear-gradient(135deg, var(--teal), var(--teal-bright)); }
.spinner-text { font-size: .85rem; color: var(--silver); font-family: var(--mono); }
.spinner-time { margin-left: auto; font-size: .8rem; color: var(--teal-bright); font-family: var(--mono); }
.report-spinner.done .spinner-ring { display: none; }
.report-spinner.done .spinner-tick { display: inline-flex; }
.report-spinner.done .spinner-text { color: var(--teal-bright); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Results */
.report-results { margin-top: .4rem; animation: fadeUp .5s var(--ease); }
.result-row { padding: .7rem 0; border-bottom: 1px dashed var(--border-soft); }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .88rem; margin-bottom: .5rem; }
.result-head span { color: var(--silver); }
.badge { font-family: var(--mono); font-size: .7rem; font-weight: 700; padding: .22rem .55rem; border-radius: 999px; letter-spacing: .04em; }
.badge.pass { color: var(--on-teal); background: linear-gradient(135deg, var(--teal), var(--teal-bright)); }
.bar { position: relative; height: 9px; border-radius: 999px; background: rgba(148,163,184,.14); overflow: hidden; display: flex; }
.bar-for { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); transition: width 1s var(--ease); }
.bar-against { display: block; height: 100%; background: rgba(255,95,86,.55); transition: width 1s var(--ease); }
.bar-legend { display: flex; justify-content: space-between; font-size: .76rem; color: var(--silver); margin-top: .35rem; font-family: var(--mono); }
.bar-legend .lf b { color: var(--teal-bright); } .bar-legend .la b { color: var(--danger-text); }
.result-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .9rem; font-family: var(--mono); font-size: .76rem; }
.result-foot .hash { color: var(--mint); }
.result-foot .verified { color: var(--teal-bright); }
.report-btn { width: 100%; margin-top: 1.1rem; }
.report-btn[disabled] { opacity: .55; cursor: default; }

/* ---------- Bento matrix ---------- */
.bento { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.bento-card {
  background: var(--card); border: 1px solid var(--card-edge); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--card-shadow);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  transform-style: preserve-3d; will-change: transform;
}
.bento-card:hover { border-color: var(--border); box-shadow: 0 14px 36px var(--shadow-soft); }
.bento-card.span-2 { grid-column: span 2; }
/* Icon tile: a contained 42px chip instead of a loose glyph under a 12px teal halo. */
.bento-ico {
  width: 42px; height: 42px; display: block; margin-bottom: .9rem;
  color: var(--teal-bright); padding: 9px;
  background: var(--icon-tile-bg); border: 1px solid var(--icon-tile-border);
  border-radius: var(--radius-sm);
}
.bento-card h3 { color: var(--white); }
.bento-card p { font-size: .95rem; margin: 0; }
.bento-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.bento-tags span {
  font: 600 .72rem/1 var(--sans); letter-spacing: .02em; color: var(--teal-bright);
  background: rgba(45, 212, 191, .10); border: 1px solid var(--border-soft);
  border-radius: 999px; padding: .35rem .7rem;
}

/* ---------- Social proof / marquee ---------- */
.proof { border-top: 1px solid var(--border-soft); }
.marquee { margin: 2.5rem 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: inline-flex; gap: 3rem; white-space: nowrap; will-change: transform; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: 1.5rem; color: var(--silver); opacity: .75; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.quote-card { margin: 0; background: var(--card); border: 1px solid var(--card-edge); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--card-shadow); }
.quote-card blockquote { margin: 0 0 1rem; color: var(--white); font-size: .98rem; line-height: 1.55; }
.quote-card figcaption { font-size: .85rem; color: var(--teal-bright); }
.quote-card figcaption strong { color: var(--white); display: block; }

/* ---------- Theme toggle button ---------- */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border-soft);
  color: var(--teal-bright); cursor: pointer; flex: 0 0 auto;
  transition: border-color .2s, transform .2s, background .2s;
}
.theme-toggle:hover { border-color: var(--teal-bright); transform: translateY(-1px); }
.theme-toggle svg { width: 20px; height: 20px; display: none; }
/* Two icons only — driven by the RESOLVED theme (light/dark), so System shows the icon of whatever it resolves to */
:root[data-theme="light"] .theme-toggle .ico-light { display: block; }
:root[data-theme="dark"]  .theme-toggle .ico-dark  { display: block; }

/* ---------- Product grid (11 solutions) ---------- */
.solutions-hub { border-top: 1px solid var(--border-soft); }
.prod-grid {
  margin-top: 2.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
  /* Featured cards span two columns; dense flow backfills the single-column
     holes they leave behind so a 12-card catalog never shows a stray gap. */
  grid-auto-flow: dense;
}
.prod-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--card-edge);
  border-radius: var(--radius); padding: 1.6rem 1.5rem;
  box-shadow: var(--card-shadow);
  transform-style: preserve-3d; will-change: transform;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.prod-card::after {
  /* teal glow trace on hover */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(240px 180px at var(--mx, 50%) var(--my, 0%), rgba(45,212,191,.14), transparent 70%);
  opacity: 0; transition: opacity .35s var(--ease); pointer-events: none;
}
.prod-card:hover { border-color: var(--border); box-shadow: 0 14px 36px var(--shadow-soft); }
.prod-card:hover::after { opacity: 1; }
.prod-card.featured { grid-column: span 2; }
.prod-card.featured .prod-name { font-size: 1.45rem; }
.prod-ico {
  width: 42px; height: 42px; display: block; margin-bottom: 1rem;
  color: var(--teal-bright); padding: 9px;
  background: var(--icon-tile-bg); border: 1px solid var(--icon-tile-border);
  border-radius: var(--radius-sm);
}
.prod-name { font-family: var(--serif); color: var(--white); font-size: 1.2rem; line-height: 1.2; margin: 0 0 .5rem; }
.prod-desc { font-size: .92rem; color: var(--silver); margin: 0 0 1.1rem; line-height: 1.55; }
.prod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.prod-link { font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--teal-bright); display: inline-flex; align-items: center; gap: .35rem; }
.prod-link:hover { color: var(--white); }
.prod-tag {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .02em;
  color: var(--on-teal); background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  padding: .28rem .6rem; border-radius: 999px; font-weight: 600; white-space: nowrap;
}
.prod-tag.flag { color: var(--teal-bright); background: rgba(45,212,191,.12); }
.prod-price { font-family: var(--mono); font-size: .78rem; color: var(--mint); }
.prod-price b { color: var(--white); font-size: .92rem; }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--border-soft); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-form { display: grid; gap: .9rem; background: var(--card); border: 1px solid var(--card-edge); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--card-shadow); }
.contact-form label { display: grid; gap: .35rem; font-size: .82rem; color: var(--silver); font-weight: 500; }
.contact-form input,
.contact-form select,
.contact-form textarea { font: inherit; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--border-soft); background: var(--ink); color: var(--white); }
.contact-form select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  padding-right: 2.2rem;
}
.contact-form select option {
  background: var(--charcoal);
  color: var(--white);
}
:root[data-theme="light"] .contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--teal-bright); box-shadow: 0 0 0 3px rgba(45,212,191,.2); }
.contact-form input[type="date"],
.contact-form input[type="time"] { color-scheme: dark; }
:root[data-theme="light"] .contact-form input[type="date"],
:root[data-theme="light"] .contact-form input[type="time"] { color-scheme: light; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 580px) { .form-row-2 { grid-template-columns: 1fr; } }
.schedule-window-card {
  background: rgba(45, 212, 191, .03);
  border: 1px dashed var(--border-soft);
  border-radius: 10px;
  padding: .9rem 1rem;
  margin: .1rem 0;
}
.schedule-window-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--teal-bright);
  font-weight: 600;
  margin-bottom: .65rem;
}
.form-note { font-size: .85rem; color: var(--teal-bright); margin: .2rem 0 0; min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--footer-bg); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.foot-brand .brand-logo { height: 40px; }
.foot-brand p { font-size: .9rem; max-width: 36ch; }
.foot-addr { color: var(--teal-bright); font-family: var(--mono); font-size: .78rem; }
.foot-col h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--silver); margin-bottom: 1rem; }
.foot-col a:not(.social-link) { display: block; color: var(--silver); font-size: .9rem; padding: .28rem 0; }
.foot-col a:not(.social-link):hover { color: var(--white); }
.footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .8rem; color: var(--silver); }
.foot-cert { font-family: var(--mono); color: var(--teal-bright); }

/* ---------- Footer contact column ---------- */
.foot-contact .foot-address {
  font-style: normal;
  color: var(--silver);
  font-size: .9rem;
  line-height: 1.5;
  margin: 0 0 .4rem;
}
.foot-contact-line { color: var(--teal-bright); font-family: var(--mono); font-size: .82rem; }
.foot-contact-line:hover { color: var(--white); }

/* ---------- Footer social bar (inline within the contact column) ---------- */
.social-bar--inline { margin-top: .8rem; }
.social-bar { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; }
.social-bar li { margin: 0; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px;
  color: var(--silver);
  background: var(--card);
  border: 1px solid var(--border);
  transition: color .25s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.social-link svg { width: 17px; height: 17px; display: block; }
.social-link:hover {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal-bright);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 128, 128, 0.35);
}

/* ---------- Reveal animation base ----------
   Gated on `html.js` (set by the inline head script). Without JS — or if the
   bundle fails to load — nothing is hidden, so a missed observer can never
   leave a section blank. The observer in app.js adds `.is-in`. */
html.js .reveal,
html.js .bento-card,
html.js .prod-card,
html.js .quote-card,
html.js .catalog-card,
html.js .blog-card {
  opacity: 0;
  transform: translateY(18px);
}
html.js .reveal.is-in,
html.js .bento-card.is-in,
html.js .prod-card.is-in,
html.js .quote-card.is-in,
html.js .catalog-card.is-in,
html.js .blog-card.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .status-deck { max-width: 460px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-2 { grid-column: span 2; }
  .testimonials, .prod-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .primary-nav, .header-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .bento, .testimonials, .prod-grid, .footer-grid { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: span 1; }
  .prod-card.featured { grid-column: span 1; }
  .scrub-stage { grid-template-columns: 1fr; gap: 1.8rem; }
  section { padding: 4rem 0; }
  .deck-metrics { grid-template-columns: 1fr 1fr; }
  .header-inner { height: 72px; gap: 1rem; }
  .brand-logo { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js .reveal,
  html.js .bento-card,
  html.js .prod-card,
  html.js .quote-card,
  html.js .catalog-card,
  html.js .blog-card { opacity: 1; transform: none; }
  .spinner-ring { animation: none; border-top-color: var(--teal-bright); }
  body, .site-header, .status-deck, .bento-card, .report-card,
  .quote-card, .contact-form, .site-footer, .prod-card { transition: none !important; }
}

/* =====================================================================
   ABOUT US — editorial company profile. Reuses the site's Teal Trust
   tokens, frosted cards, mono eyebrows, and the bento/card hover grammar.
   No status-deck, badges, "Request Demo", or contact form on this page.
   ===================================================================== */

/* ---------- Opening thesis (centered masthead, symmetric) ---------- */
.about-open { padding: 8.5rem 0 5rem; text-align: center; position: relative; }
.about-open.has-hero-bg {
  padding: 5.8rem 0 6.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}
.about-hero-nav {
  position: relative;
  z-index: 2;
  margin-bottom: 1.8rem;
}
.about-open.has-hero-bg .breadcrumbs {
  padding: 0.8rem 0 0;
  display: flex;
}
.about-open.has-hero-bg .breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.about-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.60;
  transform: scale(1.03);
}
:root[data-theme="light"] .about-hero-bg-img {
  opacity: 0.55;
  filter: var(--photo-grade-hero);
}
.about-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 10, 15, 0.60) 0%,
    rgba(2, 10, 15, 0.48) 50%,
    rgba(2, 10, 15, 0.92) 100%
  );
}
:root[data-theme="light"] .about-hero-bg-overlay {
  background: linear-gradient(
    180deg,
    rgba(238, 243, 244, 0.70) 0%,
    rgba(238, 243, 244, 0.58) 50%,
    rgba(238, 243, 244, 0.92) 100%
  );
}
.about-open.has-hero-bg .about-open-inner {
  position: relative;
  z-index: 2;
}
.about-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(7, 20, 28, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--teal-bright);
  margin-bottom: 1.6rem;
}
:root[data-theme="light"] .about-hero-pill {
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal);
  border-color: rgba(0, 128, 128, 0.3);
}
.about-open-inner { max-width: 46rem; margin-inline: auto; }
.about-thesis {
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em;
  margin: 0 auto 1.4rem; max-width: 20ch;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.about-thesis-sub {
  font-size: 1.12rem; color: var(--silver); max-width: 56ch; margin: 0 auto; line-height: 1.7;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
/* Centered symmetric gradient rule under the hero copy (mirrors body section dividers) */
.about-open-inner::after {
  content: ""; display: block; width: 96px; height: 2px; margin: 2.6rem auto 0;
  background: linear-gradient(90deg, transparent, var(--teal-bright), transparent);
  border-radius: 2px;
}

/* ---------- Sovereignty thesis ---------- */
.about-sovereign { border-top: 1px solid var(--border-soft); }
.sovereign-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.sovereign-card {
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 1.8rem; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  transform-style: preserve-3d; will-change: transform;
}
.sovereign-card:hover { border-color: var(--border); box-shadow: 0 14px 36px var(--shadow-soft); }
.sovereign-ico {
  width: 40px; height: 40px; display: block; margin-bottom: 1rem; padding: 9px;
  color: var(--teal-bright); background: var(--icon-tile-bg);
  border: 1px solid var(--icon-tile-border); border-radius: var(--radius-sm);
}
.sovereign-card h3 { color: var(--white); font-size: 1.18rem; margin: 0 0 .6rem; }
.sovereign-card p { color: var(--silver); font-size: .95rem; line-height: 1.6; margin: 0; }

/* ---------- Ledger timeline ---------- */
.about-ledger { border-top: 1px solid var(--border-soft); }
.ledger { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: .9rem; }
.ledger-row {
  display: grid; grid-template-columns: 84px 110px 1fr; gap: 1.4rem; align-items: center;
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 1.3rem 1.6rem; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.ledger-row:hover { border-color: var(--border); box-shadow: 0 14px 36px var(--shadow-soft); }
.ledger-year {
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--teal-bright);
  line-height: 1;
}
.ledger-hash {
  font-family: var(--mono); font-size: .76rem; color: var(--mint);
  background: rgba(45, 212, 191, .08); border: 1px solid var(--border-soft);
  border-radius: 999px; padding: .3rem .7rem; justify-self: start; white-space: nowrap;
}
.ledger-body h3 { margin: 0 0 .35rem; font-size: 1.08rem; }
.ledger-body p { margin: 0; color: var(--silver); font-size: .92rem; line-height: 1.55; }

/* ---------- Trust charter (what we will NOT do) ---------- */
.about-charter { border-top: 1px solid var(--border-soft); }
.charter { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.charter-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: start;
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 1.6rem; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  transform-style: preserve-3d; will-change: transform;
}
.charter-item:hover { border-color: var(--border); box-shadow: 0 14px 36px var(--shadow-soft); }
.charter-ico {
  width: 40px; height: 40px; padding: 9px; color: var(--teal-bright);
  background: var(--icon-tile-bg); border: 1px solid var(--icon-tile-border);
  border-radius: var(--radius-sm);
}
.charter-item h3 { margin: 0 0 .5rem; font-size: 1.08rem; color: var(--white); }
.charter-item p { margin: 0; color: var(--silver); font-size: .92rem; line-height: 1.55; }

/* ---------- Leadership ---------- */
.about-leaders { border-top: 1px solid var(--border-soft); }
.leader-grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: stretch; }
.leader-card {
  display: flex; flex-direction: column; align-items: center;
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 2.4rem 1.9rem 2rem; text-align: center; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  transform-style: preserve-3d; will-change: transform;
}
/* Quiet top accent line for visual rhythm */
.leader-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal-bright), transparent);
  opacity: .7;
}
.leader-card:hover { border-color: var(--border); box-shadow: 0 18px 44px var(--shadow-soft); }
/* Bigger avatar with gradient ring + soft glow */
.leader-avatar {
  width: 116px; height: 116px; margin: 0 auto 1.3rem; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 50% 35%, rgba(45,212,191,.16), rgba(45,212,191,.04));
  background-clip: padding-box;
  border: 3px solid transparent;
  background-image:
    linear-gradient(var(--card), var(--card)),
    linear-gradient(135deg, var(--teal-bright), var(--teal));
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 0 0 6px rgba(45,212,191,.06), 0 12px 30px rgba(45,212,191,.10);
}
.leader-avatar svg {
  width: 56px; height: 56px; color: var(--teal-bright);
  filter: drop-shadow(0 2px 6px rgba(45,212,191,.45));
}
.leader-card h3 { margin: 0 0 .25rem; font-size: 1.32rem; color: var(--white); }
.leader-role { font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; color: var(--teal-bright); margin: 0 0 .8rem; }
.leader-cred { font-size: .82rem; color: var(--mint); margin: 0 0 1.1rem; line-height: 1.5; max-width: 32ch; }
.leader-bio { color: var(--silver); font-size: .92rem; line-height: 1.6; margin: 0 0 1.5rem; }
/* LinkedIn button */
.leader-linkedin {
  margin-top: auto; display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.15rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  color: var(--white); text-decoration: none;
  background: rgba(45,212,191,.08); border: 1px solid var(--border-soft);
  transition: background .25s var(--ease), border-color .25s, transform .25s, box-shadow .25s;
}
.leader-linkedin svg { width: 16px; height: 16px; color: var(--teal-bright); transition: color .25s; }
.leader-linkedin:hover {
  background: var(--teal); color: var(--on-teal); border-color: var(--teal);
  transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,128,128,.35);
}
.leader-linkedin:hover svg { color: var(--on-teal); }

/* ---------- Executive team (denser roster grid) ---------- */
.about-exec { border-top: 1px solid var(--border-soft); }
.exec-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}
.exec-card {
  display: flex; flex-direction: column; align-items: center;
  background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 1.9rem 1.2rem 1.7rem; text-align: center; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  transform-style: preserve-3d; will-change: transform;
}
.exec-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal-bright), transparent);
  opacity: .7;
}
.exec-card:hover { border-color: var(--border); box-shadow: 0 18px 44px var(--shadow-soft); }
.exec-avatar {
  width: 84px; height: 84px; margin: 0 auto 1.1rem; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  border: 3px solid transparent;
  background-image:
    linear-gradient(var(--card), var(--card)),
    linear-gradient(135deg, var(--teal-bright), var(--teal));
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 0 0 6px rgba(45,212,191,.06), 0 12px 30px rgba(45,212,191,.10);
}
.exec-avatar svg {
  width: 40px; height: 40px; color: var(--teal-bright);
  filter: drop-shadow(0 2px 6px rgba(45,212,191,.45));
}
.exec-card h3 { margin: 0 0 .25rem; font-size: 1.06rem; color: var(--white); }
.exec-role { font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--teal-bright); margin: 0 0 .7rem; }
.exec-cred { font-size: .8rem; color: var(--silver); line-height: 1.5; margin: 0; }

/* ---------- Legacy ---------- */
.about-legacy { border-top: 1px solid var(--border-soft); }
.legacy-card {
  display: block;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.2rem 2.4rem; box-shadow: 0 18px 48px var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.legacy-card:hover { box-shadow: 0 22px 56px var(--shadow-strong); }
.legacy-ico {
  width: 64px; height: 64px; padding: 16px; color: var(--teal-bright);
  background: var(--icon-tile-bg); border: 1px solid var(--icon-tile-border);
  border-radius: var(--radius-sm);
}
.legacy-text { color: var(--silver); font-size: 1rem; line-height: 1.65; margin: .4rem 0 0; }
.legacy-text strong { color: var(--white); }

/* ---------- Quiet founder CTA (centered frosted card, no form, no "Request Demo") ---------- */
.about-cta { border-top: 1px solid var(--border-soft); padding: 6rem 0; }
.cta-card {
  max-width: 44rem; margin-inline: auto; text-align: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 3rem 2.4rem; box-shadow: 0 18px 48px var(--shadow-soft);
}
.cta-glyph {
  display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 1.2rem;
  border-radius: 50%; background: rgba(45, 212, 191, .08); border: 1px solid var(--border-soft);
}
.cta-glyph svg { width: 30px; height: 30px; }
.cta-card .section-eyebrow { margin-bottom: .8rem; }
.cta-card .section-title { margin: 0 auto .9rem; }
.cta-card .section-sub { margin: 0 auto 1.8rem; max-width: 46ch; }

/* ---------- About responsive ---------- */
@media (max-width: 980px) {
  .sovereign-grid { grid-template-columns: 1fr; }
  .charter { grid-template-columns: 1fr; }
  .leader-grid { grid-template-columns: 1fr; }
  .exec-grid { grid-template-columns: repeat(3, 1fr); }
  .ledger-row { grid-template-columns: 72px 1fr; }
  .ledger-hash { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px) {
  .exec-grid { grid-template-columns: repeat(2, 1fr); }
  .about-open { padding: 6.5rem 0 3.5rem; }
  .ledger-row { grid-template-columns: 1fr; gap: .5rem; }
  .ledger-year { font-size: 1.3rem; }
  .legacy-card { grid-template-columns: 1fr; gap: 1rem; }
  .legacy-ico { width: 48px; height: 48px; }
}

/* ===================== PRODUCT DETAIL PAGES ===================== */
.pd-hero {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0 3.5rem;
  scroll-margin-top: 130px;
}

.pd-mesh-ambient {
  position: absolute;
  top: -15%;
  right: -5%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, rgba(0, 128, 128, 0.05) 45%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}

.pd-hero .shell {
  position: relative;
  z-index: 1;
}

.pd-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.pd-meta-strip {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.pd-back-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .32rem .85rem;
  border-radius: 999px;
  background: rgba(45, 212, 191, .08);
  border: 1px solid var(--border);
  color: var(--teal-bright);
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .25s ease;
}

.pd-back-pill:hover {
  background: rgba(45, 212, 191, .16);
  border-color: var(--teal-bright);
  transform: translateX(-2px);
}

.pd-category-pill {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--panel-fill);
  color: var(--silver);
  border: 1px solid var(--border-soft);
  font-weight: 600;
}

.pd-title-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: .85rem;
}

.pd-ico-wrap {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  flex: none;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(45, 212, 191, .18), rgba(0, 128, 128, .06));
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 128, 128, .15), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.pd-ico {
  width: 36px;
  height: 36px;
  color: var(--teal-bright);
}

.pd-title {
  font-family: var(--serif);
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0;
  font-weight: 700;
}

.pd-headline {
  font-family: var(--serif);
  color: var(--teal-bright);
  font-size: 1.35rem;
  line-height: 1.35;
  max-width: 54ch;
  margin: .4rem 0 1rem;
}

.pd-lede {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 58ch;
  color: var(--silver);
  margin: 0 0 1.6rem;
}

.pd-trust-ribbon {
  margin: 1.25rem 0 1.75rem;
}

.pd-hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ---------- Telemetry Cockpit Deck ---------- */
.pd-cockpit-wrap {
  perspective: 1000px;
}

.pd-cockpit-card {
  background: linear-gradient(165deg, rgba(11, 24, 33, 0.94) 0%, rgba(5, 15, 22, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.85rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.pd-cockpit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-bright), transparent);
}

.pd-cockpit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: .95rem;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 1.1rem;
}

.pd-cockpit-dots {
  display: flex;
  gap: .35rem;
}

.pd-cockpit-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pd-cockpit-dots .dot.r { background: #ef4444; opacity: .85; }
.pd-cockpit-dots .dot.y { background: #f59e0b; opacity: .85; }
.pd-cockpit-dots .dot.g { background: #10b981; opacity: .85; }

.pd-cockpit-title {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--silver);
  letter-spacing: .02em;
}

.pd-cockpit-status-bar {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem .85rem;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.22);
  font-size: .78rem;
  font-family: var(--mono);
  color: var(--teal-bright);
  margin-bottom: 1.25rem;
}

.pd-cockpit-status-bar strong {
  font-weight: 700;
  letter-spacing: .03em;
}

.pd-cockpit-zone {
  margin-left: auto;
  font-size: .72rem;
  color: var(--silver);
  opacity: .85;
}

.pd-cockpit-specs {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 1.35rem;
}

.pd-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
  padding: .45rem 0;
  border-bottom: 1px dashed var(--border-soft);
}

.pd-spec-row:last-child {
  border-bottom: none;
}

.pd-spec-label {
  font-family: var(--mono);
  color: var(--silver);
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pd-spec-val {
  color: var(--white);
  font-weight: 600;
  text-align: right;
}

.pd-spec-val.highlight-val {
  color: var(--teal-bright);
}

.pd-spec-val.font-mono {
  font-family: var(--mono);
  font-size: .8rem;
}

.pd-cockpit-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-soft);
  flex-wrap: wrap;
}

.pd-cockpit-hotline {
  display: flex;
  flex-direction: column;
}

.pd-hotline-label {
  font-size: .7rem;
  text-transform: uppercase;
  color: var(--silver);
  letter-spacing: .04em;
}

.pd-hotline-num {
  font-family: var(--mono);
  font-size: .92rem;
  font-weight: 700;
  color: var(--teal-bright);
  text-decoration: none;
  transition: color .2s ease;
}

.pd-hotline-num:hover {
  color: var(--mint);
  text-decoration: underline;
}

/* ---------- Sticky In-Page Navigation Bar ---------- */
.pd-sticky-bar {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: var(--header-grad-top);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: .65rem 0;
  transition: background .3s ease;
}

.pd-nav-track {
  display: flex;
  align-items: center;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: .2rem 0;
}

.pd-nav-track::-webkit-scrollbar {
  display: none;
}

.pd-nav-link {
  color: var(--silver);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 500;
  padding: .42rem .95rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: all .2s ease;
  border: 1px solid transparent;
}

.pd-nav-link:hover {
  color: var(--white);
  background: rgba(45, 212, 191, 0.08);
}

.pd-nav-link.active {
  color: var(--teal-bright);
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.28);
}

.pd-nav-cta {
  margin-left: auto;
  color: var(--on-teal) !important;
  background: var(--teal-bright) !important;
  font-weight: 600;
  border-color: var(--teal-bright) !important;
}

.pd-nav-cta:hover {
  background: var(--mint) !important;
}

.pd-nav-brand {
  color: var(--white);
  font-weight: 700;
  letter-spacing: .01em;
}

.pd-nav-brand:hover {
  color: var(--teal-bright);
}

/* ---------- Strategic Overview & Bento Pillars ---------- */
.pd-section {
  padding: 4.5rem 0;
  position: relative;
  scroll-margin-top: 130px;
}

.pd-section-alt {
  background: linear-gradient(180deg, transparent, rgba(45, 212, 191, 0.025), transparent);
}

.pd-section-header {
  text-align: center;
  max-width: 68ch;
  margin: 0 auto 3.2rem;
}

.pd-overview-bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
}

.pd-overview-main {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 16px 40px var(--shadow-soft);
}

.pd-section-headline {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--white);
  line-height: 1.25;
  margin: .6rem 0 1.25rem;
}

.pd-overview-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--silver);
  margin: 0;
}

.pd-pillars-grid {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.pd-pillar-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.35rem 1.6rem;
  transition: all .3s var(--ease);
}

.pd-pillar-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.pd-pillar-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.1);
  color: var(--teal-bright);
  display: grid;
  place-items: center;
  margin-bottom: .8rem;
}

.pd-pillar-ico svg {
  width: 22px;
  height: 22px;
}

.pd-pillar-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 .35rem;
}

.pd-pillar-card p {
  font-size: .88rem;
  line-height: 1.55;
  color: var(--silver);
  margin: 0;
}

/* ---------- Capabilities Showcase Grid ---------- */
.pd-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pd-feature-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}

.pd-feature-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.pd-feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  transition: width .35s var(--ease);
}

.pd-feature-card:hover::after {
  width: 100%;
}

.pd-feature-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.pd-feature-num {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-bright);
  opacity: .7;
}

.pd-feature-badge {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .2rem .55rem;
  border-radius: 6px;
  background: rgba(45, 212, 191, 0.08);
  color: var(--silver);
  border: 1px solid var(--border-soft);
}

.pd-feature-title {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 .7rem;
  line-height: 1.35;
}

.pd-feature-text {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--silver);
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.pd-feature-foot {
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

.pd-feature-anchor {
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--teal-bright);
  font-weight: 600;
  letter-spacing: .03em;
}

/* ---------- Architectural Differentiators (Why HiSoft) ---------- */
.pd-diff-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.pd-diff-intro {
  position: sticky;
  top: 140px;
}

.pd-diff-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--silver);
  margin: 1.25rem 0 1.75rem;
}

.pd-diff-banner {
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.15), rgba(45, 212, 191, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}

.pd-diff-banner-tag {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal-bright);
  letter-spacing: .06em;
  margin-bottom: .45rem;
}

.pd-diff-banner p {
  font-size: .88rem;
  line-height: 1.55;
  color: var(--silver);
  margin: 0;
}

.pd-highlights-column {
  width: 100%;
}

.pd-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pd-highlight-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.35rem 1.6rem;
  transition: border-color .3s ease, transform .3s ease;
}

.pd-highlight-item:hover {
  border-color: var(--border);
  transform: translateX(4px);
}

.pd-highlight-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.22), rgba(0, 128, 128, 0.1));
  border: 1px solid var(--border);
  color: var(--teal-bright);
  display: grid;
  place-items: center;
  font-size: .95rem;
  font-weight: 700;
  margin-top: .1rem;
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.2);
}

.pd-highlight-content {
  flex-grow: 1;
}

.pd-highlight-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .35rem;
}

.pd-highlight-desc {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--silver);
  margin: 0;
}

/* ---------- Metrics Deck & Sectors ---------- */
.pd-section-deck {
  padding: 3rem 0;
}

.pd-metrics-deck {
  max-width: 900px;
  margin-inline: auto;
}

.pd-sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pd-sector-card {
  display: flex;
  flex-direction: column;
}

.pd-sector-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.pd-sector-badge {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .2rem .55rem;
  border-radius: 6px;
  background: rgba(45, 212, 191, 0.08);
  color: var(--teal-bright);
  border: 1px solid var(--border-soft);
}

.pd-sector-name {
  font-size: 1.2rem;
  font-family: var(--sans);
  color: var(--white);
  margin: 0 0 .5rem;
}

.pd-sector-desc {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--silver);
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

/* ---------- Practical Deployment Use Cases ---------- */
.pd-usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pd-usecase-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all .3s var(--ease);
}

.pd-usecase-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.pd-usecase-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.pd-usecase-index {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal-bright);
  letter-spacing: .08em;
}

.pd-usecase-badge {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .2rem .5rem;
  border-radius: 6px;
  background: var(--panel-fill);
  color: var(--silver);
  border: 1px solid var(--border-soft);
}

.pd-usecase-title {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 .7rem;
  line-height: 1.35;
}

.pd-usecase-text {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--silver);
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.pd-usecase-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

.pd-verified-badge {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--teal-bright);
  font-weight: 600;
}

/* ---------- Closing Consultation Deck ---------- */
.pd-cta {
  padding: 5rem 0 6rem;
}

.pd-cta-deck {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(145deg, rgba(11, 24, 33, 0.88), rgba(2, 10, 15, 0.95));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.3);
  padding: 3.5rem;
  box-shadow: 0 24px 60px var(--shadow-strong);
  position: relative;
  overflow: hidden;
}

.pd-cta-deck::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12), transparent 70%);
  pointer-events: none;
}

.pd-cta-main .section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 1rem;
}

.pd-cta-main .section-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 50ch;
  margin: 0;
}

.pd-cta-sidebar {
  width: 100%;
}

.pd-cta-side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.pd-cta-side-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 .6rem;
}

.pd-cta-side-card p {
  font-size: .88rem;
  line-height: 1.55;
  color: var(--silver);
  margin: 0 0 1.1rem;
}

.pd-side-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.pd-side-list li {
  font-size: .84rem;
  color: var(--teal-bright);
  line-height: 1.4;
}

/* ---------- Light Theme Overrides ---------- */
:root[data-theme="light"] .pd-cockpit-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.94) 0%, rgba(240, 248, 248, 0.98) 100%);
  box-shadow: 0 20px 48px rgba(11, 31, 39, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .pd-cockpit-status-bar {
  background: rgba(0, 128, 128, 0.08);
  border-color: rgba(0, 128, 128, 0.22);
  color: var(--teal-bright);
}

:root[data-theme="light"] .pd-cta-deck {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 248, 0.9));
  box-shadow: 0 20px 48px rgba(11, 31, 39, 0.12);
}

/* ---------- Product eyebrow + multi-paragraph overview ---------- */
.pd-eyebrow {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin: .35rem 0 .5rem;
}

.pd-overview-text + .pd-overview-text {
  margin-top: 1.05rem;
}

/* ---------- Product tour gallery ---------- */
.pd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pd-gallery-item {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .35s var(--ease);
}

.pd-gallery-item:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.pd-gallery-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  overflow: hidden;
}

.pd-gallery-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .45s var(--ease);
}

.pd-gallery-item:hover .pd-gallery-link img {
  transform: scale(1.03);
}

.pd-gallery-zoom {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--teal-bright);
  background: var(--panel-fill);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(4px);
  transition: all .3s var(--ease);
}

.pd-gallery-item:hover .pd-gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

.pd-gallery-caption {
  padding: .8rem 1rem .9rem;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--silver);
  border-top: 1px solid var(--border-soft);
}

/* ---------- Pricing & packages ---------- */
.pd-price-group + .pd-price-group {
  margin-top: 2.6rem;
}

.pd-price-group-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--white);
  margin: 0 0 1.1rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--border-soft);
}

.pd-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}

.pd-price-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  position: relative;
  transition: all .35s var(--ease);
}

.pd-price-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.pd-price-card.is-featured {
  border-color: var(--border);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.18), 0 18px 44px rgba(0, 0, 0, 0.34);
}

.pd-price-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--white);
  margin: 0 0 .4rem;
}

.pd-price-tagline {
  font-size: .86rem;
  line-height: 1.55;
  color: var(--silver);
  margin: 0 0 1.1rem;
}

.pd-price-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 .5rem;
}

.pd-price-value {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.pd-price-was {
  font-size: .95rem;
  color: var(--silver);
  opacity: .75;
}

.pd-price-note {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--silver);
}

.pd-price-save {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-teal);
  background: var(--teal-bright);
  border-radius: 999px;
  padding: .22rem .7rem;
  margin: 0 0 .75rem;
}

.pd-price-delivery {
  font-size: .82rem;
  color: var(--silver);
  margin: 0 0 1.2rem;
}

.pd-price-delivery strong {
  color: var(--white);
  font-weight: 600;
}

.pd-price-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}

.pd-price-features li {
  display: flex;
  gap: .6rem;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--silver);
}

.pd-price-check {
  flex: none;
  color: var(--teal-bright);
  font-weight: 700;
}

.pd-price-foot {
  margin-top: auto;
}

.pd-price-foot .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.pd-price-terms {
  margin: 1.8rem auto 0;
  max-width: 66ch;
  text-align: center;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--silver);
}

.pd-price-terms a {
  color: var(--teal-bright);
  text-decoration: none;
}

.pd-price-terms a:hover {
  text-decoration: underline;
}

/* ---------- Product Detail Responsive ---------- */
@media (max-width: 1024px) {
  .pd-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pd-overview-bento {
    grid-template-columns: 1fr;
  }
  .pd-diff-wrapper {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .pd-diff-intro {
    position: static;
  }
  .pd-cta-deck {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }
  .pd-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pd-sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pd-usecases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pd-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pd-price-grid {
    grid-template-columns: 1fr;
  }
  .pd-hero {
    padding: 1.25rem 0 2.5rem;
    scroll-margin-top: 110px;
  }
  .pd-section {
    scroll-margin-top: 110px;
  }
  .pd-sticky-bar {
    top: 64px;
  }
  .pd-nav-track {
    gap: .35rem;
  }
  .pd-nav-link {
    font-size: .8rem;
    padding: .35rem .75rem;
  }
}

@media (max-width: 640px) {
  .pd-features-grid {
    grid-template-columns: 1fr;
  }
  .pd-gallery-grid {
    grid-template-columns: 1fr;
  }
  .pd-sectors-grid {
    grid-template-columns: 1fr;
  }
  .pd-usecases-grid {
    grid-template-columns: 1fr;
  }
  .pd-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .pd-hero-actions .btn {
    text-align: center;
    justify-content: center;
  }
  .pd-cockpit-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .pd-cockpit-hotline {
    text-align: center;
  }
  .pd-cockpit-footer .btn {
    text-align: center;
    justify-content: center;
  }
  .pd-cta-deck {
    padding: 1.75rem 1.25rem;
  }
  .pd-cta-main .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ===================== FLOATING LIVE CHAT ===================== */
.chat-widget {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 200;
  display: flex;
  flex-direction: column-reverse; /* panel opens ABOVE the chathead, not below */
  align-items: flex-end;
  gap: .8rem;
}

/* Floating action button */
.chat-fab {
  position: relative; /* anchor the absolute unread badge to the button itself */
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: var(--on-teal);
  background: var(--btn-fill);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 1px 2px rgba(0,0,0,.30),
              0 14px 28px -14px rgba(0,0,0,.65);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.chat-fab:hover { transform: translateY(-2px); background: var(--btn-fill-hover); }
.chat-fab svg { width: 28px; height: 28px; }
.chat-fab .chat-fab-close { display: none; }
.chat-fab.is-open .chat-fab-open { display: none; }
.chat-fab.is-open .chat-fab-close { display: block; }
.chat-fab-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; color: #fff;
  background: #ff5a5f; border-radius: 999px;
  box-shadow: 0 0 0 2px var(--card);
}
/* The hidden attribute must win over display:grid above, otherwise the badge
   shows as an empty red dot even when the count is 0 (setBadge hides via the
   hidden attribute, but display:grid would override display:none). */
.chat-fab-badge[hidden] { display: none !important; }

/* Panel */
.chat-panel {
  width: min(360px, calc(100vw - 2.8rem));
  background: var(--ink-strong);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 18px 48px var(--shadow-strong);
  overflow: hidden;
  display: flex; flex-direction: column;
  animation: chatPop .22s var(--ease);
}
/* The hidden attribute must win over the display:flex below so the panel/
   body/intro actually collapse. Without this, the X/Min buttons appear to do
   nothing because CSS display would override the HTML hidden attribute. */
.chat-panel[hidden],
.chat-body[hidden],
.chat-intro[hidden] { display: none !important; }
@keyframes chatPop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

.chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1rem; border-bottom: 1px solid var(--border-soft);
}
.chat-head-actions { display: flex; gap: .25rem; }
.chat-title { display: block; color: var(--white); font-weight: 600; font-size: 1rem; }
.chat-sub { display: block; color: var(--silver); font-size: .76rem; }
.chat-icon-btn {
  width: 30px; height: 30px; display: grid; place-items: center; cursor: pointer;
  background: none; border: 0; border-radius: 8px; color: var(--silver);
  transition: background .2s, color .2s;
}
.chat-icon-btn:hover { background: var(--border-soft); color: var(--white); }
.chat-icon-btn svg { width: 18px; height: 18px; }

/* Identity gate */
.chat-intro { padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.chat-intro-copy { margin: 0 0 .2rem; color: var(--silver); font-size: .86rem; line-height: 1.45; }
.chat-input {
  width: 100%; padding: .65rem .8rem; border-radius: 10px;
  background: var(--ink); color: var(--white);
  border: 1px solid var(--border-soft); font: inherit; font-size: .9rem;
}
.chat-input:focus { outline: none; border-color: var(--teal-bright); }
.chat-input::placeholder { color: var(--silver); }
.chat-start { margin-top: .2rem; }
.chat-error { margin: .2rem 0 0; color: var(--danger-text); font-size: .8rem; }

/* Conversation */
.chat-body { display: flex; flex-direction: column; min-height: 0; }
.chat-log {
  flex: 1 1 auto; overflow-y: auto; max-height: 320px;
  padding: 1rem; display: flex; flex-direction: column; gap: .55rem;
}
.chat-msg { display: flex; }
.chat-msg--visitor { justify-content: flex-end; }
.chat-msg--admin { justify-content: flex-start; }
.chat-bubble {
  max-width: 80%; padding: .55rem .8rem; border-radius: 14px;
  font-size: .9rem; line-height: 1.4; color: var(--white);
  background: rgba(45,212,191,.14); border: 1px solid var(--border-soft);
  position: relative;
}
.chat-msg--visitor .chat-bubble { background: var(--teal); color: var(--on-teal); border-color: transparent; border-bottom-right-radius: 4px; }
.chat-msg--admin .chat-bubble { border-bottom-left-radius: 4px; }
.chat-meta { display: block; margin-top: .25rem; font-size: .66rem; opacity: .6; text-align: right; }

.chat-compose { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--border-soft); }
.chat-text { flex: 1 1 auto; }
.chat-send {
  flex: none; width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
  display: grid; place-items: center; color: var(--on-teal);
  background: linear-gradient(135deg, var(--teal-bright), var(--teal)); border: 0;
  transition: transform .2s var(--ease);
}
.chat-send:hover { transform: translateY(-2px); }
.chat-send svg { width: 20px; height: 20px; }

@media (max-width: 480px) {
  .chat-widget { right: .9rem; bottom: .9rem; }
  .chat-panel { width: calc(100vw - 1.8rem); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .chat-panel { animation: none; }
  .chat-fab, .chat-send { transition: none; }
}

/* ===================== MULTI-PAGE & BREADCRUMBS ===================== */
.breadcrumbs {
  padding: 6.8rem 0 0.8rem;
  font-size: .84rem;
  color: var(--silver);
}
.breadcrumbs.pd-breadcrumbs {
  padding: 1.25rem 0 0.5rem;
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}
.breadcrumbs a {
  color: var(--silver);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumbs a:hover {
  color: var(--teal-bright);
}
.breadcrumbs .crumb-sep {
  opacity: .4;
  font-size: .75rem;
}
.breadcrumbs [aria-current="page"] {
  color: var(--teal-bright);
  font-weight: 600;
}

.primary-nav .nav-link.active {
  color: var(--teal-bright);
  position: relative;
}
.primary-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--teal-bright);
  border-radius: 2px;
}

/* ===================== SOLUTIONS CATALOG PAGE ===================== */
.solutions-hero {
  padding: 2.5rem 0 3.5rem;
  text-align: center;
  position: relative;
}
.solutions-hero.has-hero-bg {
  padding: 5.8rem 0 5.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
}
.solutions-hero-nav {
  position: relative;
  z-index: 2;
  margin-bottom: 1.8rem;
}
.solutions-hero.has-hero-bg .breadcrumbs {
  padding: 0.8rem 0 0;
  display: flex;
  justify-content: center;
}
.solutions-hero.has-hero-bg .breadcrumbs ol {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.solutions-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.solutions-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.60;
  transform: scale(1.03);
}
:root[data-theme="light"] .solutions-hero-bg-img {
  opacity: 0.55;
  filter: var(--photo-grade-hero);
}
.solutions-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 10, 15, 0.60) 0%,
    rgba(2, 10, 15, 0.48) 50%,
    rgba(2, 10, 15, 0.92) 100%
  );
}
:root[data-theme="light"] .solutions-hero-bg-overlay {
  background: linear-gradient(
    180deg,
    rgba(238, 243, 244, 0.70) 0%,
    rgba(238, 243, 244, 0.58) 50%,
    rgba(238, 243, 244, 0.92) 100%
  );
}
.solutions-hero.has-hero-bg .solutions-hero-inner {
  position: relative;
  z-index: 2;
}
.solutions-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(7, 20, 28, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--teal-bright);
  margin-bottom: 1.6rem;
}
:root[data-theme="light"] .solutions-hero-pill {
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal);
  border-color: rgba(0, 128, 128, 0.3);
}
.solutions-hero .section-title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.solutions-hero .section-sub {
  max-width: 62ch;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.solutions-hero .hero-actions {
  justify-content: center;
}

.solutions-catalog {
  padding-bottom: 4rem;
}
.catalog-category-block {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border-soft);
}
.category-header {
  margin-bottom: 2rem;
}
.category-title {
  font-family: var(--serif);
  font-size: 1.85rem;
  color: var(--white);
  margin: .3rem 0 .5rem;
}
.category-subtitle {
  color: var(--silver);
  font-size: 1.02rem;
  max-width: 58ch;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.catalog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.catalog-card:hover {
  border-color: var(--teal-bright);
  box-shadow: 0 16px 40px var(--shadow-soft);
}
.catalog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.catalog-ico-wrap {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(45, 212, 191, .08);
  border: 1px solid var(--border);
}
.catalog-ico {
  width: 28px;
  height: 28px;
}
.catalog-card-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--white);
  margin: 0 0 .4rem;
}
.catalog-card-headline {
  color: var(--teal-bright);
  font-size: .92rem;
  font-weight: 500;
  margin: 0 0 .8rem;
  line-height: 1.45;
}
.catalog-card-desc {
  color: var(--silver);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0 0 1.2rem;
}
.catalog-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: .5rem;
  font-size: .88rem;
  color: var(--silver);
}
.catalog-features-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  flex-shrink: 0;
}
.catalog-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.bento-tag-link {
  text-decoration: none;
  display: inline-block;
}
.bento-tag-link span {
  transition: background .2s, color .2s;
}
.bento-tag-link:hover span {
  background: var(--teal);
  color: var(--on-teal);
}

/* ===================== CONTACT PAGE ===================== */
.contact-hero {
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.contact-hero .section-title {
  max-width: none;
  margin: 0 auto 0.9rem;
  text-align: center;
}
.contact-hero .section-sub {
  max-width: 58ch;
  margin: 0 auto;
}
.contact-page-body {
  padding: 2rem 0 5rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-main-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.inquiry-banner {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  background: rgba(45, 212, 191, .08);
  border: 1px solid var(--teal-bright);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}
.inquiry-ico {
  width: 22px;
  height: 22px;
  color: var(--teal-bright);
  flex-shrink: 0;
  margin-top: 2px;
}
.inquiry-banner strong {
  display: block;
  color: var(--white);
  font-size: .95rem;
}
.inquiry-banner p {
  color: var(--silver);
  font-size: .86rem;
  margin: .2rem 0 0;
}
.form-success-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.success-tick {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(45, 212, 191, .15);
  color: var(--teal-bright);
  font-size: 1.8rem;
  font-weight: 700;
}
.form-success-card h3 {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.6rem;
  margin: 0;
}
.form-success-card p {
  color: var(--silver);
  max-width: 42ch;
  margin: 0;
}

.contact-directory {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color .3s, transform .3s var(--ease);
}
.contact-card:hover {
  border-color: var(--teal-bright);
}
.contact-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .8rem;
}
.contact-card-ico {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  color: var(--teal-bright);
}
.contact-card-head h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin: 0 0 .2rem;
}
.contact-tag {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--teal-bright);
  display: block;
}
.contact-card-copy {
  color: var(--silver);
  font-size: .92rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}
.contact-address {
  font-style: normal;
  color: var(--white);
  font-size: .92rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  padding-left: .2rem;
  border-left: 2px solid var(--teal-bright);
}
.contact-lines {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--teal-bright);
  text-decoration: none;
  font-size: .9rem;
  font-family: var(--mono);
  transition: color .2s;
}
.contact-line svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--teal-bright);
}
.contact-line:hover {
  color: var(--white);
}
.contact-meta {
  margin-top: 1.1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border-soft);
  font-size: .8rem;
  color: var(--silver);
}
.contact-card--highlight {
  background: radial-gradient(circle at 100% 0%, rgba(45, 212, 191, .1), transparent), var(--card);
  border-color: var(--teal-bright);
}
.contact-card--highlight h4 {
  color: var(--teal-bright);
  margin: 0 0 .5rem;
  font-size: 1.05rem;
}
.contact-card--highlight p {
  color: var(--silver);
  font-size: .9rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 860px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .breadcrumbs {
    padding-top: 5.5rem;
  }
}

/* ===================== BLOG & ARTICLES ===================== */
.blog-hero {
  padding: 2.5rem 0 2.5rem;
  text-align: center;
}
.blog-hero .section-title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.blog-hero .section-sub {
  max-width: 64ch;
  margin: 0 auto 2rem;
}
.blog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.blog-pills {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.blog-pill {
  padding: .45rem .95rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border-soft);
  color: var(--silver);
  font-size: .84rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s var(--ease);
}
.blog-pill:hover {
  border-color: var(--teal-bright);
  color: var(--white);
}
.blog-pill.active {
  background: rgba(45, 212, 191, .15);
  border-color: var(--teal-bright);
  color: var(--teal-bright);
  font-weight: 600;
}
.blog-search-box {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: .45rem 1rem;
}
.blog-search-box input {
  background: none;
  border: none;
  color: var(--white);
  font: inherit;
  font-size: .86rem;
  outline: none;
  width: 180px;
}
.blog-search-box svg {
  color: var(--silver);
}

/* Featured Blog Card */
.blog-featured-section {
  padding-bottom: 2.5rem;
}
.blog-featured-card {
  background: radial-gradient(circle at 100% 0%, rgba(45, 212, 191, .08), transparent), var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 20px 48px var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease);
}
.blog-featured-card:hover {
  border-color: var(--teal-bright);
}
.blog-featured-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal-bright), transparent);
}
.post-meta-top {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.blog-cat-badge {
  font-family: var(--mono);
  font-size: .75rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(45, 212, 191, .12);
  color: var(--teal-bright);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.post-read-time, .post-date {
  font-size: .8rem;
  color: var(--silver);
  font-family: var(--mono);
}
.featured-tag {
  font-size: .75rem;
  font-weight: 600;
  color: var(--mint);
  margin-left: auto;
}
.featured-card-title {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 1rem;
}
.featured-card-title a {
  color: var(--white);
  text-decoration: none;
  transition: color .2s;
}
.featured-card-title a:hover {
  color: var(--teal-bright);
}
.featured-card-summary {
  color: var(--silver);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 68ch;
  margin: 0 0 1.8rem;
}
.post-meta-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-soft);
  padding-top: 1.2rem;
}
.post-author-block {
  display: flex;
  flex-direction: column;
}
.post-author-block strong {
  color: var(--white);
  font-size: .92rem;
}
.post-author-block span {
  font-size: .8rem;
  color: var(--silver);
}

/* Blog Grid */
.blog-grid-section {
  padding-bottom: 4rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.blog-card:hover {
  border-color: var(--teal-bright);
  box-shadow: 0 16px 40px var(--shadow-soft);
}
.blog-card-title {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.35;
  margin: 0 0 .8rem;
}
.blog-card-title a {
  color: var(--white);
  text-decoration: none;
  transition: color .2s;
}
.blog-card-title a:hover {
  color: var(--teal-bright);
}
.blog-card-summary {
  color: var(--silver);
  font-size: .92rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.blog-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-soft);
  padding-top: 1rem;
}
.post-author-mini {
  display: flex;
  flex-direction: column;
}
.post-author-mini strong {
  font-size: .85rem;
  color: var(--white);
}
.post-author-mini span {
  font-size: .75rem;
  color: var(--silver);
  font-family: var(--mono);
}

/* Article Detail */
.article-container {
  padding-bottom: 5rem;
}
.article-shell-narrow {
  max-width: 780px;
  margin: 0 auto;
}
.article-hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border-soft);
}
.article-title {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 1.2rem;
}
.article-lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--mint);
  margin: 0 0 2rem;
}
.article-author-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border-soft);
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(45, 212, 191, .12);
  color: var(--teal-bright);
}
.author-name {
  display: block;
  font-weight: 600;
  color: var(--white);
  font-size: .95rem;
}
.author-role {
  display: block;
  font-size: .82rem;
  color: var(--silver);
}
.article-body {
  padding: 3rem 0;
}
.article-prose {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--silver);
}
.article-prose p {
  margin: 0 0 1.6rem;
}
.article-prose h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--white);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}
.article-prose h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--white);
  margin: 2rem 0 .8rem;
}
.article-prose strong {
  color: var(--white);
}
.article-prose ul, .article-prose ol {
  margin: 0 0 1.8rem 1.4rem;
  display: grid;
  gap: .6rem;
}
.article-prose blockquote {
  border-left: 3px solid var(--teal-bright);
  padding: .8rem 1.4rem;
  background: rgba(45, 212, 191, .06);
  border-radius: 0 8px 8px 0;
  margin: 1.8rem 0;
  font-style: italic;
  color: var(--white);
}

/* ---------- Blog Social Share Components ---------- */
.article-share-bar {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}
.article-share-bar .share-label {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--silver);
  font-weight: 600;
}
.share-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.social-share-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .75rem;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--border-soft);
  color: var(--silver);
  cursor: pointer;
  transition: all .2s var(--ease);
  user-select: none;
  line-height: 1;
}
.social-share-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform .2s var(--ease);
}
.social-share-btn:hover {
  transform: translateY(-2px);
  color: var(--white);
  border-color: var(--teal-bright);
}
.social-share-btn:hover svg {
  transform: scale(1.1);
}
.social-share-btn.share-linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: #fff;
}
.social-share-btn.share-x:hover {
  background: #000;
  border-color: #333;
  color: #fff;
}
.social-share-btn.share-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}
.social-share-btn.share-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.social-share-btn.share-telegram:hover {
  background: #229ed9;
  border-color: #229ed9;
  color: #fff;
}
.social-share-btn.share-copy:hover {
  background: var(--teal);
  border-color: var(--teal-bright);
  color: #fff;
}
.social-share-btn.copied {
  background: var(--teal) !important;
  border-color: var(--teal-bright) !important;
  color: #fff !important;
}

/* Article bottom share card */
.article-share-card {
  margin-top: 3.5rem;
  padding: 1.5rem 1.8rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.article-share-card-info {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.article-share-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}
.article-share-card-sub {
  margin: 0;
  font-size: .84rem;
  color: var(--silver);
}
:root[data-theme="light"] .social-share-btn {
  background: #fff;
  border-color: var(--border);
  color: var(--ink-muted);
}
:root[data-theme="light"] .article-share-card {
  background: #fff;
  border-color: var(--border);
}

.article-back-bar {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.blog-related-section {
  padding: 3.5rem 0 5rem;
  border-top: 1px solid var(--border-soft);
}

/* Featured Image styling for Blog */
.blog-featured-card.has-cover {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.blog-featured-cover {
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  height: 100%;
  min-height: 280px;
  max-height: 380px;
  border: 1px solid var(--border-soft);
  background: var(--panel-fill);
}
.blog-featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-media {
  margin: -1.8rem -1.8rem 1.2rem -1.8rem;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  overflow: hidden;
  height: 190px;
  background: var(--panel-fill);
  border-bottom: 1px solid var(--border-soft);
}
.blog-card-media a {
  display: block;
  width: 100%;
  height: 100%;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
  display: block;
}
.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}
.article-featured-media {
  margin: 2.2rem 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 48px var(--shadow-soft);
  background: var(--panel-fill);
}
.article-featured-media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

@media (max-width: 980px) {
  .blog-featured-card.has-cover {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .blog-featured-cover {
    order: -1;
    min-height: 220px;
  }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .article-title { font-size: 2.1rem; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .featured-card-title { font-size: 1.5rem; }
  .blog-featured-card { padding: 1.5rem; }
  .article-title { font-size: 1.75rem; }
  .article-lead { font-size: 1.05rem; }
}

/* =====================================================================
   STOCK MEDIA & MEANINGFUL DESIGN ENHANCEMENTS
   High-contrast, institutional stock imagery integration adhering to
   the "Sovereign Mesh · Teal Trust" visual identity.
   ===================================================================== */

/* ---------- Bento Cards with Stock Images ---------- */
.bento-img-wrap {
  position: relative;
  height: 160px;
  margin: -1.6rem -1.6rem 1.2rem -1.6rem;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  overflow: hidden;
  background: var(--panel-fill);
}
/* One band height for every card, so the icon/title rows align across a row.
   (span-2 cards used 200px, others 160px — the baselines never met.) */
.bento-card.span-2 .bento-img-wrap {
  height: 160px;
}
.bento-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.bento-card:hover .bento-thumb {
  transform: scale(1.05);
}
.bento-img-overlay {
  position: absolute;
  inset: 0;
  background: var(--photo-scrim);
  transition: background .4s var(--ease);
}
.bento-sector-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: .03em;
  color: var(--teal-bright);
  background: rgba(2, 10, 15, 0.80);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}
:root[data-theme="light"] .bento-sector-badge {
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal);
  border-color: rgba(0, 128, 128, 0.25);
}
.bento-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.bento-head .bento-ico {
  margin-bottom: 0;
  flex-shrink: 0;
}
.bento-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

/* ---------- Flagship AGM Photo Card ---------- */
.scrub-photo-card {
  margin-top: 1.8rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--card);
  box-shadow: 0 16px 40px var(--shadow-soft);
  position: relative;
  transition: border-color .3s, transform .3s;
}
.scrub-photo-card:hover {
  border-color: var(--border);
}
.scrub-photo-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.scrub-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.scrub-photo-card:hover .scrub-photo {
  transform: scale(1.04);
}
.scrub-photo-overlay {
  position: absolute;
  inset: 0;
  background: var(--photo-scrim-caption);
}
.scrub-photo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7,20,28,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.74rem;
  font-family: var(--mono);
  color: var(--teal-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
:root[data-theme="light"] .scrub-photo-badge {
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal);
  border-color: rgba(0, 128, 128, 0.25);
}
.scrub-photo-caption {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  font-size: 0.82rem;
  color: var(--white);
  font-weight: 500;
  z-index: 2;
}

/* ---------- Sovereign Infrastructure Section ---------- */
.infra-spotlight {
  padding: 5rem 0;
  border-top: 1px solid var(--border-soft);
  position: relative;
}
.infra-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.2);
  padding: 2.2rem;
  box-shadow: 0 20px 50px var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.infra-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal-bright), transparent);
}
:root[data-theme="light"] .infra-card {
  background: var(--charcoal);
  border-color: var(--border-soft);
}
.infra-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  height: 100%;
  min-height: 360px;
}
.infra-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.infra-img-overlay {
  position: absolute;
  inset: 0;
  background: var(--photo-scrim);
}
.infra-live-telemetry {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(7,20,28,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: .04em;
  color: var(--teal-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
:root[data-theme="light"] .infra-live-telemetry {
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal);
  border-color: rgba(0, 128, 128, 0.3);
}
.infra-features-grid {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 1.5rem 0 1.8rem;
}
.infra-feat {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.infra-feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-bright);
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--teal-bright);
}
.infra-feat strong {
  color: var(--white);
  font-size: 0.98rem;
  display: block;
  margin-bottom: 0.2rem;
}
.infra-feat p {
  color: var(--silver);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}

/* ---------- Team Portraits & Legacy Tribute ---------- */
.leader-avatar img,
.exec-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.legacy-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 2.4rem;
  box-shadow: 0 18px 48px var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.legacy-frame {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid transparent;
  background-image:
    linear-gradient(var(--card), var(--card)),
    linear-gradient(135deg, var(--teal-bright), var(--teal));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 0 6px rgba(45,212,191,.08), 0 12px 30px rgba(45,212,191,.15);
  flex-shrink: 0;
}
.legacy-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Solutions Catalog Suite Banners & Product Cards ---------- */
.catalog-category-banner {
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-soft);
  height: 150px;
  box-shadow: 0 12px 30px var(--shadow-soft);
}
.catalog-category-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.catalog-category-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2,10,15,0.94) 0%, rgba(2,10,15,0.65) 55%, rgba(7,20,28,0.92) 100%);
}
:root[data-theme="light"] .catalog-category-banner-overlay {
  background: linear-gradient(90deg, rgba(238,243,244,0.96) 0%, rgba(238,243,244,0.7) 55%, rgba(255,255,255,0.95) 100%);
}
.catalog-category-banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2.2rem;
  z-index: 2;
}
.catalog-category-banner-text h2 {
  margin: 0 0 0.3rem;
  font-size: 1.5rem;
  color: var(--white);
}
.catalog-category-banner-text p {
  margin: 0;
  color: var(--mint);
  font-size: 0.92rem;
}

.catalog-card-media {
  margin: -1.7rem -1.7rem 1.2rem -1.7rem;
  height: 150px;
  overflow: hidden;
  position: relative;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  background: var(--panel-fill);
}
.catalog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.catalog-card:hover .catalog-thumb {
  transform: scale(1.05);
}
.catalog-thumb-overlay {
  position: absolute;
  inset: 0;
  background: var(--photo-scrim-caption);
}

/* ---------- Product Detail Visual Showcase ---------- */
.pd-showcase-visual {
  margin-top: 2.2rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-soft);
  height: 320px;
  box-shadow: 0 16px 44px var(--shadow-soft);
}
.pd-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-showcase-overlay {
  position: absolute;
  inset: 0;
  background: var(--photo-scrim-caption);
}
.pd-showcase-badge {
  position: absolute;
  bottom: 14px;
  left: 16px;
  background: rgba(7,20,28,0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--teal-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
:root[data-theme="light"] .pd-showcase-badge {
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal);
  border-color: rgba(0, 128, 128, 0.3);
}

/* Responsive adjustments for stock visual elements */
@media (max-width: 980px) {
  .infra-card {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .infra-media {
    min-height: 260px;
  }
  .legacy-card {
    padding: 1.8rem;
  }
}
@media (max-width: 640px) {
  .legacy-card {
    padding: 1.4rem;
  }
  .catalog-category-banner {
    height: 120px;
  }
  .catalog-category-banner-text {
    padding: 0 1.2rem;
  }
  .catalog-category-banner-text h2 {
    font-size: 1.25rem;
  }
}

/* =====================================================================
   HOUSE PHOTO GRADE
   Every editorial photograph gets the same grade so the stock library reads
   as one commissioned set rather than four different stock sites. Applied
   in CSS (not baked into the files) so CMS-uploaded media inherits it too.
   ===================================================================== */
.hero-bg-img,
.about-hero-bg-img,
.solutions-hero-bg-img {
  filter: var(--photo-grade-hero);
}
.bento-thumb,
.scrub-photo,
.infra-img,
.pd-showcase-img,
.catalog-thumb,
.legacy-photo {
  filter: var(--photo-grade);
}
/* Blog covers are generated brand art, not stock photography — the grade would
   only mute their own teal. */
