/* ============================================================
   STRATALIS.IN — Design System
   Inter (body/headings) + Iosevka (mono/data)
   Dark mode default; [data-theme="light"] overrides
   ============================================================ */

/* ---- GOOGLE FONTS (Inter) ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- IOSEVKA (fontsource CDN) ---- */
@import url('https://cdn.jsdelivr.net/npm/@fontsource/iosevka@5/400.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/iosevka@5/700.css');

/* ================================================================
   1. TOKENS
   ================================================================ */
:root {
  /* Backgrounds — dark default */
  --bg: #07090F;
  --bg-card: #0D1018;
  --bg-raised: #111520;
  --bg-panel: #090C14;

  /* Brand — Orange (Stratalis primary) */
  --accent-o: #F0975B;
  --accent-o-mid: #CF6E31;
  --accent-o-dim: rgba(240, 151, 91, 0.12);
  --accent-o-glow: rgba(240, 151, 91, 0.06);

  /* Brand — Teal (Discom360 secondary) */
  --accent-t: #78DADE;
  --accent-t-mid: #4CBAC0;
  --accent-t-dim: rgba(120, 218, 222, 0.10);

  /* Text */
  --text-1: #E8EAF2;
  --text-2: #7A8499;
  --text-3: #404859;

  /* Borders */
  --border: rgba(255, 255, 255, 0.05);
  --border-strong: rgba(255, 255, 255, 0.09);
  --border-o: rgba(240, 151, 91, 0.22);
  --border-t: rgba(120, 218, 222, 0.2);

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-o: 0 8px 36px rgba(240, 151, 91, 0.14);
  --shadow-t: 0 8px 36px rgba(120, 218, 222, 0.12);

  /* Shape */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Layout */
  --nav-h: 68px;
  --container: min(1200px, 92vw);

  /* Logo treatment */
  --logo-filter: brightness(0) invert(1);
}

[data-theme="light"] {
  --bg: #F5F6FA;
  --bg-card: #FFFFFF;
  --bg-raised: #ECEEF5;
  --bg-panel: #EAECF3;

  --accent-o: #CF6E31;
  --accent-o-mid: #A85823;
  --accent-o-dim: rgba(207, 110, 49, 0.09);
  --accent-o-glow: rgba(207, 110, 49, 0.04);

  --accent-t: #0A8A8E;
  --accent-t-mid: #077074;
  --accent-t-dim: rgba(10, 138, 142, 0.09);

  --text-1: #111318;
  --text-2: #4B5563;
  --text-3: #9CA3AF;

  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.10);
  --border-o: rgba(207, 110, 49, 0.22);
  --border-t: rgba(10, 138, 142, 0.2);

  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.10);
  --shadow-o: 0 8px 36px rgba(207, 110, 49, 0.12);
  --shadow-t: 0 8px 36px rgba(10, 138, 142, 0.10);

  --logo-filter: none;
}

/* ================================================================
   2. RESET & BASE
   ================================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  overflow-x: hidden; /* prevent any element from causing horizontal scroll */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Subtle grid fabric — dark mode only */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  transition: opacity 0.3s ease;
}

[data-theme="light"] body::before {
  opacity: 0;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

/* Monospace utility */
.mono {
  font-family: 'Iosevka', 'JetBrains Mono', 'Fira Code', monospace;
}

/* ================================================================
   3. LAYOUT
   ================================================================ */
.container {
  width: var(--container);
  margin: 0 auto;
}

section {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

/* ================================================================
   4. TYPOGRAPHY SCALE
   ================================================================ */
h1,
h2,
h3,
h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-1);
  letter-spacing: -0.025em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Iosevka', 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-o);
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--accent-o);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-label.teal {
  color: var(--accent-t);
}

.section-label.teal::before {
  background: var(--accent-t);
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  max-width: 20ch;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-2);
  max-width: 60ch;
  line-height: 1.75;
}

/* ================================================================
   5. BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.72rem 1.5rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent-o);
  color: #FFFFFF;
  border-color: var(--accent-o);
  box-shadow: var(--shadow-o);
}

.btn-primary:hover {
  background: var(--accent-o-mid);
  border-color: var(--accent-o-mid);
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(240, 151, 91, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--border-o);
  color: var(--accent-o);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--accent-t);
  color: #07090F;
  font-weight: 700;
  border-color: var(--accent-t);
}

.btn-teal:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: var(--shadow-t);
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.5rem 1.1rem;
}

/* ================================================================
   6. NAVIGATION
   ================================================================ */

/* The shell sits in normal document flow, locking the exact space
   the header occupies. Nothing below ever reflows when header
   content changes — only the shell height matters for layout. */
.nav-shell {
  height: var(--nav-h);
  width: 100%;
  overflow: visible;   /* let dropdowns escape */
  flex-shrink: 0;
  position: relative;
  z-index: 200;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 200;
  /* Always glass — content slides under the header as user scrolls */
  background: rgba(7, 9, 15, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.site-header.scrolled {
  background: rgba(7, 9, 15, 0.94);
}

[data-theme="light"] .site-header {
  background: rgba(245, 246, 250, 0.82);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(245, 246, 250, 0.96);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  width: var(--container);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 30px;
  width: auto;
  filter: var(--logo-filter);
  transition: filter 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  color: var(--text-2);
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--border-o);
  color: var(--accent-o);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-1);
  border-radius: var(--r-sm);
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

/* ================================================================
   7. HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 15% 60%, rgba(240, 151, 91, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 25%, rgba(120, 218, 222, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Iosevka', 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--accent-o);
  background: var(--accent-o-dim);
  border: 1px solid var(--border-o);
  padding: 0.42rem 1rem;
  border-radius: var(--r-pill);
  margin-bottom: 2.25rem;
}

.hero-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-o);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-headline {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.04;
  margin-bottom: 1.75rem;
  letter-spacing: -0.035em;
  max-width: 18ch;
}

.hero-headline .gradient {
  background: linear-gradient(130deg, var(--accent-o) 0%, #FFB87A 45%, var(--text-1) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Permanently inline-block so the scramble animation never triggers a
     display-type change that causes layout shift (CLS). */
  display: inline-block;
  vertical-align: baseline;
}


.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-2);
  max-width: 54ch;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 4.5rem;
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  padding-top: 2.75rem;
  border-top: 1px solid var(--border);
  width: fit-content;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-right: 3.5rem;
}

.stat-item:not(:first-child) {
  padding-left: 3.5rem;
  border-left: 1px solid var(--border);
}

.stat-value {
  font-family: 'Iosevka', 'JetBrains Mono', monospace;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent-o);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-3);
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-3);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-cue-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--accent-o), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}

/* ================================================================
   8. SECTION DIVIDER
   ================================================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      var(--border-strong) 20%,
      var(--border-strong) 80%,
      transparent);
}

/* ================================================================
   9. MISSION SECTION
   ================================================================ */
.mission-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 5rem;
  align-items: start;
}

.mission-quote {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.mission-quote em {
  font-style: normal;
  color: var(--accent-o);
}

.mission-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-o);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.mission-link:hover {
  gap: 0.7rem;
}

.mission-cards {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-o);
  border-radius: var(--r-sm);
  padding: 1.25rem 1.4rem;
  transition: all 0.25s ease;
}

.mission-card:hover {
  background: var(--bg-raised);
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

.mission-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.mission-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ================================================================
   10. SDG SECTION
   ================================================================ */
.sdg-section {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.sdg-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.sdg-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.5rem 1.1rem;
  text-decoration: none;
  color: var(--text-1);
  transition: all 0.25s ease;
  cursor: default;
}

.sdg-pill:hover {
  border-color: var(--border-t);
  background: var(--accent-t-dim);
  box-shadow: 0 0 0 3px var(--accent-t-dim);
  transform: translateY(-2px);
}

.sdg-num {
  font-family: 'Iosevka', 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-t);
  letter-spacing: 0.04em;
}

.sdg-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
}

/* ================================================================
   11. SUSTAINABILITY SECTION
   ================================================================ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-o), var(--accent-t));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.pillar-card:hover {
  border-color: var(--border-o);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--accent-o-dim);
  border: 1px solid var(--border-o);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  font-size: 1.3rem;
}

.pillar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ================================================================
   12. AI PANEL (dark break)
   ================================================================ */
.ai-panel {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.ai-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 2rem;
}

.ai-list li {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.6;
  padding-left: 1.2rem;
  position: relative;
}

.ai-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-t);
  flex-shrink: 0;
  position: absolute;
  left: 0;
  top: 0.52em;
}

.ai-term {
  font-weight: 700;
  color: var(--text-1);
  white-space: nowrap;
}

.ai-desc {
  color: var(--text-2);
}

/* Terminal */
.ai-terminal {
  background: #020407;
  border: 1px solid var(--border-t);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(120, 218, 222, 0.07), var(--shadow-md);
}

[data-theme="light"] .ai-terminal {
  background: #0D1118;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.t-dot:nth-child(1) {
  background: #FF5F57;
}

.t-dot:nth-child(2) {
  background: #FFBD2E;
}

.t-dot:nth-child(3) {
  background: #28C840;
}

.terminal-title {
  margin-left: auto;
  font-family: 'Iosevka', 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #3A4557;
  letter-spacing: 0.04em;
}

.terminal-body {
  padding: 1.25rem 1.25rem 1.5rem;
  min-height: 220px;
}

.terminal-line {
  font-family: 'Iosevka', 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  line-height: 1.9;
  color: #78DADE;
}

.t-dim {
  color: #3A4557;
}

.t-orange {
  color: #F0975B;
}

.t-green {
  color: #28C840;
}

.t-white {
  color: #E8EAF0;
}

.cursor {
  display: inline-block;
  width: 7px;
  height: 1.05em;
  background: var(--accent-t);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
  margin-left: 1px;
  border-radius: 1px;
}

/* ================================================================
   13. ENVIRONMENT TIMELINE
   ================================================================ */
.env-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3.5rem;
  position: relative;
}

.env-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  left: calc(16.667% + 1.5rem);
  right: calc(16.667% + 1.5rem);
  height: 1px;
  background: linear-gradient(to right, var(--accent-o), var(--accent-t));
  opacity: 0.5;
}

.env-phase {
  position: relative;
}

.env-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  border: 2px solid var(--bg);
}

.env-phase:nth-child(1) .env-dot {
  background: var(--accent-o);
  box-shadow: 0 0 0 4px var(--accent-o-dim);
}

.env-phase:nth-child(2) .env-dot {
  background: linear-gradient(135deg, var(--accent-o), var(--accent-t));
  box-shadow: 0 0 0 4px rgba(200, 180, 140, 0.1);
}

.env-phase:nth-child(3) .env-dot {
  background: var(--accent-t);
  box-shadow: 0 0 0 4px var(--accent-t-dim);
}

.env-tag {
  display: block;
  font-family: 'Iosevka', 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-o);
  margin-bottom: 0.6rem;
}

.env-phase:nth-child(3) .env-tag {
  color: var(--accent-t);
}

.env-phase h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.env-phase p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ================================================================
   14. PRODUCT SPOTLIGHT
   ================================================================ */
.products-section {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.product-spotlight {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
  transition: box-shadow 0.3s ease;
}

.product-spotlight:hover {
  box-shadow: var(--shadow-t);
}

.product-strip {
  background: linear-gradient(170deg, rgba(120, 218, 222, 0.08) 0%, rgba(120, 218, 222, 0.02) 100%);
  border-right: 1px solid var(--border-t);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.product-strip-badge {
  font-family: 'Iosevka', 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-t);
  background: var(--accent-t-dim);
  border: 1px solid var(--border-t);
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
}

.product-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.product-logos .logo-light,
.product-logos .logo-dark {
  max-width: 180px;
  width: 100%;
  height: auto;
}

[data-theme="dark"] .product-logos .logo-light {
  display: none;
}

[data-theme="light"] .product-logos .logo-dark {
  display: none;
}

.product-body {
  padding: 2.5rem 3rem;
}

.product-headline {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.product-body p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 64ch;
}

.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid;
}

.chip-teal {
  color: var(--accent-t);
  background: var(--accent-t-dim);
  border-color: var(--border-t);
}

/* ================================================================
   15. DIGITAL FUTURE SECTION
   ================================================================ */
.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.future-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.future-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent-o), var(--accent-t));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.future-card:hover::after {
  transform: scaleX(1);
}

.future-card:hover {
  border-color: var(--border-o);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.future-num {
  font-family: 'Iosevka', 'JetBrains Mono', monospace;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--border-strong);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}

.future-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.future-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ================================================================
   16. CTA BAND
   ================================================================ */
.cta-band {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.cta-band h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 22ch;
  letter-spacing: -0.03em;
}

.cta-band p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--text-2);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ================================================================
   17. FOOTER
   ================================================================ */
.site-footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 27px;
  width: auto;
  filter: var(--logo-filter);
  margin-bottom: 1rem;
  display: block;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.65;
  max-width: 32ch;
}

.footer-tagline a {
  color: var(--accent-o);
  text-decoration: none;
  font-weight: 600;
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-1);
}

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

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-3);
}

.footer-copy a {
  color: var(--accent-o);
  text-decoration: none;
  font-weight: 600;
}

.footer-email-link {
  font-family: 'Iosevka', 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-email-link:hover {
  color: var(--accent-o);
}

/* ================================================================
   18. CONTACT PAGE
   ================================================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:first-child {
  padding-top: 0;
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--accent-o-dim);
  border: 1px solid var(--border-o);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-info-value {
  font-size: 0.92rem;
  color: var(--text-1);
  font-weight: 500;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text-1);
  border-radius: var(--r-sm);
  padding: 0.72rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-o);
  box-shadow: 0 0 0 3px var(--accent-o-dim);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ================================================================
   19. INNER PAGES — Mission, Discom360, Legal
   ================================================================ */
.inner-hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border);
}

/* SDG Grid (Mission page) */
.sdg-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.sdg-full-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.75rem;
  transition: all 0.25s ease;
  border-left: 3px solid var(--accent-t);
}

.sdg-full-card:hover {
  border-color: var(--border-t);
  box-shadow: var(--shadow-t);
  transform: translateX(4px);
}

.sdg-full-num {
  font-family: 'Iosevka', 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-t);
  margin-bottom: 0.5rem;
}

.sdg-full-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sdg-full-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* Compare table (Discom360 page) */
.compare-table {
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

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

.compare-row.compare-header {
  background: var(--bg-raised);
}

.compare-cell {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  border-right: 1px solid var(--border);
}

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

.compare-cell.feature {
  font-weight: 600;
  color: var(--text-1);
}

.compare-cell.header {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.compare-cell.d360 {
  color: var(--accent-t);
  font-weight: 600;
}

.compare-cell.comp {
  color: var(--text-3);
}

.check {
  color: var(--accent-t);
  margin-right: 0.35rem;
}

.cross {
  color: var(--text-3);
  margin-right: 0.35rem;
}

/* Legal prose */
.legal-prose {
  max-width: 72ch;
}

.legal-prose h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-prose p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* ================================================================
   20. SCROLL REVEAL
   ================================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   21. ANIMATIONS
   ================================================================ */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes scrollLine {

  0%,
  100% {
    opacity: 0.25;
    transform: scaleY(1) translateY(0);
  }

  50% {
    opacity: 0.8;
    transform: scaleY(1.15) translateY(2px);
  }
}

/* ================================================================
   22. RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .mission-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ai-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .product-spotlight {
    grid-template-columns: 1fr;
  }

  .product-strip {
    border-right: none;
    border-bottom: 1px solid var(--border-t);
    flex-direction: row;
    justify-content: flex-start;
    padding: 1.5rem 2rem;
    gap: 2rem;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  /* Mobile nav dropdown */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    border-top: 1px solid var(--border-strong);
    flex-direction: column;
    gap: 0;
    padding: 1.5rem 1.5rem 3rem;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a {
    display: block;
    padding: 1rem 0.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-1);
  }

  .nav-toggle {
    display: flex;
  }

  .pillar-grid,
  .future-grid,
  .env-timeline,
  .sdg-full-grid {
    grid-template-columns: 1fr;
  }

  .env-timeline::before {
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .stat-item {
    padding-right: 0;
    padding: 1rem;
    border-left: none;
  }

  .stat-item:not(:first-child) {
    border-left: 1px solid var(--border);
    padding-left: 1rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-cell {
    border-right: none;
  }

  .compare-cell.header:first-child {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero-headline {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

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

  .stat-item {
    border-left: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .stat-item:not(:first-child) {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem !important;
  }

  .sdg-pills {
    gap: 0.45rem;
  }

  /* AI list: collapse to single column on phones */
  .ai-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .ai-term {
    white-space: normal;
  }

  /* Product strip stacks vertically */
  .product-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Terminal height on small screens */
  .terminal-body {
    min-height: 160px;
  }

  /* Container safety */
  .container {
    padding: 0 1.25rem;
    width: 100%;
  }

  section {
    padding: clamp(3rem, 8vw, 5rem) 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  #hero-canvas {
    display: none;
  }

  .scroll-cue {
    display: none;
  }
}

/* ================================================================
   23. UTILITIES
   ================================================================ */
.text-orange {
  color: var(--accent-o);
}

.text-teal {
  color: var(--accent-t);
}

.text-muted {
  color: var(--text-2);
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  border: 1px solid;
}

.badge-orange {
  color: var(--accent-o);
  background: var(--accent-o-dim);
  border-color: var(--border-o);
}

.badge-teal {
  color: var(--accent-t);
  background: var(--accent-t-dim);
  border-color: var(--border-t);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ================================================================
   24. HERO DEPTH — AMBIENT ORBS
   ================================================================ */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.hero-orb-1 {
  width: clamp(280px, 56vw, 820px);
  height: clamp(280px, 56vw, 820px);
  background: radial-gradient(circle at center, rgba(240, 151, 91, 0.09) 0%, transparent 62%);
  top: -38%;
  right: -14%;
  animation: orbDrift1 20s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: clamp(220px, 44vw, 680px);
  height: clamp(220px, 44vw, 680px);
  background: radial-gradient(circle at center, rgba(120, 218, 222, 0.07) 0%, transparent 62%);
  bottom: -26%;
  left: -10%;
  animation: orbDrift2 26s ease-in-out infinite alternate;
}

.hero-orb-3 {
  width: clamp(120px, 22vw, 380px);
  height: clamp(120px, 22vw, 380px);
  background: radial-gradient(circle at center, rgba(120, 218, 222, 0.045) 0%, transparent 62%);
  top: 22%;
  left: 57%;
  animation: orbDrift3 16s ease-in-out infinite alternate;
}

@keyframes orbDrift1 {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(-55px, 38px) scale(1.13);
  }
}

@keyframes orbDrift2 {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(44px, -52px) scale(1.09);
  }
}

@keyframes orbDrift3 {
  from {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  to {
    transform: translate(-28px, 22px) scale(0.9) rotate(8deg);
  }
}

[data-theme="light"] .hero-orb-1 {
  background: radial-gradient(circle at center, rgba(207, 110, 49, 0.07) 0%, transparent 62%);
}

[data-theme="light"] .hero-orb-2 {
  background: radial-gradient(circle at center, rgba(10, 138, 142, 0.06) 0%, transparent 62%);
}

[data-theme="light"] .hero-orb-3 {
  background: radial-gradient(circle at center, rgba(10, 138, 142, 0.04) 0%, transparent 62%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb {
    animation: none;
  }
}

/* ================================================================
   25. MARQUEE BAND
   ================================================================ */
.marquee-band {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.95rem 0;
  background: var(--bg-panel);
  position: relative;
  z-index: 1;
  mask-image: linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
  animation: marqueeScroll 34s linear infinite;
}

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

.marquee-item {
  font-family: 'Iosevka', 'JetBrains Mono', monospace;
  font-size: 0.71rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.marquee-track:hover .marquee-item {
  color: var(--text-2);
}

.marquee-dot {
  font-size: 0.5rem;
  color: var(--accent-o);
  opacity: 0.45;
  flex-shrink: 0;
  line-height: 1;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ================================================================
   26. BUTTON PRIMARY SHIMMER
   ================================================================ */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 42%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-18deg);
  animation: btnShimmer 4.5s ease-in-out infinite;
  animation-delay: 2s;
  pointer-events: none;
}

@keyframes btnShimmer {
  0% {
    left: -80%;
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  30% {
    left: 140%;
    opacity: 0;
  }

  100% {
    left: 140%;
    opacity: 0;
  }
}

/* ================================================================
   27. LUCIDE ICON STYLES
   ================================================================ */

/* Strip any default <i> presentation */
[data-lucide] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* SVGs inside pillar-icon boxes */
.pillar-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-o);
  stroke-width: 1.75;
  fill: none;
  display: block;
  flex-shrink: 0;
}

/* SVGs inside contact info icon boxes */
.contact-info-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-o);
  stroke-width: 1.75;
  fill: none;
  display: block;
  flex-shrink: 0;
}

/* Remove emoji font-size from icon boxes now that SVGs are used */
.pillar-icon,
.contact-info-icon {
  font-size: 0;
}