/* ==========================================================================
   NorthStar Editorial / Keystone Solutions Theme Stylesheet
   Design System: Swiss Architectural (Minimalist, Whitespace-heavy, High-contrast Grid)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Restrained, Grounding Slate & Pure Whitespace */
  --color-paper: #f8f9fa;
  --color-surface: #ffffff;
  --color-surface-offset: #f1f3f5;
  --color-ink: #0f1419;
  --color-charcoal: #212529;
  --color-muted: #57606a;
  --color-line: #e1e4e8;
  --color-line-strong: #0f1419;
  --color-accent: #6366f1;
  --color-accent-dark: #4338ca;
  --color-dark-bg: #0d1117;
  --color-dark-text: #f0f6fc;

  /* Typography Stack */
  --font-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout Containers */
  --container-narrow: 960px;
  --container-standard: 1240px;
  --container-wide: 1440px;

  /* Spacing Scale (Swiss Modular) */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Transitions & Shadows */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 2px;
  --border-radius-md: 4px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base HTML Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-ink);
  background-color: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-ink);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  background-color: var(--color-surface);
  color: var(--color-ink);
  clip: auto !important;
  clip-path: none;
  height: auto;
  left: 1rem;
  top: 1rem;
  padding: 1rem 1.5rem;
  position: fixed;
  width: auto;
  z-index: 100000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border: 1px solid var(--color-line-strong);
}

/* --------------------------------------------------------------------------
   3. Typography Hierarchy
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.75rem, 5vw, 5.25rem);
  line-height: 1.02;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.25;
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-charcoal);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

/* --------------------------------------------------------------------------
   4. Layout Structure & Swiss Containers
   -------------------------------------------------------------------------- */
.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-container {
  width: 100%;
  max-width: var(--container-standard);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.site-container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-line);
}

.section--alt {
  background-color: var(--color-surface);
}

.section-header {
  margin-bottom: var(--space-xl);
  max-width: 800px;
}

.divider {
  height: 1px;
  background-color: var(--color-line);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
  border: none;
}

.divider--strong {
  background-color: var(--color-line-strong);
}

/* --------------------------------------------------------------------------
   5. Global Header & Top Utility Bar
   -------------------------------------------------------------------------- */
.utility-bar {
  background-color: var(--color-dark-bg);
  color: var(--color-dark-text);
  font-size: 0.8125rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.utility-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-bar__left, .utility-bar__right {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.utility-bar__date {
  color: #8b949e;
}

.utility-bar__link {
  color: var(--color-dark-text);
  font-weight: 500;
}

.utility-bar__link--highlight {
  color: #a5b4fc;
}

.site-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-line-strong);
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 1000;
  isolation: isolate;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  gap: 2rem;
  transition: height var(--transition-fast);
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--color-line);
  box-shadow: 0 10px 30px rgba(15, 20, 25, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.is-scrolled .site-header__inner {
  height: 70px;
}

.site-branding,
.site-title {
  flex: 0 0 auto;
}

.custom-logo-link {
  display: block;
  line-height: 0;
}

.custom-logo {
  width: auto;
  max-width: 220px;
  max-height: 52px;
  transition: max-height var(--transition-fast);
}

.site-header.is-scrolled .custom-logo {
  max-height: 42px;
}

.site-title {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-title__main {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 1.65rem;
  letter-spacing: 0.15em;
  color: var(--color-ink);
}

.site-title__sub {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--color-muted);
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: var(--space-xs);
  padding-bottom: var(--space-xs);
}

.main-navigation {
  margin-left: auto;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-line-strong);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-ink);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle__icon {
  position: relative;
  margin: auto;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  position: absolute;
  left: 0;
  content: '';
}

.menu-toggle__icon::before {
  top: -6px;
}

.menu-toggle__icon::after {
  top: 6px;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__icon {
  background: transparent;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  min-height: 48px;
}

.button--primary {
  background-color: var(--color-ink);
  color: var(--color-surface);
  border: 1px solid var(--color-ink);
}

.button--primary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

.button--secondary {
  background-color: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-line-strong);
}

.button--secondary:hover {
  background-color: var(--color-ink);
  color: var(--color-surface);
}

/* --------------------------------------------------------------------------
   7. Architectural Cards & Editorial Grids
   -------------------------------------------------------------------------- */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-lg);
}

.grid-col-4 { grid-column: span 4; }
.grid-col-6 { grid-column: span 6; }
.grid-col-8 { grid-column: span 8; }
.grid-col-12 { grid-column: span 12; }

.service-card, .blueprint-card, .article-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.service-card:hover, .blueprint-card:hover, .article-card:hover {
  border-color: var(--color-line-strong);
  transform: translateY(-2px);
}

.service-card__number {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

/* --------------------------------------------------------------------------
   8. Global Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-dark-bg);
  color: var(--color-dark-text);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-xl);
  margin-top: auto;
  border-top: 2px solid var(--color-line-strong);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.1fr 1.1fr 1.2fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand__name {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: var(--space-xs);
  color: #ffffff;
}

.footer-brand__tagline {
  font-style: italic;
  color: #8b949e;
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
}

.footer-brand__summary {
  font-size: 0.875rem;
  color: #8b949e;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: #8b949e;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact__email {
  color: #a5b4fc;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #8b949e;
}

.legal-menu {
  display: flex;
  list-style: none;
  gap: var(--space-md);
}

.legal-menu a {
  color: #8b949e;
}

/* --------------------------------------------------------------------------
   9. Responsive Rules
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .utility-bar {
    display: none;
  }

  .site-header__inner {
    height: 70px;
  }

  .main-navigation {
    display: none; /* Handled via main.js toggle */
  }

  .menu-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .grid-col-4, .grid-col-6, .grid-col-8 {
    grid-column: span 12;
  }
}

@media (max-width: 1100px) {
  .site-header__inner {
    position: relative;
    height: 76px;
  }

  .site-header.is-scrolled .site-header__inner {
    height: 66px;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    right: var(--space-md);
    left: var(--space-md);
    display: none;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    margin: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-line-strong);
    box-shadow: 0 20px 45px rgba(15, 20, 25, 0.16);
  }

  .main-navigation.is-active {
    display: block;
  }

  .main-navigation .nav-menu {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .main-navigation .nav-menu > li {
    border-bottom: 1px solid var(--color-line);
  }

  .main-navigation .nav-menu > li:last-child {
    border-bottom: 0;
  }

  .main-navigation .nav-menu > li > a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0.9rem 1rem;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .menu-item-has-children::after {
    display: none;
  }

  .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0;
    padding: 0 0 0.4rem;
    border: 0;
    border-top: 1px solid var(--color-line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .menu-item-has-children.is-active > .sub-menu {
    display: block;
  }

  .sub-menu a {
    padding: 0.75rem 1.5rem;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (min-width: 783px) {
  .admin-bar .site-header {
    top: 32px;
  }
}


/* ==========================================================================
   Dropdown Navigation & Submenu Architecture (Swiss System)
   ========================================================================== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  position: relative;
}

.menu-item-has-children {
  position: relative;
}

.nav-link-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-caret {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
  display: inline-block;
  vertical-align: middle;
}

.menu-item-has-children:hover .dropdown-caret,
.menu-item-has-children:focus-within .dropdown-caret {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.sub-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  min-width: 340px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line-strong);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  list-style: none;
  padding: 0.75rem 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
  border-radius: var(--border-radius-sm);
}

/* Invisible bridge so mouse hover doesn't drop when moving from trigger to menu */
.menu-item-has-children::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 0.85rem;
  display: block;
}

.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu,
.menu-item-has-children.is-active > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li {
  margin: 0;
  padding: 0;
  display: block;
}

.sub-menu a {
  display: block;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--color-ink);
  line-height: 1.4;
  border-bottom: 1px solid var(--color-line);
  transition: all var(--transition-fast);
}

.sub-menu li:last-child a {
  border-bottom: none;
}

.sub-menu a:hover,
.sub-menu a:focus {
  background-color: var(--color-surface-offset);
  color: var(--color-accent);
  padding-left: 1.75rem;
}

/* ==========================================================================
   Inner Page & Service Detail Templates (Swiss Architectural)
   ========================================================================== */
.page-hero {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.page-hero__meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-line);
}

.page-breadcrumbs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.4;
}

.page-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-breadcrumbs a:hover {
  color: var(--color-ink);
  text-decoration: underline;
}

.page-breadcrumbs__divider {
  color: #cbd5e1;
  font-size: 0.6875rem;
  margin: 0 0.15rem;
  user-select: none;
}

.page-breadcrumbs__current {
  color: #334155;
  font-weight: 500;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: bottom;
}

.page-hero__eyebrow-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  background: var(--color-surface-offset);
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--color-line);
  border-radius: 2px;
}

.page-hero__title {
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.05;
  margin-bottom: var(--space-md);
  max-width: 1050px;
}

.page-hero__subtitle {
  font-size: clamp(1.125rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  color: var(--color-charcoal);
  max-width: 900px;
  margin-bottom: var(--space-lg);
  font-weight: 400;
}

.page-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-line);
  font-size: 0.875rem;
}

.page-meta-item {
  display: flex;
  flex-direction: column;
}

.page-meta-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 2px;
}

.page-meta-item__value {
  font-weight: 600;
  color: var(--color-ink);
}

/* Page Layout Grid (Content + Sidebar) */
.page-layout-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: var(--space-2xl);
  align-items: start;
}

.page-main-content {
  min-width: 0;
}

/* Executive Callout Box */
.executive-callout {
  background-color: var(--color-surface);
  border-left: 4px solid var(--color-line-strong);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.executive-callout__title {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-2xs);
}

.executive-callout p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--color-ink);
  font-weight: 500;
}

/* Capability Pillar Grid */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
}

.pillar-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  padding: var(--space-lg);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--color-line-strong);
  transform: translateY(-2px);
}

.pillar-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  display: block;
  margin-bottom: var(--space-2xs);
}

.pillar-card h3, .pillar-card h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  color: var(--color-ink);
}

.pillar-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-charcoal);
  margin-bottom: 0;
}

/* Quantitative Metrics Row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
}

.metric-stat-box {
  background-color: var(--color-dark-bg);
  color: var(--color-dark-text);
  padding: var(--space-lg);
  border-radius: var(--border-radius-sm);
  border-left: 3px solid #a5b4fc;
}

.metric-stat-box__number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: #a5b4fc;
  margin-bottom: var(--space-2xs);
}

.metric-stat-box__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8b949e;
  line-height: 1.3;
}

/* Methodology Steps */
.methodology-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
}

.methodology-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  padding: var(--space-md) var(--space-lg);
}

.methodology-step__num {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.methodology-step h4 {
  margin-bottom: 0.25rem;
}

.methodology-step p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* Case Study Callout Box */
.case-study-callout {
  background-color: #f6f8fa;
  border: 1px solid var(--color-line);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
  position: relative;
}

.case-study-callout__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  display: block;
}

.case-study-callout h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.case-study-callout p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Sidebar Widgets */
.page-sidebar {
  position: sticky;
  top: 110px;
}

.sidebar-widget {
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.sidebar-widget__title {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ink);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-line);
  margin-bottom: var(--space-sm);
}

.sidebar-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav-list li {
  margin-bottom: 0.5rem;
}

.sidebar-nav-list a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-charcoal);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.sidebar-nav-list a:hover,
.sidebar-nav-list a.is-current {
  background-color: var(--color-surface-offset);
  color: var(--color-accent);
  font-weight: 600;
  padding-left: 1rem;
}

/* Global Service Page CTA */
.service-cta-banner {
  background-color: var(--color-dark-bg);
  color: var(--color-dark-text);
  padding: var(--space-2xl) 0;
  margin-top: var(--space-3xl);
  border-top: 2px solid #a5b4fc;
}

.service-cta-banner__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xl);
}

.service-cta-banner h2 {
  color: #ffffff;
  margin-bottom: var(--space-2xs);
}

.service-cta-banner p {
  color: #8b949e;
  font-size: 1.125rem;
  margin-bottom: 0;
  max-width: 650px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-layout-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .metrics-row {
    grid-template-columns: 1fr;
  }
  .service-cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .sub-menu {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--color-line);
    margin-left: 1rem;
    margin-top: 0.5rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .menu-item-has-children.is-active > .sub-menu {
    display: block;
  }
}



/* ==========================================================================
   Executive Newsletter CTA Card (Swiss Architectural)
   ========================================================================== */
.section-newsletter {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  background-color: var(--color-surface-offset);
  border-bottom: 1px solid var(--color-line);
}

.newsletter-card {
  background: var(--color-dark-bg);
  color: #ffffff;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.35);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3730a3, #7c3aed, #a5b4fc);
}

.newsletter-card__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.newsletter-card__badge {
  margin-bottom: 0.75rem;
}

.eyebrow--light {
  color: #a5b4fc !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsletter-card__title {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 2.5vw, 2.65rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  font-weight: 600;
}

.newsletter-card__desc {
  color: #94a3b8;
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 580px;
}

.newsletter-card__perks {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.newsletter-perk {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.newsletter-perk svg {
  color: #a5b4fc;
  flex-shrink: 0;
}

.newsletter-form-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.newsletter-form__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.625rem;
  letter-spacing: 0.02em;
}

.newsletter-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.newsletter-field {
  width: 100%;
  padding: 0.95rem 1.15rem;
  font-size: 0.9375rem;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.newsletter-field:focus {
  border-color: #a5b4fc;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
}

.button--newsletter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1.5rem;
  background-color: #6366f1;
  color: #ffffff;
  border: 1px solid #6366f1;
  border-radius: 3px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.button--newsletter:hover {
  background-color: #3730a3;
  border-color: #3730a3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.newsletter-disclaimer {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.875rem;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .newsletter-card {
    padding: 2.25rem 1.5rem;
  }
  .newsletter-card__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}



/* ==========================================================================
   Executive Advisory Consultation Modal (Swiss Architectural)
   ========================================================================== */
.advisory-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.advisory-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.advisory-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 20, 25, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.advisory-modal__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1rem;
}

.advisory-modal__card {
  background: #ffffff;
  color: var(--color-ink);
  border-radius: 6px;
  border: 1px solid var(--color-line-strong);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  padding: 2.75rem;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.advisory-modal.is-open .advisory-modal__card {
  transform: translateY(0) scale(1);
}

.advisory-modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  background: var(--color-surface-offset);
  border: 1px solid var(--color-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  cursor: pointer;
  transition: all 0.15s ease;
}

.advisory-modal__close:hover {
  background: var(--color-ink);
  color: #ffffff;
  border-color: var(--color-ink);
}

.advisory-modal__eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.advisory-modal__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-ink);
}

.advisory-modal__subtitle {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-muted);
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-line);
}

.advisory-modal__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.advisory-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.advisory-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.advisory-form__group.full-width {
  grid-column: 1 / -1;
}

.advisory-form__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-charcoal);
  letter-spacing: 0.01em;
}

.required-star {
  color: var(--color-accent);
}

.advisory-form__input,
.advisory-form__select,
.advisory-form__textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  background: #ffffff;
  color: var(--color-ink);
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.advisory-form__input:focus,
.advisory-form__select:focus,
.advisory-form__textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.advisory-form__textarea {
  resize: vertical;
  min-height: 80px;
}

.advisory-form__footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.button--advisory-submit {
  width: 100%;
  padding: 0.95rem 1.5rem;
  background-color: var(--color-accent);
  color: #ffffff;
  border: 1px solid var(--color-accent);
  border-radius: 3px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.button--advisory-submit:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.advisory-form__security-note {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.4;
  text-align: center;
}

.advisory-modal__success {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.advisory-modal__success-icon {
  margin-bottom: 1.25rem;
}

.advisory-modal__success h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-ink);
}

.advisory-modal__success p {
  color: var(--color-muted);
  font-size: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (max-width: 680px) {
  .advisory-modal__card {
    padding: 2rem 1.25rem;
  }
  .advisory-form__row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}


/* ==========================================================================
   Executive Royal Purple & Midnight Indigo Theme
   ========================================================================== */
:root {
  --color-accent: #6366f1;
  --color-accent-dark: #4338ca;
  --color-accent-vibrant: #7c3aed;
  --color-accent-light: #a5b4fc;
  --color-accent-subtle: #f5f3ff;
  --gradient-purple-accent: linear-gradient(90deg, #3730a3, #6366f1, #a5b4fc);
  --gradient-purple-btn: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  --gradient-hero-glow: radial-gradient(circle at 75% 20%, rgba(99, 102, 241, 0.10) 0%, rgba(248, 249, 250, 0) 65%), radial-gradient(circle at 15% 85%, rgba(124, 58, 237, 0.07) 0%, rgba(248, 249, 250, 0) 55%);
}

.eyebrow--purple {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #4338ca !important;
  background: rgba(99, 102, 241, 0.09);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.pulse-indicator {
  width: 7px;
  height: 7px;
  background-color: #6366f1;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  animation: pulse-purple 2s infinite;
}

@keyframes pulse-purple {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(99, 102, 241, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

.hero-headline__accent {
  background: linear-gradient(135deg, #312e81 0%, #4338ca 40%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.button--primary {
  background: var(--gradient-purple-btn);
  color: #ffffff;
  border: 1px solid #4338ca;
  border-radius: 3px;
  padding: 0.95rem 1.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.button--primary:hover {
  background: linear-gradient(135deg, #312e81 0%, #4338ca 100%);
  border-color: #312e81;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
}

.button--secondary:hover {
  border-color: #6366f1;
  color: #6366f1;
  background: #f5f3ff;
  transform: translateY(-2px);
}

/* 2. Hero Metrics Card with Purple Dynamic Top Bar */
.hero-metrics-box {
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-metrics-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-purple-accent);
}

.hero-metrics-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px -12px rgba(99, 102, 241, 0.22), 0 0 0 1px rgba(99, 102, 241, 0.15);
}

.metrics-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4338ca;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-number {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 800;
  color: #4338ca;
  line-height: 1;
  display: block;
  margin-bottom: 0.35rem;
}

/* 3. Ticker Bar */
.ticker-label {
  background: rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
  border: 1px solid rgba(165, 180, 252, 0.35);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.ticker-divider {
  color: #6366f1;
  font-weight: bold;
}

/* 4. Pillar & Service Cards with Purple Hover */
.service-card:hover, .pillar-card:hover, .article-card:hover {
  border-top: 3px solid #6366f1;
  border-color: #a5b4fc;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(99, 102, 241, 0.18);
}

.pillar-card__tag {
  color: #6366f1;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.metric-stat-box__number {
  color: #4338ca;
}

/* 5. Utility Bar Link Highlights */
.utility-bar__link--highlight {
  color: #a5b4fc;
  font-weight: 600;
}

/* 6. Service CTA Banner */
.service-cta-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #0f172a 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  border-top: 1px solid rgba(165, 180, 252, 0.2);
  position: relative;
}

.service-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-purple-accent);
}

/* 7. Newsletter & Modal */
.newsletter-card {
  background: radial-gradient(circle at 90% 10%, rgba(99, 102, 241, 0.15) 0%, rgba(13, 17, 23, 0) 70%), #0d1117 !important;
}

.newsletter-card::before {
  background: var(--gradient-purple-accent) !important;
}

.button--newsletter,
.button--advisory-submit {
  background: var(--gradient-purple-btn) !important;
  border: 1px solid #4338ca !important;
  color: #ffffff !important;
}

.button--newsletter:hover,
.button--advisory-submit:hover {
  background: linear-gradient(135deg, #312e81 0%, #4338ca 100%) !important;
  border-color: #312e81 !important;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45) !important;
}

.advisory-modal__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-purple-accent);
  border-radius: 6px 6px 0 0;
}



/* ==========================================================================
   Packaging Tiers & RTB Proof Architecture Styles
   ========================================================================== */

/* 1. Packaging Tiers Grid */
.section-packaging {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
}

.packaging-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: var(--space-xl);
}

.tier-card {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.25rem 2rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tier-card:hover {
  transform: translateY(-4px);
  border-color: #a5b4fc;
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.15);
}

.tier-card--featured {
  background: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 15px 35px -10px rgba(99, 102, 241, 0.12);
}

.tier-card--featured::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 4px;
  background: var(--gradient-purple-accent);
  border-radius: 6px 6px 0 0;
}

.tier-card__badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.tier-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4338ca;
  background: #f5f3ff;
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
}

.tier-tag--primary {
  background: #6366f1;
  color: #ffffff;
  border-color: #6366f1;
}

.tier-duration {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
}

.tier-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: var(--color-ink);
}

.tier-card__desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.tier-card__it-impact {
  background: rgba(15, 23, 42, 0.03);
  border-left: 3px solid #6366f1;
  padding: 0.625rem 0.875rem;
  border-radius: 0 3px 3px 0;
  font-size: 0.8125rem;
  margin-bottom: 1.5rem;
}

.it-impact-label {
  font-weight: 700;
  color: #0f172a;
  display: block;
}

.it-impact-val {
  color: #475569;
}

.tier-specs-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4338ca;
  margin-bottom: 1rem;
}

.tier-deliverable-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tier-deliverable-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.tier-deliverable-list strong {
  color: #0f172a;
  display: block;
  font-size: 0.875rem;
}

.tier-deliverable-list p {
  color: #64748b;
  font-size: 0.8125rem;
  margin: 0.15rem 0 0 0;
}

.artifact-badge {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.4rem;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.artifact-badge--pdf { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.artifact-badge--xlsx { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.artifact-badge--deck { background: #ffedd5; color: #c2410c; border: 1px solid #fdba74; }
.artifact-badge--code { background: #ede9fe; color: #6d28d9; border: 1px solid #c4b5fd; }
.artifact-badge--doc { background: #e0f2fe; color: #0369a1; border: 1px solid #7dd3fc; }
.artifact-badge--twin { background: #fef08a; color: #854d0e; border: 1px solid #fde047; }

.button--full {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.tier-guarantee-note {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.75rem;
}

/* 2. RTB Comparison Table */
.section-rtb {
  background-color: var(--color-paper);
  border-bottom: 1px solid var(--color-line);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-2xl);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-line);
}

.comparison-table thead th {
  background: var(--color-surface-offset);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #334155;
  border-bottom: 2px solid var(--color-line-strong);
}

.th-keystone {
  background: #312e81 !important;
  color: #ffffff !important;
  border-bottom: 2px solid #6366f1 !important;
}

.td-keystone {
  background: #f5f3ff;
  color: #312e81;
  border-left: 2px solid #6366f1;
  border-right: 2px solid #6366f1;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* 3. RTB Proof Cards */
.rtb-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.rtb-proof-card {
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 2.25rem 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.rtb-proof-card:hover {
  transform: translateY(-3px);
  border-color: #6366f1;
  box-shadow: 0 15px 35px -10px rgba(99, 102, 241, 0.15);
}

.rtb-proof-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #4338ca;
  background: #f5f3ff;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 1rem;
}

.rtb-proof-stat {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 800;
  color: #4338ca;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.rtb-proof-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.rtb-proof-card p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1024px) {
  .packaging-grid {
    grid-template-columns: 1fr;
  }
  .rtb-proof-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   DELIVERABLE ARTIFACTS SHOWCASE (QA Content Fix)
   ========================================================================== */
.deliverable-artifacts-box {
    margin: 2.5rem 0 3rem 0;
    padding: 2rem 2.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, rgba(67, 56, 202, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.22);
    border-radius: 12px;
    box-shadow: 0 4px 20px -2px rgba(99, 102, 241, 0.06);
}

.artifact-box-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.artifact-box-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #312e81;
    margin: 0;
    letter-spacing: -0.01em;
}

.artifact-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    background: #4338ca;
    color: #ffffff;
}

.artifact-box-subtitle {
    font-size: 0.88rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.artifact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.artifact-card {
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 8px;
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.artifact-card:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -3px rgba(99, 102, 241, 0.12);
}

.artifact-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.artifact-type {
    font-size: 0.7rem;
    font-weight: 800;
    color: #4338ca;
    background: #e0e7ff;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    letter-spacing: 0.03em;
}

.artifact-icon {
    color: #6b7280;
}

.artifact-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.35;
}

.artifact-desc {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

.ticker-item--link {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ticker-item--link:hover {
    color: #a5b4fc;
    text-decoration: underline;
}


/* Deliverable Artifacts Spec Grid */
.deliverable-artifacts-box {
    background: #ffffff;
    border: 1px solid #e0e7ff;
    border-left: 4px solid #4338ca;
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.05);
}

.deliverable-artifacts-box .eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #4338ca;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.artifact-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.artifact-spec-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.artifact-spec-item:hover {
    border-color: #6366f1;
    background: #f5f3ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.08);
}

.artifact-badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.artifact-badge--xlsx {
    background: #dcfce7;
    color: #15803d;
}

.artifact-badge--twin, .artifact-badge--gis, .artifact-badge--cad {
    background: #e0e7ff;
    color: #4338ca;
}

.artifact-badge--deck {
    background: #fef3c7;
    color: #b45309;
}

.artifact-badge--json, .artifact-badge--code {
    background: #f3e8ff;
    color: #7e22ce;
}

.artifact-spec-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.artifact-spec-desc {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
}


.hero-badge-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.hero-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    animation: liveBlink 1.5s infinite;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Trust Metrics Strip below Hero */
.hero-trust-strip {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.trust-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.trust-lbl {
    font-size: 0.72rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.trust-divider {
    width: 1px;
    height: 32px;
    background: #e5e7eb;
}

/* ==========================================================================
   DIGITAL TWIN GLASSMORPHIC VISUALIZER (Hero Right)
   ========================================================================== */
.digital-twin-showcase {
    background: #0f111a;
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 12px;
    box-shadow: 
        0 20px 40px -10px rgba(15, 23, 42, 0.3),
        0 0 30px rgba(99, 102, 241, 0.15);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.digital-twin-showcase:hover {
    box-shadow: 
        0 25px 50px -10px rgba(15, 23, 42, 0.4),
        0 0 45px rgba(99, 102, 241, 0.25);
    border-color: rgba(165, 180, 252, 0.6);
}

.twin-frame-header {
    background: #181b2a;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.twin-header-left {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.twin-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.twin-dot.red { background: #ef4444; }
.twin-dot.yellow { background: #f59e0b; }
.twin-dot.green { background: #10b981; }

.twin-title {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.05em;
    margin-left: 0.5rem;
}

.twin-status-tag {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.65rem;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.15);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.pulse-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #a5b4fc;
    animation: liveBlink 1.2s infinite;
}

.twin-viewport {
    position: relative;
    padding: 1rem 1rem 0 1rem;
    background: radial-gradient(circle at center, #171a2e 0%, #0d0f17 100%);
    min-height: 280px;
    overflow: hidden;
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 380px;
    height: 380px;
    margin-top: -190px;
    margin-left: -190px;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(99, 102, 241, 0.08) 60deg, transparent 90deg);
    border-radius: 50%;
    pointer-events: none;
    animation: radarSpin 6s linear infinite;
}

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

.twin-svg-mesh {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.node-label {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 10px;
    font-weight: 700;
    fill: #94a3b8;
    letter-spacing: 0.05em;
}

.node-label--highlight {
    fill: #e0e7ff;
    font-weight: 800;
}

/* Floating HUD Badges inside Digital Twin */
.floating-badge {
    position: absolute;
    z-index: 4;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.badge-top-right {
    top: 1.25rem;
    right: 1.25rem;
    animation: floatBadge 4.5s ease-in-out infinite alternate;
}

.badge-bottom-left {
    bottom: 4.5rem;
    left: 1.25rem;
    animation: floatBadge 4s ease-in-out infinite alternate-reverse;
}

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

.badge-icon {
    font-size: 0.95rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.2;
}

.badge-sub {
    font-size: 0.62rem;
    color: #94a3b8;
}

/* Telemetry Readout Strip */
.twin-telemetry-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(10, 12, 19, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin: 0.75rem -1rem 0 -1rem;
    padding: 0.65rem 1rem;
    position: relative;
    z-index: 3;
}

.telemetry-cell {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 0.5rem;
}

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

.tel-label {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.58rem;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.tel-value {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.text-green { color: #34d399; }
.text-purple { color: #a5b4fc; }

@media (max-width: 991px) {
    .section-hero {
        padding: 3.5rem 0 2.5rem 0;
    }
    .hero-text-column, .hero-visual-column {
        grid-column: span 12;
    }
    .hero-visual-column {
        margin-top: 2rem;
    }
    .hero-trust-strip {
        gap: 1rem;
    }
}


/* Inner Page Hero Dynamic Ambient Glow */
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.12);
}

.page-hero__ambient-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(67, 56, 202, 0.03) 60%, transparent 80%);
    filter: blur(50px);
    pointer-events: none;
    animation: ambientPulse 7s ease-in-out infinite alternate;
}

.page-hero__grid-mesh {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}


.hero-badge-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.hero-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #4338ca;
    background: #f5f3ff;
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
}

/* Frosted Glass Executive Metrics Card */
.hero-metrics-glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 2.25rem;
    box-shadow: 
        0 20px 40px -15px rgba(99, 102, 241, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.02);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-metrics-glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 25px 50px -12px rgba(99, 102, 241, 0.14),
        0 0 0 1px rgba(99, 102, 241, 0.35);
}

.metrics-glass-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.metrics-glass-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.01em;
}

.metrics-glass-badge {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: #4338ca;
    background: #e0e7ff;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

.metrics-glass-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.metric-glass-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.metric-glass-number {
    font-size: 1.85rem;
    font-weight: 800;
    color: #4338ca;
    line-height: 1;
    letter-spacing: -0.03em;
    min-width: 95px;
    font-feature-settings: "tnum";
}

.metric-glass-desc {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.metric-glass-desc strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
}

.metric-glass-desc span {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.35;
}

.metric-glass-divider {
    height: 1px;
    background: rgba(229, 231, 235, 0.7);
    width: 100%;
}

.metrics-glass-footer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(209, 213, 219, 0.8);
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
}

.footnote-icon {
    font-style: normal;
    color: #6366f1;
    font-weight: bold;
}


/* ==========================================================================
   TICKER TAPE (INFINITE SMOOTH MARQUEE)
   ========================================================================== */
.section-ticker-tape {
    background: #0f111a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 50;
    overflow: hidden;
    height: 42px;
    display: flex;
    align-items: center;
}

.ticker-tape-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.ticker-badge-fixed {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.25rem;
    background: #1e1b4b;
    border-right: 1px solid rgba(99, 102, 241, 0.3);
    height: 100%;
    flex-shrink: 0;
    z-index: 5;
}

.ticker-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: liveBlink 1.5s infinite;
}

.ticker-badge-text {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #e0e7ff;
    text-transform: uppercase;
}

.ticker-tape-viewport {
    overflow: hidden;
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
}

.ticker-tape-track {
    display: flex;
    width: max-content;
    animation: tickerTapeScroll 38s linear infinite;
}

.ticker-tape-track:hover {
    animation-play-state: paused;
}

@keyframes tickerTapeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-tape-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ticker-tape-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.78rem;
    padding: 0 1rem;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.ticker-tape-item:hover {
    color: #ffffff;
}

.ticker-tag {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    letter-spacing: 0.04em;
}

.ticker-tag--risk { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }
.ticker-tag--plan { background: rgba(99, 102, 241, 0.2); color: #c7d2fe; border: 1px solid rgba(99, 102, 241, 0.4); }
.ticker-tag--log  { background: rgba(245, 158, 11, 0.2); color: #fde68a; border: 1px solid rgba(245, 158, 11, 0.4); }
.ticker-tag--source { background: rgba(16, 185, 129, 0.2); color: #a7f3d0; border: 1px solid rgba(16, 185, 129, 0.4); }

.ticker-text {
    font-weight: 500;
}

.ticker-arrow {
    color: #818cf8;
    font-size: 0.85rem;
}

.ticker-tape-sep {
    color: #475569;
    font-size: 0.85rem;
    padding: 0 0.5rem;
}

/* ==========================================================================
   INDUSTRY SELECTOR TABS & CARDS (UI-Friendly Redesign)
   ========================================================================== */
.section-industry-selector {
    background: #ffffff;
    padding: 5rem 0;
}

.industry-tabs-wrapper {
    margin-bottom: 2.25rem;
    display: flex;
    justify-content: flex-start;
}

.tabs-navigation {
    display: inline-flex;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.35rem;
    border-radius: 10px;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.tab-btn:hover {
    color: #1e1b4b;
    background: rgba(255, 255, 255, 0.8);
}

.tab-btn.is-active {
    background: #4338ca;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.25);
}

.tab-btn__icon {
    font-size: 1rem;
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tab-panel.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.sector-feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 12px;
    padding: 2.75rem 3rem;
    box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.06);
}

.sector-eyebrow {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #4338ca;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.75rem;
}

.sector-feature-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.sector-feature-card p {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.sector-metric-badge {
    background: #ffffff;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 10px;
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.06);
}

.sector-metric-badge .metric-num {
    display: block;
    font-size: 2.75rem;
    font-weight: 900;
    color: #4338ca;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
}

.sector-metric-badge .metric-lbl {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ==========================================================================
   EXECUTIVE BRIEFING METADATA CARD (Insight Pages UI Upgrade)
   ========================================================================== */
.briefing-meta-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #4338ca;
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.briefing-meta-header {
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #edf2f7;
}

.briefing-meta-tag {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 800;
    color: #4338ca;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.briefing-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.briefing-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.briefing-meta-label {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.65rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.08em;
}

.briefing-meta-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}


/* ==========================================================================
   PALANTIR-STYLE CINEMATIC DARK HERO (Full-Bleed 60 FPS Canvas & High Contrast)
   ========================================================================== */
.section-hero--cinematic {
    --hero-parallax-x: 0px;
    --hero-parallax-y: 0px;
    --hero-art-x: 0px;
    --hero-art-y: 0px;
    background:
        radial-gradient(ellipse at 73% 42%, rgba(15, 73, 82, 0.22) 0%, rgba(7, 18, 29, 0.09) 36%, transparent 64%),
        radial-gradient(ellipse at 26% 31%, rgba(49, 46, 129, 0.2) 0%, transparent 52%),
        linear-gradient(135deg, #050812 0%, #07101d 48%, #050914 100%);
    padding: clamp(3.5rem, 5.5vw, 4.75rem) 0 clamp(2.5rem, 4vw, 3.5rem) 0;
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Ambient Glow — CSS-only, replaces canvas particles */
.section-hero--cinematic::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -15%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(67, 56, 202, 0.025) 50%, transparent 75%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    animation: ambientDrift 18s ease-in-out infinite alternate;
}

.section-hero--cinematic::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.055) 0%, transparent 70%);
    filter: blur(90px);
    pointer-events: none;
    z-index: 1;
    animation: ambientDrift 22s ease-in-out infinite alternate-reverse;
}

@keyframes ambientDrift {
    0% { transform: translate(0, 0) scale(0.95); opacity: 0.6; }
    50% { transform: translate(-40px, 20px) scale(1.1); opacity: 1; }
    100% { transform: translate(20px, -30px) scale(1.05); opacity: 0.8; }
}

.hero-backdrop {
    position: absolute;
    inset: -2%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 64% 38%, rgba(45, 212, 191, 0.05), transparent 39%),
        radial-gradient(ellipse at 38% 64%, rgba(99, 102, 241, 0.055), transparent 43%);
    transform: translate3d(calc(var(--hero-parallax-x) * -0.45), calc(var(--hero-parallax-y) * -0.45), 0);
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-atmosphere {
    position: absolute;
    inset: -3%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    transform: translate3d(var(--hero-parallax-x), var(--hero-parallax-y), 0);
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-atmosphere svg {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-contour-field path {
    fill: none;
    stroke: rgba(129, 140, 248, 0.18);
    stroke-width: 0.9;
    stroke-dasharray: 3 8;
}

.hero-contour-basin path {
    fill: none;
    stroke: rgba(96, 165, 250, 0.16);
    stroke-width: 0.85;
    stroke-dasharray: 2 6;
}

.hero-flow-field path {
    fill: none;
    stroke: rgba(45, 212, 191, 0.38);
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-dasharray: 0.075 0.055;
    filter: drop-shadow(0 0 5px rgba(45, 212, 191, 0.28));
    animation: heroFlowCurrent 25s linear infinite;
}

.hero-flow-field path:last-child {
    stroke: rgba(96, 165, 250, 0.28);
    animation-duration: 31s;
    animation-direction: reverse;
}

@keyframes heroFlowCurrent {
    to { stroke-dashoffset: -1; }
}

.hero-risk-pulse circle {
    fill: none;
    stroke: rgba(245, 158, 11, 0.48);
    stroke-width: 1.15;
    transform-box: fill-box;
    transform-origin: center;
    animation: heroRiskBreathe 10s ease-out infinite;
}

.hero-risk-pulse circle:nth-child(2) {
    opacity: 0.48;
    animation-delay: 1.1s;
}

.hero-risk-pulse circle:nth-child(3) {
    opacity: 0.25;
    animation-delay: 2.2s;
}

@keyframes heroRiskBreathe {
    0%, 55%, 100% { opacity: 0.08; transform: scale(0.92); }
    18% { opacity: 0.5; transform: scale(1.08); }
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse at center, transparent 38%, rgba(2, 5, 12, 0.18) 72%, rgba(2, 5, 12, 0.54) 100%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
    background-size: 100% 100%, 180px 180px;
    background-blend-mode: normal, soft-light;
    opacity: 0.32;
}

.section-hero--cinematic > .site-container {
    position: relative;
    z-index: 3;
}

.hero-cinematic-content {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 3;
}

.justify-center {
    justify-content: center;
}

.eyebrow--purple-dark {
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0;
    line-height: 1;
}

.hero-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    line-height: 1;
}

.hero-live-pill--dark {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    animation: liveBlink 1.5s infinite;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-cinematic-title {
    font-size: clamp(2.35rem, 4.5vw, 3.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
    hyphens: none;
    -webkit-hyphens: none;
}

.hero-title-gradient {
    background: linear-gradient(135deg, #c7d2fe 0%, #818cf8 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-cinematic-deck {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 720px;
    margin: 0 0 1.75rem 0;
    line-height: 1.6;
    font-weight: 400;
}

.button--hero-glow {
    background: #4338ca;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.5);
    border: 1px solid #6366f1;
    font-weight: 600;
}

.button--hero-glow:hover {
    background: #4f46e5;
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.75);
    transform: translateY(-2px);
}

.button--hero-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: #e0e7ff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.button--hero-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: #a5b4fc;
    transform: translateY(-2px);
}

/* Horizontal Telemetry Strip below Hero */
.hero-telemetry-strip {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(10, 12, 20, 0.65);
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    padding: 1.25rem 2rem;
    margin-top: 2.5rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.telemetry-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
    padding: 0 1rem;
}

.telemetry-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1;
    font-feature-settings: "tnum";
}

.telemetry-stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.telemetry-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   PALANTIR-STYLE CONCEPT SCRUBBER SLIDER (White Architectural Theme)
   ========================================================================== */
.section-concept-slider {
    background: #ffffff;
    padding: 7rem 0;
    position: relative;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.section-concept-slider .section-header h2,
.section-concept-slider h2,
.section-concept-slider .section-title,
.section-services-concept .section-header h2 {
    color: #0f172a !important;
}

.section-concept-slider .section-header p,
.section-concept-slider .section-subtitle,
.section-concept-slider .text-muted,
.section-services-concept .section-header p {
    color: #475569 !important;
}

.section-concept-slider .section-header .eyebrow,
.section-concept-slider .section-header .eyebrow--purple,
.section-services-concept .section-header .eyebrow--purple {
    color: #4338ca !important;
    background: #eef2ff !important;
    border: 1px solid rgba(99, 102, 241, 0.25) !important;
}

.concept-slider-wrapper {
    margin-top: 3rem;
    position: relative;
}

.concept-slider-track {
    position: relative;
    min-height: 480px;
}

.concept-slide {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.concept-slide.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.concept-slide-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
}

.concept-slide-tag {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #4338ca;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 1rem;
    background: #eef2ff;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.concept-slide-title {
    font-size: 2.15rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.concept-slide-desc {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.concept-slide-specs {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2.25rem;
}

.spec-bullet {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: #1e293b;
    font-weight: 600;
}

.bullet-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4338ca;
    box-shadow: 0 0 6px rgba(67, 56, 202, 0.4);
}

.button--slider-link {
    background: #4338ca;
    border: 1px solid #4338ca;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.4rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.button--slider-link:hover {
    background: #3730a3;
    border-color: #3730a3;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(67, 56, 202, 0.25);
    transform: translateY(-1px);
}

/* Schematic Visual Card */
.schematic-canvas-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 12px 30px -5px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.schematic-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.04));
}

.schematic-caption {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.68rem;
    color: #64748b;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #edf2f7;
    letter-spacing: 0.06em;
    font-weight: 600;
}

/* Controls & Scrubber Bar */
.concept-slider-controls {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.slider-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.slider-tab-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    color: #475569;
}

.slider-tab-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.slider-tab-btn.is-active {
    background: #ffffff;
    border-color: #4338ca;
    color: #4338ca;
    box-shadow: 0 4px 15px rgba(67, 56, 202, 0.12);
}

.tab-idx {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6366f1;
}

.slider-tab-btn.is-active .tab-idx {
    color: #4338ca;
}

.tab-label {
    font-size: 0.88rem;
    font-weight: 600;
}

.slider-scrubber-container {
    height: 4px;
    background: #e2e8f0;
    border-radius: 9999px;
    position: relative;
    overflow: hidden;
}

.slider-scrubber-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4338ca, #6366f1);
    border-radius: 9999px;
    box-shadow: 0 0 8px rgba(67, 56, 202, 0.4);
    transition: width 0.1s linear;
}

.slider-scrubber-pill {
    display: none;
}

/* ==========================================================================
   50/50 GRAPHIC + TEXT ARCHITECTURE CARDS (Practice Areas — Light Theme)
   ========================================================================== */
.section-services-concept {
    background: #f8fafc;
    padding: 7rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.concept-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.concept-architecture-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.concept-architecture-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px -10px rgba(67, 56, 202, 0.15);
    border-color: #6366f1;
}

.concept-card-split {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.concept-card-graphic {
    background: #090d16;
    border-bottom: 1px solid #1e293b;
    padding: 1.75rem 1.5rem 1.25rem 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.concept-card-graphic::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.concept-architecture-card:hover .concept-card-graphic {
    border-bottom-color: #6366f1;
}

.card-schematic-wrapper {
    width: 100%;
    position: relative;
    z-index: 2;
}

.card-svg-schematic {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
}

.card-schematic-tag {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: #f1f5f9;
    background: #0f172a;
    border: 1px solid #334155;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    letter-spacing: 0.06em;
}

.card-schematic-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6366f1;
    box-shadow: 0 0 6px #6366f1;
    animation: liveBlink 1.5s infinite;
}

.concept-card-graphic--inventory,
.concept-card-graphic--digital,
.concept-card-graphic--network,
.concept-card-graphic--sourcing {
    background: #ffffff;
    border-bottom-color: #d8dee8;
}

.concept-card-graphic--inventory::before,
.concept-card-graphic--digital::before,
.concept-card-graphic--network::before,
.concept-card-graphic--sourcing::before {
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
}

.concept-card-graphic--inventory .card-svg-schematic,
.concept-card-graphic--digital .card-svg-schematic,
.concept-card-graphic--network .card-svg-schematic,
.concept-card-graphic--sourcing .card-svg-schematic {
    filter: none;
}

.concept-card-graphic--inventory .card-schematic-tag,
.concept-card-graphic--digital .card-schematic-tag,
.concept-card-graphic--network .card-schematic-tag,
.concept-card-graphic--sourcing .card-schematic-tag {
    color: #334155;
    background: #f8fafc;
    border-color: #cbd5e1;
}

.concept-card-graphic--inventory .card-schematic-tag::before,
.concept-card-graphic--digital .card-schematic-tag::before,
.concept-card-graphic--network .card-schematic-tag::before,
.concept-card-graphic--sourcing .card-schematic-tag::before {
    background: #16a34a;
    box-shadow: none;
}

.concept-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.concept-card-body h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.concept-card-body p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.concept-card-body .button--slider-link {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    align-self: flex-start;
}

.concept-card-body .button--slider-link:hover {
    background: #4338ca;
    border-color: #4338ca;
    color: #ffffff;
}

/* ==========================================================================
   CURSOR-TRACKING SPOTLIGHT EFFECT
   ========================================================================== */
.spotlight-card {
    position: relative;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: radial-gradient(400px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(99, 102, 241, 0.05), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.spotlight-card:hover::before {
    opacity: 1;
}

@media (max-width: 991px) {
    .section-hero {
        padding: 3.5rem 0 2.5rem 0;
    }
    .hero-text-column, .hero-visual-column {
        grid-column: span 12;
    }
    .hero-visual-column {
        margin-top: 2rem;
    }
    .hero-trust-strip {
        gap: 1rem;
    }
}


/* Inner Page Hero Dynamic Ambient Glow */
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.12);
}

.page-hero__ambient-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(67, 56, 202, 0.03) 60%, transparent 80%);
    filter: blur(50px);
    pointer-events: none;
    animation: ambientPulse 7s ease-in-out infinite alternate;
}

.page-hero__grid-mesh {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}


.hero-badge-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.hero-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #4338ca;
    background: #f5f3ff;
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
}

/* Frosted Glass Executive Metrics Card */
.hero-metrics-glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 2.25rem;
    box-shadow: 
        0 20px 40px -15px rgba(99, 102, 241, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.02);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-metrics-glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 25px 50px -12px rgba(99, 102, 241, 0.14),
        0 0 0 1px rgba(99, 102, 241, 0.35);
}

.metrics-glass-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.metrics-glass-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.01em;
}

.metrics-glass-badge {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: #4338ca;
    background: #e0e7ff;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

.metrics-glass-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.metric-glass-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.metric-glass-number {
    font-size: 1.85rem;
    font-weight: 800;
    color: #4338ca;
    line-height: 1;
    letter-spacing: -0.03em;
    min-width: 95px;
    font-feature-settings: "tnum";
}

.metric-glass-desc {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.metric-glass-desc strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
}

.metric-glass-desc span {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.35;
}

.metric-glass-divider {
    height: 1px;
    background: rgba(229, 231, 235, 0.7);
    width: 100%;
}

.metrics-glass-footer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(209, 213, 219, 0.8);
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
}

.footnote-icon {
    font-style: normal;
    color: #6366f1;
    font-weight: bold;
}


/* ==========================================================================
   TICKER TAPE (INFINITE SMOOTH MARQUEE)
   ========================================================================== */
.section-ticker-tape {
    background: #0f111a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 50;
    overflow: hidden;
    height: 42px;
    display: flex;
    align-items: center;
}

.ticker-tape-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.ticker-badge-fixed {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.25rem;
    background: #1e1b4b;
    border-right: 1px solid rgba(99, 102, 241, 0.3);
    height: 100%;
    flex-shrink: 0;
    z-index: 5;
}

.ticker-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: liveBlink 1.5s infinite;
}

.ticker-badge-text {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #e0e7ff;
    text-transform: uppercase;
}

.ticker-tape-viewport {
    overflow: hidden;
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
}

.ticker-tape-track {
    display: flex;
    width: max-content;
    animation: tickerTapeScroll 38s linear infinite;
}

.ticker-tape-track:hover {
    animation-play-state: paused;
}

@keyframes tickerTapeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-tape-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ticker-tape-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.78rem;
    padding: 0 1rem;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.ticker-tape-item:hover {
    color: #ffffff;
}

.ticker-tag {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    letter-spacing: 0.04em;
}

.ticker-tag--risk { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }
.ticker-tag--plan { background: rgba(99, 102, 241, 0.2); color: #c7d2fe; border: 1px solid rgba(99, 102, 241, 0.4); }
.ticker-tag--log  { background: rgba(245, 158, 11, 0.2); color: #fde68a; border: 1px solid rgba(245, 158, 11, 0.4); }
.ticker-tag--source { background: rgba(16, 185, 129, 0.2); color: #a7f3d0; border: 1px solid rgba(16, 185, 129, 0.4); }

.ticker-text {
    font-weight: 500;
}

.ticker-arrow {
    color: #818cf8;
    font-size: 0.85rem;
}

.ticker-tape-sep {
    color: #475569;
    font-size: 0.85rem;
    padding: 0 0.5rem;
}

/* ==========================================================================
   INDUSTRY SELECTOR TABS & CARDS (UI-Friendly Redesign)
   ========================================================================== */
.section-industry-selector {
    background: #ffffff;
    padding: 5rem 0;
}

.industry-tabs-wrapper {
    margin-bottom: 2.25rem;
    display: flex;
    justify-content: flex-start;
}

.tabs-navigation {
    display: inline-flex;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.35rem;
    border-radius: 10px;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.tab-btn:hover {
    color: #1e1b4b;
    background: rgba(255, 255, 255, 0.8);
}

.tab-btn.is-active {
    background: #4338ca;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.25);
}

.tab-btn__icon {
    font-size: 1rem;
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tab-panel.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.sector-feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 12px;
    padding: 2.75rem 3rem;
    box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.06);
}

.sector-eyebrow {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #4338ca;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.75rem;
}

.sector-feature-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.sector-feature-card p {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.sector-metric-badge {
    background: #ffffff;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 10px;
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.06);
}

.sector-metric-badge .metric-num {
    display: block;
    font-size: 2.75rem;
    font-weight: 900;
    color: #4338ca;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
}

.sector-metric-badge .metric-lbl {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ==========================================================================
   EXECUTIVE BRIEFING METADATA CARD (Insight Pages UI Upgrade)
   ========================================================================== */
.briefing-meta-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #4338ca;
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.briefing-meta-header {
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #edf2f7;
}

.briefing-meta-tag {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 800;
    color: #4338ca;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.briefing-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.briefing-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.briefing-meta-label {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.65rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.08em;
}

.briefing-meta-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}



/* ==========================================================================
   OPERATIONAL MATURITY QUIZ (Swiss Light Theme)
   ========================================================================== */
.quiz-form {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.quiz-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.quiz-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #f8fafc;
    font-size: 0.92rem;
    color: #1e293b;
    font-family: inherit;
    transition: all 0.2s ease;
    cursor: pointer;
}

.quiz-select:focus {
    outline: none;
    border-color: #4338ca;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background-color: #ffffff;
}

.quiz-result {
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #312e81;
    font-size: 0.95rem;
    font-weight: 600;
}


/* ==========================================================================
   UI/UX IMPROVEMENTS — Phase 1: Visual Impact Upgrades
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. Hero 2-Column Split Layout
   -------------------------------------------------------------------------- */
.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 60vh;
}

.hero-text-col {
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero-visual-col {
    position: relative;
    z-index: 1;
}

.hero-cinematic-title--left {
    text-align: left;
}

.hero-cinematic-deck--left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

/* Hero operating-model transformation */
.hero-network-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.hero-topology-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(99, 102, 241, 0.08));
}

.hero-resilience-artwork {
    position: relative;
    width: 140%;
    margin: -3% 0 -3% -28%;
    isolation: isolate;
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, #000 17%, #000 88%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 14%, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to right, transparent 0%, #000 17%, #000 88%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 14%, #000 84%, transparent 100%);
    mask-composite: intersect;
    transform: translate3d(var(--hero-art-x), var(--hero-art-y), 0);
    transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-resilience-artwork::before {
    content: '';
    position: absolute;
    top: 39%;
    left: 60%;
    z-index: 1;
    width: clamp(5rem, 9vw, 8.5rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.28) 0%, rgba(245, 158, 11, 0.1) 34%, transparent 70%);
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
    animation: heroMapRiskPulse 9s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroMapRiskPulse {
    0%, 55%, 100% { opacity: 0.28; transform: translate(-50%, -50%) scale(0.82); }
    18% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.18); }
}

.hero-resilience-artwork::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(6, 8, 16, 0.86) 0%, rgba(6, 8, 16, 0.18) 24%, transparent 48%, rgba(6, 8, 16, 0.08) 100%);
    pointer-events: none;
}

.hero-resilience-artwork img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 58% center;
    filter: saturate(0.68) contrast(1.08) brightness(0.78);
}

.hero-transformation-svg text {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

.hero-exhibit-title {
    fill: #e2e8f0;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.hero-transform-grid path {
    stroke: #334155;
    stroke-width: 0.55;
    stroke-dasharray: 2 8;
}

.hero-transform-kicker,
.hero-transform-footer {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

.hero-transform-kicker text {
    fill: #64748b;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.hero-pressure-panel > rect,
.hero-target-panel > rect {
    fill: rgba(9, 16, 30, 0.88);
    stroke: rgba(100, 116, 139, 0.45);
    stroke-width: 0.8;
}

.hero-panel-heading {
    fill: #dbe4f0;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.hero-panel-rule {
    fill: none;
    stroke: rgba(100, 116, 139, 0.45);
    stroke-width: 0.7;
}

.hero-pressure-item circle {
    fill: rgba(245, 158, 11, 0.08);
    stroke: rgba(245, 158, 11, 0.65);
    stroke-width: 0.8;
}

.hero-pressure-item path {
    fill: none;
    stroke: #fbbf24;
    stroke-width: 0.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-pressure-item text,
.hero-workstream text {
    fill: #d5deea;
    font-size: 6.8px;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.hero-pressure-item .hero-item-detail,
.hero-workstream .hero-item-detail {
    fill: #718096;
    font-size: 5.7px;
    font-weight: 500;
    letter-spacing: 0;
}

.hero-stage-arrow {
    fill: none;
    stroke: rgba(245, 158, 11, 0.72);
    stroke-width: 0.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-stage-arrow--resolved {
    stroke: #34d399;
}

.hero-advisory-outline {
    fill: none;
    stroke: #6366f1;
    stroke-width: 1;
}

.hero-advisory-header {
    fill: rgba(99, 102, 241, 0.16);
    stroke: rgba(129, 140, 248, 0.65);
    stroke-width: 0.65;
}

.hero-advisory-eyebrow {
    fill: #e0e7ff;
    font-size: 6px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero-advisory-subhead,
.hero-advisory-footer {
    fill: #818cf8;
    font-size: 5px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.hero-workstream circle {
    fill: rgba(99, 102, 241, 0.18);
    stroke: #818cf8;
    stroke-width: 0.65;
}

.hero-workstream .hero-workstream-index {
    fill: #c7d2fe;
    font-size: 4.8px;
    font-weight: 700;
}

.hero-workstream-rule {
    stroke: rgba(129, 140, 248, 0.2);
    stroke-width: 0.65;
}

.hero-supply-chain-route path {
    fill: none;
    stroke: #34d399;
    stroke-width: 1.25;
}

.hero-supply-chain-route .hero-route-secondary {
    stroke: #60a5fa;
    stroke-dasharray: 3 3;
}

.hero-supply-chain-route circle {
    fill: #0b1221;
    stroke: #6ee7b7;
    stroke-width: 1.1;
}

.hero-route-labels text {
    fill: #94a3b8;
    font-size: 4.8px;
    font-weight: 700;
    letter-spacing: 0.035em;
}

.hero-outcome-row rect {
    fill: rgba(15, 23, 42, 0.82);
    stroke: rgba(100, 116, 139, 0.36);
    stroke-width: 0.55;
}

.hero-outcome-row text {
    fill: #cbd5e1;
    font-size: 5.2px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-transform-packet--flow {
    filter: drop-shadow(0 0 5px rgba(52, 211, 153, 0.8));
}

.hero-transform-footer path {
    stroke: rgba(100, 116, 139, 0.34);
    stroke-width: 0.7;
}

.hero-transform-footer text {
    fill: #64748b;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.hero-resilience-title {
    fill: #e2e8f0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.hero-resilience-subtitle {
    fill: #64748b;
    font-size: 5.8px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.hero-resilience-contours path {
    fill: none;
    stroke: rgba(99, 102, 241, 0.16);
    stroke-width: 0.7;
    stroke-dasharray: 2 7;
}

.hero-arch-structure path {
    fill: none;
    stroke-linecap: square;
}

.hero-arch-edge {
    stroke: rgba(129, 140, 248, 0.42);
    stroke-width: 1;
}

.hero-arch-inner {
    stroke: rgba(148, 163, 184, 0.2);
    stroke-width: 0.8;
    stroke-dasharray: 2 6;
}

.hero-arch-foundation {
    stroke: #475569;
    stroke-width: 5;
}

.hero-arch-foundation--base {
    stroke: #1e293b;
    stroke-width: 9;
}

.hero-keystone-edge {
    fill: none;
    stroke: #c7d2fe;
    stroke-width: 1;
}

.hero-keystone path:not(.hero-keystone-edge) {
    fill: none;
    stroke: rgba(224, 231, 255, 0.6);
    stroke-width: 0.65;
}

.hero-keystone text {
    fill: #eef2ff;
    font-size: 5.2px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.hero-disruption path {
    fill: rgba(245, 158, 11, 0.06);
    stroke: rgba(245, 158, 11, 0.62);
    stroke-width: 0.9;
    stroke-linecap: round;
}

.hero-disruption text {
    fill: #b45309;
    font-size: 5.8px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-disrupted-route {
    fill: none;
    stroke: rgba(245, 158, 11, 0.65);
    stroke-width: 1;
    stroke-dasharray: 4 5;
}

.hero-route-break {
    fill: none;
    stroke: #f59e0b;
    stroke-width: 1.5;
    stroke-linecap: round;
}

.hero-primary-route {
    fill: none;
    stroke: url(#hero-route-gradient);
    stroke-width: 2.2;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.4));
}

.hero-redundant-route {
    fill: none;
    stroke: rgba(52, 211, 153, 0.62);
    stroke-width: 1.2;
    stroke-dasharray: 4 5;
}

.hero-landmark path,
.hero-landmark rect {
    fill: #0c1426;
    stroke: #94a3b8;
    stroke-width: 0.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-landmark text {
    fill: #94a3b8;
    font-size: 5.8px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.hero-resilience-pillars line {
    stroke: rgba(100, 116, 139, 0.42);
    stroke-width: 0.7;
}

.hero-resilience-pillars circle {
    fill: #818cf8;
}

.hero-resilience-pillars text {
    fill: #a5b4fc;
    font-size: 5.2px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.hero-resilience-statement {
    fill: #cbd5e1;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* Animated path drawing */
.hero-path-animate {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: heroPathDraw 2.5s ease-out forwards;
}

.hero-path-delay-1 { animation-delay: 0.4s; }
.hero-path-delay-2 { animation-delay: 0.8s; }
.hero-path-delay-3 { animation-delay: 1.2s; }

@keyframes heroPathDraw {
    to { stroke-dashoffset: 0; }
}

/* Node pulse rings */
.hero-node-pulse {
    animation: heroNodePulse 3s ease-in-out infinite;
}

.hero-pulse-delay-1 { animation-delay: 0.5s; }
.hero-pulse-delay-2 { animation-delay: 1s; }
.hero-pulse-delay-3 { animation-delay: 1.5s; }

@keyframes heroNodePulse {
    0%, 100% { r: 24; opacity: 0.1; }
    50% { r: 28; opacity: 0.2; }
}

/* Node glow */
.hero-node-glow {
    animation: heroNodeGlow 2s ease-in-out infinite alternate;
}

@keyframes heroNodeGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Data packet trail */
.hero-data-packet {
    filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.6));
}

/* Hero responsive — stack on mobile */
@media (max-width: 992px) {
    .hero-risk-pulse {
        display: none;
    }

    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        min-height: auto;
    }

    .hero-text-col {
        text-align: center;
        order: 1;
    }

    .hero-visual-col {
        order: 2;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }

    .hero-resilience-artwork {
        width: 112%;
        margin: -2% 0 -2% -6%;
    }

    .hero-cinematic-title--left,
    .hero-cinematic-deck--left {
        text-align: center;
    }

    .hero-cinematic-deck--left {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-badge-row {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-visual-col {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   B. Social Proof / Trust Signal Bar
   -------------------------------------------------------------------------- */
.section-social-proof {
    background: #0d1117;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
}

.social-proof-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.social-proof-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.75rem;
}

.proof-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.proof-badge:hover {
    border-color: rgba(99, 102, 241, 0.2);
    background: rgba(99, 102, 241, 0.04);
}

.proof-badge__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.08);
    color: #818cf8;
    flex-shrink: 0;
}

.proof-badge__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.proof-badge__industry {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.01em;
}

.proof-badge__metric {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #64748b;
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
}

@media (max-width: 992px) {
    .social-proof-badges {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .social-proof-badges {
        flex-direction: column;
        align-items: stretch;
    }

    .proof-badge {
        justify-content: flex-start;
    }
}

/* --------------------------------------------------------------------------
   C. Section Background Alternation System
   -------------------------------------------------------------------------- */
.section--white {
    background-color: #ffffff;
}

.section--light {
    background-color: var(--color-paper);
}

.section--dark {
    background-color: #0d1117;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.section--dark .section-header h2,
.section--dark .section-header .section-title {
    color: #f0f6fc;
}

.section--dark .section-header p,
.section--dark .section-subtitle {
    color: #94a3b8;
}

.section--dark .eyebrow {
    color: #a5b4fc;
}

.section--dark .comparison-table {
    background: #161b22;
    border-color: rgba(255, 255, 255, 0.06);
}

.section--dark .comparison-table th {
    background: #0d1117;
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.06);
}

.section--dark .comparison-table td {
    color: #94a3b8;
    border-color: rgba(255, 255, 255, 0.06);
}

.section--dark .comparison-table .th-keystone {
    background: rgba(99, 102, 241, 0.12);
    color: #c7d2fe;
}

.section--dark .comparison-table .td-keystone {
    color: #a5b4fc;
}

.section--dark .comparison-table .td-keystone strong {
    color: #c7d2fe;
}

.section--dark .comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.section--dark .rtb-proof-card {
    background: #161b22;
    border-color: rgba(255, 255, 255, 0.06);
}

.section--dark .rtb-proof-stat {
    color: #a5b4fc;
}

.section--dark .rtb-proof-card h4 {
    color: #e2e8f0;
}

.section--dark .rtb-proof-card p {
    color: #94a3b8;
}

.section--dark .rtb-proof-tag {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

/* --------------------------------------------------------------------------
   D. Pre-Footer CTA Band
   -------------------------------------------------------------------------- */
.section-cta-band {
    background: linear-gradient(135deg, #0d1117 0%, #1a1040 50%, #0d1117 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
}

.section-cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-band-content {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.eyebrow--cta-band {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.cta-band-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.cta-band-highlight {
    background: linear-gradient(135deg, #c7d2fe 0%, #818cf8 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-band-desc {
    font-size: 1.0625rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-band-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-band-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.03em;
}

.cta-band-guarantee svg {
    color: #34d399;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   E. Sticky Scroll CTA Bar
   -------------------------------------------------------------------------- */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(13, 17, 23, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.75rem var(--space-md);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.sticky-cta-bar.is-visible {
    transform: translateY(0);
}

.sticky-cta-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-standard);
    margin: 0 auto;
    gap: 1.5rem;
}

.sticky-cta-bar__text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0;
}

.sticky-cta-bar__text span {
    color: #a5b4fc;
}

.sticky-cta-bar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sticky-cta-bar .button {
    font-size: 0.875rem;
    padding: 0.55rem 1.25rem;
    white-space: nowrap;
}

.sticky-cta-bar__dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.sticky-cta-bar__dismiss:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

@media (min-width: 992px) {
    .sticky-cta-bar {
        left: 50%;
        right: auto;
        bottom: 1.5rem;
        max-width: 780px;
        width: calc(100% - 3rem);
        border-radius: 9999px;
        border: 1px solid rgba(129, 140, 248, 0.35);
        box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.6), 0 0 24px rgba(99, 102, 241, 0.15);
        padding: 0.5rem 0.6rem 0.5rem 1.5rem;
        transform: translate(-50%, calc(100% + 2.5rem));
    }

    .sticky-cta-bar.is-visible {
        transform: translate(-50%, 0);
    }

    .sticky-cta-bar__inner {
        padding: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .sticky-cta-bar__text {
        display: none;
    }

    .sticky-cta-bar__inner {
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   F. Typography Refinements
   -------------------------------------------------------------------------- */
.eyebrow {
    letter-spacing: 0.15em;
}

.section-header {
    text-align: left;
}

.section-header h2,
.section-header .section-title {
    letter-spacing: -0.025em;
}

.section-header p,
.section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    max-width: 640px;
}


/* --------------------------------------------------------------------------
   G. Executive Article & Resources Depth Styling
   -------------------------------------------------------------------------- */

/* Article Schematic & Architecture Diagram Container */
.article-schematic {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2.5rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.article-schematic svg {
    width: 100%;
    height: auto;
    display: block;
}

.article-schematic__caption {
    text-align: center;
    font-size: 0.8125rem;
    color: #8b949e;
    margin-top: 1rem;
    margin-bottom: 0;
    letter-spacing: 0.02em;
    font-style: italic;
}

/* Executive Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--color-line);
    margin: 2rem 0;
    font-size: 0.9375rem;
    background: var(--color-surface);
}

.data-table thead th {
    background: var(--color-surface-offset);
    border-bottom: 2px solid var(--color-line-strong);
    padding: 0.875rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-ink);
}

.data-table tbody td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--color-line);
    color: var(--color-charcoal);
    line-height: 1.5;
}

.data-table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.015);
}

.data-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.03);
}

/* Longform Content Typography */
.entry-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    color: var(--color-ink);
    border-bottom: 1px solid var(--color-line);
    padding-bottom: 0.75rem;
}

.entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.35rem;
    color: var(--color-ink);
}

.entry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.entry-content .styled-list {
    margin: 1.5rem 0 2rem 0;
    padding-left: 1.5rem;
}

.entry-content .styled-list li {
    margin-bottom: 0.875rem;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   H. Production forms, listings, and accessibility
   -------------------------------------------------------------------------- */

.northstar-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.northstar-form-status {
    min-height: 1.5rem;
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
    font-weight: 600;
}

.northstar-form-status:empty {
    min-height: 0;
    margin: 0;
}

.northstar-form-status.is-success {
    color: #16783b;
}

.northstar-form-status.is-error {
    color: #b42318;
}

.northstar-async-form button[disabled] {
    cursor: wait;
    opacity: 0.65;
}

.page-hero--compact {
    min-height: auto;
    padding-block: clamp(4rem, 8vw, 7rem);
}

.listing-section__count {
    margin: 0 0 1.5rem;
    color: var(--color-muted);
    font-weight: 600;
}

.editorial-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2vw, 2rem);
}

.editorial-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    overflow: hidden;
}

.editorial-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-surface-offset);
}

.editorial-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.editorial-card:hover .editorial-card__media img {
    transform: scale(1.025);
}

.editorial-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.5rem;
}

.editorial-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
    color: var(--color-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.editorial-card__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.25;
}

.editorial-card__title a,
.editorial-card__link {
    color: inherit;
    text-decoration: none;
}

.editorial-card__link {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--color-accent);
    font-weight: 700;
}

.navigation.pagination {
    margin-top: 3rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.page-numbers {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-line);
    color: var(--color-ink);
    text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: #fff;
}

.site-search-form {
    display: flex;
    width: min(100%, 680px);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.site-search-form__field {
    min-width: 0;
    flex: 1;
    border: 1px solid var(--color-line-strong);
    border-radius: 3px;
    padding: 0.85rem 1rem;
    background: var(--color-surface);
    color: var(--color-ink);
    font: inherit;
}

.editorial-empty-state {
    max-width: 720px;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--color-line);
    background: var(--color-surface-offset);
}

.footer-benchmark-note,
.hero-telemetry-note {
    color: var(--color-muted);
    font-size: 0.75rem;
    line-height: 1.55;
}

.hero-telemetry-note {
    margin: 0.75rem 0 0;
    text-align: center;
}

.footer-benchmark-note {
    max-width: 900px;
    margin: 1.5rem 0 0;
}

.entry-content img,
.page-main-content img {
    max-width: 100%;
    height: auto;
}

.data-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

@media (max-width: 960px) {
    .editorial-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .site-search-form {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-telemetry-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        padding: 0;
        overflow: hidden;
    }

    .telemetry-stat-item {
        min-width: 0;
        padding: 1.25rem 0.75rem;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .telemetry-stat-item:nth-child(4n + 3) {
        border-right: 0;
    }

    .telemetry-stat-item:nth-child(n + 5) {
        border-bottom: 0;
    }

    .telemetry-stat-number {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .telemetry-stat-divider {
        display: none;
    }
}

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

    .hero-transform-packet {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   I. Responsive header cascade guard
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .main-navigation {
        position: absolute;
        top: 100%;
        right: var(--space-md);
        left: var(--space-md);
        display: none;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        margin: 0;
        background: var(--color-surface);
        border: 1px solid var(--color-line-strong);
        box-shadow: 0 20px 45px rgba(15, 20, 25, 0.16);
    }

    .main-navigation.is-active {
        display: block;
    }

    .main-navigation .nav-menu {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .main-navigation .nav-menu > li {
        border-bottom: 1px solid var(--color-line);
    }

    .main-navigation .nav-menu > li:last-child {
        border-bottom: 0;
    }

    .main-navigation .nav-menu > li > a {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 0.9rem 1rem;
    }

    .main-navigation .sub-menu {
        position: static;
        display: none;
        min-width: 0;
        margin: 0;
        padding: 0 0 0.4rem;
        border: 0;
        border-top: 1px solid var(--color-line);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .main-navigation .menu-item-has-children.is-active > .sub-menu {
        display: block;
    }

    .main-navigation .sub-menu a {
        padding: 0.75rem 1.5rem;
    }
}
