/*
Theme Name: ByteTect Premium
Theme URI: https://bytetect.com
Author: ByteTect L.P.
Author URI: https://bytetect.com
Description: Premium WordPress block theme for ByteTect — Digital Infrastructure Architects.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bytetect-premium
Tags: full-site-editing, block-patterns, custom-colors, custom-fonts
*/


/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
  /* ── Brand Palette (Design Brief) ── */
  --color-ink-navy: #1E2A47;
  --color-mid-navy: #384E78;
  --color-signal-green: #4F7B5E;
  --color-warm-paper: #F6F5F1;

  /* Legacy brand tokens (kept for compatibility) */
  --color-brand-green: #2F5E48;
  --color-brand-highlight: #4F7B5E;
  --color-emerald-50: #ecfdf5;
  --color-emerald-100: #d1fae5;
  --color-emerald-400: #34d399;
  --color-emerald-500: #10b981;
  --color-emerald-600: #4F7B5E;
  --color-emerald-700: #3d6a4e;

  /* Neutrals */
  --color-white: #ffffff;
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;

  /* Navy (dark sections — aligned with ink-navy) */
  --color-navy-900: #1E2A47;
  --color-navy-800: #253556;
  --color-navy-700: #2d3f65;

  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Sizing */
  --max-width-7xl: 80rem;   /* 1280px */
  --max-width-6xl: 72rem;   /* 1152px */
  --max-width-5xl: 64rem;   /* 1024px */
  --max-width-3xl: 48rem;   /* 768px */

  /* Borders */
  --radius-sm: 0.125rem;
  --radius: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}


/* ==========================================================================
   2. Base / Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
}

/* Lenis Smooth Scroll CSS */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-white);
  color: var(--color-slate-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

audio,
canvas,
iframe {
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

[hidden] {
  display: none !important;
}


/* ==========================================================================
   3. Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-ink-navy);
  letter-spacing: 0.04em;
}

h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: 0.02em;
}

h2 {
  font-size: 1.875rem;
  line-height: 1.2;
  margin-bottom: var(--space-4);
  letter-spacing: 0.03em;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-2);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-slate-600);
  line-height: 1.7;
}

/* Text gradient removed — brief: no gradients */
.text-gradient,
.gradient-text {
  color: var(--color-signal-green);
}

.font-mono {
  font-family: var(--font-mono);
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-tight {
  line-height: 1.25;
}


/* ==========================================================================
   4. Layout Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width-7xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container--narrow {
  max-width: var(--max-width-5xl);
}

.container--prose {
  max-width: var(--max-width-3xl);
}

.section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

.section--sm {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-stretch {
  align-items: stretch;
}

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

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

.gap-12 {
  gap: var(--space-12);
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-7 {
  grid-template-columns: repeat(7, 1fr);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.w-full {
  width: 100%;
}

.overflow-hidden {
  overflow: hidden;
}

/* Design brief palette utilities */
.bg-signal-green {
  background-color: var(--color-signal-green);
  color: #ffffff !important;
}

.bg-signal-green:hover {
  background-color: #3d6a4e;
  color: #ffffff !important;
}

.border-warm-paper {
  border-color: var(--color-warm-paper);
}

/* Proof section (navy case studies) */
.proof-section {
  padding: var(--space-20) 0;
  position: relative;
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-slow);
  cursor: pointer;
  border: none;
  text-decoration: none;
  line-height: 1.4;
}

.btn--primary {
  background-color: var(--color-signal-green);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: #3d6a4e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 42, 71, 0.2);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-ink-navy);
  border: 1px solid var(--color-ink-navy);
}

.btn--outline:hover {
  border-color: var(--color-ink-navy);
  background-color: var(--color-warm-paper);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn--cta {
  background-color: var(--color-brand-green);
  color: var(--color-white);
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
}

.btn--cta:hover {
  background-color: var(--color-emerald-600);
}

.btn--submit {
  width: 100%;
  background-color: var(--color-brand-green);
  color: var(--color-white);
  font-weight: 700;
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  border-radius: var(--radius);
  transition: all var(--transition-slow);
}

.btn--submit:hover {
  background-color: var(--color-emerald-600);
}

.btn--submit .btn-icon {
  transition: transform var(--transition-base);
}

.btn--submit:hover .btn-icon {
  transform: translateX(0.25rem);
}


/* ==========================================================================
   6. Navigation / Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-slate-200);
}

.site-header__inner {
  max-width: var(--max-width-7xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo img {
  height: 2.5rem;
  width: auto;
}

/* wp:site-logo block inside header */
.site-header__logo .wp-block-site-logo,
.site-header__logo .wp-block-site-logo a,
.site-header__logo .wp-block-site-logo img,
.bt-logo,
.bt-logo a,
.bt-logo img {
  display: block;
  height: auto;
  max-height: 2.5rem;
  width: auto;
  margin: 0;
  padding: 0;
}
.site-header__logo .wp-block-site-logo,
.bt-logo {
  line-height: 0;
}

.site-header__nav {
  display: none;
  gap: var(--space-8);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-header__nav a {
  color: var(--color-slate-600);
  transition: color var(--transition-base);
}

.site-header__nav a:hover,
.site-header__nav a.is-active {
  color: var(--color-slate-900);
}

.site-header__nav a.is-active {
  font-weight: 700;
  border-bottom: 2px solid var(--color-brand-highlight);
  padding-bottom: 0.25rem;
}

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-slate-600); display: inline-flex; align-items: center; gap: 4px;
  padding: 0; transition: color var(--transition-base);
}
.nav-dropdown__trigger:hover { color: var(--color-slate-900); }
.nav-dropdown__arrow { transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown__arrow { transform: rotate(180deg); }
.nav-dropdown__menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 16px; min-width: 180px;
  background: #fff; border: 1px solid rgba(30,42,71,0.10);
  border-radius: 6px; box-shadow: 0 12px 40px -12px rgba(30,42,71,.15);
  padding: 8px 0;
  opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(4px);
  transition: opacity .2s, transform .2s;
}
.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown__item {
  display: block; padding: 9px 20px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-ink-navy); text-decoration: none;
  transition: background .15s, color .15s;
}
.nav-dropdown__item:hover {
  background: rgba(79,123,94,0.08); color: var(--color-signal-green);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-header__cta {
  display: none;
}

/* Hamburger Button */
.hamburger-btn {
  display: block;
  padding: var(--space-2);
  color: var(--color-slate-900);
}

.hamburger-btn:focus {
  outline: none;
}

.hamburger-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: var(--space-32);
  padding-left: var(--space-10);
  padding-right: var(--space-10);
  gap: var(--space-8);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-slate-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mobile-menu__inner a {
  transition: color var(--transition-base);
}

.mobile-menu__inner a:hover {
  color: var(--color-slate-900);
}

.mobile-menu__label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-mid-navy); display: block;
}


/* ==========================================================================
   7. Components
   ========================================================================== */

/* Tech Pill */
.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--color-ink-navy);
  background: rgba(30, 42, 71, 0.06);
  padding: 4px 12px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 1rem;
  border: 1px solid rgba(30, 42, 71, 0.15);
}

/* Code Snippet */
.code-snippet {
  font-family: var(--font-mono);
  background: var(--color-slate-100);
  padding: 10px;
  border-radius: 4px;
  border: 1px solid var(--color-slate-200);
  font-size: 0.8rem;
  color: var(--color-slate-600);
}

/* Glass Panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Glass Border */
.glass-border {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Spotlight Card */
.spotlight-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-slow);
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(30, 42, 71, 0.06),
      transparent 40%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(30, 42, 71, 0.12),
      transparent 40%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  mask-image: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      black 0%,
      transparent 100%);
  -webkit-mask-image: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      black 0%,
      transparent 100%);
  border: 1px solid rgba(30, 42, 71, 0.15);
  border-radius: inherit;
}

.spotlight-card > * {
  position: relative;
  z-index: 2;
}

/* Pipeline Arrow */
.pipeline-arrow {
  height: 2px;
  background: var(--color-slate-300);
  position: relative;
  width: 50px;
}

.pipeline-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-ink-navy);
  border-right: 2px solid var(--color-ink-navy);
  transform: rotate(45deg);
}

/* Audit Line */
.audit-line {
  border-left: 2px solid var(--color-slate-300);
  padding-left: var(--space-4);
  position: relative;
}

.audit-dot {
  position: absolute;
  left: -5px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 0;
  background: var(--color-ink-navy);
}

/* Icon Boxes */
.icon-box {
  width: 3rem;
  height: 3rem;
  background-color: rgba(30, 42, 71, 0.06);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  color: var(--color-ink-navy);
}

.icon-box svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Stat Card */
.stat-card {
  padding: var(--space-4);
  background: var(--color-white);
  border-left: 2px solid var(--color-ink-navy);
  border-radius: var(--radius);
}

.stat-card__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: var(--space-1);
}

.stat-card__label {
  font-size: 0.75rem;
  color: var(--color-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Tech Tags */
.tech-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--color-mid-navy);
  border: 1px solid rgba(30, 42, 71, 0.15);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
}


/* ==========================================================================
   7b. Section Layers — three reusable backgrounds
   ========================================================================== */

.section--white {
  background-color: var(--color-white);
  color: var(--color-ink-navy);
}

.section--paper {
  background-color: var(--color-warm-paper);
  color: var(--color-ink-navy);
}

.section--navy {
  background-color: var(--color-ink-navy);
  color: var(--color-white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--color-white);
}

.section--navy p {
  color: rgba(255, 255, 255, 0.7);
}

.section--navy .tech-pill {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}


/* ==========================================================================
   7c. Square Motif — logo becomes system
   ========================================================================== */

.square-motif {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-6);
}

.square-motif__sq {
  width: 12px;
  height: 12px;
  background-color: var(--color-ink-navy);
  border-radius: 1px;
  transition: background-color var(--transition-base);
}

.square-motif__sq--green {
  background-color: var(--color-signal-green);
}

.square-motif__sq--light {
  background-color: var(--color-mid-navy);
}

/* On navy sections, default squares are lighter */
.section--navy .square-motif__sq {
  background-color: var(--color-mid-navy);
}

.section--navy .square-motif__sq--green {
  background-color: var(--color-signal-green);
}

.section--navy .square-motif__sq--light {
  background-color: rgba(255, 255, 255, 0.2);
}


/* ==========================================================================
   8. Homepage Sections
   ========================================================================== */


/* -- Hero Section -- */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--space-32);
  padding-bottom: var(--space-20);
}

/* Legacy bg elements — removed from HTML, kept as safety */
.hero-bg-container,
.grid-floor,
.hero-vignette,
#particle-canvas {
  display: none;
}

.hero-section .hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max-width-7xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
  width: 100%;
}

/* Split layout: text left, nodes right */
.hero-content--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

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

.hero-nodes {
  position: relative;
  width: 100%;
  min-height: 320px;
}

.hero-nodes canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-section h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: var(--space-6);
  line-height: 1.08;
  color: var(--color-ink-navy);
  max-width: 48rem;
}

.hero-section .hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-slate-600);
  max-width: 36rem;
  margin: 0 0 var(--space-10);
  line-height: 1.7;
}

.hero-section .hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero-section .hero-trust-bar {
  margin-top: var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-slate-400);
  letter-spacing: 0.02em;
}

/* -- Client Marquee -- */
.client-marquee-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--color-navy-700);
  border-bottom: 1px solid var(--color-navy-700);
  background-color: var(--color-ink-navy) !important;
  color: var(--color-white);
  position: relative;
  z-index: 20;
  overflow: hidden;
}

.client-marquee {
  position: relative;
  width: 100%;
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 15%, black 85%, transparent 100%);
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

.client-marquee__set {
  display: flex;
  gap: 4rem;
  padding: 0 2rem;
  align-items: center;
  width: max-content;
  flex-shrink: 0;
}

.client-marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: all 0.5s;
  cursor: pointer;
}

.client-marquee__item:hover {
  opacity: 1;
}

.client-marquee__item img {
  max-width: none;
  height: 3.5rem;
  width: auto;
  object-fit: contain;
}

/* -- Capabilities / Bento Grid -- */
.capabilities-section {
  padding: var(--space-20) 0;
  background: var(--color-white);
}

.spotlight-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-6);
}

/* -- Methodology Pipeline -- */
.methodology-section {
  padding: var(--space-20) 0;
  border-top: 1px solid var(--color-slate-200);
  background: var(--color-white);
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  position: relative;
}

.methodology-step {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-6);
}

.methodology-step__number {
  width: 6rem;
  height: 6rem;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

.methodology-step__number span {
  font-size: 1.875rem;
  font-family: var(--font-mono);
  color: var(--color-emerald-600);
  font-weight: 700;
}

/* Connecting Line SVG (Desktop) */
.methodology-line {
  display: none;
  position: absolute;
  top: 3rem;
  left: 0;
  width: 100%;
  height: 3rem;
  z-index: 0;
  pointer-events: none;
}

/* -- Case Studies / Featured Architecture -- */
.case-study {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-32);
}

.case-study:last-child {
  margin-bottom: 0;
}

.case-study--reverse {
  flex-direction: column;
}

.case-study__content {
  width: 100%;
}

.case-study__media {
  width: 100%;
}

.case-study__media .aspect-video {
  aspect-ratio: 16 / 9;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.case-study__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

/* -- Value Proposition -- */
.value-section {
  padding: var(--space-20) 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-slate-200);
  position: relative;
  overflow: hidden;
}

.value-section__glow {
  display: none; /* removed — brief: no glows */
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-12);
  align-items: center;
}

.value-item {
  text-align: left;
}

.value-item__icon {
  padding: var(--space-2);
  border-radius: var(--radius);
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  display: inline-flex;
  transition: border-color var(--transition-base);
}

.value-item:hover .value-item__icon {
  border-color: var(--color-mid-navy);
}

.value-item__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-ink-navy);
}

/* -- Risk Mitigation Cards -- */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-6);
}

/* -- CTA Section -- */
.cta-section {
  padding: var(--space-20) 0;
  background: var(--color-navy-900);
  color: var(--color-white);
  text-align: center;
}

.cta-section h2 {
  color: var(--color-white);
}

.cta-section p {
  color: var(--color-slate-400);
}


/* ==========================================================================
   9. Article / Post Content (Prose)
   ========================================================================== */

.entry-content {
  max-width: var(--max-width-3xl);
  margin: 0 auto;
  font-family: var(--font-sans);
}

.entry-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-slate-900);
  margin-bottom: var(--space-6);
  margin-top: var(--space-12);
  line-height: 1.2;
}

.entry-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-slate-200);
}

.entry-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.entry-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-slate-900);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.entry-content p {
  color: var(--color-slate-600);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

.entry-content a {
  color: var(--color-emerald-600);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-base);
}

.entry-content a:hover {
  color: var(--color-emerald-700);
}

.entry-content strong {
  color: var(--color-slate-900);
  font-weight: 600;
}

.entry-content code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-emerald-600);
  background-color: var(--color-slate-100);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius);
}

.entry-content pre {
  background-color: #0d1117;
  color: #e6edf3;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin-bottom: var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
}

.entry-content pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

/* Dark code block with filename header */
.code-block-wrapper {
  margin-bottom: var(--space-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.code-block-wrapper__header {
  background-color: #161b22;
  padding: 0.5rem var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-slate-400);
}

.code-block-wrapper__header::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--color-slate-600);
  border-radius: var(--radius-full);
}

.code-block-wrapper pre {
  margin: 0;
  border-radius: 0;
}

.entry-content ul,
.entry-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-6);
  color: var(--color-slate-600);
}

.entry-content li {
  margin-bottom: var(--space-2);
  line-height: 1.75;
}

.entry-content blockquote {
  border-left: 3px solid var(--color-brand-highlight);
  padding-left: var(--space-4);
  margin: var(--space-6) 0;
  color: var(--color-slate-600);
  font-style: italic;
}

.entry-content img {
  border-radius: var(--radius-lg);
  margin: var(--space-8) 0;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-6);
}

.entry-content th,
.entry-content td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-slate-200);
  text-align: left;
}

.entry-content th {
  font-weight: 600;
  color: var(--color-slate-900);
  background: var(--color-slate-50);
}


/* ==========================================================================
   10. Article Header
   ========================================================================== */

.article-header {
  padding-top: 10rem;
  padding-bottom: var(--space-12);
  max-width: var(--max-width-3xl);
  margin: 0 auto;
}

.article-header__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
  transition: color var(--transition-base);
}

.article-header__back:hover {
  color: var(--color-emerald-600);
}

.article-header__back svg {
  width: 1rem;
  height: 1rem;
}

.article-header__category {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-header__category--engineering {
  color: var(--color-emerald-700);
  background: var(--color-emerald-50);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.article-header__category--ai {
  color: #7c3aed;
  background: #f5f3ff;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.article-header__category--infrastructure {
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.article-header__category--labs {
  color: #ea580c;
  background: #fff7ed;
  border: 1px solid rgba(234, 88, 12, 0.2);
}

.article-header__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: 0.875rem;
  color: var(--color-slate-500);
  margin-bottom: var(--space-6);
  font-family: var(--font-mono);
}

.article-header__meta .separator {
  color: var(--color-slate-300);
}

.article-header__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-slate-900);
  line-height: 1.15;
  margin-bottom: var(--space-6);
}

.article-header__excerpt {
  font-size: 1.125rem;
  color: var(--color-slate-500);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.article-header__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-slate-200);
}

.article-header__author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.article-header__author-name {
  font-weight: 600;
  color: var(--color-slate-900);
  font-size: 0.875rem;
}

.article-header__author-role {
  font-size: 0.75rem;
  color: var(--color-slate-500);
}


/* ==========================================================================
   11. Archive / Listing
   ========================================================================== */

.post-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-8);
}

.post-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
}

.post-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.post-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card__body {
  padding: var(--space-6);
}

.post-card__category {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-emerald-600);
  margin-bottom: var(--space-2);
}

.post-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.post-card__excerpt {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* ==========================================================================
   12. Forms
   ========================================================================== */

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-emerald-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background-color: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-slate-900);
  transition: border-color var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-brand-highlight);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-slate-400);
}

.form-select {
  appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%208l5%205%205-5%22%20stroke%3D%22%2310b981%22%20stroke-width%3D%222%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25em;
}

.form-textarea {
  resize: none;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-6);
}

#form-status {
  text-align: center;
  padding: var(--space-4);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  margin-top: var(--space-4);
}

#form-status.success {
  background-color: var(--color-emerald-50);
  color: var(--color-emerald-700);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

#form-status.error {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}


/* ==========================================================================
   13. Booking Calendar
   ========================================================================== */

.booking-section {
  position: relative;
  padding-top: 10rem;
  padding-bottom: var(--space-20);
  overflow: hidden;
  flex-grow: 1;
  background: var(--color-slate-50);
  border-bottom: 1px solid var(--color-slate-200);
}

.booking-section__bg-pattern {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  opacity: 0.03;
}

.booking-section__bg-gradient {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(5, 150, 105, 0.1), transparent);
  pointer-events: none;
}

/* Calendar Card Wrapper */
.booking-card-wrapper {
  position: relative;
  max-width: var(--max-width-5xl);
  margin: 0 auto;
}

.booking-card-wrapper__glow {
  position: absolute;
  inset: -4px;
  background: linear-gradient(to right, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: 2rem;
  filter: blur(4px);
  opacity: 0.5;
  transition: opacity 1s;
}

.booking-card-wrapper:hover .booking-card-wrapper__glow {
  opacity: 1;
}

.booking-card {
  position: relative;
  background: var(--color-white);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: var(--space-4);
  border: 1px solid var(--color-slate-200);
  border-radius: 1.5rem;
  backdrop-filter: blur(16px);
}

/* macOS dots decoration */
.booking-card__dots {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.25rem;
}

.booking-card__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
}

.booking-card__dot--red {
  background-color: #ef4444;
}

.booking-card__dot--amber {
  background-color: #f59e0b;
}

.booking-card__dot--green {
  background-color: var(--color-brand-highlight);
}

.booking-widget {
  margin-top: var(--space-8);
  padding-top: var(--space-4);
}

/* Calendar Grid */
.calendar-panel {
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.calendar-header__title {
  color: var(--color-slate-900);
  font-weight: 700;
  font-size: 1.125rem;
  font-family: var(--font-mono);
}

.calendar-header__btn {
  padding: var(--space-2);
  border-radius: var(--radius);
  color: var(--color-slate-600);
  transition: all var(--transition-base);
}

.calendar-header__btn:hover {
  color: var(--color-slate-900);
  background: rgba(255, 255, 255, 0.05);
}

.calendar-header__btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-2);
  text-align: center;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--color-slate-500);
  margin-bottom: var(--space-2);
}

#calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-2);
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.calendar-day:hover:not(.calendar-day--disabled):not(.calendar-day--empty) {
  background-color: var(--color-emerald-50);
  border-color: var(--color-brand-highlight);
}

.calendar-day--selected {
  background-color: var(--color-brand-highlight) !important;
  color: var(--color-white) !important;
  font-weight: 700;
}

.calendar-day--disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

.calendar-day--empty {
  cursor: default;
}

.calendar-day--today {
  border-color: var(--color-brand-highlight);
  font-weight: 700;
}

/* Time Slots */
.time-slots-panel {
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.time-slots-panel__title {
  color: var(--color-slate-900);
  font-weight: 700;
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-slate-200);
  padding-bottom: var(--space-4);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#time-slots-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  flex-grow: 1;
  align-content: start;
}

.time-slot-btn {
  padding: 0.625rem;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-slate-700);
  background: var(--color-white);
  transition: all var(--transition-base);
  cursor: pointer;
  text-align: center;
}

.time-slot-btn:hover {
  border-color: var(--color-brand-highlight);
  background: var(--color-emerald-50);
  color: var(--color-emerald-700);
}

.time-slot-btn--selected {
  background-color: var(--color-brand-highlight);
  color: var(--color-white);
  border-color: var(--color-brand-highlight);
}

/* Booking Step 2 */
.booking-step-2 {
  display: none;
}

.booking-step-2.is-active {
  display: block;
}

.booking-back-bar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-slate-200);
  padding-bottom: var(--space-4);
}

.booking-back-btn {
  padding: var(--space-2);
  border-radius: var(--radius);
  color: var(--color-slate-600);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition-base);
}

.booking-back-btn:hover {
  color: var(--color-slate-900);
}

.booking-datetime-display {
  color: var(--color-emerald-700);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.4;
  border-left: 1px solid var(--color-slate-200);
  padding-left: var(--space-4);
}

.booking-datetime-display__label {
  display: block;
  font-size: 0.625rem;
  color: var(--color-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.booking-datetime-display__value {
  font-weight: 700;
}


/* ==========================================================================
   14. Contact Page
   ========================================================================== */

.contact-section {
  position: relative;
  padding-top: 10rem;
  padding-bottom: var(--space-20);
  overflow: hidden;
  flex-grow: 1;
  background: var(--color-slate-50);
  border-bottom: 1px solid var(--color-slate-200);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-12);
  max-width: var(--max-width-6xl);
  margin: 0 auto;
  align-items: stretch;
}

.contact-form-card {
  background: var(--color-white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-slate-200);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-info-card {
  background: var(--color-white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-slate-200);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
}

.contact-info-item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.contact-info-item__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: var(--color-emerald-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-emerald-600);
}

.contact-info-item__icon svg {
  width: 1rem;
  height: 1rem;
}

.contact-info-item__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--color-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-info-item__value {
  font-size: 0.875rem;
  color: var(--color-slate-700);
  font-weight: 500;
}

/* Map Container */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-slate-200);
  margin-top: var(--space-6);
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border: none;
}


/* ==========================================================================
   15. Consent Banner
   ========================================================================== */

#consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-slate-200);
  padding: var(--space-6);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

#consent-banner.is-visible {
  display: flex;
}

#consent-banner p {
  font-size: 0.875rem;
  color: var(--color-slate-700);
  margin-bottom: 0;
}

.consent-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

#decline-consent {
  padding: 0.5rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  border: 1px solid var(--color-slate-200);
  background: transparent;
  color: var(--color-slate-700);
  transition: background-color var(--transition-base);
}

#decline-consent:hover {
  background-color: var(--color-slate-100);
}

#accept-consent {
  padding: 0.5rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background-color: var(--color-brand-highlight);
  color: var(--color-navy-900);
  border: none;
  transition: background-color var(--transition-base);
}

#accept-consent:hover {
  background-color: var(--color-emerald-400);
}


/* ==========================================================================
   16. Footer
   ========================================================================== */

.site-footer {
  padding: var(--space-12) 0;
  background-color: var(--color-slate-50);
  text-align: center;
  border-top: 1px solid var(--color-slate-200);
}

.site-footer__inner {
  max-width: var(--max-width-7xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.site-footer__logo {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition-slow);
}

.site-footer__logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.site-footer__logo img {
  height: 1.5rem;
  width: auto;
}

.site-footer__nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-slate-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-footer__nav a {
  transition: color var(--transition-base);
}

.site-footer__nav a:hover {
  color: var(--color-emerald-700);
}

.site-footer__nav .separator {
  color: var(--color-slate-300);
}

.site-footer__copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Minimal Footer (404 page, etc.) */
.site-footer--minimal {
  padding: var(--space-10) 0;
  border-top: 1px solid var(--color-slate-200);
  background: var(--color-white);
  text-align: center;
}

.site-footer--minimal p {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-slate-500);
  margin: 0;
}


/* ==========================================================================
   17. 404 Page
   ========================================================================== */

.page-404 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-white);
}

.page-404 .grid-floor {
  opacity: 0.15;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.15) 1px, transparent 1px);
}

.page-404 .hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: var(--max-width-3xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.page-404 h1 {
  font-size: 3.75rem;
  font-weight: 700;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.page-404 .terminal-text {
  font-family: var(--font-mono);
  color: var(--color-emerald-600);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
}

.page-404 .description {
  font-size: 1.125rem;
  color: var(--color-slate-600);
  margin-bottom: var(--space-10);
  line-height: 1.7;
}


/* ==========================================================================
   18. Back-to-Top Button
   ========================================================================== */

#back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 50;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-emerald-600);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  cursor: pointer;
}

#back-to-top.is-visible {
  opacity: 1;
  pointer-events: all;
}

#back-to-top:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand-highlight);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.2);
}

#back-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
}


/* ==========================================================================
   19. Animations
   ========================================================================== */

@keyframes grid-scroll {
  0% {
    transform: rotateX(60deg) translateY(0);
  }
  100% {
    transform: rotateX(60deg) translateY(50px);
  }
}

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

@keyframes scan {
  0% {
    top: 0;
  }
  50% {
    top: 100%;
  }
  100% {
    top: 0;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.8);
  }
  50% {
    box-shadow: 0 0 25px rgba(16, 185, 129, 1);
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Page transition (for any future use) */
.transition-fade {
  transition: 0.4s opacity, 0.4s transform;
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   20. WordPress Block Overrides
   ========================================================================== */

/* Navigation Block */
.wp-block-navigation {
  display: flex;
  gap: var(--space-8);
  align-items: center;
}

.wp-block-navigation-item a,
.wp-block-navigation-item__content {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-slate-600);
  text-decoration: none;
  transition: color var(--transition-base);
}

.wp-block-navigation-item a:hover,
.wp-block-navigation-item__content:hover {
  color: var(--color-slate-900);
}

.wp-block-navigation-item.current-menu-item a {
  color: var(--color-slate-900);
  font-weight: 700;
}

/* Site Logo Block */
.wp-block-site-logo img {
  height: 2.5rem;
  width: auto;
}

/* Group Block */
.wp-block-group {
  max-width: 100%;
}

.wp-block-group.alignfull {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.wp-block-group.alignwide {
  max-width: var(--max-width-7xl);
  margin-left: auto;
  margin-right: auto;
}

/* Query / Post Template Block */
.wp-block-query {
  max-width: var(--max-width-7xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.wp-block-post-template {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(1, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
}

.wp-block-post-template li {
  list-style: none;
}

/* Post Featured Image */
.wp-block-post-featured-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Post Title */
.wp-block-post-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-slate-900);
  line-height: 1.3;
  margin-bottom: var(--space-2);
}

.wp-block-post-title a {
  color: inherit;
  text-decoration: none;
}

.wp-block-post-title a:hover {
  color: var(--color-brand-green);
}

/* Post Date */
.wp-block-post-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Post Excerpt */
.wp-block-post-excerpt__excerpt {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Separator Block */
.wp-block-separator {
  border-color: var(--color-slate-200);
}

/* Image Block */
.wp-block-image img {
  border-radius: var(--radius-lg);
}

/* Cover Block */
.wp-block-cover {
  min-height: 400px;
}

/* Columns Block */
.wp-block-columns {
  gap: var(--space-8);
}

/* Buttons Block */
.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.wp-block-button__link {
  background-color: var(--color-brand-green);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--transition-base);
}

.wp-block-button__link:hover {
  background-color: var(--color-emerald-600);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 1px solid var(--color-slate-600);
  color: var(--color-slate-900);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--color-slate-900);
  background: var(--color-slate-50);
}

/* Pagination */
.wp-block-query-pagination {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-12);
}

.wp-block-query-pagination-numbers .page-numbers {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-slate-600);
  text-decoration: none;
  transition: all var(--transition-base);
}

.wp-block-query-pagination-numbers .page-numbers:hover,
.wp-block-query-pagination-numbers .page-numbers.current {
  background: var(--color-brand-highlight);
  color: var(--color-white);
  border-color: var(--color-brand-highlight);
}


/* ==========================================================================
   21. Responsive
   ========================================================================== */

/* SM: 640px */
@media (min-width: 640px) {
  .hero-section h1 {
    font-size: 3.75rem;
  }

  .hero-section .hero-cta {
    flex-direction: row;
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-marquee__set {
    gap: 8rem;
    padding: 0 4rem;
  }

  .client-marquee__item img {
    height: 5rem;
  }

  .page-404 h1 {
    font-size: 6rem;
  }
}

/* MD: 768px */
@media (min-width: 768px) {
  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-content--split {
    grid-template-columns: 55% 45%;
    gap: var(--space-12);
  }

  .hero-nodes {
    min-height: 460px;
  }

  .hero-section h1 {
    font-size: clamp(2.5rem, 4vw, 3.25rem);
  }

  .hero-section .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-section {
    padding-top: 10rem;
    padding-bottom: var(--space-20);
  }

  .booking-card {
    padding: var(--space-8);
  }

  /* mobile-menu and hamburger-btn remain visible until LG (1024px) */

  .spotlight-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .methodology-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .methodology-step {
    border-right: 1px solid var(--color-slate-200);
  }

  .methodology-step:last-child {
    border-right: none;
  }

  .case-study {
    flex-direction: row;
  }

  .case-study--reverse {
    flex-direction: row-reverse;
  }

  .case-study__content,
  .case-study__media {
    width: 50%;
  }

  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .risk-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .risk-layout {
    flex-direction: row !important;
  }

  .risk-layout > div {
    width: 50%;
  }

  .article-header__title {
    font-size: 3rem;
  }

  .page-404 h1 {
    font-size: 6rem;
  }

  .client-marquee__item img {
    height: 5rem;
  }

  .service-hero-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

/* LG: 1024px */
@media (min-width: 1024px) {
  .site-header__nav {
    display: flex;
  }

  .hero-content--split {
    grid-template-columns: 52% 48%;
  }

  .hero-nodes {
    min-height: 520px;
  }

  .hamburger-btn {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .site-header__cta {
    display: inline-block;
  }

  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .wp-block-post-template {
    grid-template-columns: repeat(3, 1fr);
  }

  .risk-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .methodology-line {
    display: block;
  }

  .booking-step-1-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }

  .client-marquee__item img {
    height: 6rem;
  }
}

/* XL: 1280px */
@media (min-width: 1280px) {
  .container {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}


/* ==========================================================================
   23. NEXUS OMAS — Homepage Sections
   ========================================================================== */

/* ── Hero Trust Bar ────────────────────────────────── */
.hero-trust-bar {
  margin-top: var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-slate-400);
  letter-spacing: 0.02em;
}

/* ── Nexus Terminal ────────────────────────────────── */
.nexus-terminal-section {
  padding: 0 0 var(--space-16);
  display: flex;
  justify-content: center;
}

.nexus-terminal {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  background: var(--color-navy-900);
  border: 1px solid var(--color-navy-700);
  border-radius: var(--radius-xl);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--color-slate-300);
  box-shadow: 0 25px 60px rgba(11, 17, 32, 0.35);
}

.nt-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  border-bottom: 1px solid var(--color-navy-700);
  background: rgba(11, 17, 32, 0.6);
}

.nt-title {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--color-slate-500);
}

.nt-status {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-emerald-500);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nt-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-signal-green);
  display: inline-block;
  animation: nt-pulse 2s infinite;
}

@keyframes nt-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.nt-body {
  padding: 1.25rem 1.25rem 1rem;
}

.nt-line {
  margin-bottom: 1rem;
}

.nt-prompt {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--color-slate-500);
  margin-bottom: 0.25rem;
}

.nt-prompt--ai {
  color: var(--color-emerald-500);
}

.nt-user-msg {
  color: var(--color-slate-200);
  margin: 0;
  line-height: 1.6;
}

.nt-ai-msg {
  color: #ffffff;
  margin: 0;
  line-height: 1.6;
}

.nt-trace {
  margin-top: 1rem;
}

.nt-trace-toggle {
  font-size: 0.75rem;
  color: var(--color-emerald-500);
  cursor: pointer;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
  user-select: none;
  transition: color var(--transition-fast);
}

.nt-trace-toggle:hover {
  color: var(--color-emerald-400);
}

.nt-trace-steps {
  padding-left: 0.75rem;
  border-left: 1px solid var(--color-navy-700);
  display: none;
}

.nt-trace-steps.is-open {
  display: block;
}

.nt-trace-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0;
  font-size: 0.75rem;
}

.nt-step-name {
  color: #ffffff;
  font-weight: 500;
}

.nt-step-desc {
  color: var(--color-slate-500);
}

.nt-held {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-signal-green);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ── Platform Section (3 modules) ──────────────────── */
.platform-section {
  padding: var(--space-20) 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.platform-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.platform-card:hover {
  border-color: var(--color-mid-navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(30, 42, 71, 0.08);
}

.platform-card__icon {
  display: block;
  font-size: 1.25rem;
  color: var(--color-ink-navy);
  margin-bottom: var(--space-4);
}

.platform-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-slate-900);
  margin-bottom: var(--space-2);
}

.platform-card p {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.platform-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.platform-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-slate-500);
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-md);
  letter-spacing: 0.02em;
}

.platform-tag--accent {
  color: var(--color-ink-navy);
  border-color: rgba(30, 42, 71, 0.2);
  background: rgba(30, 42, 71, 0.04);
}

/* ── How It Works Section ──────────────────────────── */
.how-section {
  padding: var(--space-20) 0;
  border-top: 1px solid var(--color-slate-200);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.how-step {
  position: relative;
  padding: var(--space-8);
  text-align: center;
}

.how-step__number {
  width: 48px;
  height: 48px;
  border-radius: 2px;
  border: 1px solid var(--color-slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink-navy);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.how-step__number--active {
  border-color: var(--color-signal-green);
  color: var(--color-signal-green);
  box-shadow: 0 4px 12px rgba(79, 123, 94, 0.15);
}

.how-step:hover .how-step__number {
  border-color: var(--color-mid-navy);
}

.how-step__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-mid-navy);
  margin-bottom: var(--space-3);
}

.how-step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-slate-900);
  margin-bottom: var(--space-2);
}

.how-step p {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  line-height: 1.65;
  margin: 0;
}

/* ── Deployment Cards (In Production) ──────────────── */
.deployment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.deployment-card {
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.deployment-card:hover {
  border-color: var(--color-mid-navy);
  transform: translateY(-3px);
}

/* Navy section variant */
.deployment-card--navy {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.deployment-card--navy:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.deployment-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-slate-400);
  margin-bottom: var(--space-4);
}

.deployment-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: var(--space-3);
}

.deployment-text {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

.deployment-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-slate-200);
}

.deployment-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.deployment-stat__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-signal-green);
  line-height: 1;
}

.deployment-stat__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-slate-500);
}

.deployment-footer {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--color-slate-400);
}

/* ── Insurance Card ────────────────────────────────── */
.insurance-card {
  background: var(--color-white);
  border: 1px solid var(--color-mid-navy);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-10);
}

/* Insurance status badge */
.insurance-status {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-ink-navy);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  margin-bottom: var(--space-4);
}

.insurance-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.insurance-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.insurance-detail__label {
  font-size: 0.75rem;
  color: var(--color-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

.insurance-detail__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-slate-900);
}

/* ── Security Grid ─────────────────────────────────── */
.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.security-item {
  padding: var(--space-6);
  border-left: 2px solid var(--color-slate-200);
  transition: border-color var(--transition-base);
}

.security-item:hover {
  border-left-color: var(--color-signal-green);
}

.security-item__number {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-mid-navy);
  margin-bottom: var(--space-3);
}

.security-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-slate-900);
  margin-bottom: var(--space-2);
}

.security-item p {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  line-height: 1.65;
  margin: 0;
}

/* ── Foundation Section ────────────────────────────── */
.foundation-section {
  padding: var(--space-20) 0;
  border-top: 1px solid var(--color-slate-200);
}

.foundation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.foundation-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.foundation-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.foundation-card__icon {
  display: block;
  font-size: 1.25rem;
  color: var(--color-ink-navy);
  margin-bottom: var(--space-4);
}

.foundation-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-slate-900);
  margin-bottom: var(--space-2);
}

.foundation-card p {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.foundation-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ── CTA Section ───────────────────────────────────── */
.cta-section {
  padding: var(--space-20) 0;
  text-align: center;
  border-top: 1px solid var(--color-slate-200);
  position: relative;
  overflow: hidden;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--color-slate-900);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-4);
}

.cta-subtitle {
  color: var(--color-slate-600);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.cta-disclaimer {
  margin-top: var(--space-4);
  font-size: 0.8125rem;
  color: var(--color-slate-500);
}

/* dark variant */
.cta-section--dark {
  background-color: var(--color-ink-navy);
  border-top-color: var(--color-navy-700);
}

.cta-section--dark h2 {
  color: #ffffff;
}

.cta-section--dark .cta-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.cta-section--dark .cta-disclaimer {
  color: rgba(255, 255, 255, 0.4);
}

.cta-section--dark .tech-pill {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   24. SaaS & Compliance Page (sc- namespace)
   ========================================================================== */

/* ── Design tokens ─────────────────────────────────── */
.sc {
  --sc-bg: #ffffff;
  --sc-soft: var(--color-warm-paper);
  --sc-soft-2: var(--color-warm-paper);
  --sc-ink: var(--color-ink-navy);
  --sc-body: #475569;
  --sc-muted: #64748b;
  --sc-dim: var(--color-mid-navy);
  --sc-line: rgba(30, 42, 71, 0.10);
  --sc-line-2: rgba(30, 42, 71, 0.18);
  --sc-accent: var(--color-signal-green);
  --sc-accent-soft: rgba(79, 123, 94, 0.08);
  --sc-accent-ink: #3d6a4e;
  --sc-navy-tint: rgba(30, 42, 71, 0.06);
  color: var(--sc-body);
}

.sc-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.sc h1, .sc h2, .sc h3, .sc h4 { color: var(--sc-ink); font-family: var(--font-heading); letter-spacing: 0.04em; }
.sc h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.14; font-weight: 700; }

.sc-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--sc-dim);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
  font-weight: 500;
}
.sc-eyebrow--dim { color: var(--sc-dim); }

.sc-lead {
  color: var(--sc-muted);
  font-size: 17.5px;
  max-width: 600px;
  margin-top: 16px;
  line-height: 1.65;
}

.sc-section {
  padding: 88px 0;
  border-top: 1px solid var(--sc-line);
}
.sc-section--paper { background: var(--color-warm-paper); }

/* ── Buttons — use global btn system ──────────────── */
.sc .btn { font-size: 15px; }

/* ── Hero ──────────────────────────────────────────── */
.sc-hero { padding: 120px 0 80px; }
.sc-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.sc-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.07;
  font-weight: 700;
}
.sc-hero h1 em { font-style: normal; color: var(--sc-accent); }
.sc-hero-sub {
  color: var(--sc-muted);
  font-size: 18px;
  margin-top: 22px;
  line-height: 1.65;
  max-width: 520px;
}
.sc-hero-tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.sc-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--sc-dim);
  border: 1px solid var(--sc-line-2);
  background: var(--sc-navy-tint);
  padding: 5px 12px;
  border-radius: 4px;
  font-weight: 500;
}
.sc-hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Comparison panel ──────────────────────────────── */
.sc-compare {
  border: 1px solid var(--sc-line-2);
  border-radius: 6px;
  overflow: hidden;
  font-size: 14px;
}
.sc-compare-head { display: grid; grid-template-columns: 1fr 1fr; }
.sc-ch {
  padding: 13px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
}
.sc-ch--bad { background: #fdf2f2; color: #b33a3a; border-bottom: 2px solid #f5c2c2; }
.sc-ch--good { background: var(--sc-accent-soft); color: var(--sc-accent); border-bottom: 2px solid rgba(79,123,94,0.25); }
.sc-compare-body { display: grid; grid-template-columns: 1fr 1fr; }
.sc-col { padding: 18px; }
.sc-col--bad { background: #fffafa; }
.sc-col--good { background: rgba(79,123,94,0.03); }
.sc-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; padding: 0; margin: 0; }
.sc-col li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--sc-muted);
  line-height: 1.4;
}
.sc-ic { flex-shrink: 0; font-size: 13px; margin-top: 1px; }
.sc-col--bad .sc-ic { color: #b33a3a; }
.sc-col--good .sc-ic { color: var(--sc-accent); }

/* ── Cards (what we build) ─────────────────────────── */
.sc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.sc-card {
  border: 1px solid var(--sc-line-2);
  border-radius: 6px;
  padding: 28px;
  background: var(--sc-bg);
  transition: .25s;
}
.sc-card:hover {
  border-color: var(--color-mid-navy);
  box-shadow: 0 12px 40px -28px rgba(30,42,71,.25);
  transform: translateY(-3px);
}
.sc-card-ico {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: var(--sc-navy-tint);
  color: var(--sc-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 18px;
  font-weight: 700;
}
.sc-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.sc-card p { color: var(--sc-muted); font-size: 14.5px; }
.sc-pills { margin-top: 16px; display: flex; gap: 7px; flex-wrap: wrap; }
.sc-pills span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sc-dim);
  border: 1px solid var(--sc-line-2);
  padding: 3px 9px;
  border-radius: 3px;
}

/* ── Steps (how we build) ──────────────────────────── */
.sc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.sc-step {
  border-top: 2px solid var(--sc-ink);
  padding: 18px 0 0;
}
.sc-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--sc-dim);
  margin-bottom: 12px;
  font-weight: 500;
}
.sc-step h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.sc-step p { color: var(--sc-muted); font-size: 13.5px; }

/* ── Proof (AdddZero) ──────────────────────────────── */
.sc-proof-wrap {
  margin-top: 48px;
  border: 1px solid var(--sc-line-2);
  border-radius: 6px;
  overflow: hidden;
}
.sc-proof-head {
  padding: 32px 36px;
  background: var(--sc-navy-tint);
  border-bottom: 1px solid var(--sc-line);
}
.sc-proof-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--sc-dim);
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: .06em;
}
.sc-proof-head h3 { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.sc-proof-head p { color: var(--sc-muted); font-size: 15.5px; max-width: 680px; }
.sc-proof-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.sc-stat b { display: block; color: var(--sc-ink); font-size: 24px; font-weight: 700; }
.sc-stat small { font-family: var(--font-mono); font-size: 11px; color: var(--sc-dim); letter-spacing: .05em; }
.sc-proof-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--sc-line);
}
.sc-module {
  padding: 24px 28px;
  border-right: 1px solid var(--sc-line);
}
.sc-module:last-child { border-right: none; }
.sc-module h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.sc-module p { color: var(--sc-muted); font-size: 13.5px; }
.sc-module-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #fff;
  background: var(--sc-ink);
  padding: 3px 10px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ── RBAC tree ─────────────────────────────────────── */
.sc-rbac {
  margin-top: 48px;
  background: var(--sc-navy-tint);
  border: 1px solid var(--sc-line-2);
  border-radius: 6px;
  padding: 36px;
}
.sc-rbac-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.sc-rbac-sub { color: var(--sc-muted); font-size: 14.5px; margin-bottom: 28px; }
.sc-rbac-tree { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.sc-rbac-row { display: flex; align-items: center; gap: 14px; }
.sc-rbac-indent {
  color: var(--sc-line-2);
  font-family: var(--font-mono);
  font-size: 13px;
  user-select: none;
}
.sc-rbac-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
}
.sc-r-owner { background: rgba(30,42,71,0.10); color: var(--sc-ink); }
.sc-r-admin { background: rgba(30,42,71,0.08); color: var(--sc-ink); }
.sc-r-manager { background: rgba(79,123,94,0.10); color: var(--sc-accent); }
.sc-r-member { background: rgba(79,123,94,0.06); color: var(--sc-accent); }
.sc-r-viewer { background: rgba(30,42,71,0.04); color: var(--sc-dim); }
.sc-r-hs { background: rgba(180,60,60,0.08); color: #b33a3a; }
.sc-rbac-desc { color: var(--sc-muted); font-size: 13px; margin-left: auto; text-align: right; }

/* ── AI strip ──────────────────────────────────────── */
.sc-ai-strip {
  background: var(--color-ink-navy);
  border-radius: 6px;
  padding: 44px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
}
.sc-ai-strip h3 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.sc-ai-strip > div:first-child p { color: #94a3b8; font-size: 15px; }
.sc-ai-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--sc-accent);
  transition: gap .2s;
}
.sc-ai-link:hover { gap: 12px; }
.sc-ai-feats { display: flex; flex-direction: column; gap: 14px; }
.sc-ai-feat { display: flex; gap: 14px; align-items: flex-start; }
.sc-ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sc-accent);
  flex-shrink: 0;
  margin-top: 7px;
}
.sc-ai-feat p { color: #94a3b8; font-size: 14px; margin: 0; }
.sc-ai-feat strong { display: block; color: #e2e8f0; font-size: 14.5px; font-weight: 600; margin-bottom: 3px; }

/* ── Trust / Security ──────────────────────────────── */
.sc-trust {
  background: var(--sc-navy-tint);
  border: 1px solid var(--sc-line-2);
  border-radius: 6px;
  padding: 40px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: .85fr 1.3fr;
  gap: 44px;
}
.sc-trust-badge {
  border: 1px solid var(--sc-line-2);
  border-radius: 6px;
  padding: 24px;
  background: var(--sc-bg);
}
.sc-trust-verified {
  color: var(--sc-accent);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .06em;
}
.sc-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sc-accent);
  animation: sc-blink 1.4s infinite;
  flex-shrink: 0;
}
@keyframes sc-blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.sc-trust-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--sc-line);
  font-size: 13.5px;
  color: var(--sc-muted);
}
.sc-trust-row b { color: var(--sc-ink); font-weight: 600; }
.sc-trust-row:last-child { border: none; }
.sc-trust-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sc-tf-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--sc-dim);
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.sc-tf h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.sc-tf p { font-size: 13.5px; color: var(--sc-muted); margin: 0; }

/* ── CTA — navy section ───────────────────────────── */
.sc-cta {
  background: var(--color-ink-navy);
  border-top: 1px solid var(--color-navy-700);
  padding: 88px 0;
  text-align: center;
}
.sc-cta h2 { max-width: 640px; margin: 0 auto; color: #ffffff; }
.sc-cta .sc-lead { margin: 16px auto 0; color: #94a3b8; }
.sc-cta .btn { margin-top: 30px; }
.sc-cta-sub { margin-top: 16px; font-size: 13px; color: #64748b; }

/* ── SaaS Responsive ───────────────────────────────── */
@media (max-width: 900px) {
  .sc-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 840px) {
  .sc-cards { grid-template-columns: 1fr; }
  .sc-trust { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
}
@media (max-width: 820px) {
  .sc-hero-grid { grid-template-columns: 1fr; }
  .sc-ai-strip { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
}
@media (max-width: 760px) {
  .sc-proof-modules { grid-template-columns: 1fr; }
  .sc-module { border-right: none; border-bottom: 1px solid var(--sc-line); }
}
@media (max-width: 640px) {
  .sc-rbac-desc { display: none; }
  .sc-trust-feats { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sc-steps { grid-template-columns: 1fr; }
  .sc-compare-head,
  .sc-compare-body { grid-template-columns: 1fr; }
}


/* ==========================================================================
   25. AI & Data Intelligence Page (ad- namespace)
   ========================================================================== */

.ad {
  --ad-bg: #ffffff;
  --ad-soft: var(--color-warm-paper);
  --ad-soft-2: var(--color-warm-paper);
  --ad-ink: var(--color-ink-navy);
  --ad-body: #475569;
  --ad-muted: #64748b;
  --ad-dim: var(--color-mid-navy);
  --ad-line: rgba(30, 42, 71, 0.10);
  --ad-line-2: rgba(30, 42, 71, 0.18);
  --ad-accent: var(--color-signal-green);
  --ad-accent-soft: rgba(79, 123, 94, 0.08);
  --ad-navy-tint: rgba(30, 42, 71, 0.06);
  --ad-healthy: var(--color-signal-green); --ad-healthy-bg: rgba(79,123,94,0.10);
  --ad-watch: #9a6212; --ad-watch-bg: #fef3dc;
  --ad-distress: #b33a3a; --ad-distress-bg: #fdf2f2;
  color: var(--ad-body);
}

.ad-wrap { max-width: 80rem; margin: 0 auto; padding: 0 var(--space-6); }
.ad h1,.ad h2,.ad h3,.ad h4 { color: var(--ad-ink); font-family: var(--font-heading); letter-spacing: 0.04em; }
.ad h2 { font-size: clamp(26px,3.6vw,38px); line-height: 1.14; font-weight: 700; }
.ad-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--ad-dim); text-transform: uppercase; margin-bottom: 16px; display: block; font-weight: 500; }
.ad-eyebrow--dim { color: var(--ad-dim); }
.ad-lead { color: var(--ad-muted); font-size: 17.5px; max-width: 600px; margin-top: 16px; line-height: 1.65; }
.ad-section { padding: 88px 0; border-top: 1px solid var(--ad-line); }
.ad-section--paper { background: var(--color-warm-paper); }

/* Buttons — use global btn system */
.ad .btn { font-size: 15px; }

/* Hero */
.ad-hero { padding: 120px 0 80px; }
.ad-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ad-hero h1 { font-size: clamp(32px,5vw,48px); line-height: 1.07; font-weight: 700; }
.ad-hero h1 em { font-style: normal; color: var(--ad-accent); }
.ad-hero-sub { color: var(--ad-muted); font-size: 18px; margin-top: 22px; line-height: 1.65; max-width: 520px; }
.ad-hero-tags { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 28px; }
.ad-tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--ad-dim); border: 1px solid var(--ad-line-2); background: var(--ad-navy-tint); padding: 5px 12px; border-radius: 4px; font-weight: 500; }
.ad-hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; align-items: center; }

/* Pipeline visual */
.ad-pipeline { border: 1px solid var(--ad-line-2); border-radius: 6px; overflow: hidden; background: var(--ad-bg); }
.ad-pipe-head { background: var(--ad-navy-tint); padding: 14px 18px; border-bottom: 1px solid var(--ad-line); font-family: var(--font-mono); font-size: 12px; color: var(--ad-dim); display: flex; align-items: center; gap: 8px; }
.ad-pipe-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ad-accent); animation: sc-blink 1.6s infinite; }
.ad-pipe-steps { padding: 20px 18px; display: flex; flex-direction: column; gap: 0; }
.ad-pipe-step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--ad-line); }
.ad-pipe-step:last-child { border: none; }
.ad-pipe-num { font-family: var(--font-mono); font-size: 11px; color: var(--ad-dim); font-weight: 600; min-width: 24px; margin-top: 2px; }
.ad-pipe-step h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.ad-pipe-step p { font-size: 13px; color: var(--ad-muted); margin: 0; }
.ad-pipe-out { background: var(--ad-navy-tint); border-top: 1px solid var(--ad-line); padding: 14px 18px; font-family: var(--font-mono); font-size: 12px; color: var(--ad-accent); display: flex; align-items: center; gap: 10px; font-weight: 500; }

/* Capabilities */
.ad-caps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 44px; }
.ad-cap { border: 1px solid var(--ad-line-2); border-radius: 6px; padding: 28px; background: var(--ad-bg); transition: .25s; }
.ad-cap:hover { border-color: var(--color-mid-navy); box-shadow: 0 12px 40px -28px rgba(30,42,71,.25); transform: translateY(-3px); }
.ad-cap-ico { width: 42px; height: 42px; border-radius: 4px; background: var(--ad-navy-tint); color: var(--ad-ink); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 18px; font-weight: 700; }
.ad-cap h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.ad-cap p { color: var(--ad-muted); font-size: 14.5px; }
.ad-pills { margin-top: 16px; display: flex; gap: 7px; flex-wrap: wrap; }
.ad-pills span { font-family: var(--font-mono); font-size: 11px; color: var(--ad-dim); border: 1px solid var(--ad-line-2); padding: 3px 9px; border-radius: 3px; }

/* Financial Scoring */
.ad-scoring-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; margin-top: 44px; }
.ad-ratios { display: flex; flex-direction: column; gap: 10px; }
.ad-ratio-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--ad-line-2); border-radius: 6px; background: var(--ad-bg); font-size: 14px; }
.ad-ratio-name { font-weight: 500; color: var(--ad-ink); }
.ad-ratio-desc { font-size: 12.5px; color: var(--ad-muted); margin-top: 2px; }
.ad-ratio-val { font-family: var(--font-mono); font-size: 13px; font-weight: 600; white-space: nowrap; }
.ad-ratio-badge { font-family: var(--font-mono); font-size: 11px; padding: 3px 10px; border-radius: 3px; font-weight: 500; white-space: nowrap; }
.ad-rb-h { background: var(--ad-healthy-bg); color: var(--ad-healthy); }
.ad-rb-w { background: var(--ad-watch-bg); color: var(--ad-watch); }
.ad-rb-d { background: var(--ad-distress-bg); color: var(--ad-distress); }

.ad-scoring-right h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.ad-scoring-right p { color: var(--ad-muted); font-size: 15px; margin-bottom: 20px; }
.ad-score-card { border: 1px solid var(--ad-line-2); border-radius: 6px; overflow: hidden; }
.ad-sc-head { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--ad-line); }
.ad-sc-head h4 { font-size: 15px; font-weight: 700; }
.ad-sc-status { font-family: var(--font-mono); font-size: 12px; padding: 4px 12px; border-radius: 3px; font-weight: 600; }
.ad-sc-healthy { background: var(--ad-healthy-bg); color: var(--ad-healthy); }
.ad-sc-distress { background: var(--ad-distress-bg); color: var(--ad-distress); }
.ad-sc-body { padding: 16px 20px; font-size: 13.5px; color: var(--ad-muted); }
.ad-sc-score { font-family: var(--font-mono); font-size: 26px; font-weight: 700; color: var(--ad-ink); margin-right: 8px; }
.ad-sc-label { font-size: 12px; color: var(--ad-dim); }

/* Geospatial */
.ad-geo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-top: 44px; }
.ad-geo-panel { border: 1px solid var(--ad-line-2); border-radius: 6px; overflow: hidden; background: var(--ad-navy-tint); aspect-ratio: 4/3; display: flex; flex-direction: column; }
.ad-geo-bar { padding: 12px 16px; background: var(--ad-bg); border-bottom: 1px solid var(--ad-line); font-family: var(--font-mono); font-size: 12px; color: var(--ad-dim); display: flex; justify-content: space-between; align-items: center; }
.ad-geo-live { color: var(--ad-accent); display: flex; align-items: center; gap: 6px; }
.ad-geo-canvas { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.ad-geo-legend { padding: 10px 16px; background: var(--ad-bg); border-top: 1px solid var(--ad-line); font-size: 12px; color: var(--ad-muted); display: flex; gap: 16px; align-items: center; font-family: var(--font-mono); }
.ad-swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.ad-geo-features { display: flex; flex-direction: column; gap: 18px; }
.ad-geo-feat { display: flex; gap: 16px; align-items: flex-start; }
.ad-geo-n { font-family: var(--font-mono); font-size: 12px; color: var(--ad-dim); font-weight: 600; min-width: 28px; margin-top: 2px; }
.ad-geo-feat h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 5px; }
.ad-geo-feat p { color: var(--ad-muted); font-size: 14px; margin: 0; }

/* Proof — BalanceIQ */
.ad-proof-wrap { margin-top: 48px; border: 1px solid var(--ad-line-2); border-radius: 6px; overflow: hidden; }
.ad-proof-head { padding: 32px 36px; background: var(--ad-navy-tint); border-bottom: 1px solid var(--ad-line); }
.ad-proof-meta { font-family: var(--font-mono); font-size: 12px; color: var(--ad-dim); margin-bottom: 12px; font-weight: 500; letter-spacing: .06em; }
.ad-proof-head h3 { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.ad-proof-head p { color: var(--ad-muted); font-size: 15.5px; max-width: 700px; }
.ad-proof-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 22px; }
.ad-stat b { display: block; color: var(--ad-ink); font-size: 24px; font-weight: 700; }
.ad-stat small { font-family: var(--font-mono); font-size: 11px; color: var(--ad-dim); letter-spacing: .05em; }
.ad-proof-modules { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--ad-line); }
.ad-module { padding: 24px 28px; border-right: 1px solid var(--ad-line); }
.ad-module:last-child { border-right: none; }
.ad-module h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.ad-module p { color: var(--ad-muted); font-size: 13.5px; margin: 0; }
.ad-module-badge { font-family: var(--font-mono); font-size: 10.5px; color: #fff; background: var(--ad-ink); padding: 3px 10px; border-radius: 3px; display: inline-block; margin-bottom: 10px; font-weight: 600; letter-spacing: .04em; }

/* Bridge */
.ad-bridge { background: var(--color-ink-navy); border-radius: 6px; padding: 44px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
.ad-bridge h3 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.ad-bridge > div:first-child p { color: #94a3b8; font-size: 15px; }
.ad-bridge-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14.5px; font-weight: 600; color: var(--ad-accent); transition: gap .2s; }
.ad-bridge-link:hover { gap: 12px; }
.ad-bridge-feats { display: flex; flex-direction: column; gap: 14px; }
.ad-bridge-feat { display: flex; gap: 14px; align-items: flex-start; }
.ad-bridge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ad-accent); flex-shrink: 0; margin-top: 7px; }
.ad-bridge-feat p { color: #94a3b8; font-size: 14px; margin: 0; }
.ad-bridge-feat strong { display: block; color: #e2e8f0; font-size: 14.5px; font-weight: 600; margin-bottom: 2px; }

/* Trust */
.ad-trust { background: var(--ad-navy-tint); border: 1px solid var(--ad-line-2); border-radius: 6px; padding: 40px; margin-top: 48px; display: grid; grid-template-columns: .85fr 1.3fr; gap: 44px; }
.ad-trust-badge { border: 1px solid var(--ad-line-2); border-radius: 6px; padding: 24px; background: var(--ad-bg); }
.ad-trust-verified { color: var(--ad-accent); display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 12px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .06em; }
.ad-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ad-accent); animation: sc-blink 1.4s infinite; flex-shrink: 0; }
.ad-trust-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--ad-line); font-size: 13.5px; color: var(--ad-muted); }
.ad-trust-row b { color: var(--ad-ink); font-weight: 600; }
.ad-trust-row:last-child { border: none; }
.ad-trust-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ad-tf-num { font-family: var(--font-mono); font-size: 11.5px; color: var(--ad-dim); font-weight: 600; margin-bottom: 6px; display: block; }
.ad-tf h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.ad-tf p { font-size: 13.5px; color: var(--ad-muted); margin: 0; }

/* CTA — navy section */
.ad-cta { background: var(--color-ink-navy); border-top: 1px solid var(--color-navy-700); padding: 88px 0; text-align: center; }
.ad-cta h2 { max-width: 660px; margin: 0 auto; color: #ffffff; }
.ad-cta .ad-lead { margin: 16px auto 0; color: #94a3b8; }
.ad-cta .btn { margin-top: 30px; }
.ad-cta-sub { margin-top: 16px; font-size: 13px; color: #64748b; }

/* Responsive */
@media (max-width: 840px) {
  .ad-caps { grid-template-columns: 1fr; }
  .ad-trust { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
}
@media (max-width: 820px) {
  .ad-hero-grid { grid-template-columns: 1fr; }
  .ad-scoring-grid { grid-template-columns: 1fr; }
  .ad-geo-grid { grid-template-columns: 1fr; }
  .ad-bridge { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
}
@media (max-width: 760px) {
  .ad-proof-modules { grid-template-columns: 1fr; }
  .ad-module { border-right: none; border-bottom: 1px solid var(--ad-line); }
}
@media (max-width: 520px) {
  .ad-trust-feats { grid-template-columns: 1fr; }
}


/* ==========================================================================
   26. AI Agents Page (ag- namespace)
   ========================================================================== */

.ag {
  --ag-bg: #ffffff;
  --ag-soft: var(--color-warm-paper);
  --ag-soft-2: var(--color-warm-paper);
  --ag-ink: var(--color-ink-navy);
  --ag-body: #475569;
  --ag-muted: #64748b;
  --ag-dim: var(--color-mid-navy);
  --ag-line: rgba(30, 42, 71, 0.10);
  --ag-line-2: rgba(30, 42, 71, 0.18);
  --ag-accent: var(--color-signal-green);
  --ag-accent-soft: rgba(79, 123, 94, 0.08);
  --ag-navy-tint: rgba(30, 42, 71, 0.06);
  --ag-demo-bg: #0d1117;
  --ag-demo-line: rgba(255,255,255,0.06);
  --ag-demo-green: var(--color-signal-green);
  color: var(--ag-body);
}

.ag-wrap { max-width: 80rem; margin: 0 auto; padding: 0 var(--space-6); }
.ag h1,.ag h2,.ag h3,.ag h4 { color: var(--ag-ink); font-family: var(--font-heading); letter-spacing: 0.04em; }
.ag h2 { font-size: clamp(26px,3.6vw,38px); line-height: 1.14; font-weight: 700; }
.ag-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--ag-dim); text-transform: uppercase; margin-bottom: 16px; display: block; font-weight: 500; }
.ag-lead { color: var(--ag-muted); font-size: 17.5px; max-width: 600px; margin-top: 16px; line-height: 1.65; }
.ag-section { padding: 88px 0; border-top: 1px solid var(--ag-line); }
.ag-section--paper { background: var(--color-warm-paper); }
.ag-section--dots {
  background-image: radial-gradient(rgba(30,42,71,0.07) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Buttons — global system */
.ag .btn { font-size: 15px; }

/* ── Hero — dark navy ─────────────────────────────── */
.ag-hero { padding: 120px 0 64px; background: var(--color-ink-navy); }
.ag-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.ag-hero h1 { font-size: clamp(34px,5.5vw,52px); line-height: 1.06; font-weight: 700; color: #ffffff; }
.ag-hero h1 em { font-style: normal; color: var(--ag-accent); }
.ag-hero-sub { color: #94a3b8; font-size: 19px; margin: 22px auto 0; line-height: 1.65; max-width: 640px; }
.ag-hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; align-items: center; justify-content: center; }
.ag-hero .btn--outline { border-color: rgba(255,255,255,0.2); color: #e2e8f0; }
.ag-hero .btn--outline:hover { border-color: var(--ag-accent); color: var(--ag-accent); }
.ag-trust-line { display: flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 13.5px; color: #64748b; justify-content: center; }
.ag-tick { color: var(--ag-accent); font-weight: 700; }

/* ── Terminal demo ────────────────────────────────── */
.ag-demo-wrap {
  margin-top: 56px;
  border-radius: 6px;
  background: var(--ag-demo-bg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
  position: relative;
}
/* Scanning line */
.ag-demo-wrap::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ag-accent), transparent);
  opacity: 0.4;
  animation: ag-scan 4s ease-in-out infinite;
  z-index: 2;
}
@keyframes ag-scan {
  0% { top: 0; opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { top: 100%; opacity: 0; }
}
.ag-demo-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--ag-demo-line);
  font-family: var(--font-mono); font-size: 12px; color: #475569;
}
.ag-dot { width: 11px; height: 11px; border-radius: 50%; }
.ag-demo-session { margin-left: 10px; color: #64748b; }
.ag-demo-live { margin-left: auto; color: var(--ag-accent); display: flex; align-items: center; gap: 7px; font-weight: 500; }
.ag-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ag-accent); animation: sc-blink 1.4s infinite; flex-shrink: 0; }
.ag-demo-grid { display: grid; grid-template-columns: 1.5fr 1fr; }
.ag-demo-chat { padding: 28px; }
.ag-demo-think { padding: 28px; background: rgba(0,0,0,0.3); font-family: var(--font-mono); font-size: 12px; border-left: 1px solid var(--ag-demo-line); }
.ag-th-label { color: #475569; letter-spacing: .12em; font-size: 11px; margin-bottom: 18px; text-transform: uppercase; }
.ag-msg { margin-bottom: 22px; }
.ag-msg-who { font-family: var(--font-mono); font-size: 11px; color: #475569; margin-bottom: 7px; letter-spacing: .08em; }
.ag-msg-user .ag-msg-bubble { color: #e2e8f0; font-weight: 500; font-size: 15px; line-height: 1.5; }
.ag-msg-ai .ag-msg-bubble { color: #94a3b8; font-size: 14.5px; line-height: 1.6; }
/* Typewriter cursor */
.ag-msg-ai .ag-msg-bubble::after {
  content: "▊";
  color: var(--ag-accent);
  animation: ag-blink-cursor 1s step-end infinite;
  margin-left: 2px;
  font-weight: 400;
}
@keyframes ag-blink-cursor { 0%,100%{opacity:1} 50%{opacity:0} }
.ag-hl { color: var(--ag-accent); font-weight: 500; }
.ag-think-line { color: #64748b; margin-bottom: 12px; display: flex; gap: 10px; opacity: 0; animation: ag-fade .5s forwards; }
.ag-th-agent { color: #e2a94f; }
.ag-think-ok { color: var(--ag-accent); }
.ag-think-line:nth-child(2) { animation-delay: .35s; }
.ag-think-line:nth-child(3) { animation-delay: .8s; }
.ag-think-line:nth-child(4) { animation-delay: 1.25s; }
.ag-think-line:nth-child(5) { animation-delay: 1.7s; }
.ag-think-line:nth-child(6) { animation-delay: 2.15s; }
.ag-think-line:nth-child(7) { animation-delay: 2.6s; }
@keyframes ag-fade { to { opacity: 1; } }

/* ── Clients ──────────────────────────────────────── */
.ag-clients { padding: 44px 0; border-top: 1px solid var(--ag-line); background: var(--ag-navy-tint); }
.ag-clients-label { font-size: 12px; letter-spacing: .1em; color: var(--ag-dim); text-align: center; margin-bottom: 22px; font-family: var(--font-mono); text-transform: uppercase; }
.ag-logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ag-chip { font-size: 14px; color: var(--ag-ink); border: 1px solid var(--ag-line-2); padding: 9px 18px; border-radius: 4px; background: var(--ag-bg); font-weight: 500; }

/* ── Fail comparison ──────────────────────────────── */
.ag-fail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.ag-fail-card { border-radius: 6px; padding: 28px; }
.ag-fail-bad { background: #fdf4f4; border: 1px solid #f5c2c2; }
.ag-fail-good { background: var(--ag-accent-soft); border: 1px solid rgba(79,123,94,0.25); }
.ag-fail-label { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; margin-bottom: 14px; display: block; }
.ag-fail-bad .ag-fail-label { color: #b33a3a; }
.ag-fail-good .ag-fail-label { color: var(--ag-accent); }
.ag-fail-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.ag-fail-card p { font-size: 14.5px; color: var(--ag-muted); }
.ag-fail-list { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; list-style: none; padding: 0; }
.ag-fail-list li { display: flex; gap: 10px; font-size: 14px; color: var(--ag-muted); }
.ag-fail-ic { flex-shrink: 0; margin-top: 1px; }
.ag-fail-bad .ag-fail-ic { color: #b33a3a; }
.ag-fail-good .ag-fail-ic { color: var(--ag-accent); }

/* ── Agent roster ─────────────────────────────────── */
.ag-roster { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 44px; }
.ag-agent { border: 1px solid var(--ag-line-2); border-radius: 6px; padding: 22px; background: var(--ag-bg); transition: .25s; position: relative; overflow: hidden; }
.ag-agent::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--ag-accent); opacity: 0; transition: .25s; }
.ag-agent:hover { border-color: var(--color-mid-navy); transform: translateY(-3px); box-shadow: 0 10px 36px -24px rgba(30,42,71,.2); }
.ag-agent:hover::before { opacity: 1; }
.ag-agent-role { font-family: var(--font-mono); font-size: 11px; color: var(--ag-dim); font-weight: 600; margin-bottom: 10px; letter-spacing: .06em; }
.ag-agent h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.ag-agent p { font-size: 13px; color: var(--ag-muted); margin: 0; }
/* Orchestrator pulse ring */
.ag-agent--orch { border-color: var(--ag-accent); }
.ag-agent--orch::after {
  content: "";
  position: absolute; top: 12px; right: 12px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ag-accent);
  box-shadow: 0 0 0 0 rgba(79,123,94,0.4);
  animation: ag-ring 2s ease-out infinite;
}
@keyframes ag-ring {
  0% { box-shadow: 0 0 0 0 rgba(79,123,94,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(79,123,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(79,123,94,0); }
}

/* ── Steps ────────────────────────────────────────── */
.ag-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 44px; }
.ag-step { border-top: 2px solid var(--ag-ink); padding: 18px 0 0; }
.ag-step-num { font-family: var(--font-mono); font-size: 12px; color: var(--ag-dim); margin-bottom: 12px; font-weight: 500; letter-spacing: .06em; }
.ag-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.ag-step p { color: var(--ag-muted); font-size: 14.5px; margin: 0; }

/* ── Packages ─────────────────────────────────────── */
.ag-packages { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 44px; }
.ag-pkg { border: 1px solid var(--ag-line-2); border-radius: 6px; padding: 30px; background: var(--ag-bg); display: flex; flex-direction: column; transition: .25s; }
.ag-pkg:hover { border-color: var(--color-mid-navy); box-shadow: 0 12px 40px -28px rgba(30,42,71,.25); }
.ag-pkg-featured { border-color: var(--ag-ink); border-width: 2px; }
.ag-pkg-badge { font-family: var(--font-mono); font-size: 11px; color: var(--ag-dim); background: var(--ag-navy-tint); border: 1px solid var(--ag-line-2); padding: 4px 11px; border-radius: 3px; display: inline-block; margin-bottom: 16px; font-weight: 500; }
.ag-pkg-featured .ag-pkg-badge { background: var(--ag-ink); color: #fff; border-color: var(--ag-ink); }
.ag-pkg h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.ag-pkg-price { font-size: 14px; color: var(--ag-muted); margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--ag-line); }
.ag-pkg-featured .ag-pkg-price { border-color: var(--ag-line-2); }
.ag-pkg-price strong { font-size: 24px; font-weight: 700; color: var(--ag-ink); }
.ag-pkg-feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; list-style: none; padding: 0; }
.ag-pkg-feats li { display: flex; gap: 10px; font-size: 14px; color: var(--ag-muted); }
.ag-ck { color: var(--ag-accent); flex-shrink: 0; font-weight: 700; }
.ag-pkg-cta { display: block; text-align: center; font-size: 14px; font-weight: 600; padding: 11px; border-radius: 4px; border: 1.5px solid var(--ag-ink); color: var(--ag-ink); transition: .2s; margin-top: auto; }
.ag-pkg-featured .ag-pkg-cta { background: var(--ag-accent); color: #fff; border-color: var(--ag-accent); }
.ag-pkg-cta:hover { background: var(--ag-ink); color: #fff; }
.ag-pkg-featured .ag-pkg-cta:hover { background: #3d6a4e; }

/* ── Proof rows ───────────────────────────────────── */
.ag-proof-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-top: 44px; }
.ag-proof-rev { direction: rtl; }
.ag-proof-rev > * { direction: ltr; }
.ag-proof-img { border: 1px solid var(--ag-line-2); border-radius: 6px; background: var(--ag-navy-tint); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; color: var(--ag-dim); position: relative; overflow: hidden; }
.ag-proof-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ag-proof-img span { color: var(--ag-dim); }
.ag-proof-meta { font-family: var(--font-mono); font-size: 12px; color: var(--ag-dim); margin-bottom: 12px; font-weight: 500; letter-spacing: .06em; }
.ag-proof-text h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.ag-proof-text p { color: var(--ag-muted); font-size: 15px; margin: 0; }
.ag-proof-stats { display: flex; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.ag-proof-stats b { display: block; color: var(--ag-ink); font-size: 22px; font-weight: 700; }
.ag-proof-stats small { font-family: var(--font-mono); font-size: 11px; color: var(--ag-dim); letter-spacing: .04em; }

/* ── Trust ────────────────────────────────────────── */
.ag-trust { background: var(--ag-navy-tint); border: 1px solid var(--ag-line-2); border-radius: 6px; padding: 42px; margin-top: 48px; display: grid; grid-template-columns: .85fr 1.3fr; gap: 44px; }
.ag-trust-badge { border: 1px solid var(--ag-line-2); border-radius: 6px; padding: 24px; background: var(--ag-bg); }
.ag-trust-verified { color: var(--ag-accent); display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 12px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .06em; }
.ag-trust-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--ag-line); font-size: 13.5px; color: var(--ag-muted); }
.ag-trust-row b { color: var(--ag-ink); font-weight: 600; }
.ag-trust-row:last-child { border: none; }
.ag-trust-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ag-tf-num { font-family: var(--font-mono); font-size: 11.5px; color: var(--ag-dim); font-weight: 600; margin-bottom: 6px; display: block; }
.ag-tf h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.ag-tf p { font-size: 13.5px; color: var(--ag-muted); margin: 0; }

/* ── Audit form / CTA — navy ─────────────────────── */
.ag-audit { background: var(--color-ink-navy); border-top: 1px solid var(--color-navy-700); padding: 88px 0; }
.ag-audit h2 { color: #ffffff; }
.ag-audit .ag-lead { color: #94a3b8; }
.ag-audit .ag-eyebrow { color: var(--ag-accent); }
.ag-audit-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.ag-audit-points { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.ag-ap { display: flex; gap: 14px; }
.ag-ap-n { font-family: var(--font-mono); font-size: 12px; color: var(--ag-accent); font-weight: 600; min-width: 24px; margin-top: 2px; }
.ag-ap p { font-size: 14.5px; color: #94a3b8; margin: 0; }
.ag-ap strong { display: block; color: #e2e8f0; font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.ag-form-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; padding: 32px; }
.ag-form-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 22px; color: #ffffff; }
.ag-field { margin-bottom: 16px; }
.ag-field label { display: block; font-size: 13.5px; font-weight: 600; color: #e2e8f0; margin-bottom: 6px; }
.ag-field input, .ag-field select, .ag-field textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 4px; font-size: 14.5px;
  font-family: var(--font-sans);
  color: #e2e8f0; background: rgba(255,255,255,0.04);
  transition: .2s; outline: none;
}
.ag-field input::placeholder, .ag-field textarea::placeholder { color: #475569; }
.ag-field input:focus, .ag-field select:focus, .ag-field textarea:focus { border-color: var(--ag-accent); }
.ag-field textarea { resize: vertical; min-height: 90px; }
.ag-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.ag-form-submit { width: 100%; padding: 14px; background: var(--ag-accent); color: #fff; border: none; border-radius: 4px; font-size: 15px; font-weight: 600; cursor: pointer; transition: .2s; font-family: var(--font-sans); margin-top: 6px; }
.ag-form-submit:hover { background: #3d6a4e; }
.ag-form-note { font-size: 12.5px; color: #64748b; text-align: center; margin-top: 12px; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .ag-roster { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 840px) {
  .ag-steps { grid-template-columns: 1fr; }
  .ag-packages { grid-template-columns: 1fr; }
  .ag-proof-row, .ag-proof-rev { grid-template-columns: 1fr; gap: 24px; }
  .ag-proof-rev { direction: ltr; }
  .ag-trust { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .ag-audit-inner { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .ag-fail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ag-demo-grid { grid-template-columns: 1fr; }
  .ag-demo-think { border-left: none; border-top: 1px solid var(--ag-demo-line); }
}
@media (max-width: 520px) {
  .ag-trust-feats { grid-template-columns: 1fr; }
  .ag-roster { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-think-line { opacity: 1; animation: none !important; }
  .ag-demo-wrap::after { animation: none !important; display: none; }
  .ag-msg-ai .ag-msg-bubble::after { animation: none !important; }
  .ag-agent--orch::after { animation: none !important; }
}


/* ==========================================================================
   27. Labs Blog Post Page (lb- namespace)
   ========================================================================== */

.lb {
  --lb-bg: #ffffff;
  --lb-soft: var(--color-warm-paper);
  --lb-soft-2: var(--color-warm-paper);
  --lb-ink: var(--color-ink-navy);
  --lb-body: #475569;
  --lb-muted: #64748b;
  --lb-dim: var(--color-mid-navy);
  --lb-line: rgba(30, 42, 71, 0.10);
  --lb-line-2: rgba(30, 42, 71, 0.18);
  --lb-accent: var(--color-signal-green);
  --lb-accent-soft: rgba(79, 123, 94, 0.08);
  --lb-demo-bg: #0d1117;
  --lb-demo-line: rgba(255,255,255,0.06);
  --lb-demo-green: var(--color-signal-green);
  --lb-navy-tint: rgba(30, 42, 71, 0.06);
  color: var(--lb-body);
}

.lb-wrap { max-width: 80rem; margin: 0 auto; padding: 0 var(--space-6); }
.lb h1,.lb h2,.lb h3,.lb h4 { color: var(--lb-ink); font-family: var(--font-heading); letter-spacing: 0.04em; }

/* Breadcrumb */
.lb-breadcrumb { padding: 100px 0 20px; font-size: 13px; color: var(--lb-dim); display: flex; align-items: center; gap: 8px; }
.lb-breadcrumb a { color: var(--lb-accent); }
.lb-breadcrumb a:hover { text-decoration: underline; }
.lb-breadcrumb .lb-sep { color: var(--lb-line-2); }

/* Article header */
.lb-art-header { padding: 12px 0 48px; border-bottom: 1px solid var(--lb-line); max-width: 800px; }
.lb-art-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.lb-art-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 500; padding: 4px 12px; border-radius: 3px; letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.lb-t-arch { background: #eef0ff; color: #3f4fc1; }
a.lb-t-arch:hover { background: #3f4fc1; color: #fff; }
.lb-t-announce { background: var(--lb-accent-soft); color: var(--lb-accent); }
a.lb-t-announce:hover { background: var(--lb-accent); color: #fff; }
.lb-t-genesis { background: var(--lb-accent); color: #fff; }
.lb-art-header h1 { font-size: clamp(28px,4.5vw,44px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; color: var(--lb-ink); margin-bottom: 18px; }
.lb-deck { font-size: 19px; color: var(--lb-muted); line-height: 1.6; font-style: italic; }
.lb-art-meta { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.lb-author { display: flex; align-items: center; gap: 12px; }
.lb-author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--lb-accent-soft); border: 2px solid var(--lb-line-2); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--lb-accent); }
.lb-author-name { font-size: 14.5px; font-weight: 600; color: var(--lb-ink); }
.lb-author-title { font-size: 12.5px; color: var(--lb-dim); }
.lb-meta-div { width: 1px; height: 32px; background: var(--lb-line); }
.lb-meta-item { font-size: 13px; color: var(--lb-dim); font-family: var(--font-mono); }
.lb-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--lb-accent); z-index: 100; transition: width .1s linear; width: 0%; }

/* Featured image hero */
.lb-featured-img { margin: 40px 0 0; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 30px -8px rgba(0,0,0,.12); max-width: 800px; }
.lb-featured-img__img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: cover; }

/* Layout */
.lb-art-layout { display: grid; grid-template-columns: 1fr 280px; gap: 56px; padding: 48px 0 88px; align-items: start; }

/* Sidebar */
.lb-sidebar { position: sticky; top: 88px; }
.lb-toc { border: 1px solid var(--lb-line); border-radius: 6px; padding: 22px; background: var(--lb-soft); margin-bottom: 20px; }
.lb-toc h4 { font-size: 12px; font-family: var(--font-mono); letter-spacing: .1em; color: var(--lb-dim); text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.lb-toc ol { list-style: none; display: flex; flex-direction: column; gap: 8px; counter-reset: toc; padding: 0; }
.lb-toc li { counter-increment: toc; display: flex; gap: 10px; align-items: flex-start; }
.lb-toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 10px; color: var(--lb-accent); min-width: 20px; margin-top: 3px; font-weight: 500; }
.lb-toc a { font-size: 13.5px; color: var(--lb-muted); line-height: 1.4; transition: .15s; }
.lb-toc a:hover, .lb-toc a.active { color: var(--lb-accent); }
.lb-sidebar-card { border: 1px solid var(--lb-line); border-radius: 6px; padding: 22px; background: var(--lb-bg); margin-bottom: 16px; }
.lb-sidebar-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.lb-sidebar-card p { font-size: 13px; color: var(--lb-muted); margin-bottom: 14px; line-height: 1.5; }
.lb-sidebar-card .lb-btn { display: block; text-align: center; font-size: 13px; font-weight: 600; padding: 10px; border-radius: 4px; background: var(--lb-accent); color: #fff; transition: .2s; }
.lb-sidebar-card .lb-btn:hover { background: #3d6a4e; }
.lb-related { border: 1px solid var(--lb-line); border-radius: 6px; padding: 22px; background: var(--lb-bg); }
.lb-related h4 { font-size: 12px; font-family: var(--font-mono); letter-spacing: .1em; color: var(--lb-dim); text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.lb-related-item { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--lb-line); }
.lb-related-item:last-child { border: none; padding-bottom: 0; }
.lb-related-item .lb-rtag { font-family: var(--font-mono); font-size: 10px; color: var(--lb-accent); font-weight: 600; letter-spacing: .06em; }
.lb-related-item a { font-size: 13.5px; color: var(--lb-ink); font-weight: 500; line-height: 1.35; }
.lb-related-item a:hover { color: var(--lb-accent); }

/* Article body */
.lb-art-body { max-width: 720px; }
.lb-art-body p { font-size: 17px; line-height: 1.75; color: var(--lb-body); margin-bottom: 24px; }
.lb-art-body h2 { font-size: clamp(22px,3vw,30px); font-weight: 700; color: var(--lb-ink); margin: 52px 0 18px; padding-top: 52px; border-top: 1px solid var(--lb-line); letter-spacing: -.02em; }
.lb-art-body h2:first-of-type { margin-top: 0; padding-top: 0; border: none; }
.lb-art-body h3 { font-size: 20px; font-weight: 600; color: var(--lb-ink); margin: 36px 0 14px; }
.lb-art-body h4 { font-size: 16px; font-weight: 600; margin: 28px 0 10px; font-family: var(--font-mono); letter-spacing: .04em; color: var(--lb-accent); }
.lb-art-body strong { font-weight: 600; color: var(--lb-ink); }
.lb-art-body em { font-style: italic; }
.lb-art-body ul, .lb-art-body ol { padding-left: 22px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.lb-art-body li { font-size: 17px; line-height: 1.7; color: var(--lb-body); }
.lb-art-body a { color: var(--lb-accent); text-decoration: underline; text-decoration-color: var(--lb-accent-soft); }
.lb-art-body a:hover { text-decoration-color: var(--lb-accent); }
.lb-art-body code { font-family: var(--font-mono); font-size: 14px; background: var(--lb-soft); padding: 2px 7px; border-radius: 5px; }

/* Callouts */
.lb-callout { border-left: 3px solid var(--lb-accent); background: var(--lb-accent-soft); border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 28px 0; }
.lb-callout.lb-warn { border-color: #d99a3a; background: #fef9ec; }
.lb-callout.lb-neutral { border-color: var(--lb-line-2); background: var(--lb-soft); }
.lb-callout p { margin: 0; font-size: 15.5px; }
.lb-callout .lb-cl-label { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; display: block; color: var(--lb-accent); }
.lb-callout.lb-warn .lb-cl-label { color: #9a6212; }
.lb-callout.lb-neutral .lb-cl-label { color: var(--lb-dim); }

/* Code blocks */
.lb-code-block { background: #0c1210; border-radius: 12px; overflow: hidden; margin: 28px 0; border: 1px solid var(--lb-demo-line); }
.lb-code-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: #080d0b; border-bottom: 1px solid var(--lb-demo-line); }
.lb-code-dot { width: 10px; height: 10px; border-radius: 50%; }
.lb-code-lang { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: #5a6a63; letter-spacing: .06em; }
.lb-code-body { padding: 22px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; color: #c8d8d0; overflow-x: auto; white-space: pre; }
.lb-code-body .cm { color: #5a7a68; }
.lb-code-body .ck { color: #86d9a8; }
.lb-code-body .cs { color: #f0c070; }
.lb-code-body .cn { color: #82b4ff; }
.lb-code-body .co { color: #46d39a; }

/* Diagrams */
.lb-diagram { background: var(--lb-soft); border: 1px solid var(--lb-line); border-radius: 14px; padding: 28px; margin: 32px 0; text-align: center; }
.lb-diagram-title { font-family: var(--font-mono); font-size: 11px; color: var(--lb-dim); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.lb-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.lb-flow-node { background: var(--lb-bg); border: 1.5px solid var(--lb-line-2); border-radius: 10px; padding: 10px 16px; font-size: 13.5px; font-weight: 600; color: var(--lb-ink); white-space: nowrap; }
.lb-flow-node.lb-fn-accent { border-color: var(--lb-accent); background: var(--lb-accent-soft); color: var(--lb-accent); }
.lb-flow-node.lb-fn-dark { background: var(--lb-ink); border-color: var(--lb-ink); color: #fff; }
.lb-flow-arrow { color: var(--lb-dim); font-size: 18px; flex-shrink: 0; }
.lb-flow-group { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.lb-flow-group-label { font-family: var(--font-mono); font-size: 10px; color: var(--lb-dim); letter-spacing: .08em; text-transform: uppercase; }

/* Demo inset */
.lb-demo-inset { background: var(--lb-demo-bg); border-radius: 14px; overflow: hidden; border: 1px solid var(--lb-demo-line); margin: 32px 0; box-shadow: 0 20px 60px -30px rgba(15,110,86,.4); }
.lb-demo-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #080d0b; border-bottom: 1px solid var(--lb-demo-line); font-family: var(--font-mono); font-size: 12px; color: #6b7a74; }
.lb-demo-dot { width: 10px; height: 10px; border-radius: 50%; }
.lb-demo-bar .lb-live { margin-left: auto; color: var(--lb-demo-green); display: flex; align-items: center; gap: 6px; }
.lb-demo-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--lb-demo-green); animation: sc-blink 1.4s infinite; }
.lb-demo-grid { display: grid; grid-template-columns: 1.4fr 1fr; }
.lb-demo-chat { padding: 22px; }
.lb-demo-think { padding: 22px; background: #080d0b; font-family: var(--font-mono); font-size: 12px; border-left: 1px solid var(--lb-demo-line); }
.lb-demo-think .lb-th-label { color: #5a6a63; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.lb-dmsg { margin-bottom: 18px; }
.lb-dmsg .lb-who { font-family: var(--font-mono); font-size: 11px; color: #5a6a63; margin-bottom: 6px; letter-spacing: .08em; }
.lb-dmsg-user .lb-bubble { color: #eaf1ee; font-weight: 500; font-size: 14.5px; line-height: 1.5; }
.lb-dmsg-ai .lb-bubble { color: #9fb0a8; font-size: 14px; line-height: 1.6; }
.lb-bubble .lb-hl { color: var(--lb-demo-green); font-weight: 500; }
.lb-think-line { color: #859590; margin-bottom: 10px; display: flex; gap: 9px; opacity: 0; animation: ag-fade .5s forwards; }
.lb-think-line .lb-ag { color: #d99a3a; }
.lb-think-line:nth-child(2) { animation-delay: .3s; }
.lb-think-line:nth-child(3) { animation-delay: .75s; }
.lb-think-line:nth-child(4) { animation-delay: 1.2s; }
.lb-think-line:nth-child(5) { animation-delay: 1.65s; }
.lb-think-line:nth-child(6) { animation-delay: 2.1s; }
.lb-think-line:nth-child(7) { animation-delay: 2.55s; }
.lb-think-line .lb-ok { color: var(--lb-demo-green); }

/* Stat bar */
.lb-stat-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--lb-line); border: 1px solid var(--lb-line); border-radius: 12px; overflow: hidden; margin: 32px 0; }
.lb-stat-cell { background: var(--lb-soft); padding: 18px 20px; text-align: center; }
.lb-stat-cell b { display: block; font-size: 22px; font-weight: 700; color: var(--lb-accent); margin-bottom: 4px; }
.lb-stat-cell small { font-family: var(--font-mono); font-size: 11px; color: var(--lb-dim); letter-spacing: .04em; }

/* Agent table */
.lb-agent-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 24px 0; }
.lb-agent-table th { text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--lb-dim); text-transform: uppercase; padding: 10px 14px; border-bottom: 2px solid var(--lb-line); font-weight: 600; }
.lb-agent-table td { padding: 14px; border-bottom: 1px solid var(--lb-line); vertical-align: top; }
.lb-agent-table tr:last-child td { border: none; }
.lb-agent-table tr:hover td { background: var(--lb-soft); }
.lb-agent-role { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--lb-accent); letter-spacing: .04em; }

/* CTA bar */
.lb-art-cta { background: var(--lb-ink); border-radius: 16px; padding: 36px 40px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-top: 56px; }
.lb-art-cta h3 { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.lb-art-cta p { font-size: 14px; color: #9fb0a8; margin: 0; }
.lb-art-cta .lb-btn { font-size: 14px; font-weight: 600; padding: 12px 22px; border-radius: 9px; background: #46d39a; color: #06140d; white-space: nowrap; flex-shrink: 0; transition: .2s; }
.lb-art-cta .lb-btn:hover { background: #5fe8ad; }

/* Responsive */
@media (max-width: 960px) {
  .lb-art-layout { grid-template-columns: 1fr; gap: 40px; }
  .lb-sidebar { position: static; border-top: 1px solid var(--lb-line); padding-top: 32px; }
}
@media (max-width: 680px) {
  .lb-demo-grid { grid-template-columns: 1fr; }
  .lb-demo-think { border-left: none; border-top: 1px solid var(--lb-demo-line); }
}
@media (max-width: 640px) {
  .lb-stat-bar { grid-template-columns: 1fr 1fr; }
  .lb-art-cta { grid-template-columns: 1fr; gap: 18px; padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .lb-think-line { opacity: 1; animation: none !important; }
}

/* Labs: WordPress editor content inside lb-art-body
   Ensures content written in the WP editor inherits the labs design */
.lb-art-body .wp-block-heading { color: var(--lb-ink); letter-spacing: -.02em; }
.lb-art-body h2.wp-block-heading { font-size: clamp(22px,3vw,30px); font-weight: 700; margin: 52px 0 18px; padding-top: 52px; border-top: 1px solid var(--lb-line); }
.lb-art-body h2.wp-block-heading:first-of-type { margin-top: 0; padding-top: 0; border: none; }
.lb-art-body h3.wp-block-heading { font-size: 20px; font-weight: 600; margin: 36px 0 14px; }
.lb-art-body h4.wp-block-heading { font-size: 16px; font-weight: 600; margin: 28px 0 10px; font-family: var(--font-mono); color: var(--lb-accent); letter-spacing: .04em; }
.lb-art-body .wp-block-paragraph { font-size: 17px; line-height: 1.75; color: var(--lb-body); margin-bottom: 24px; }
.lb-art-body .wp-block-list { padding-left: 22px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.lb-art-body .wp-block-list li { font-size: 17px; line-height: 1.7; color: var(--lb-body); }
.lb-art-body .wp-block-code { background: #0c1210; border-radius: 12px; padding: 22px; margin: 28px 0; border: 1px solid var(--lb-demo-line); overflow-x: auto; }
.lb-art-body .wp-block-code code { font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; color: #c8d8d0; background: none; padding: 0; }
.lb-art-body .wp-block-image { margin: 32px 0; border-radius: 12px; overflow: hidden; }
.lb-art-body .wp-block-image img { width: 100%; height: auto; display: block; }
.lb-art-body .wp-block-image figcaption { font-size: 13px; color: var(--lb-dim); text-align: center; margin-top: 10px; font-family: var(--font-mono); }
.lb-art-body .wp-block-quote { border-left: 3px solid var(--lb-accent); background: var(--lb-accent-soft); border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 28px 0; }
.lb-art-body .wp-block-quote p { font-size: 15.5px; margin: 0; }
.lb-art-body .wp-block-quote cite { font-family: var(--font-mono); font-size: 12px; color: var(--lb-dim); margin-top: 10px; display: block; }
.lb-art-body .wp-block-separator { border: none; border-top: 1px solid var(--lb-line); margin: 48px 0; }
.lb-art-body .wp-block-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 24px 0; }
.lb-art-body .wp-block-table th { text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--lb-dim); text-transform: uppercase; padding: 10px 14px; border-bottom: 2px solid var(--lb-line); font-weight: 600; }
.lb-art-body .wp-block-table td { padding: 14px; border-bottom: 1px solid var(--lb-line); vertical-align: top; }
.lb-art-body .wp-block-table tr:hover td { background: var(--lb-soft); }
.lb-art-body .wp-block-preformatted { background: #0c1210; border-radius: 12px; padding: 22px; margin: 28px 0; border: 1px solid var(--lb-demo-line); font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; color: #c8d8d0; overflow-x: auto; }
.lb-art-body .has-text-align-center { text-align: center; }
.lb-art-body figure.wp-block-embed { margin: 32px 0; }

/* ==========================================================================
   28a. Blog Article Page (ba- namespace)
   ========================================================================== */

.ba {
  --ba-bg: #ffffff;
  --ba-soft: #f8fafc;
  --ba-ink: #0f172a;
  --ba-body: #334155;
  --ba-muted: #64748b;
  --ba-dim: #94a3b8;
  --ba-line: #e2e8f0;
  --ba-accent: #2F5E48;
  --ba-accent-soft: #ecfdf5;
  --ba-highlight: #10b981;
  color: var(--ba-body);
}

.ba-wrap { max-width: 80rem; margin: 0 auto; padding: 0 var(--space-6, 1.5rem); }
.ba h1, .ba h2, .ba h3, .ba h4 { color: var(--ba-ink); letter-spacing: -.02em; }

/* Progress bar */
.ba-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--ba-accent); z-index: 100; transition: width .1s linear; width: 0%; }

/* Breadcrumb */
.ba-breadcrumb { padding: 100px 0 20px; font-size: 13px; color: var(--ba-dim); display: flex; align-items: center; gap: 8px; }
.ba-breadcrumb a { color: var(--ba-accent); }
.ba-breadcrumb a:hover { text-decoration: underline; }
.ba-sep { color: var(--ba-line); }

/* Article header */
.ba-header { padding: 12px 0 48px; border-bottom: 1px solid var(--ba-line); max-width: 800px; }
.ba-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.ba-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 500; padding: 4px 12px; border-radius: 12px; letter-spacing: .04em; background: var(--ba-accent-soft); color: var(--ba-accent); text-decoration: none; transition: background .2s, color .2s; }
a.ba-tag:hover { background: var(--ba-accent); color: #fff; }
.ba-tag--alt { background: #f0f9ff; color: #0369a1; }
a.ba-tag--alt:hover { background: #0369a1; color: #fff; }
.ba-header h1 { font-size: clamp(28px,4.5vw,44px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; color: var(--ba-ink); margin-bottom: 18px; }
.ba-deck { font-size: 19px; color: var(--ba-muted); line-height: 1.6; font-style: italic; }
.ba-meta { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.ba-author { display: flex; align-items: center; gap: 12px; }
.ba-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ba-accent-soft); border: 2px solid var(--ba-line); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--ba-accent); }
.ba-author-name { font-size: 14.5px; font-weight: 600; color: var(--ba-ink); }
.ba-author-title { font-size: 12.5px; color: var(--ba-dim); }
.ba-meta-div { width: 1px; height: 32px; background: var(--ba-line); }
.ba-meta-item { font-size: 13px; color: var(--ba-dim); font-family: var(--font-mono); }

/* Featured image */
.ba-featured-img { margin: 40px 0 0; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 30px -8px rgba(0,0,0,.12); }
.ba-featured-img__img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: cover; }

/* Two-column layout */
.ba-layout { display: grid; grid-template-columns: 1fr 280px; gap: 56px; padding: 48px 0 88px; align-items: start; }

/* Article body */
.ba-body { max-width: 720px; }
.ba-body p, .ba-body .wp-block-paragraph { font-size: 17px; line-height: 1.75; color: var(--ba-body); margin-bottom: 24px; }
.ba-body h2, .ba-body h2.wp-block-heading { font-size: clamp(22px,3vw,30px); font-weight: 700; color: var(--ba-ink); margin: 52px 0 18px; padding-top: 52px; border-top: 1px solid var(--ba-line); letter-spacing: -.02em; }
.ba-body h2:first-of-type, .ba-body h2.wp-block-heading:first-of-type { margin-top: 0; padding-top: 0; border: none; }
.ba-body h3, .ba-body h3.wp-block-heading { font-size: 20px; font-weight: 600; color: var(--ba-ink); margin: 36px 0 14px; }
.ba-body h4, .ba-body h4.wp-block-heading { font-size: 16px; font-weight: 600; margin: 28px 0 10px; font-family: var(--font-mono); letter-spacing: .04em; color: var(--ba-accent); }
.ba-body strong { font-weight: 600; color: var(--ba-ink); }
.ba-body em { font-style: italic; }
.ba-body ul, .ba-body ol, .ba-body .wp-block-list { padding-left: 22px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.ba-body li { font-size: 17px; line-height: 1.7; color: var(--ba-body); }
.ba-body a { color: var(--ba-accent); text-decoration: underline; text-underline-offset: 3px; }
.ba-body a:hover { color: var(--ba-highlight); }
.ba-body .wp-block-code { background: #0f172a; border-radius: 12px; padding: 22px; margin: 28px 0; border: 1px solid #1e293b; overflow-x: auto; }
.ba-body .wp-block-code code { font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; color: #cbd5e1; background: none; padding: 0; }
.ba-body .wp-block-image { margin: 32px 0; border-radius: 12px; overflow: hidden; }
.ba-body .wp-block-image img { width: 100%; height: auto; display: block; }
.ba-body .wp-block-image figcaption { font-size: 13px; color: var(--ba-dim); text-align: center; margin-top: 10px; font-family: var(--font-mono); }
.ba-body .wp-block-quote { border-left: 3px solid var(--ba-accent); background: var(--ba-accent-soft); border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 28px 0; }
.ba-body .wp-block-quote p { font-size: 15.5px; margin: 0; }
.ba-body .wp-block-quote cite { font-family: var(--font-mono); font-size: 12px; color: var(--ba-dim); margin-top: 10px; display: block; }
.ba-body .wp-block-separator { border: none; border-top: 1px solid var(--ba-line); margin: 48px 0; }
.ba-body .wp-block-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 24px 0; }
.ba-body .wp-block-table th { text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--ba-dim); text-transform: uppercase; padding: 10px 14px; border-bottom: 2px solid var(--ba-line); font-weight: 600; }
.ba-body .wp-block-table td { padding: 14px; border-bottom: 1px solid var(--ba-line); vertical-align: top; }
.ba-body .wp-block-table tr:hover td { background: var(--ba-soft); }
.ba-body .wp-block-preformatted { background: #0f172a; border-radius: 12px; padding: 22px; margin: 28px 0; border: 1px solid #1e293b; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; color: #cbd5e1; overflow-x: auto; }

/* CTA */
.ba-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 56px; padding: 40px 44px; border-radius: 18px; background: linear-gradient(135deg, #0f3d2e 0%, #145740 40%, #1a6b50 100%); border: 1px solid rgba(16,185,129,.25); position: relative; overflow: hidden; }
.ba-cta::before { content: ''; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%; background: radial-gradient(circle, rgba(16,185,129,.12) 0%, transparent 70%); pointer-events: none; }
.ba-cta h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; color: #fff; position: relative; }
.ba-cta p { font-size: 14.5px; color: rgba(255,255,255,.7); margin: 0; line-height: 1.6; position: relative; }
.ba-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; padding: 14px 28px; border-radius: 12px; background: linear-gradient(135deg, #10b981, #06d6a0); color: #fff !important; white-space: nowrap; transition: transform .25s, box-shadow .25s; text-decoration: none !important; box-shadow: 0 4px 20px rgba(16,185,129,.35); flex-shrink: 0; position: relative; letter-spacing: .01em; }
.ba-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(16,185,129,.45); }
.ba-btn:active { transform: translateY(0); }

/* Sidebar */
.ba-sidebar { position: sticky; top: 88px; }
.ba-sidebar-card { border: 1px solid var(--ba-line); border-radius: 14px; padding: 22px; background: var(--ba-bg); margin-bottom: 16px; }
.ba-sidebar-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.ba-sidebar-card p { font-size: 13px; color: var(--ba-muted); margin-bottom: 14px; line-height: 1.5; }
.ba-sidebar-card .ba-btn { display: block; text-align: center; }
.ba-cap-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ba-cap-list li a { font-size: 13.5px; color: var(--ba-body); transition: .15s; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.ba-cap-list li a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ba-highlight); flex-shrink: 0; }
.ba-cap-list li a:hover { color: var(--ba-accent); }
.ba-related { border: 1px solid var(--ba-line); border-radius: 14px; padding: 22px; background: var(--ba-bg); }
.ba-related h4 { font-size: 12px; font-family: var(--font-mono); letter-spacing: .1em; color: var(--ba-dim); text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.ba-related-item { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--ba-line); }
.ba-related-item:last-child { border: none; padding-bottom: 0; }
.ba-rtag { font-family: var(--font-mono); font-size: 10px; color: var(--ba-accent); font-weight: 600; letter-spacing: .06em; }
.ba-related-item a { font-size: 13.5px; color: var(--ba-ink); font-weight: 500; line-height: 1.35; text-decoration: none; }
.ba-related-item a:hover { color: var(--ba-accent); }

/* Responsive */
@media (max-width: 900px) {
  .ba-layout { grid-template-columns: 1fr; gap: 40px; }
  .ba-sidebar { position: static; }
  .ba-cta { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   28c. Contact Page (ct- namespace)
   ========================================================================== */

.ct-page { padding-top: 80px; }
.ct-hero { position: relative; padding: 120px 0 64px; background: var(--color-warm-paper); border-bottom: 1px solid rgba(30,42,71,0.10); overflow: hidden; }
.ct-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.ct-wrap { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }

/* Hero content */
.ct-hero-content { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.ct-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .15em; color: var(--color-mid-navy); margin-bottom: 20px; }
.ct-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--color-signal-green); animation: sc-blink 1.4s infinite; }
.ct-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; color: var(--color-ink-navy); line-height: 1.1; font-family: var(--font-heading); letter-spacing: 0.04em; margin-bottom: 16px; }
.ct-grad { color: var(--color-signal-green); }
.ct-lead { font-size: 18px; color: #64748b; line-height: 1.7; max-width: 600px; margin: 0 auto; }

/* Two-column grid */
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; align-items: start; }

/* Left column */
.ct-left { display: flex; flex-direction: column; gap: 16px; }

/* Form card */
.ct-form-card { background: #fff; padding: 36px; border-radius: 6px; border: 1px solid rgba(30,42,71,0.12); box-shadow: 0 20px 50px -12px rgba(30,42,71,.08); }
.ct-form { display: flex; flex-direction: column; gap: 20px; }
.ct-form-hidden { position: absolute; left: -9999px; visibility: hidden; }
.ct-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: flex; flex-direction: column; gap: 6px; }
.ct-field label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--color-mid-navy); letter-spacing: .08em; text-transform: uppercase; }
.ct-field input, .ct-field textarea { width: 100%; background: rgba(30,42,71,0.03); border: 1px solid rgba(30,42,71,0.12); border-radius: 4px; padding: 12px 16px; font-family: var(--font-sans, 'Inter', sans-serif); font-size: 15px; color: var(--color-ink-navy); transition: border-color .2s; box-sizing: border-box; }
.ct-field input:focus, .ct-field textarea:focus { outline: none; border-color: var(--color-signal-green); }
.ct-field textarea { resize: none; }
.ct-submit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border: none; border-radius: 4px; background: var(--color-signal-green); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .2s; font-family: inherit; }
.ct-submit:hover { background: #3d6a4e; }
.ct-submit svg { transition: transform .2s; }
.ct-submit:hover svg { transform: translateX(4px); }
.ct-status { display: none; text-align: center; padding: 12px; border-radius: 4px; font-family: var(--font-mono); font-size: 13px; }

/* Calendar bar */
.ct-calendar-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; padding: 20px 24px; border-radius: 6px; border: 1px solid rgba(30,42,71,0.12); box-shadow: 0 10px 30px -8px rgba(30,42,71,.06); }
.ct-calendar-bar h3 { font-size: 14px; font-weight: 700; color: var(--color-ink-navy); margin-bottom: 2px; font-family: var(--font-heading); letter-spacing: 0.02em; }
.ct-calendar-bar p { font-size: 12px; color: #64748b; margin: 0; }
.ct-cal-btn { display: inline-block; padding: 10px 20px; background: var(--color-ink-navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 4px; white-space: nowrap; transition: background .2s; text-decoration: none; }
.ct-cal-btn:hover { background: #2d3f65; }

/* Right column */
.ct-right { display: flex; flex-direction: column; gap: 16px; }

/* Corporate info */
.ct-info-card { background: #fff; padding: 32px; border-radius: 6px; border: 1px solid rgba(30,42,71,0.12); box-shadow: 0 20px 50px -12px rgba(30,42,71,.08); }
.ct-info-badge { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--color-mid-navy); display: block; margin-bottom: 16px; }
.ct-info-card h3 { font-size: 22px; font-weight: 700; color: var(--color-ink-navy); margin-bottom: 24px; font-family: var(--font-heading); letter-spacing: 0.04em; }
.ct-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-info-item { display: flex; flex-direction: column; gap: 2px; }
.ct-info-full { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(30,42,71,0.10); }
.ct-info-label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; color: var(--color-mid-navy); letter-spacing: .08em; text-transform: uppercase; }
.ct-info-value { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--color-ink-navy); margin: 0; }
.ct-info-dark { color: #334155; font-weight: 500; }

/* Map */
.ct-map { border-radius: 6px; overflow: hidden; border: 1px solid rgba(30,42,71,0.12); box-shadow: 0 10px 30px -8px rgba(30,42,71,.06); height: 240px; filter: grayscale(1) contrast(1.1); opacity: .8; transition: filter .5s, opacity .5s; }
.ct-map:hover { filter: grayscale(0); opacity: 1; }
.ct-map iframe { display: block; }

/* Responsive */
@media (max-width: 900px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-calendar-bar { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   28d. Booking Page (bk- namespace)
   ========================================================================== */

.bk-page { padding-top: 80px; }
.bk-hero { position: relative; padding: 80px 0 64px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; overflow: hidden; }
.bk-hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(16,185,129,.04) 0%, transparent 60%); pointer-events: none; }
.bk-wrap { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }

/* Hero */
.bk-hero-content { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.bk-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .15em; color: #0f6e56; margin-bottom: 20px; }
.bk-pulse { width: 8px; height: 8px; border-radius: 50%; background: #10b981; animation: sc-blink 1.4s infinite; }
.bk-hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; color: #0f172a; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 16px; }
.bk-grad { background: linear-gradient(135deg, #10b981, #06b6d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bk-lead { font-size: 18px; color: #64748b; line-height: 1.7; max-width: 600px; margin: 0 auto; }

/* Widget outer (glow effect) */
.bk-widget-outer { position: relative; max-width: 1000px; margin: 0 auto; }
.bk-glow { position: absolute; inset: -4px; background: linear-gradient(135deg, rgba(16,185,129,.1), rgba(6,182,212,.1)); border-radius: 28px; filter: blur(8px); opacity: .5; transition: opacity .6s; }
.bk-widget-outer:hover .bk-glow { opacity: 1; }
.bk-widget { position: relative; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 28px; box-shadow: 0 20px 60px -15px rgba(0,0,0,.08); }

/* Window dots */
.bk-dots { display: flex; gap: 6px; margin-bottom: 20px; }
.bk-dot { width: 8px; height: 8px; border-radius: 50%; }
.bk-dot--red { background: #ef4444; }
.bk-dot--amber { background: #f59e0b; }
.bk-dot--green { background: #10b981; }

/* Calendar area */
.bk-cal-area { padding-top: 4px; }
.bk-hidden { display: none !important; }

/* Step 1: calendar + time */
.bk-step1-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bk-cal-panel, .bk-time-panel { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 22px; }

/* Calendar header */
.bk-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.bk-nav-btn { padding: 6px; border: none; background: transparent; border-radius: 6px; color: #64748b; cursor: pointer; transition: .15s; display: flex; align-items: center; }
.bk-nav-btn:hover { background: #e2e8f0; color: #0f172a; }
.bk-month-title { font-size: 16px; font-weight: 700; color: #0f172a; font-family: var(--font-mono); }

/* Weekday headers */
.bk-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; font-family: var(--font-mono); font-size: 11px; color: #94a3b8; margin-bottom: 6px; font-weight: 500; }

/* Day grid */
.bk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }

/* Time panel */
.bk-time-title { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid #e2e8f0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.bk-slots-empty { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; min-height: 160px; color: #94a3b8; font-size: 13px; font-style: italic; text-align: center; padding: 20px; }

/* Step 2: form */
.bk-step2-header { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid #e2e8f0; }
.bk-back-btn { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border: none; background: transparent; border-radius: 6px; color: #64748b; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: .15s; }
.bk-back-btn:hover { background: #f1f5f9; color: #0f172a; }
.bk-selected-info { border-left: 1px solid #e2e8f0; padding-left: 16px; }
.bk-selected-label { display: block; font-family: var(--font-mono); font-size: 10px; color: #94a3b8; letter-spacing: .1em; text-transform: uppercase; }
.bk-selected-val { font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: #0f6e56; }

/* Form */
.bk-form { display: flex; flex-direction: column; gap: 20px; }
.bk-form-hidden { position: absolute; left: -9999px; visibility: hidden; }
.bk-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bk-field { display: flex; flex-direction: column; gap: 6px; }
.bk-field label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: #0f6e56; letter-spacing: .08em; text-transform: uppercase; }
.bk-field input, .bk-field textarea, .bk-field select { width: 100%; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px 16px; font-family: var(--font-sans, 'Inter', sans-serif); font-size: 15px; color: #0f172a; transition: border-color .2s; box-sizing: border-box; }
.bk-field input:focus, .bk-field textarea:focus, .bk-field select:focus { outline: none; border-color: #10b981; }
.bk-field textarea { resize: none; }
.bk-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.bk-submit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 24px; border: none; border-radius: 8px; background: #2F5E48; color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; transition: background .2s; font-family: inherit; margin-top: 8px; }
.bk-submit:hover { background: #234e3a; }
.bk-submit svg { transition: transform .2s; }
.bk-submit:hover svg { transform: translateX(4px); }
.bk-status { display: none; text-align: center; padding: 12px; border-radius: 8px; font-family: var(--font-mono); font-size: 13px; }

/* Responsive */
@media (max-width: 768px) {
  .bk-step1-grid { grid-template-columns: 1fr; }
  .bk-form-row { grid-template-columns: 1fr; }
  .bk-widget { padding: 18px; }
}

/* Calendar day cells (JS-generated) */
.bk-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 14px; transition: .15s; position: relative; font-weight: 500; }
.bk-day--disabled { color: #cbd5e1; cursor: not-allowed; background: #f8fafc; }
.bk-day--active { color: #334155; cursor: pointer; }
.bk-day--active:hover { background: #ecfdf5; color: #0f6e56; }
.bk-day--selected { background: #10b981; color: #fff; font-weight: 700; box-shadow: 0 0 10px rgba(16,185,129,.3); }

/* Time slot buttons (JS-generated) */
.bk-slot { padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; color: #334155; font-family: var(--font-mono); font-size: 14px; font-weight: 500; letter-spacing: .08em; cursor: pointer; transition: .15s; }
.bk-slot:hover { border-color: #10b981; color: #0f6e56; background: #ecfdf5; }
.bk-slot--booked { background: #f8fafc; border-color: #fecaca; color: #94a3b8; cursor: not-allowed; text-decoration: line-through; }
.bk-slots-loading { animation: sc-blink 1.4s infinite; }

/* ==========================================================================
   28a. Booking Edit Page (bke- namespace)
   ========================================================================== */

/* Loading dots animation */
.bke-loader { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.bke-loader span { width: 10px; height: 10px; border-radius: 50%; background: #10b981; animation: bke-bounce .6s infinite alternate; }
.bke-loader span:nth-child(2) { animation-delay: .2s; }
.bke-loader span:nth-child(3) { animation-delay: .4s; }
@keyframes bke-bounce { from { opacity: .3; transform: translateY(0); } to { opacity: 1; transform: translateY(-8px); } }

/* Summary card */
.bke-summary { max-width: 1000px; margin: 0 auto 40px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px 28px; box-shadow: 0 4px 24px -8px rgba(0,0,0,.06); }
.bke-summary-title { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: #94a3b8; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #e2e8f0; }
.bke-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.bke-summary-row { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 8px; }
.bke-summary-row--highlight { background: rgba(16,185,129,.06); }
.bke-summary-label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; }
.bke-summary-value { font-size: 15px; font-weight: 600; color: #0f172a; }
.bke-summary-row--highlight .bke-summary-value { color: #0f6e56; }
@media (max-width: 640px) { .bke-summary-grid { grid-template-columns: 1fr; } }

/* Current slot highlight (amber) */
.bk-day--current { position: relative; }
.bk-day--current::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: #f59e0b; }
.bk-slot--current { border-color: #fbbf24 !important; background: #fffbeb !important; color: #92400e !important; cursor: pointer; font-weight: 600; }
.bk-slot--current:hover { border-color: #f59e0b !important; background: #fef3c7 !important; }

/* Spin animation for loading button */
.bke-spin { animation: bke-spin-anim .8s linear infinite; }
@keyframes bke-spin-anim { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ==========================================================================
   28e. Privacy Policy Page (pp- namespace, inside .lb)
   ========================================================================== */

/* Hero */
.pp-hero { padding: 120px 0 56px; border-bottom: 1px solid var(--lb-line); }
.pp-hero-inner { max-width: 720px; }
.pp-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--lb-dim); text-transform: uppercase; margin-bottom: 16px; display: block; font-weight: 500; }
.pp-hero h1 { font-size: clamp(28px, 4.5vw, 42px); font-weight: 700; line-height: 1.12; color: var(--lb-ink); margin-bottom: 24px; }
.pp-lead { font-size: 17px; color: var(--lb-muted); line-height: 1.7; max-width: 680px; }

/* Body */
.pp-body { max-width: 720px; padding: 0 0 88px; }

/* Sections */
.pp-section { padding: 44px 0; border-bottom: 1px solid var(--lb-line); }
.pp-section:last-child { border-bottom: none; }
.pp-section h2 { font-size: 20px; font-weight: 700; color: var(--lb-ink); margin-bottom: 18px; }
.pp-section p { font-size: 16px; color: var(--lb-body); line-height: 1.75; margin-bottom: 16px; }
.pp-section p:last-child { margin-bottom: 0; }
.pp-section ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.pp-section li { font-size: 15.5px; color: var(--lb-body); line-height: 1.7; padding-left: 20px; position: relative; }
.pp-section li::before { content: "■"; position: absolute; left: 0; top: 0; color: var(--lb-ink); font-size: 8px; line-height: 1.7; margin-top: 5px; }
.pp-section li strong { color: var(--lb-ink); font-weight: 600; }

/* Contact card */
.pp-contact-card { background: var(--lb-navy-tint, rgba(30,42,71,0.04)); border: 1px solid var(--lb-line-2); border-radius: 6px; padding: 24px; margin-top: 24px; display: flex; flex-direction: column; gap: 0; }
.pp-contact-row { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--lb-line); align-items: baseline; }
.pp-contact-row:last-child { border-bottom: none; }
.pp-contact-label { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lb-dim); min-width: 80px; flex-shrink: 0; }
.pp-contact-value { font-size: 14px; font-weight: 500; color: var(--lb-ink); }

/* About — facts table */
.abt-facts-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.abt-facts-table td { padding: 12px 0; border-bottom: 1px solid var(--lb-line); font-size: 14px; color: var(--lb-body); vertical-align: top; line-height: 1.5; }
.abt-facts-table tr:last-child td { border-bottom: none; }
.abt-facts-label { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lb-dim); width: 220px; padding-right: 24px; }
.abt-facts-table a { color: var(--color-signal-green); text-decoration: none; font-weight: 500; }
.abt-facts-table a:hover { text-decoration: underline; }
.pp-section a { color: var(--color-signal-green); text-decoration: none; }
.pp-section a:hover { text-decoration: underline; }

/* ==========================================================================
   28b. Labs Archive Page (lba- namespace)
   ========================================================================== */

/* Hero */
.lba-hero { padding: 120px 0 56px; border-bottom: 1px solid var(--lb-line); position: relative; }
.lba-hero-inner { max-width: 720px; }
.lba-hero-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .15em; color: var(--lb-dim); margin-bottom: 20px; }
.lba-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lb-accent); animation: sc-blink 1.4s infinite; }
.lba-hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 700; color: var(--lb-ink); line-height: 1.05; margin-bottom: 16px; }
.lba-grad { color: var(--lb-accent); }
.lba-subtitle { font-size: clamp(18px, 2.5vw, 24px); font-weight: 500; color: var(--lb-ink); margin-bottom: 16px; font-family: var(--font-heading); letter-spacing: 0.04em; }
.lba-lead { font-size: 17px; color: var(--lb-muted); line-height: 1.7; border-left: 2px solid var(--lb-accent); padding-left: 20px; max-width: 640px; }
.lba-tax-breadcrumb { margin-bottom: 20px; }
.lba-tax-breadcrumb a { font-family: var(--font-mono); font-size: 13px; color: var(--lb-accent); text-decoration: none; transition: color .2s; }
.lba-tax-breadcrumb a:hover { color: var(--lb-ink); text-decoration: underline; }

/* Grid section */
.lba-grid-section { padding: 48px 0 88px; }
.lba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 768px) { .lba-grid { grid-template-columns: 1fr; } }

/* Cards */
.lba-card { position: relative; background: var(--lb-navy-tint, rgba(30,42,71,0.04)); border: 1px solid var(--lb-line-2); border-radius: 6px; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.lba-card-tag-link { position: absolute; top: 28px; left: 28px; z-index: 2; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #fff; background: var(--lb-ink); padding: 4px 10px; border-radius: 3px; text-decoration: none; text-transform: uppercase; transition: background .2s; }
.lba-card-tag-link:hover { background: var(--lb-accent); }
.lba-card:has(.lba-card-tag-link) .lba-card-tag { visibility: hidden; }
.lba-card:has(.lba-card-thumb) .lba-card-tag-link { top: 228px; }
.lba-card:hover { border-color: var(--color-mid-navy); box-shadow: 0 12px 40px -12px rgba(30,42,71,.15); transform: translateY(-2px); }
.lba-card-thumb { margin: -28px -28px 0 -28px; overflow: hidden; }
.lba-card-thumb + .lba-card-top { margin-top: 20px; }
.lba-card-img { display: block; width: 100%; height: 200px; object-fit: cover; transition: transform .35s ease; }
.lba-card:hover .lba-card-img { transform: scale(1.04); }
.lba-card-link { display: flex; flex-direction: column; padding: 28px; height: 100%; text-decoration: none; color: inherit; }
.lba-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.lba-card-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #fff; background: var(--lb-ink); padding: 4px 10px; border-radius: 3px; }
.lba-card-date { font-family: var(--font-mono); font-size: 12px; color: var(--lb-dim); }
.lba-card-title { font-size: 20px; font-weight: 700; color: var(--lb-ink); line-height: 1.3; margin-bottom: 10px; font-family: var(--font-heading); letter-spacing: 0.02em; }
.lba-card:hover .lba-card-title { color: var(--lb-accent); }
.lba-card-excerpt { font-size: 14.5px; color: var(--lb-muted); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.lba-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--lb-line); }
.lba-card-author { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--lb-ink); }
.lba-card-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--lb-navy-tint, rgba(30,42,71,0.06)); border: 1.5px solid var(--lb-line-2); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--lb-ink); flex-shrink: 0; }
.lba-card-read { font-family: var(--font-mono); font-size: 12px; color: var(--lb-dim); }

/* Pagination */
.lba-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; font-family: var(--font-mono); font-size: 14px; }
.lba-pagination a, .lba-pagination span { padding: 8px 14px; border-radius: 4px; color: var(--lb-muted); transition: .2s; }
.lba-pagination a:hover { background: var(--lb-navy-tint, rgba(30,42,71,0.06)); color: var(--lb-ink); }
.lba-pagination .current { background: var(--lb-ink); color: #fff; }

/* Empty state */
.lba-empty { text-align: center; padding: 80px 0; font-family: var(--font-mono); font-size: 15px; color: var(--lb-dim); }

/* ==========================================================================
   29. IoT Solutions Page (io- namespace)
   ========================================================================== */

.io {
  --io-bg: #ffffff;
  --io-ink: var(--color-ink-navy);
  --io-body: #475569;
  --io-muted: #64748b;
  --io-dim: var(--color-mid-navy);
  --io-line: rgba(30, 42, 71, 0.10);
  --io-accent: var(--color-signal-green);
  --io-accent-soft: rgba(79, 123, 94, 0.08);
  --io-soft: var(--color-warm-paper);
  --io-soft-2: var(--color-warm-paper);
  --io-line-2: rgba(30, 42, 71, 0.18);
  --io-navy-tint: rgba(30, 42, 71, 0.06);
  color: var(--io-body);
}

.io-wrap { max-width: 80rem; margin: 0 auto; padding: 0 var(--space-6); }
.io h1,.io h2,.io h3,.io h4 { color: var(--io-ink); font-family: var(--font-heading); letter-spacing: 0.04em; }
.io h2 { font-size: clamp(26px,3.6vw,38px); line-height: 1.14; font-weight: 700; }
.io-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--io-dim); text-transform: uppercase; margin-bottom: 16px; display: block; font-weight: 500; }
.io-lead { color: var(--io-muted); font-size: 17.5px; max-width: 600px; margin-top: 16px; line-height: 1.65; }
.io-section { padding: 88px 0; border-top: 1px solid var(--io-line); }
.io-section--paper { background: var(--color-warm-paper); }

/* Buttons — use global btn system */
.io .btn { font-size: 15px; }

/* Hero */
.io-hero { padding: 120px 0 80px; border-bottom: 1px solid var(--io-line); }
.io-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.io h1 { font-size: clamp(32px,5vw,48px); line-height: 1.07; font-weight: 700; }
.io-hero-sub { color: var(--io-muted); font-size: 18px; margin-top: 22px; line-height: 1.65; max-width: 520px; }
.io-hero-tags { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 28px; }
.io-tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--io-dim); border: 1px solid var(--io-line-2); background: var(--io-navy-tint); padding: 5px 12px; border-radius: 4px; font-weight: 500; }
.io-hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; align-items: center; }

/* Pipeline visual */
.io-pipeline { border: 1px solid var(--io-line-2); border-radius: 6px; overflow: hidden; background: var(--io-bg); }
.io-pipe-head { background: var(--io-navy-tint); padding: 14px 18px; border-bottom: 1px solid var(--io-line); font-family: var(--font-mono); font-size: 12px; color: var(--io-dim); display: flex; align-items: center; gap: 8px; }
.io-pipe-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--io-accent); animation: sc-blink 1.6s infinite; }
.io-pipe-steps { padding: 20px 18px; display: flex; flex-direction: column; gap: 0; }
.io-pipe-step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--io-line); }
.io-pipe-step:last-child { border: none; }
.io-pipe-num { font-family: var(--font-mono); font-size: 11px; color: var(--io-dim); font-weight: 600; min-width: 24px; margin-top: 2px; }
.io-pipe-step h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.io-pipe-step p { font-size: 13px; color: var(--io-muted); margin: 0; }
.io-pipe-out { background: var(--io-navy-tint); border-top: 1px solid var(--io-line); padding: 14px 18px; font-family: var(--font-mono); font-size: 12px; color: var(--io-accent); display: flex; align-items: center; gap: 10px; font-weight: 500; }

/* Capabilities */
.io-caps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 44px; }
.io-cap { border: 1px solid var(--io-line-2); border-radius: 6px; padding: 28px; background: var(--io-bg); transition: .25s; }
.io-cap:hover { border-color: var(--color-mid-navy); box-shadow: 0 12px 40px -28px rgba(30,42,71,.25); transform: translateY(-3px); }
.io-cap-ico { width: 42px; height: 42px; border-radius: 4px; background: var(--io-navy-tint); color: var(--io-ink); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 18px; font-weight: 700; }
.io-cap h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.io-cap p { color: var(--io-muted); font-size: 14.5px; }
.io-pills { margin-top: 16px; display: flex; gap: 7px; flex-wrap: wrap; }
.io-pills span { font-family: var(--font-mono); font-size: 11px; color: var(--io-dim); border: 1px solid var(--io-line-2); padding: 3px 9px; border-radius: 3px; }

/* Architecture grid */
.io-arch-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 44px; }
.io-arch-item { border: 1px solid var(--io-line-2); border-radius: 6px; padding: 24px; background: var(--io-bg); transition: .25s; position: relative; overflow: hidden; }
.io-arch-item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--io-accent); opacity: 0; transition: .25s; }
.io-arch-item:hover { border-color: var(--color-mid-navy); transform: translateY(-3px); box-shadow: 0 10px 36px -24px rgba(30,42,71,.2); }
.io-arch-item:hover::before { opacity: 1; }
.io-arch-ico { width: 36px; height: 36px; border-radius: 4px; background: var(--io-navy-tint); color: var(--io-ink); display: flex; align-items: center; justify-content: center; font-size: 15px; margin-bottom: 14px; font-weight: 700; }
.io-arch-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.io-arch-item p { font-size: 13px; color: var(--io-muted); margin: 0; }

/* Deployment cards */
.io-deploy-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.io-deploy-card { border: 1px solid var(--io-line-2); border-radius: 6px; padding: 32px; background: var(--io-bg); transition: .25s; }
.io-deploy-card:hover { border-color: var(--color-mid-navy); box-shadow: 0 12px 40px -28px rgba(30,42,71,.25); }
.io-deploy-badge { font-family: var(--font-mono); font-size: 10.5px; color: #fff; background: var(--io-accent); padding: 3px 10px; border-radius: 3px; display: inline-block; margin-bottom: 14px; font-weight: 600; letter-spacing: .06em; }
.io-deploy-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.io-deploy-card p { color: var(--io-muted); font-size: 14.5px; line-height: 1.6; }
.io-deploy-tech { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--io-line); font-size: 13px; color: var(--io-dim); display: flex; align-items: center; gap: 10px; }

/* CTA — navy section */
.io-cta { background: var(--color-ink-navy); border-top: 1px solid var(--color-navy-700); padding: 88px 0; text-align: center; }
.io-cta h2 { max-width: 660px; margin: 0 auto; color: #ffffff; }
.io-cta .io-lead { margin: 16px auto 0; color: #94a3b8; }
.io-cta .btn { margin-top: 30px; }
.io-cta-sub { margin-top: 16px; font-size: 13px; color: #64748b; }
.io-cta-sub a { color: var(--io-accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.io-cta-sub a:hover { color: #fff; }

/* Responsive */
@media (max-width: 840px) {
  .io-caps { grid-template-columns: 1fr; }
  .io-arch-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  .io-hero-grid { grid-template-columns: 1fr; }
  .io-deploy-cards { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .io-arch-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   29b. About Bytetect Entity Section
   ========================================================================== */

.about-bt-section { padding: 88px 0; border-top: 1px solid rgba(30,42,71,0.10); background: var(--color-warm-paper); }
.about-bt-wrap { max-width: 720px; margin: 0 auto; padding: 0 var(--space-6); }
.about-bt-section h2 { font-size: 24px; font-weight: 700; color: var(--color-ink-navy); font-family: var(--font-heading); letter-spacing: 0.04em; margin-bottom: 20px; }
.about-bt-section p { font-size: 17px; line-height: 1.75; color: #475569; margin: 0; }

/* ==========================================================================
   30. Full Footer (ft- namespace)
   ========================================================================== */

.ft { background: var(--color-ink-navy); color: #94a3b8; position: relative; z-index: 10; }

/* Main area */
.ft-main { padding: 64px 0 48px; border-bottom: 1px solid var(--color-navy-700); }
.ft-wrap { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }

/* Brand column */
.ft-brand { display: flex; flex-direction: column; gap: 18px; }
.ft-logo img { height: 32px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .85; transition: opacity .2s; }
.ft-logo:hover img { opacity: 1; }
.ft-tagline { font-size: 14px; line-height: 1.65; color: #64748b; max-width: 340px; }
.ft-social { display: flex; gap: 12px; margin-top: 4px; }
.ft-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: var(--color-navy-700); color: #64748b; transition: .2s; }
.ft-social a:hover { background: var(--color-signal-green); color: #fff; }

/* Nav columns */
.ft-col h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #e2e8f0; margin-bottom: 18px; }
.ft-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ft-links li a,
.ft-links a { font-size: 14px; color: #64748b; transition: color .15s; text-decoration: none; }
.ft-links li a:hover,
.ft-links a:hover { color: var(--color-white); }

/* Bottom bar */
.ft-bottom { padding: 20px 0; }
.ft-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ft-copy { font-family: var(--font-mono); font-size: 12px; color: #475569; margin: 0; }
.ft-bottom-links { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.ft-bottom-links a { color: #475569; transition: color .15s; text-decoration: none; }
.ft-bottom-links a:hover { color: var(--color-white); }
.ft-sep { color: #334155; }
.ft-status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--color-signal-green); letter-spacing: .04em; }
.ft-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-signal-green); animation: sc-blink 1.4s infinite; }

/* Scroll to top — floating */
.ft-scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-signal-green); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 16px rgba(79,123,94,0.5), 0 0 40px rgba(79,123,94,0.2);
  animation: ft-glow 2s ease-in-out infinite;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, background .2s;
}
.ft-scroll-top--visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.ft-scroll-top:hover { background: var(--color-ink-navy); box-shadow: 0 0 20px rgba(30,42,71,0.4), 0 0 50px rgba(30,42,71,0.15); }
@keyframes ft-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(79,123,94,0.5), 0 0 40px rgba(79,123,94,0.2); }
  50% { box-shadow: 0 0 24px rgba(79,123,94,0.7), 0 0 60px rgba(79,123,94,0.3); }
}
@media (prefers-reduced-motion: reduce) {
  .ft-scroll-top { animation: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .ft-grid { grid-template-columns: 1fr; }
  .ft-bottom-inner { flex-direction: column; text-align: center; }
}

/* ── Responsive: new sections ──────────────────────── */
@media (min-width: 640px) {
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deployment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .how-step {
    border-right: 1px solid var(--color-slate-200);
  }

  .how-step--last,
  .how-step:last-child {
    border-right: none;
  }

  .platform-grid,
  .foundation-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .security-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ==========================================================================
   22. Print Styles
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  .site-header,
  .site-footer,
  .mobile-menu,
  #consent-banner,
  #back-to-top,
  .hero-bg-container {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .entry-content {
    max-width: 100%;
  }
}


/* ==========================================================================
   Accessibility Helpers
   ========================================================================== */

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

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

/* Clearfix */
.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}
